File size: 375 Bytes
f6228f9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# YOLOv8 - OpenCV

Implementation YOLOv8 on OpenCV using ONNX Format.

Just simply clone and run

```bash

pip install -r requirements.txt

python main.py --model yolov8n.onnx --img image.jpg

```

If you start from scratch:

```bash

pip install ultralytics

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

```

_\*Make sure to include "opset=12"_