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.22.tar.gz
(180.1 kB
view details)
File details
Details for the file yolov5-evaluator-0.0.22.tar.gz.
File metadata
- Download URL: yolov5-evaluator-0.0.22.tar.gz
- Upload date:
- Size: 180.1 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 |
caf9cff80060e4c6f8524905847c9c021e13842772713de000bf9695e1a5ce17
|
|
| MD5 |
8f7e5a9e4b20298cec218ae08e12b57a
|
|
| BLAKE2b-256 |
68dcea7909c106e85b3ed78ef4044039f92b52135dc27e8f9249a7095d49164c
|