Skip to content

A Python application for picture and video editing of faces using deep learning

Notifications You must be signed in to change notification settings

BenjBarral/FACE_INTRINSICS_EDITING

Repository files navigation

A Python program to edit videos and images of faces, using Tensorflow and a pretrained neural network for face intrinsics decomposition

Usage

Dependencies

You need to build the python binding from the EOS library (try pip install eos-py).

Other packages :

  • Tensorflow
  • OpenCV
  • Numpy

You will need the pretrained weights of the face texture intrinsics deep neural network : contact me at [email protected].

Running the code

Run the face_app.py module. You will need to modify the paths to the input video or image to edit : input_folder, input_image1 etc...

References

A Multiresolution 3D Morphable Face Model and Fitting Framework, P. Huber, G. Hu, R. Tena, P. Mortazavian, W. Koppen, W. Christmas, M. Rätsch, J. Kittler, International Conference on Computer Vision Theory and Applications (VISAPP) 2016, Rome, Italy [PDF].

Dlib facial landmark detection : https://www.pyimagesearch.com/2017/04/03/facial-landmarks-dlib-opencv-python/

About

A Python application for picture and video editing of faces using deep learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages