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.20.tar.gz (179.4 kB view details)

Uploaded Source

Built Distribution

yolov5_evaluator-0.0.20-py3-none-any.whl (99.1 kB view details)

Uploaded Python 3

File details

Details for the file yolov5-evaluator-0.0.20.tar.gz.

File metadata

  • Download URL: yolov5-evaluator-0.0.20.tar.gz
  • Upload date:
  • Size: 179.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for yolov5-evaluator-0.0.20.tar.gz
Algorithm Hash digest
SHA256 a86e30a7781c8355a8ef15897572bc7a22155de2bd76c6faa3bbabded580518f
MD5 f97078d7cfed11d1a19e26d529951e8d
BLAKE2b-256 81cc004bd05727006433b9a321588b81d93e0f1212513f483a38f1214798b8a3

See more details on using hashes here.

File details

Details for the file yolov5_evaluator-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: yolov5_evaluator-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 99.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for yolov5_evaluator-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 c142fcc84155232c4ba1913388b903b7c30c49a99fdb5411036df9945e41f2b8
MD5 802c2f55299bddabbd1662bf2c31aee3
BLAKE2b-256 5b418e13f07e0134e804f60039d147c19cde06176266bad31387242c2c92fe91

See more details on using hashes here.

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