Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 840 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 840 Bytes

FreeYOLO-onnx

Infer FreeYOLO for images and videos with onnx model.

Image Test PNG

1.pip install

pip install -U pip && pip install opencv-python onnxruntime

2.pretraind-model

Taken from the official Github repository: FreeYOLO/deployment/ONNXRuntime

3.Inference

3.1 Image

python onnx_inference.py --mode image --model model/yolo_free_tiny_opset_11.onnx -i test.jpg -s 0.3 --img_size 640

3.2Video

python onnx_inference.py --mode video --model model/yolo_free_tiny_opset_11.onnx -i sample.mp4 -s 0.3 --img_size 640

4.Reference