Skip to content

khanetor/face-alignment-dlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Face Alignment

This is a demo of detecting and aligning faces in an image. Alignment is a process of rotating a face to a vertically straight orientation, should the original face image is tilted.

Setup:

  1. Run pip install -r requirements.txt
  2. Download and extract shape predictor 68 landmarks at this link.
  3. Place the extracted predictor in the root directory of this project.
  4. Find some images with faces, tiled if possible.

Run:

python app.py \<image input\> \<image output\>
Dependencies:

About

Detect and align faces in images using dlib and opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages