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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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