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,weight,imgsz)
eval.detectByImage(image,weight,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.15.tar.gz
(89.5 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19d64520157cab76261dd1a6587f6fc130e00545cbe68654084d37620b7a85e9 |
|
MD5 | 65d36c7110bf0dfc6859db8302521f1c |
|
BLAKE2b-256 | 5fd309776ef7aaf958211148a9de73aa11620e20571a521a2c0c69cbf13ec5a5 |