• Stars
    star
    586
  • Rank 76,279 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created about 6 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ’Ž Detect , track and extract the optimal face in multi-target faces (exclude side face and select the optimal face).

Face Detection & Tracking & Extract

GitHub PyPI - Python Version

This project can detect , track and extract the optimal face in multi-target faces (exclude side face and select the optimal face).

Introduction

  • Dependencies:
    • Python 3.5+
    • Tensorflow
    • MTCNN
    • Scikit-learn
    • Numpy
    • Numba
    • Opencv-python
    • Filterpy

Run

  • 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

What can this project do?

  • 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.

Results

alt text alt text

Special Thanks to:

License

MIT LICENSE