This project can detect , track and extract the optimal face in multi-target faces (exclude side face and select the optimal face).
- Dependencies:
- Python 3.5+
- Tensorflow
- MTCNN
- Scikit-learn
- Numpy
- Numba
- Opencv-python
- Filterpy
- To run the python version of the code :
python3 start.py
- Then you can find faces extracted stored in the floder ./facepics .
- If you want to draw 5 face landmarks on the face extracted,you just add the argument face_landmarks
python3 start.py --face_landmarks
- You can run it to extract the optimal face for everyone from a lot of videos and use it as a training set for CNN Training.
- You can also send the extracted face to the backend for Face Recognition.
MIT LICENSE