1 Star 1 Fork 1

maple / FaceRecgion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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
    • Dlib
    • Scikit-learn
    • Numpy
    • Scikit-image

Run

  • To run the python version of the code you have to put all the input videos in one folder like /home/admin/videos and then provide the path of that folder as command line argument:
python3 start.py /home/admin/videos 
  • Then you can find faces extracted stored in the floder ./facepics .
  • If you want to draw 5 face landmarks on the face extracted,you can make the argument face_landmarks to be True
python3 start.py /home/admin/videos --face_landmarks True

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

MIT License Copyright (c) 2018 Linzaer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

This project can detect , track and extract the optimal face in multi-target faces (exclude side face and select the optimal face). 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/yangmiao123/FaceRecgion.git
git@gitee.com:yangmiao123/FaceRecgion.git
yangmiao123
FaceRecgion
FaceRecgion
master

搜索帮助

14c37bed 8189591 565d56ea 8189591