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.4.tar.gz
(88.3 kB
view details)
Built Distribution
File details
Details for the file yolov5-evaluator-0.0.4.tar.gz
.
File metadata
- Download URL: yolov5-evaluator-0.0.4.tar.gz
- Upload date:
- Size: 88.3 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 | 92e150106fc3639c60fb4c27480dd161e41e92d4479c9d57a8dad886a0bb91f5 |
|
MD5 | b42847fb928bf394ba05b41abd7df6a1 |
|
BLAKE2b-256 | 045c062e66f1e2a6a91b6cfc883794e471a2e4c45ae08b1afe92c42181a117ce |
File details
Details for the file yolov5_evaluator-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: yolov5_evaluator-0.0.4-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 | e2352a19e56c05e228d29a4d5830b8d66b08384be7f98a218a422d1356ee04f4 |
|
MD5 | 9446f4d0c530a7fce2ba1098ea46fbc1 |
|
BLAKE2b-256 | 39f335427608380f509cfa4152d111de3a96ceac06cb2161d8461a3a35c13406 |