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.21.tar.gz
(180.0 kB
view details)
Built Distribution
File details
Details for the file yolov5-evaluator-0.0.21.tar.gz
.
File metadata
- Download URL: yolov5-evaluator-0.0.21.tar.gz
- Upload date:
- Size: 180.0 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 | c56242ed36d121d4339a5ceda530c60f333176b25bbb16ecc7560c5bb1ca133e |
|
MD5 | f5089ecee0bb0d40930af3d7c6c977c4 |
|
BLAKE2b-256 | a9ef0898a0923105fb209def82c8e648a085306ef1a82ceead21676e2e9f1b72 |
File details
Details for the file yolov5_evaluator-0.0.21-py3-none-any.whl
.
File metadata
- Download URL: yolov5_evaluator-0.0.21-py3-none-any.whl
- Upload date:
- Size: 99.3 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 | ac2028041d722810020c422c2a2bfe4b878b330f3a871e60b8fd3c392763ece2 |
|
MD5 | f2745378f2d90e7c26ec8f3223052109 |
|
BLAKE2b-256 | b8e51e8f67fdc1ba60bfe1a75e8d3e126e55714aca0c342a9f49c775df51f001 |