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.14.tar.gz
(89.5 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.14-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e8de7824c43835a32955440baad9bc35a896e9898939f8cadee98fa1ee012a5 |
|
MD5 | 74dfe3b2573d2b851d2b0e3f45d682d7 |
|
BLAKE2b-256 | d241987b93c64bb5876a832337f8512cbcef4709fe960e5b004b3ad5e8ff1045 |