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.10.tar.gz
(88.4 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56356e6932847a9df5cd0f0a48bf3dff9ef8c54b9d5db6bb0bd9d958a28cd94e |
|
MD5 | c65c4d034f295b7339b12d0e783d4d01 |
|
BLAKE2b-256 | e0a144828b8dfa2c9d5f06f6ba722a41ecdc9149057b29822b7ce1a3991178d8 |