Object Detection
ultralytics
ONNX
Safetensors
helmet-detection
yolo
image-classification
cctv
anpr
india
Instructions to use vivekvar/helmet-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use vivekvar/helmet-v5 with ultralytics:
# Couldn't find a valid YOLO version tag. # Replace XX with the correct version. from ultralytics import YOLOvXX model = YOLOvXX.from_pretrained("vivekvar/helmet-v5") source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
| import React from 'react' | |
| export default function StreamPlayer({ refreshKey }) { | |
| // Force MJPEG re-connect when refreshKey changes (camera switch) | |
| return ( | |
| <img | |
| key={refreshKey} | |
| src={`/stream.mjpg?k=${refreshKey}`} | |
| alt="live stream" | |
| className="max-w-full max-h-full object-contain rounded border border-line" | |
| /> | |
| ) | |
| } | |