# libfacedetection
This is a binary library for face detection and face landmark detection in images.
The 32-bit and 64-bit dll files are provided.
To achieve better performance, the 64-bit dll is recommended.
examples/libfacedetect-example.cpp shows how to use the library.
![Examples](/images/chloecalmon.png "Detection example")
Comparison on Windows
-------------
| Method | Time | FPS |Time | FPS |Time | FPS | Misc |
|--------------------|-------------|-------------|-------------|-------------|-------------|------------|--------|
| | Win32 | Win32 | X64 | X64 | X64 |X64 | |
| |Single-thread|Single-thread|Single-thread|Single-thread|Multi-thread |Multi-thread| |
|OpenCV | -- | -- | -- | -- | 12.33ms | 81.1 | Yaw angle: -60 to 60 degrees|
|frontal | 2.92ms | 342.5 | 2.41ms | 414.9 | 0.652ms | 1533.1 | Yaw angle: -60 to 60 degrees|
|frontal-surveillance| 3.83ms | 261.1 | 3.37ms | 269.7 | 0.944ms | 1059.8 | Yaw angle: -70 to 70 degrees |
|multiview | 7.12ms | 140.4 | 5.81ms | 172.1 | 1.597ms | 626.4 | Yaw angle: -90 to 90 degrees |
|multiview_reinforce | 10.95ms | 91.3 | 9.15ms | 109.3 | 2.725ms | 367.0 | Yaw angle: -90 to 90 degrees |
* Face detection only, and no landmark detection included.
* 640x480 image size (VGA), scale=1.2, minimal window size = 48.
* Intel(R) Core(TM) i7-4770 CPU @ 3.4GHz.
* OpenCV classifier file: haarcascade_frontalface_alt.xml
Comparison on ARM
-------------
| Method | Time | FPS | Misc |
|--------------------|--------|------|--------|
|frontal | 12.5ms| 80.0 | Yaw angle: -60 to 60 degrees|
|frontal-surveillance| 15.7ms| 63.7 | Yaw angle: -70 to 70 degrees |
|multiview | 27.8ms| 36.0 | Yaw angle: -90 to 90 degrees |
|multiview_reinforce | 38.4ms| 26.0 | Yaw angle: -90 to 90 degrees |
* Face detection only, and no landmark detection included.
* 640x480 image size (VGA), scale=1.2, minimal window size = 48
* NVIDIA TK1 "4-Plus-1" 2.32GHz ARM quad-core Cortex-A15 CPU
* Multi-core parallelization is disabled.
* C programming language, and no SIMD instruction is used.
The dll cannot run on ARM. The library should be recompiled from source code for ARM compatibility. If you need the source code, a commercial license is needed.
Evaluation
-------------
FDDB: http://vis-www.cs.umass.edu/fddb/index.html
![Evaluation on FDDB](https://github.com/ShiqiYu/libfacedetection/blob/master/FDDB-results-of-4functions.png "Evaluation on FDDB")
* scale=1.08
* minimal window size = 16
* the heights of the face rectangles are scaled to 1.2 to fit the ground truth data in FDDB.
Author
-------------
* Shiqi Yu, <shiqi.yu@gmail.com>
Contributors
-------------
* Jia Wu
* Shengyin Wu
* Dong Xu
-------------
* The result image was taken by [Chloé Calmon](https://www.instagram.com/chloecalmon/).
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
FaceRecognition_Opencv.zip (56个子文件)
FaceRecognition_Opencv
FaceRecognition_Opencv.sln 1KB
.vs
FaceRecognition_Opencv
v14
.suo 26KB
FaceRecognition_Opencv.VC.db 13.25MB
libfacedetection-master
FDDB-results-of-4functions.png 53KB
images
keliamoniz2.jpg 86KB
keliamoniz1.jpg 63KB
chloecalmon.png 772KB
bin
libfacedetect.dll 9.34MB
libfacedetect-x64.dll 9.47MB
LICENSE 1KB
ChangeLog 1KB
README.md 3KB
include
facedetect-dll.h 5KB
example
libfacedetect-example.cpp 7KB
benchmark.cpp 4KB
lib
libfacedetect.lib 3KB
libfacedetect-x64.lib 3KB
x64
Release
FaceRecognition_Opencv.exe 53KB
FaceRecognition_Opencv.ipdb 626KB
FaceRecognition_Opencv.iobj 667KB
FaceRecognition_Opencv.pdb 1.78MB
Debug
FaceRecognition_Opencv.exe 213KB
FaceRecognition_Opencv.pdb 2.91MB
FaceRecognition_Opencv.ilk 2.08MB
FaceRecognition_Opencv
FaceDetect.h 242B
FaceRecognition_Opencv.vcxproj 9KB
face.csv 68B
FaceRecognition.cpp 845B
FaceRecognition_Opencv.vcxproj.filters 1KB
libfacedetect-x64.dll 9.47MB
mask.jpg 17KB
FaceRecognition_Opencv.vcxproj.user 165B
FaceDetect.cpp 3KB
x64
Release
FaceDetect.obj 1.58MB
vc140.pdb 1.32MB
FaceReco.D22FE948.tlog
CL.write.1.tlog 2KB
FaceRecognition_Opencv.lastbuildstate 210B
link.command.1.tlog 2KB
CL.read.1.tlog 32KB
CL.command.1.tlog 1KB
link.write.1.tlog 972B
link.read.1.tlog 6KB
FaceRecognition.obj 1.44MB
FaceRecognition_Opencv.log 541B
Debug
FaceDetect.obj 795KB
vc140.pdb 1.53MB
FaceReco.D22FE948.tlog
CL.write.1.tlog 2KB
FaceRecognition_Opencv.lastbuildstate 208B
link.command.1.tlog 2KB
CL.read.1.tlog 32KB
CL.command.1.tlog 1KB
link.write.1.tlog 796B
link.read.1.tlog 5KB
FaceRecognition.obj 296KB
FaceRecognition_Opencv.log 706B
vc140.idb 891KB
共 56 条
- 1
资源评论
- qq_418495762018-03-16你好,我是初学opencv人脸识别的,你能把你用opencv识别人脸的完整的程序发给我一份吗?
- qq_409034392019-06-11很好用 加油
- haohoh2019-09-11不是最新4.0
- a156949110552018-06-05不会用。。。。。。。。。。。。。。
bleakie
- 粉丝: 48
- 资源: 11
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功