Skip to content

nicoTrombon/facial-landmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements:

dlib, cv, imutils

Virtualenv:

cv

Link:

http://www.pyimagesearch.com/2017/04/03/facial-landmarks-dlib-opencv-python/

Run:

Create a virtual environment called cv with dlib, opencv and imutils as indicated in the blog. Download the detector model here

> workon cv
> python facial_landmarks.py --shape-predictor shape_predictor_68_face_landmarks.dat --image <imagefilename>

If you wish to output individual detections for facial landmarks (mouth, eyes, nose, jaw, left and right eyebrows):

> workon cv
> python facial_landmarks.py --shape-predictor shape_predictor_68_face_landmarks.dat --image <imagefilename> --draw

or, run example with:

./run.sh

About

Facial landmarks with dlib, OpenCV, and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published