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.19.tar.gz
(93.0 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4176a7480e4c8f1d60bd657d92a653d45fe8c8cc6689ae6ca311b117de30302 |
|
MD5 | aafd4851b70645d48efe562e526f98a8 |
|
BLAKE2b-256 | 4420df9d48d4f919b900918d3a22382fcc52d3fa723a33a9a713341dbcb550ce |