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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: yolov5-evaluator-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 79e6e74f0e3f17bfd4b27be66ae087e63dc1182a7114bf832e3fd2d999d3b98b
MD5 155c08fb48c3bd16cf0c3fb8fd0dfea1
BLAKE2b-256 328f1aa9d2e9419b0cc6a0952be77cfc97db4c021fe49bbec805adc35112561b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yolov5_evaluator-0.0.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f05df611a61d40b4b02b212e0ed9147f8631210042654dad4a2b1eae2813ddf8
MD5 db567700a2e0293299a1d8b26a527f5a
BLAKE2b-256 f6a4058264a3435f30a19c95883a3750c87b2176cd9d1fa2a5dd1339108e4bfa

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