Downloads · 30 days
0
iam-tsr/yolov8n-helmet-detection
yolov8n-helmet-detection is a machine learning model from iam-tsr. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
<p align="center" <img src="assests/thumbnail.jpg" width=500 </p
Downloads · 30 days
0
Access
Public
Updated Nov 16, 2025
Repo size
6.4 MB
Likes
1
Public
Click a slice to open those files.
.pt6.2 MB · 97%
From the Hugging Face model README
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.
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,
)
| Metric | Value |
|---|---|
| Precision (P) | 0.855 |
| Recall (R) | 0.808 |
| [email protected] | 0.881 |
| [email protected]:0.95 | 0.538 |