Here are examples for object detection.
-
Download the onnx model and test image from RetinaNet or TinaFace, and put them in the same directory as detector.py.
-
Run
# RetinaNet
python detector.py retinanet.py test_retinanet.jpg
# TinaFace
python detector.py tinaface.py test_tinaface.jpg