- CenterFace github: https://github.com/Star-Clouds/CenterFace
- CenterFace arxiv: CenterFace: Joint Face Detection and Alignment Using Face as Point
- get pretrained model: centerface.onnx or centerface_bnmerged.onnx
- export
centerface.onnx
model
python3 export_onnx.py
- export
centerface_bnmerged.onnx
model
python3 export_onnx.py --pretrained ./centerface_bnmerged.onnx --onnx ./centerface_bnmerged_transpose.onnx
cd ../ # in project directory
mkdir build && cd build
cmake ..
make -j
cd ../../bin/
./tensorrt_inference CenterFace ../configs/CenterFace/config.yaml ../samples/faces_detection