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
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.5.tar.gz
(88.4 kB
view details)
Built Distribution
File details
Details for the file yolov5-evaluator-0.0.5.tar.gz
.
File metadata
- Download URL: yolov5-evaluator-0.0.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 484a9756e11ac37f6047f2e1c0fb57c3df783d64956c0a4966c87462cf78aac0 |
|
MD5 | c64adaf8428f2edd1731e526cc2be75b |
|
BLAKE2b-256 | cee3c47c8bf7ded89960a08a8d895e1efe6c27fb6cf4e2bdc0ac37eaaaf7c027 |
File details
Details for the file yolov5_evaluator-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: yolov5_evaluator-0.0.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ffea970a361834d58fe6241d82974cd8fc2aa640f3ac4152c817d7c2166f1a3 |
|
MD5 | 8d6482e8b6a066be36f321b3373922e1 |
|
BLAKE2b-256 | 53b5cfdcca782dcf5b29314d26acc40ffec96e73b5a3efe133bb61e40302d569 |