1 Star 0 Fork 0

Gavin/libfacedetection

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

libfacedetection

This is a binary library for face detection in images. The 32-bit and 64-bit dll files are provided.

examples/libfacedetect-example.cpp shows how to use the library.

Comparison on Windows

Method Time FPS Misc
OpenCV 21.2ms 47.2 Yaw angle: -40 to 40 degrees. Classifier: haarcascade_frontalface_alt.xml
frontal 3.6ms 277.8 Yaw angle: -60 to 60 degrees
multiview 8.8ms 113.6 Yaw angle: -90 to 90 degrees
multiview_reinforce 13.2ms 75.8 Yaw angle: -90 to 90 degrees
  • 640x480 image size (VGA), scale=1.2, minimal window size = 48
  • Intel(R) Core(TM) i7-4770 CPU @ 3.4GHz
  • Multi-core parallelization is enabled for the four methods.

Comparison on iPhone

Method Time (iPhoneSE) FPS (iPhoneSE) Time (iPhone5S) FPS (iPhone5S) Misc
frontal 14.9ms 67.1 23.8 42.0 Yaw angle: -60 to 60 degrees
multiview 47.3ms 21.1 75.1 13.3 Yaw angle: -90 to 90 degrees
multiview_reinforce 83.2ms 12.0 132.4 7.6 Yaw angle: -90 to 90 degrees
  • 640x480 image size (VGA), scale=1.2, minimal window size = 48
  • Multi-core parallelization is disabled.
  • C programming language, and no SIMD instruction is used.

Comparison on ARM

Method Time FPS Misc
frontal 37.6ms 26.6 Yaw angle: -60 to 60 degrees
multiview 107.6ms 9.3 Yaw angle: -90 to 90 degrees
multiview_reinforce 174.8ms 5.7 Yaw angle: -90 to 90 degrees
  • 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

  • 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.

Tip

  • Do NOT use the functions in multiple threads. The memory used in the functions is not protected according to multiple threads.

Author

Contributors

  • Shengyin Wu, Shenzhen University, China
  • Dong Xu, Shenzhen University, China
The MIT License (MIT) Copyright (c) 2015-2016 Shiqi Yu shiqi.yu@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A binary library for face detection in images. You can use it free of charge with any purpose. 展开 收起
README
MIT
取消

发行版

暂无发行版

贡献者 (2)

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shoubin/libfacedetection.git
git@gitee.com:shoubin/libfacedetection.git
shoubin
libfacedetection
libfacedetection
master

搜索帮助