ONNX YOLOv10 Object Detection
Python scripts performing object detection using the YOLOv10 model in ONNX.
Requirements
- Check the requirements.txt file.
- For ONNX, if you have a NVIDIA GPU, then install the onnxruntime-gpu, otherwise use the onnxruntime library.
Installation 
pip install yolov10-onnx
Or, clone this repository:
git clone https://github.com/ibaiGorordo/ONNX-YOLOv10-Object-Detection.git
cd ONNX-YOLOv10-Object-Detection
pip install -r requirements.txt
ONNX Runtime
For Nvidia GPU computers:
pip install onnxruntime-gpu
Otherwise:
pip install onnxruntime
ONNX model
- If the model file is not found in the models directory, it will be downloaded automatically from the Official Repo.
- Available models: yolov10n.onnx, yolov10s.onnx, yolov10m.onnx, yolov10b.onnx, yolov10l.onnx, yolov10x.onnx
Original YOLOv10 model
The original YOLOv10 model can be found in this repository: https://github.com/THU-MIG/yolov10
- The License of the models is AGPL-3.0 license: https://github.com/THU-MIG/yolov10/blob/main/LICENSE
Examples
- Image inference:
python image_object_detection.py
- Webcam inference:
python webcam_object_detection.py
- Video inference: https://youtu.be/hz9PYZF4ax4
python video_object_detection.py
References:
- YOLOv10 model: https://github.com/THU-MIG/yolov10
Metadata
Release files for yolov10-onnx 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yolov10_onnx-0.3.0.tar.gz | 5.8 kB | Without provenance | Details for yolov10_onnx-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yolov10_onnx-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for yolov10_onnx-0.3.0-py3-none-any.whl |
Total release size: 12.2 kB
Release files / yolov10_onnx-0.3.0.tar.gz
| Download URL | yolov10_onnx-0.3.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28bdba98494f9eb61016a3c0f98581acc5a014688a4174b3be49b76e535bd927
|
|
BLAKE2b-256 checksum How to use checksums |
c22854f2d965dc98da37000767c0e25ddbe186c14d5a940b2738717fc6d01e2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.8
|
Release files / yolov10_onnx-0.3.0-py3-none-any.whl
| Download URL | yolov10_onnx-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cac319c39f9357fe40b54b5bc1f4b33b346804b47b27de26dc89e568576ad8d
|
|
BLAKE2b-256 checksum How to use checksums |
927d79f40cb97111bb17855511ee4642e1c2879832d6b5f34c4db1a36730d1f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.8
|
Security for yolov10-onnx 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.