Skip to content

Face detection algorithm comparison using OpenCV, OpenCV dnn, dlib

Notifications You must be signed in to change notification settings

kairess/face_detection_comparison

Repository files navigation

Face Detection Algorithm Comparison

Compare latency and accuracy of face detection algorithms.
Click link to watch demo video!

OpenCV DNN Face Detector (Best)

OpenCV Haar Cascade

Dlib Frontal Face Detector

MTCNN

Dlib MMOD

Good but too slow on CPU. Must use GPU for speed

Algorithms

  • OpenCV DNN face detector: models/opencv_face_detector_uint8.pb
  • Haar cascade: models/haarcascade_frontalface_default.xml
  • Dlib frontal face detector
  • MTCNN: https://github.com/ipazc/mtcnn
  • Dlib cnn_face_detection_model_v1: models/mmod_human_face_detector.dat

Test Environment

  • MacBook Pro (Retina, 15-inch, Mid 2014)
  • Processor: 2.5 GHz Intel Core i7
  • Memory: 16GB 1600 MHz DDR3
  • Graphic: NVIDIA GeForce GT 750M 2048 MB, Intel Iris Pro 1536 MB

Dependencies

About

Face detection algorithm comparison using OpenCV, OpenCV dnn, dlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages