Facial landmarks detection with OpenCV, Dlib, DNN
Steps to find 68 points facial landmarks using OpenCV :
Here I have tried below face detectors for finding landmarks:
To start with project just follow the few steps
$ git clone https://github.com/keyurr2/face-detection.git
$ pip install -r requirements.txt
$ cd into <project-folder>
Now you need to download models from below url and put in project directory
To find facial landmarks in realtime with different methods
$ python facial_landmarks_realtime.py -l hog
$ python facial_landmarks_realtime.py -l cnn
$ python facial_landmarks_realtime.py -l dl
To find for the same in image just give image path like
$ python facial_landmarks.py -l hog -i <image-path>
(Please change HOME in script)
This project is licensed under the MIT License - see the LICENSE.md file for details