Skip to content

Simple project to generate someone's Eigenface from a source of images.

License

Notifications You must be signed in to change notification settings

DiogoNeves/eigenavatar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eigenavatar

Simple project to generate someone's Eigenface from a source of images.

How does it work?

It's a simple program ;)

  1. Load all images from data/source_images/
  2. Detect faces on every image
  3. Save all detected faces to data/intermediate_images/
  4. Gives you a chance to remove any unwanted images from intermediate data
  5. Generate the eigen face from all images in the intermediate directory*

*- not yet implemented

Installing it

At the moment... you'll have to clone this project and run it.

Running it

Add your images to data/source_images/ and run python eigen_avatar.py.

Testing

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 .

Using

LFW Image Dataset - http://vis-www.cs.umass.edu/lfw/ (not redistributed here)

About

Simple project to generate someone's Eigenface from a source of images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages