How sumeshe/helmet-detection-using-yolo11 works
This repository is a YOLO11 helmet-detection application with separate scripts for training, image inference, and video inference. The documented workflow trains a model and applies it to image or video inputs, annotating detections and presenting or saving results. The graph preserves GPU capability as documented; the README also describes future integrations, which are not implemented in the available source. Sampled scripts establish the shown calls; some input and output directories are documented but absent from the tree.
Main entry points: image_detection.py Image Detection · video_detection.py Video Detection · train.py Train YOLO · helmet_detection_large.pt Trained Weights
Components 12
Model Training
- Train YOLO
train.py - GPU Check
check_gpu.py
Detection
- Image Detection
image_detection.py - Video Detection
video_detection.py
Model Assets
- Trained Weights
models/helmet_detection_large.pt
Other components
- Operator
- Image Inputs
images - Video Inputs
- Detection Outputs
- OpenCV Display
- Training Dataset
- Training Runs
Connections 14
- Operator → Train YOLO: starts training
README.md - Train YOLO → Training Dataset: loads dataset
train.py - Train YOLO → Training Runs: writes runs
train.py - Operator → GPU Check: checks capability
README.md - Operator → Image Detection: runs inference
README.md - Image Detection → Trained Weights: loads weights
image_detection.py - Image Inputs → Image Detection: provides image
image_detection.py - Image Detection → Detection Outputs: writes annotated image
image_detection.py - Image Detection → OpenCV Display: shows detections
image_detection.py - Operator → Video Detection: runs inference
README.md - Video Detection → Trained Weights: loads weights
video_detection.py - Video Inputs → Video Detection: provides video
video_detection.py - Video Detection → Detection Outputs: writes annotated video
video_detection.py - Video Detection → OpenCV Display: shows frames
video_detection.py