mirror of
https://gitee.com/nanjing-yimao-information/ieemoo-ai-gift.git
synced 2025-08-23 07:30:25 +00:00
update
This commit is contained in:
19
examples/YOLOv8-OpenCV-ONNX-Python/README.md
Normal file
19
examples/YOLOv8-OpenCV-ONNX-Python/README.md
Normal file
@ -0,0 +1,19 @@
|
||||
# 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"_
|
Reference in New Issue
Block a user