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.1.0.tar.gz (38.0 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.1.0-py3-none-any.whl (38.1 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yoloonnxdet-0.1.0.tar.gz
Algorithm Hash digest
SHA256 90d95f8853d5ce5fb4f7fa58161959765a292addf2717812a8e5d65f5d978c47
MD5 a17b921a3c1a32d51fa4380e52cd66c1
BLAKE2b-256 bdaef0f444abdc6afafd9bb62e1fc79e8bb8e80c6ad9ea7438989c4734b53ac2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yoloonnxdet-0.1.0-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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32e24583dcdb8420edb065a4138aa84dc277f48b01744613a5d7aee1e4fa8257
MD5 16e7341b9541a7e016f41c4c3ab49a84
BLAKE2b-256 26cce92cc8a44684b7b591f1ae36e2e23b3421d18169272eaa975a3dacd8e5fd

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