A Novel AI-Driven System for Real-Time Detection of Mirror Absence, Helmet Non-Compliance, and License Plates Using YOLOv8 and OCR
Preprint
Abstract
Road safety is a critical global concern, with manual enforcement of helmet laws and vehicle safety standards (e.g., rear-view mirror presence) being resource-intensive and inconsistent. This paper presents an AI-powered system to automate traffic violation detection, significantly enhancing enforcement efficiency and road safety. The system leverages YOLOv8 for robust object detection and EasyOCR for license plate recognition. Trained on a custom dataset of annotated images (augmented for diversity), it identifies helmet non-compliance, the absence of rear-view mirrors on motorcycles, an innovative contribution to automated checks, and extracts vehicle registration numbers. A Streamlit-based interface facilitates real-time monitoring and violation logging. Advanced image preprocessing enhances license plate recognition, particularly under challenging conditions. Based on evaluation results, the model achieves an overall precision of 0.9147, a recall of 0.886, and a mean Average Precision (mAP@50) of 0.843. The mAP@50 95 of 0.503 further indicates strong detection capability under stricter IoU thresholds. This work demonstrates a practical and effective solution for automated traffic rule enforcement, with considerations for real-world deployment discussed.Keywords
All Related Versions
- Version 1, 2025-11-15, ArXiv
- Published version: , 1.
This publication has 10 references indexed in Scilit:
- A comprehensive review on helmet detection and number plate recognition approachesE3S Web of Conferences, 2024
- Automatic Classification and Color Changing of Saree Components Using Deep Learning TechniquesIEEE Access, 2024
- Static Image Analysis of Two Dimensional Projection of Particles2023
- Improved YOLOV8 Network and Application in Safety Helmet DetectionJournal of Physics: Conference Series, 2023
- Safety Helmet Detection Using YOLO V82023
- Automatic Detection of Bikers with No Helmet and Number Plate Detection2021
- Licence Plate Identification and Recognition for Non-Helmeted Motorcyclists using Light-weight Convolution Neural Network2020
- A Hybrid Framework for Expediting Emergency Vehicle Movement on Indian Roads2020
- Cloud Based Smart Parking System for Smart Cities2019
- Automatic number plate recognition for motorcyclists riding without helmet2018