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.14.tar.gz
(89.5 kB
view details)
Built Distribution
File details
Details for the file yolov5-evaluator-0.0.14.tar.gz
.
File metadata
- Download URL: yolov5-evaluator-0.0.14.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 | abf18fb644572dcfaffcc6098f113ee1416c5a701c2ed6ab5fea12b92271cfba |
|
MD5 | 1abd303c59628118611d660273f08738 |
|
BLAKE2b-256 | d443b4a4618612ac6ad36190b895fe0d019ab6e12f791acfe9b5719f4c0a5bb7 |
File details
Details for the file yolov5_evaluator-0.0.14-py3-none-any.whl
.
File metadata
- Download URL: yolov5_evaluator-0.0.14-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 | 6e8de7824c43835a32955440baad9bc35a896e9898939f8cadee98fa1ee012a5 |
|
MD5 | 74dfe3b2573d2b851d2b0e3f45d682d7 |
|
BLAKE2b-256 | d241987b93c64bb5876a832337f8512cbcef4709fe960e5b004b3ad5e8ff1045 |