This is an open source library for CNN-based face detection in images. The CNN model has been converted to static variables in C source files. The source code does not depend on any other libraries. What you need is just a C++ compiler. You can compile the source code under Windows, Linux, ARM and any platform with a C++ compiler. SIMD instructions are used to speed up the detection. You can enable AVX2 if you use Intel CPU or NEON for ARM. The model file has also been provided in directory ./models/. The file examples/detect-image.cpp and examples/detect-camera.cpp show how to use the library. The library was trained by libfacedetection.train. You can copy the files in directory src/ into your project, and compile them as the other files in your project. The source code is written in standard C/C++. It should be compiled at any platform which supports C/C++.

Features

  • You can also compile the source code to a static or dynamic library, and then use it in your project
  • You can enable OpenMP to speedup, but the best solution is to call the detection function in different threads
  • You can compile the source code under Windows, Linux, ARM and any platform with a C++ compiler
  • SIMD instructions are used to speed up the detection
  • The model file has also been provided in directory ./models/
  • The library was trained by the technology of libfacedetection.train

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow libfacedetection

libfacedetection Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of libfacedetection!

Additional Project Details

Operating Systems

Linux, Windows

Programming Language

C++

Related Categories

C++ Libraries, C++ Image Recognition Software

Registered

2021-06-03