This project is a demonstration how a face recognition library can be used to recognize & track faces from webcam in real time.
- dlib + its requirements (cmake, jpeg, libpng)
- opencv + its requirements (cmake, pkg-config, eigen, ffmpeg, jpeg, libpng, libtiff, openexr, numpy)
- face_recognition, a face recognition api which uses dlib
See requirements.txt for more info.
- create virtualenv for the project
pip install cmake jpeg libpng pkg-config eigen ffmpeg libtiff openexr numpy
brew install dlib opencv
pip install face_recognition
- put some images in known_persons folder (must be in .png format)
- run the app with
python app.py