Wrapper package for yolov5
Project description
yolov5-evaluator
Wrapper for the detection program for ease of use yolov5.
Install
pip install yolov5-evaluator
Use
from yolov5 import eval
result=eval.detectByPath('./inference/images/01.jpg',['./weights/v5-2/last.pt'],640)
print(result)
image=cv2.imread('./inference/images/01.jpg')
result=eval.detectByImg(image,['./weights/v5-2/last.pt'],640)
print(result)
params
eval.detectByPath(source,weights,imgsz)
eval.detectByImage(image,weights,imgsz)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yolov5-evaluator-0.0.5.tar.gz
(88.4 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ffea970a361834d58fe6241d82974cd8fc2aa640f3ac4152c817d7c2166f1a3 |
|
MD5 | 8d6482e8b6a066be36f321b3373922e1 |
|
BLAKE2b-256 | 53b5cfdcca782dcf5b29314d26acc40ffec96e73b5a3efe133bb61e40302d569 |