Real-time_face_recognition_Pytorch

所属分类:模式识别(视觉/语音等)
开发工具:Python
文件大小:59536KB
下载次数:2
上传日期:2021-11-05 07:53:36
上 传 者sh-1993
说明:  使用Pytorch的实时人脸识别
(Real-time face recognition using Pytorch)

文件列表:
Arial.ttf (773236, 2021-11-05)
LICENSE.md (7652, 2021-11-05)
SIMYOU.TTF (6700204, 2021-11-05)
__init__.py (393, 2021-11-05)
centerface.onnx (7532772, 2021-11-05)
face_emdding.py (6241, 2021-11-05)
models (0, 2021-11-05)
models\__init__.py (0, 2021-11-05)
models\__pycache__ (0, 2021-11-05)
models\__pycache__\__init__.cpython-37.pyc (149, 2021-11-05)
models\__pycache__\__init__.cpython-38.pyc (153, 2021-11-05)
models\__pycache__\centerface.cpython-37.pyc (8148, 2021-11-05)
models\__pycache__\centerface.cpython-38.pyc (8158, 2021-11-05)
models\__pycache__\common.cpython-37.pyc (16972, 2021-11-05)
models\__pycache__\common.cpython-38.pyc (16560, 2021-11-05)
models\__pycache__\experimental.cpython-37.pyc (5735, 2021-11-05)
models\__pycache__\experimental.cpython-38.pyc (5641, 2021-11-05)
models\__pycache__\inception_resnet_v1.cpython-37.pyc (9992, 2021-11-05)
models\__pycache__\inception_resnet_v1.cpython-38.pyc (9745, 2021-11-05)
models\__pycache__\yolo.cpython-37.pyc (11062, 2021-11-05)
models\__pycache__\yolov5_face.cpython-37.pyc (3924, 2021-11-05)
models\__pycache__\yolov5_face.cpython-38.pyc (3914, 2021-11-05)
models\centerface.py (10816, 2021-11-05)
models\change_onnx.py (1308, 2021-11-05)
models\common.py (15485, 2021-11-05)
models\experimental.py (5056, 2021-11-05)
models\export.py (3177, 2021-11-05)
models\facenet.py (2700, 2021-11-05)
models\inception_resnet_v1.py (11054, 2021-11-05)
models\mtcnn.py (21106, 2021-11-05)
models\utils (0, 2021-11-05)
models\utils\detect_face.py (12230, 2021-11-05)
models\utils\download.py (3720, 2021-11-05)
models\utils\tensorflow2pytorch.py (16090, 2021-11-05)
models\utils\training.py (5128, 2021-11-05)
models\yolo.py (14217, 2021-11-05)
models\yolov5_face.py (4610, 2021-11-05)
... ...

## Real-time Face Recognition Using Pytorch ### Provides a complete face recognition project, reasoning part of the script provided/提供一个完整的人脸项目,目前上传一部分可直接使用,后续待补充模型训练代码以及优化,链接Deepstream的C++ sdk参考使用 deepstream face:[https://github.com/positive666/Deepstream_Project/tree/main/Deepstream_Face] ## News 1.add Face Detection (cenerface/yolov5_face) 2.add facenet 3.add av to fix video format questions 4.Feature Library scripting and options for storing unrecognized images ## Quick start 1. Install: ``` need python >=3.5 with general python libary... # With pip: pip install requirements.txt ``` 2. prepare models and embeddings_face_data centerface models alreay exist this repo or you can go repo :https://github.com/Star-Clouds/CenterFace prepare your data -----create embeddings_face note!!! Keep the same number of images for each face category in your feature library!!!!!!!! ``` python face_embedding.py ``` Generating a feature library in your Program Root 3. How to run ``` python test_facenet.py --conf_thres 0.45 --weights ./new.onnx --source (your test data path) --embeddings_face (your face_embedding path) ``` ## References 1. references facenet repo: [https://github.com/davidsandberg/facenet](https://github.com/davidsandberg/facenet) 2. yolov5_face repo: [https://github.com/deepcam-cn/yolov5-face.git] 3. centerface repo: [https://github.com/Star-Clouds/CenterFace]

近期下载者

相关文件


收藏者