- Python 2.7 (https://www.python.org/download/releases/2.7.2/)
- Python pip
- OpenCV v2 (http://opencv.org/downloads.html)
- A working webcam
pip install -r requirements.txt
python setup.py install
or for development
pip install -r requirements.txt
python setup.py develop
- Drop the 'yalefaces' folder in the root directory
- http://vision.ucsd.edu/datasets/yale_face_dataset_original/yalefaces.zip
Run like this:
facerec recognize <selfie-folder>
To exit, press Ctrl+C