This model is trained to detect whether a person is wearing a helmet or not, using YOLOv8.
This is a custom-trained
YOLOv8 model that detects whether a person is wearing a helmet or not. The goal is to improve road safety and ensure helmet compliance using computer vision.
Feel free to reach out on LinkedIn(sharathup) or email me at
sharathu0123@gmail.com for collaborations or suggestions.
1pip install ultralytics
2
3
4#Load model and predict:
5
6from ultralytics import YOLO
7model = YOLO("sharathhhhh/helmet-detection-yolov8")
8
9# Predict on image
10results = model("rider.jpg")
11
12# Display results
13results[0].show()