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.6.tar.gz
(88.4 kB
view details)
Built Distribution
File details
Details for the file yolov5-evaluator-0.0.6.tar.gz
.
File metadata
- Download URL: yolov5-evaluator-0.0.6.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 | 35e83dbf42fdc17413140088ea31875152cd58a4eb06f02758d8f4a109d57565 |
|
MD5 | cf0309012f4a6af1b1f46fba4e1b251d |
|
BLAKE2b-256 | 73f9826381998ac1db16c97f84d0cc71b796cde08d65cebb348647fc7af7fd3f |
File details
Details for the file yolov5_evaluator-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: yolov5_evaluator-0.0.6-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 | 2f8543319b73d5a3a180cbe802a64a3da6d9f0bbdb56e90417fd13d39d0bea4d |
|
MD5 | 7bee9f95c21aea36576823ba6c9078d4 |
|
BLAKE2b-256 | aa61123b1e1082ca78ac4d2d5cc0291ec444b619d031932e6aec64c48361389c |