Skip to main content

YOLOV8 ONNX

License Python 3.7 ONNX Compatible Colab

Description

This package is compatible with YoloV8 for object detection program, using ONNX format model (CPU & GPU speed can be x2 Times Faster). This code is referenced from this awesome repo.

Usage

Step 1: Convert your pre-trained model to ONNX format.

from ultralytics import YOLO

# Load your pre-trained model
model = YOLO('your-trained-model.pt')

# Export the model
model.export(format='onnx', 
            batch=1, 
            device='cpu', 
            simplify=True, 
            imgsz=640, 
            dynamic=True)

Step 2: Use in your code.

from yolov8_onnx import DetectEngine

engine = DetectEngine(model_path= str | 'your-model.onnx',
                        image_size = int | 640,
                        conf_thres= float | 0.5, 
                        iou_thres= float | 0.1)

output = engine(image) # cv2 image

Note: akaOCR (Transform documents into useful data with AI-based IDP - Intelligent Document Processing) - helps make inefficient manual entry a thing of the past—and reliable data insights a thing of the present. Details at: https://app.akaocr.io

Metadata

Release files for yolov8-onnx 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yolov8-onnx 1.0.4
File Size Uploaded Provenance Actions
yolov8_onnx-1.0.4.tar.gz 9.0 kB Without provenance Details for yolov8_onnx-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yolov8-onnx 1.0.4
File Interpreter ABI Platform Actions
yolov8_onnx-1.0.4-py3-none-any.whl Python 3 none any Details for yolov8_onnx-1.0.4-py3-none-any.whl

Total release size: 18.8 kB

Release files / yolov8_onnx-1.0.4.tar.gz

Download URL yolov8_onnx-1.0.4.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ef48c187c3020ea5a92308dab8c2a72ebe10517d11b133b4506ac32f8fa26e34
BLAKE2b-256 checksum
How to use checksums
539c4bc05f75e1ad06e149093789bb5adb70632e7cfea4997416c1cfff6bb1ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Release files / yolov8_onnx-1.0.4-py3-none-any.whl

Download URL yolov8_onnx-1.0.4-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca51deddcf5abcc544e93a83764c4da23bae371ec2265981458a674ade5f8012
BLAKE2b-256 checksum
How to use checksums
3fdc7fdc4221399d8d18cce4a3df666669a424592be3c25173b7f6b225244142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.11

Security for yolov8-onnx 1.0.4

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.

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page