开源软件名称(OpenSource Name):1996scarlet/faster-mobile-retinaface开源软件地址(OpenSource Url):https://github.com/1996scarlet/faster-mobile-retinaface开源编程语言(OpenSource Language):Python 100.0%开源软件介绍(OpenSource Introduction):Face Detection @ 500-1000 FPS100% Python3 reimplementation of RetinaFace, a solid single-shot face localisation framework in CVPR 2020.
Getting StartRequirements
While not required, for optimal performance, it is highly recommended to run the code using a CUDA enabled GPU. Running for Video Filesgst-launch-1.0 -q filesrc location=$YOUR_FILE_PATH !\
qtdemux ! h264parse ! avdec_h264 !\
video/x-raw, width=640, height=480 ! videoconvert !\
video/x-raw, format=BGR ! fdsink | python3 face_detector.py Real-Time Capturing via Webcamgst-launch-1.0 -q v4l2src device=/dev/video0 !\
video/x-raw, width=640, height=480 ! videoconvert !\
video/x-raw, format=BGR ! fdsink | python3 face_detector.py Some Tips
Methods and ExperimentsFor middle-close range face detection, appropriately removing FPN layers and reducing the density of anchors could count-down the overall computational complexity. In addition, low-level APIs are used at preprocessing stage to bypass unnecessary format checks. While inferencing, runtime anchors are cached to avoid repeat calculations. More over, considerable speeding up can be obtained through vector acceleration and NMS algorithm improvement at post-processing stage. Experiments have been carried out via GTX 1660Ti with CUDA 10.2 on KDE-Ubuntu 19.10.
Results of several scale factors at VGA resolution show that our method can speed up by 32%. As real resolution increases, the proportion of feature extraction time spent in the measurement process will increase significantly, which causes our acceleration effect to be diluted.
Theoretically speaking, throughput capacity can reach the highest while the queue is bigger enough. Citation@inproceedings{deng2019retinaface,
title={RetinaFace: Single-stage Dense Face Localisation in the Wild},
author={Deng, Jiankang and Guo, Jia and Yuxiang, Zhou and Jinke Yu and Irene Kotsia and Zafeiriou, Stefanos},
booktitle={arxiv},
year={2019}
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论