Skip to main content

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


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)

Uploaded Source

Built Distribution

yolov5_evaluator-0.0.21-py3-none-any.whl (99.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page