Downloads · 30 days
181
25% of all-time downloads
leeyunjai/yolo26-helmet
yolo26-helmet is a object detection model from leeyunjai. Use it when you need objects located in an image. It is set up for ultralytics.
This repository contains a PyTorch-exported model for detecting box using the YOLO11 architecture. The model has been trained to recognize these symbols in images and return their locations and classifications.
Downloads · 30 days
181
25% of all-time downloads
All-time downloads
711
Public
Repo size
64.6 MB
Likes
4
Public
Click a slice to open those files.
.pt64.4 MB · 100%
From the Hugging Face model README
This repository contains a PyTorch-exported model for detecting box using the YOLO11 architecture. The model has been trained to recognize these symbols in images and return their locations and classifications.
The YOLO11 model is optimized for detecting the following:
#class
helmet
face (no helmet)
To use this model in your project, follow the steps below:
Ensure you have the ultralytics library installed, which is used for YOLO models:
pip install ultralytics
You can load the model and perform detection on an image as follows:
from ultralytics import YOLO
# Load the model
model = YOLO("./helmet-26m.pt")
# Perform detection on an image
results = model("image.png")
# Display or process the results
results.show() # This will display the image with detected objects
The results object contains bounding boxes, labels (e.g., numbers or operators), and confidence scores for each detected object.
Access them like this:
for result in results:
print(result.boxes) # Bounding boxes
print(result.names) # Detected classes
print(result.scores) # Confidence scores
(yolo26m)
mAP50 0.956607
mAP50-95 0.644568
precision 0.925281
recall 0.901577

#yolo11