Skip to content

Latest commit

 

History

History

dlib-hog

Dlib - HOG

Detect faces using Dlib's HOG face detection model.

Requirements

  • C++
  • CMake
  • Python

Installation

Compile the Dlib library in your environment.
Since we use a Python script to detect faces, you will also need to compile the Dlib Python API.

Running the face detection

Simply run php index.php, your images with face detection will be saved in /dataset-output/dlib-cnn.

Note

The PHP script uses by default the python command line program.
If you want to use another command line program (e.g. python3), simply run composer install and copy the .env.example file to .env and customize the command line program.