Farid Inawan 4b866c9718
[Example] YOLOv8-OpenCV-ONNX-Python (#1007)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: ayush chaurasia <ayush.chaurarsia@gmail.com>
2023-02-19 00:57:08 +05:30

319 B

YOLOv8 - OpenCV

Implementation YOLOv8 on OpenCV using ONNX Format.

Just simply clone and run

pip install -r requirements.txt
python main.py

If you start from scratch:

pip install ultralytics
yolo export model=yolov8n.pt imgsz=640 format=onnx opset=12

*Make sure to include "opset=12"