ORIGINAL RESEARCH article

Front. Artif. Intell.

Sec. Machine Learning and Artificial Intelligence

Volume 8 - 2025 | doi: 10.3389/frai.2025.1582257

This article is part of the Research TopicArtificial Intelligence in Visual InspectionView all 4 articles

Computer-Vision Based Automatic Rider Helmet Violation Detection and Vehicle Identification in Indian Smart City Scenarios Using NVIDIA TAO Toolkit and YOLOv8

Provisionally accepted
Uttam  U. DeshpandeUttam U. Deshpande*Vaidehi  DeshpandeVaidehi DeshpandeRamesh  KotiRamesh KotiRudragoud  PatilRudragoud PatilRamchandra Alias Ameet  ChateRamchandra Alias Ameet ChateVarun  R TandurVarun R TandurSupreet  S GoudarSupreet S GoudarShreya  IngaleShreya IngaleVaishnavi  CharantimathVaishnavi Charantimath
  • KLS Gogte Institute of Technology, Belagavi, Belagavi, Karnataka, India

The final, formatted version of the article will be published soon.

Two-wheeler traffic offenses are a well-known fact about the Indian Road scenario. In addition to endangering the offenders, these offenses also endanger other commuters. Two-wheeler traffic violations can take many different forms, such as overloading, triple riding, and helmetless riding. Effective identification and enforcement strategies are necessary for these offenses since they pose a serious risk to public safety. Due to the inadequacy of traditional traffic monitoring and enforcement techniques, advanced technology-based solutions are now required. Deep learning-based systems have demonstrated significant promise in identifying and stopping such infractions in recent years. We propose a two-step deep learning approach that leverages the strengths of pre-trained object detection models to detect two-wheeler riders and specialised helmet classifiers to identify helmet wear status as well as detect number plates. In the first stage, we utilised a highly efficient, robust, and accurate object identification DetectNet (Model 1) framework developed by NVIDIA, and it uses the ResNet18 Convolutional Neural Network (CNN) architecture as part of the Transfer Learning Toolkit known as TAO (Train, Adapt, Optimize). The second stage demands accurate detection of a helmet on the identified rider and extracting numbers from the violator's license plates using the OCR module in real time. We employed YOLOv8 (Model 2), a deep learning-based architecture that has proven effective in several applications involving object detection in real time. It predicts bounding boxes and class probabilities for objects within an image using a single neural network, making it a perfect choice for real-time applications like rider helmet violations detections and number plate processing. Due to a lack of publicly available traffic datasets, we created a custom dataset containing motorcycle rider images captured under complex scenarios for training and validating our models. Experimental analysis shows that our proposed two-step model achieved a promising helmet detection accuracy of 98.56% and a 97.6% number plate detection accuracy of persons not wearing helmets. The major objective of our proposed study is to enforce stringent traffic laws in real-time to decrease rider helmet violations.

Keywords: Traffic violations, deep learning, DetectNet, Resnet18, NVIDIA TAO, YOLOv8, ocr

Received: 24 Feb 2025; Accepted: 16 Jun 2025.

Copyright: © 2025 Deshpande, Deshpande, Koti, Patil, Chate, Tandur, Goudar, Ingale and Charantimath. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Uttam U. Deshpande, KLS Gogte Institute of Technology, Belagavi, Belagavi, 590008, Karnataka, India

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.