Skip to main content

A Python package for yolo onnx model detect.

Project description

下面是你的 README.md 示例,简要介绍了项目用途、依赖、用法和资源监控方法。

# YoloOnnxDet

## 项目简介
YoloOnnxDet 是一个基于 ONNX 和 C++ DLL 的目标检测 Python 封装,支持高效的图片检测,并可监控 CPU、内存和 GPU 资源占用。

## 依赖环境
- Python 3.7+
- numpy
- opencv-python
- ONNX 格式的模型文件

安装依赖:
```bash
pip install numpy opencv-python

快速开始

  1. 准备好 OnnxDet.dll 和 ONNX 模型文件。
  2. 示例代码:
from YoloOnnxDet import OnnxDetector
import cv2

detector = OnnxDetector("your_model.onnx", 0.3, 0.5)
image = cv2.imread("your_image.png")
boxes, scores, class_ids = detector.detect(image)
print(boxes, scores, class_ids)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yoloonnxdet-0.0.1.tar.gz (37.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yoloonnxdet-0.0.1-py3-none-any.whl (38.1 MB view details)

Uploaded Python 3

File details

Details for the file yoloonnxdet-0.0.1.tar.gz.

File metadata

  • Download URL: yoloonnxdet-0.0.1.tar.gz
  • Upload date:
  • Size: 37.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for yoloonnxdet-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dc58bf224122f1ce208258b1e617b3ba4f52fe28e88fbce07009894951ac58f5
MD5 c9711cdd88ed6ba42f387d62499ee070
BLAKE2b-256 de73e2758eeaa08c6168277b8b56d178b395a382fef33e06570446ca2811f41e

See more details on using hashes here.

File details

Details for the file yoloonnxdet-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: yoloonnxdet-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 38.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for yoloonnxdet-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4608caee94669fc12828db86ba762ad52f8579c97bf57de727dcf418cf680996
MD5 be1c9755c57cd58e0a02bdb184c539aa
BLAKE2b-256 9152d99b30695e858aec4ff9d7d581f7ff036cf16441e304764c8b731ac7caef

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page