|
2015年12月7日更新:
三个人脸检测函数再次提速,multiview_reinforce()提速为上一版本的2.3倍,已经比OpenCV的正面人脸检测还要快!要知道其他两个函数比这个更快哦,最快的达到232FPS!
---------------------------------------------------------------------
2015年4月22日更新:
我们的免费人脸检测库再次更新:①正面人脸检测的角度范围从[-40, 40]度提升到[-60,60]度,检测角度变大但计算量不增加;②多视角人脸检测速度提升2倍!
---------------------------------------------------------------------
本团队雕琢多年的人脸检测库现以MIT协议发布 ,供商业和非商业无限制使用,包含正面和多视角人脸检测两个算法.优点:速度快(OpenCV haar+adaboost的2-3倍), 准确度高 (FDDB非公开类评测排名第二),能估计人脸角度. 例子看下图. 希望能帮助到有需要的个人和公司。
这个库比OpenCV自带的人脸检测强大一个数量级!纯C语言生成的二进制库,不依赖任何其他的库。接口更简洁,就一个函数。正面人脸检测,多视角人脸检测的API分别如下:
- int * facedetect_frontal( unsigned char * gray_image_data, int width, int height, int step,
- float scale,
- int min_neighbors,
- int min_size,
- int max_size=0);
- int * facedetect_multiview( unsigned char * gray_image_data, int width, int height, int step,
- float scale,
- int min_neighbors,
- int min_size,
- int max_size=0);
复制代码
下载地址:https://github.com/ShiqiYu/libfacedetection
|
-
人脸检测例子
|