/face-frontalization

This is a port of the Face Frontalization code provided by Hassner et al. at http://www.openu.ac.il/home/hassner/projects/frontalize

Primary LanguagePython

Face Frontalization

This is a Python port of the Face Frontalization code provided by Hassner et al. at http://www.openu.ac.il/home/hassner/projects/frontalize

The original code was written in Matlab and was ported to Python using Numpy and OpenCV.

alt tag

Dependencies

Dlib Python Wraper >= 18.17

OpenCV Python Wraper = 3.0.0

SciPy

  • Windows x64: I have provided compiled binaries for OpenCV 3.0.0 and Dlib 18.18 here. Just drag the files to your python packages folder (e.g. site-packages). If they don't work, you'll have to compile them yourself.
  • Linux/OSX: You'll have to compile OpenCV and Dlib yourself.

Other Dependencies

To run demo.py you must have:

Matplotlib

Citation

If you find this code useful please cite:

Tal Hassner, Shai Harel, Eran Paz and Roee Enbar, Effective Face Frontalization in Unconstrained Images, IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), Boston, June 2015