- RetinaFace arxiv: RetinaFace: Single-stage Dense Face Localisation in the Wild
- RetinaFace github: https://github.com/deepinsight/insightface/tree/master/detection/RetinaFace
- RetinaFaceAntiCov github: https://github.com/deepinsight/insightface/tree/master/detection/RetinaFaceAntiCov
| model | weights |
|---|---|
| RetinaFace-R50 | weights |
| RetinaFace-MobileNet0.25 | weights(nzof) |
| RetinaFaceAntiCov | weights(j3b6) |
- clone RetinaFace code
git clone https://github.com/deepinsight/insightface.git
cd insightface
copy export_onnx.py to ./detection/RetinaFace or ./detection/RetinaFaceAntiCov
- export resnet50 model
python3 export_onnx.py
- export mobilenet 0.25 model
python3 export_onnx.py --prefix ./model/mnet.25
- export RetinaFaceAntiCov model
python3 export_onnx.py --prefix ./model/mnet_cov2 --network net3l
mkdir build && cd build
cmake ..
make -j
- inference with RetinaFace
./RetinaFace_trt ../config.yaml ../samples
- inference with RetinaFaceAntiCov
./RetinaFace_trt ../config_anti.yaml ../samples
For more information, please refer this blog: https://blog.csdn.net/linghu8812/article/details/110677016
- RetinaFace result
- RetinaFaceAntiCov result

