Skip to content

Latest commit

 

History

History

Face-align-Kazemi

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

FaceAligment-Torch7 binding

This is a binding for the implementation "One Millisecond Face Alignment with an Ensemble of Regression Trees" by Vahid Kazemi and Josephine Sullivan included in dlib library.

Dependencies

You need to check the following packages installed on your machine, for example, on ubuntu.

sudo apt-get install libavcodec-dev libavformat-dev libavutil-dev libssl-dev libswscale-dev

And on mac.

brew install ffmpeg openssl
luarocks install camera

Setup

Make sure to check if the environment variable $TORCH in two Makefiles (under libface and libvideo) points to the installed path of Torch. If you have used default Torch installation ($HOME/torch), just trigger the shell script to prepare required files.

. setup.sh

Test

Run the script below.

qlua test-camera.lua              # use camera input
qlua test-image.lua image.jpg     # use static image