Helmet Detection with YOLOv8n
A lightweight, real-time object detector for “helmet” vs “no_helmet” built with Ultralytics YOLOv8n. The project includes data download Roboflow, fine-tuning, and evaluation.
Usage
from ultralytics import YOLO
from huggingface_hub import hf_hub_download
repo_id = "iam-tsr/yolov8n-helmet-detection"
filename = "best.pt"
# Load downloaded model
model = YOLO(filename)
# Run inference
result_many = model.predict(
source="images/image.png",
save=False,
show=True,
)
Evaluation
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support
Model tree for iam-tsr/yolov8n-helmet-detection
Base model
Ultralytics/YOLOv8