Helmet v4 β€” single-stage YOLO helmet detector

Predecessor to vivekvar/helmet-v5. Single YOLO model trained directly on helmet/no-helmet crops from Andhra Pradesh RTGS CCTV.

Files

  • best.pt β€” best YOLO checkpoint from training
  • train_helmet_v4.py β€” training script
  • training_log.json, train.log β€” metrics
  • crops/ β€” training crop dataset (with labels.db SQLite)

Why superseded

v4 was a single-stage detector β€” the model had to simultaneously find the rider and classify helmet presence. This led to:

  • Wrong-body-part boxing on multi-bike frames
  • Helmets misclassified as no-helmet on profile / back views
  • Accuracy plateau at F1 β‰ˆ 0.53

v5 splits this into detect (YOLO fine-tuned) β†’ localize driver head (pose) β†’ classify (EfficientNet-B0), hitting F1 = 0.864 on head crops and mAP50 = 0.979 on detection.

Downloads last month
36
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support