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
快速开始
- 准备好
OnnxDet.dll和 ONNX 模型文件。 - 示例代码:
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc58bf224122f1ce208258b1e617b3ba4f52fe28e88fbce07009894951ac58f5
|
|
| MD5 |
c9711cdd88ed6ba42f387d62499ee070
|
|
| BLAKE2b-256 |
de73e2758eeaa08c6168277b8b56d178b395a382fef33e06570446ca2811f41e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4608caee94669fc12828db86ba762ad52f8579c97bf57de727dcf418cf680996
|
|
| MD5 |
be1c9755c57cd58e0a02bdb184c539aa
|
|
| BLAKE2b-256 |
9152d99b30695e858aec4ff9d7d581f7ff036cf16441e304764c8b731ac7caef
|