Downloads · 30 days
6
1% of all-time downloads
niki-stha/asl-detection-yolov5
asl-detection-yolov5 is a object detection model from niki-stha. Use it when you need objects located in an image. It is set up for yolov5.
<div align="center" <img width="640" alt="niki-stha/asl-detection-roboflow" src="https://datasets-server.huggingface.co/assets/niki-stha/asl-detection-roboflow/--/niki-stha--asl-detection-roboflow/train/54/image/image…
Downloads · 30 days
6
1% of all-time downloads
All-time downloads
706
Public
Repo size
16.8 MB
Likes
0
Public
Click a slice to open those files.
.pt14.9 MB · 89%
From the Hugging Face model README
pip install -U yolov5
import yolov5
# load model
model = yolov5.load('niki-stha/asl-detection-yolov5')
# set model parameters
model.conf = 0.80 # NMS confidence threshold
model.iou = 0.45 # NMS IoU threshold
model.agnostic = False # NMS class-agnostic
model.multi_label = False # NMS multiple labels per box
model.max_det = 1000 # maximum number of detections per image
# set image
img = 'https://datasets-server.huggingface.co/assets/niki-stha/asl-detection-roboflow/--/niki-stha--asl-detection-roboflow/test/2/image/image.jpg'
# perform inference
results = model(img, size=640)
# inference with test time augmentation
results = model(img, augment=True)
# parse results
predictions = results.pred[0]
boxes = predictions[:, :4] # x1, y1, x2, y2
scores = predictions[:, 4]
categories = predictions[:, 5]
# show detection bounding boxes on image
results.show()
# save results into "results/" folder
results.save(save_dir='results/')
yolov5 train --data data.yaml --img 416 --batch 32 --weights keremberke/yolov5s-license-plate --epochs 10
More models available at: awesome-yolov5-models