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

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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