Simple project to generate someone's Eigenface from a source of images.
It's a simple program ;)
- Load all images from
data/source_images/
- Detect faces on every image
- Save all detected faces to
data/intermediate_images/
- Gives you a chance to remove any unwanted images from intermediate data
- Generate the eigen face from all images in the intermediate directory*
*- not yet implemented
At the moment... you'll have to clone this project and run it.
Add your images to data/source_images/
and run python eigen_avatar.py
.
You'll need to install py.test. May work with others but I haven't tested.
python -m py.test eigen_avatar.py
I'm running as a module to avoid py.test using a different python.
Feel free to use the normal py.test .
LFW Image Dataset - http://vis-www.cs.umass.edu/lfw/ (not redistributed here)