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,weights,imgsz)

eval.detectByImage(image,weights,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.7.tar.gz (88.4 kB view details)

Uploaded Source

Built Distribution

yolov5_evaluator-0.0.7-py3-none-any.whl (97.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yolov5-evaluator-0.0.7.tar.gz
  • Upload date:
  • Size: 88.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.7.tar.gz
Algorithm Hash digest
SHA256 2875dd788a8bc067d77c6494a1b3ecd65e0ab5e6ee12bc15b9d7f04d0a14558a
MD5 d88e5b8d9bd326c4b587e725d4813c26
BLAKE2b-256 c71be8c676cc93d692779a3c31db9fc095186d159e72f80d0711bbd0f04ba267

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolov5_evaluator-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 97.6 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dcf4842ddeaf49dd26b88cdb922cfc9a0f3ddc470bf084315bd6ced39de98ce1
MD5 fad7fa64dd2e681addf22cbb4f649756
BLAKE2b-256 9a80f45f4f0a0c23b4ca316eaf6fbfe67dcdfc79c5ef210424f1b4dba248ed89

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