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
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.16.tar.gz
(89.5 kB
view details)
Built Distribution
File details
Details for the file yolov5-evaluator-0.0.16.tar.gz
.
File metadata
- Download URL: yolov5-evaluator-0.0.16.tar.gz
- Upload date:
- Size: 89.5 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 | 903a0187ea1b7ac53857d2305d44bbff8dffb47493c1a5dd42a989eb27d6ce76 |
|
MD5 | 782e03d38bd254c03fb42a5014fa100f |
|
BLAKE2b-256 | bd1f871e4b48e4bb8b683bdec3e7bab24414a6bf7e7349a37b789396c16ed0b9 |
File details
Details for the file yolov5_evaluator-0.0.16-py3-none-any.whl
.
File metadata
- Download URL: yolov5_evaluator-0.0.16-py3-none-any.whl
- Upload date:
- Size: 98.8 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 | 1533075a6d11237cbe58521df71bb7f00022b7f0271869b01be06c3b8b19d3dc |
|
MD5 | f9826f030e5201c6695dde839cb58fcc |
|
BLAKE2b-256 | 4891618de767308feea0386b29fb8568e5ec181cb5c6929cb9b22f9ef063e604 |