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.21.tar.gz
(180.0 kB
view hashes)
Built Distribution
Close
Hashes for yolov5_evaluator-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac2028041d722810020c422c2a2bfe4b878b330f3a871e60b8fd3c392763ece2 |
|
MD5 | f2745378f2d90e7c26ec8f3223052109 |
|
BLAKE2b-256 | b8e51e8f67fdc1ba60bfe1a75e8d3e126e55714aca0c342a9f49c775df51f001 |