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.7.tar.gz
(88.4 kB
view details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2875dd788a8bc067d77c6494a1b3ecd65e0ab5e6ee12bc15b9d7f04d0a14558a |
|
MD5 | d88e5b8d9bd326c4b587e725d4813c26 |
|
BLAKE2b-256 | c71be8c676cc93d692779a3c31db9fc095186d159e72f80d0711bbd0f04ba267 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcf4842ddeaf49dd26b88cdb922cfc9a0f3ddc470bf084315bd6ced39de98ce1 |
|
MD5 | fad7fa64dd2e681addf22cbb4f649756 |
|
BLAKE2b-256 | 9a80f45f4f0a0c23b4ca316eaf6fbfe67dcdfc79c5ef210424f1b4dba248ed89 |