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.4.tar.gz
(88.3 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2352a19e56c05e228d29a4d5830b8d66b08384be7f98a218a422d1356ee04f4 |
|
MD5 | 9446f4d0c530a7fce2ba1098ea46fbc1 |
|
BLAKE2b-256 | 39f335427608380f509cfa4152d111de3a96ceac06cb2161d8461a3a35c13406 |