/face_morpher

face_morpher

Primary LanguagePython

Face morhper

First, 68 facial feature points were detected by human face feature detector, and the feature points were triangulated. Then affine transformation and triangular deformation were performed, and images of different Alpha were fused to generate GIF of deformation process.

Requirement

  • opencv
  • dlib
  • imageio
  • scipy
  • numpy
  • shape_predictor_68_face_landmarks.dat

You only download the .datfile,click here to download,and change the .jpgfile to yours picture, then run the face_morpher.py file.