All Projects → apennisi → Fast_face_detector

apennisi / Fast_face_detector

A face detector based on the work "Aggregate channel features for multi-view face detection" presented by Bin Yang, Junjie Yan, Zhen Lei and Stan Z. Li.

Programming Languages

matlab
3953 projects

Projects that are alternatives of or similar to Fast face detector

Pigo
Fast face detection, pupil/eyes localization and facial landmark points detection library in pure Go.
Stars: ✭ 3,542 (+10020%)
Mutual labels:  opencv, face-detection
Yoloface
Deep learning-based Face detection using the YOLOv3 algorithm (https://github.com/sthanhng/yoloface)
Stars: ✭ 339 (+868.57%)
Mutual labels:  opencv, face-detection
Face Tracking With Anime Characters
Hello! I have made a Python project where YURI from the game doki doki literature club accesses the webcam and stares directly into the players soul. Hope you enjoy!
Stars: ✭ 320 (+814.29%)
Mutual labels:  opencv, face-detection
Opencv Course
Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
Stars: ✭ 185 (+428.57%)
Mutual labels:  opencv, face-detection
Human Detection And Tracking
Human-detection-and-Tracking
Stars: ✭ 753 (+2051.43%)
Mutual labels:  opencv, face-detection
Marvel
Marvel - Face Recognition With Android & OpenCV
Stars: ✭ 199 (+468.57%)
Mutual labels:  opencv, face-detection
Autocrop
😌 Automatically detects and crops faces from batches of pictures.
Stars: ✭ 320 (+814.29%)
Mutual labels:  opencv, face-detection
Hololenswithopencvforunityexample
HoloLens With OpenCVforUnity Example
Stars: ✭ 142 (+305.71%)
Mutual labels:  opencv, face-detection
Php Opencv
PHP extensions for OpenCV
Stars: ✭ 524 (+1397.14%)
Mutual labels:  opencv, face-detection
Opencv4nodejs
Nodejs bindings to OpenCV 3 and OpenCV 4
Stars: ✭ 4,444 (+12597.14%)
Mutual labels:  opencv, face-detection
Attendance Using Face
Face-recognition using Siamese network
Stars: ✭ 174 (+397.14%)
Mutual labels:  opencv, face-detection
Mocr
Meaningful Optical Character Recognition from identity cards with Deep Learning.
Stars: ✭ 19 (-45.71%)
Mutual labels:  opencv, face-detection
Proctoring Ai
Creating a software for automatic monitoring in online proctoring
Stars: ✭ 155 (+342.86%)
Mutual labels:  opencv, face-detection
Add Christmas Hat
Add Christmas hat on one's head based on OpneCV and Dlib
Stars: ✭ 251 (+617.14%)
Mutual labels:  opencv, face-detection
Opencv Facial Landmark Detection
使用OpenCV实现人脸关键点检测
Stars: ✭ 153 (+337.14%)
Mutual labels:  opencv, face-detection
Facemoji
😆 A voice chatbot that can imitate your expression. OpenCV+Dlib+Live2D+Moments Recorder+Turing Robot+Iflytek IAT+Iflytek TTS
Stars: ✭ 320 (+814.29%)
Mutual labels:  opencv, face-detection
Robovision
AI and machine leaning-based computer vision for a robot
Stars: ✭ 126 (+260%)
Mutual labels:  opencv, face-detection
Animoji Animate
Facial-Landmarks Detection based animating application similar to Apple-Animoji™
Stars: ✭ 142 (+305.71%)
Mutual labels:  opencv, face-detection
Libfaceid
libfaceid is a research framework for prototyping of face recognition solutions. It seamlessly integrates multiple detection, recognition and liveness models w/ speech synthesis and speech recognition.
Stars: ✭ 354 (+911.43%)
Mutual labels:  opencv, face-detection
Facepixeler
A simple C# program that can automatically detect and blur faces in images. Uses OpenCV and EmguCV.
Stars: ✭ 5 (-85.71%)
Mutual labels:  opencv, face-detection

Fast Face Detector (FFD)

The fast face detector is based on the work Aggregate channel features for multi-view face detection proposed by Bin Yang, Junjie Yan, Zhen Lei and Stan Z. Li. My version extends the aforementioned one by adding a new channel: the integral image. This innovation makes the detector very robust with respect to the Viola Jones (VJ) detector. We tested FFD and VJ on 3547 images by obtaining the following results:

Detector True Positive False Positive No Detection Precision
FFD 3059 488 0 86.24%
VJ 2417 896 344 68.14%

REQUIREMENTS

  • OpenCV
  • OpenMP
  • SSE
  • Boost

How to build

FPD works under Linux and Mac Os environments. I recommend a so-called out of source build which can be achieved by the following command sequence:

  • mkdir build
  • cd build
  • cmake ../
  • make -j<number-of-cores+1>

How to use

###MATLAB - Training

  1. Compile the cpp files by launching:
compile_mex_files.m;
  1. Create a folder train and three subfolders, namely:
  • posGt: containing one txt file for each positive image. Each file contains the coordinates of each face in the image in the following format: #x #y #w #h
  • pos_jpg: containing the positive samples
  • neg_jpg: containing the negative
  1. Launch the training file:
train;

###C++ - Detection Go to the bin diretory and launch the program with the following command:

./ffd ../detector/detector.xml /path/to/the/image.jpg

The detector is already trained with the complete AFW dataset. So, you can directly use the xml file inside the detector folder.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].