The facemash.py script in action.


I made this project as teaching material for the ITP Unconference 2017.

It is guiding the students through building a program that goes through a folder of images, detects faces, aligns and overlays them to create the average face of the dataset.

Tools used are python, opencv and dlib. The workshop is designed for OSX users.


GITHUB REPOSITORY
All the teaching material can be found HERE.



basic1.py script introducing image opening, croping, face detection and facial landmarks.



basic2.py script showing landmarks transformation matrix and image warping.