Skip to content

Face recognition using eigenfaces technique

License

Notifications You must be signed in to change notification settings

plmcsit/face-recognition

 
 

Repository files navigation

About

This is a very simple face detection and recognition implementation in python. It uses opencv to detect faces and eigenfaces to recognize the faces.

demo.gif

Usage

First of all you have to train face recognizer how your face looks like. Then you can test it with demo command.

Training

$ python src/main.py train

This command will take 10 pictures using your webcam. Press any key after every shot to take a new one.

Demo

To test face recognition use the demo that captures view from your webcam and recognizes faces in realtime:

$ python src/main.py demo

Requirements

  • NumPy
  • OpenCV 2.4
  • matplotlib
  • PIL - Python Imaging Library

Acknowledgements

Big thanks to Antony Ross providing me with the face recognition library and guiding me through it.

References

[1]http://www.vision.jhu.edu/teaching/vision08/Handouts/case_study_pca1.pdf

About

Face recognition using eigenfaces technique

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%