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.2.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.2.tar.gz.
File metadata
- Download URL: yoloonnxdet-0.0.2.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 |
bf705c03a5e5d3971dfb8609179071f3bc65b66c71af65a1ea95999bed859280
|
|
| MD5 |
eaf0ef7cdf0ff2314fde28166859db90
|
|
| BLAKE2b-256 |
82c597146a63b903baf90e0bcdbff5d183d782b75ca4a80d960d8cb303cd68ba
|
File details
Details for the file yoloonnxdet-0.0.2-py3-none-any.whl.
File metadata
- Download URL: yoloonnxdet-0.0.2-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 |
2d9814f05687bdb2562c63daaab28c6adb5be4208bf2a8b3a005f73881c70fd8
|
|
| MD5 |
db9f679572ff5f83fb21424d8f662f24
|
|
| BLAKE2b-256 |
5ad2ef1be21fe1a84a44ff284d42bbd3279a0fef5d3656ecf02e811dd00e2c8e
|