Camera, imaging and vision AI engineering UEI N7SYXZ7UNNU3 Capabilities statement
Projects / 2019
Computer vision

Helmet Detection

On-device AI that detects whether a rider is wearing a helmet on an eBike or regular bicycle.

Requirement

An eBike fleet operator in India was being fined for riders who did not wear helmets. Roadside enforcement cameras issue electronic tickets to the registered vehicle owner, so every violation became a liability for the fleet rather than the rider. The operator had no way to verify helmet use or attribute violations to individual riders.

The requirement was an automated, evidence-based compliance system that could run on each vehicle, work in real riding conditions and keep hardware cost low across a large fleet.

Approach

Skillion designed a real-time helmet detection application that runs entirely on an Android smartphone mounted on the eBike. Android was selected because it is the dominant mobile platform in India and offers low-cost, ruggedized, IP-rated handsets that are available at fleet scale.

Data collection and training

  • Collected video of volunteer riders with and without helmets across varied conditions.
  • Converted video to labeled image datasets using FFmpeg, with a 70/30 split between training and test data.
  • Trained and iteratively retrained a TensorFlow classification model as the dataset grew.
  • Scaled labeling from in-house manual annotation to crowdsourced labeling on Amazon Mechanical Turk.

On-device inference and validation

The model assesses helmet use every few seconds during a ride. To keep false positives low, each result passes through layered validation before a violation is logged:

  1. Image quality screening rejects frames with excessive noise, saturation or poor brightness.
  2. Face detection confirms a rider is present and correctly positioned in the frame.
  3. Multi-frame consistency requires agreement across several captures before recording a violation.

Field challenges

Field trials exposed the limits of low-cost phone cameras on a moving vehicle: sun glare, motion blur and variable lighting all degraded image quality. These were addressed by pre-screening and discarding unusable frames, capturing multiple images per check and accepting only consistent predictions, and using face detection to define a valid detection zone.

Outcome

  • Reliable helmet detection in real-world riding conditions, running on commodity hardware with no network dependency for inference.
  • An auditable, image-backed record of helmet compliance per rider, giving the operator accountability for violations and reducing its exposure to fines.
  • A data pipeline that feeds field captures back into training, so accuracy continues to improve with use.

Relevance

The same pattern applies to any program that must verify personal protective equipment or rider and operator compliance at scale: low-cost edge devices, models trained on field data, and validation layers designed for harsh imaging conditions. Related work includes PPE compliance detection in SteelEye site monitoring and rider safety in the Hawkeye program.

Discuss a requirement with our engineering team

Agencies, primes and industry partners: tell us what the system must detect, measure or recognize, and the environment it must work in.