A new face recognition system (blow is our system's data flow)
Demo can be found at https://youtu.be/Fmw0E4przcg
This system is tested successfully under MacOS(havn't test on Ubuntu).
- Environment: MacOS, python3.6
- Dependence
- PyQt5(pip install pyqt5)
- imutils
- CMake(pip install CMake)
- Boost(pip install Boost)
- dlib(pip install dlib)
pip install -r requirements.txt
Attention: version of opencv-python should prior to 4.2, or pyqt5 will crash
- put
shape_predictor_68_face_landmarks.dat
undersrc/
folder - put face database under the
/data/cropped_gallery/
, run following command, this will produce feature data(db_features.pkl
) extracted from the model.
python regist.py
python main.py