mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-23 21:44:22 +08:00

Co-authored-by: Rafael Pierre <97888102+rafaelvp-db@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ayush Chaurasia <ayush.chaurarsia@gmail.com> Co-authored-by: Semih Demirel <85176438+semihhdemirel@users.noreply.github.com>
20 lines
356 B
Markdown
20 lines
356 B
Markdown
# 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"_
|