yolov10/examples/YOLOv8-OpenCV-ONNX-Python
Glenn Jocher 4dc8c406f9
OBB Docs updates (#7512)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: Muhammad Rizwan Munawar <chr043416@gmail.com>
Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
2024-01-12 00:06:22 +01:00
..
2024-01-12 00:06:22 +01:00

YOLOv8 - OpenCV

Implementation YOLOv8 on OpenCV using ONNX Format.

Just simply clone and run

pip install -r requirements.txt
python main.py --model yolov8n.onnx --img image.jpg

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"