Skip to content

Developed an algorithm to perform face morphing, utilizing dlib's facial landmark detector and delauney triangulation. Produced a morph animation of my face into someone else’s face, computed the mean of a population of faces, and extrapolated from a population mean to create a caricature of myself.

nadiahyder/FaceMorphing

Repository files navigation

methodolgy and output are presented on this site: https://inst.eecs.berkeley.edu/~cs194-26/fa20/upload/files/proj3/cs194-26-aeg/ 

main.py performs 3 functions: morphs my face into George Clooney's,
finds the mean Dane face using the dataset in "imm_face_db", uses the mean face to create a caricature of my face, and
warps my face into the average face of an indian man.

The corresponding booleans are morph, meanFace, caricature, and changeToMale. Setting any of them to True will perform that operation. All outputs previously generated are in {appropriate folder} + "output"

About

Developed an algorithm to perform face morphing, utilizing dlib's facial landmark detector and delauney triangulation. Produced a morph animation of my face into someone else’s face, computed the mean of a population of faces, and extrapolated from a population mean to create a caricature of myself.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages