OpenCV中4个人脸级联分类器

来源:互联网 发布:剑灵杨幂捏脸数据 编辑:程序博客网 时间:2024/05/22 06:52

OpenCV下的data\haarcascades中有4个haar特征训练的级联分类器:


它们之间的区别如下:

1:haarcascade_frontalface_alt.xml

Stump-based 20x20 gentle adaboost frontal face detector.

2:haarcascade_frontalface_alt2.xml

Tree-based 20x20 gentle adaboost frontal face detector.

3:haarcascade_frontalface_alt_tree.xml

Stump-based 20x20 gentle adaboost frontal face detector.This detector uses tree of stage classifiers instead of a cascade

4:haarcascade_frontalface_default.xml

Stump-based 24x24 discrete(?) adaboost frontal face detector.


实验比较:

原图输入:前亚洲男子天团


结果:

采用1的结果: 识别效果最好,都识别出来,并且无误检


采用2的结果:有误检


采用3的结果:


采用4的结果:




原创粉丝点击