[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>
This commit is contained in:
parent
edd3ff1669
commit
4b866c9718
3 changed files with 97 additions and 3 deletions
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
|
||||
```
|
||||
|
||||
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"_
|
||||
Loading…
Add table
Add a link
Reference in a new issue