AI-driven real-time detection of motorcycle traffic violations using YOLOv8 and IoT-based analytics

Motorcycle-related traffic violations, including helmetless riding and multiple riders, present significant challenges for urban traffic management, especially under conditions of occlusion and high traffic density. This research introduces a hybrid, real-time traffic violation detection framework that improves detection reliability by combining deep learning-based object detection with a secondary verification mechanism. The framework utilizes the lightweight YOLOv8n model to detect motorcycles, riders, and helmets, and incorporates a Haar Cascade-based module to verify rider count and minimize false detections in congested environments. Evaluation is conducted using real-world traffic video data collected across diverse environmental conditions. Performance is measured using standard metrics such as precision, recall, F1-score, and mean average precision ([email protected]). Experimental results show that the proposed method achieves a detection accuracy of 93.4% and a mAP of 94.8%, while sustaining real-time processing at approximately 38 frames per second. The verification stage enhances detection robustness, particularly in cases of occlusion and overlapping riders. These findings suggest that the hybrid framework offers a reliable and computationally efficient solution for real-time traffic violation detection, with strong applicability in intelligent transportation systems and smart city initiatives.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-05-11
DOI
https://doi.org/10.1038/s41598-026-52641-1
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AI-driven real-time detection of motorcycle traffic violations using YOLOv8 and IoT-based analytics

Ahmed Almutairi, Muhammad Ali Sikandar, Muhammad Tariq Bashir, Muhammad Hamza Noor Khan et al.
Scientific Reports
Advanced Neural Network Applications
article

AI-driven real-time detection of motorcycle traffic violations using YOLOv8 and IoT-based analytics

Ahmed Almutairi, Muhammad Ali Sikandar, Muhammad Tariq Bashir, Muhammad Hamza Noor Khan, Ahmed Othman Alanazi, Md. Munir Hayet Khan
article en

Abstract

Motorcycle-related traffic violations, including helmetless riding and multiple riders, present significant challenges for urban traffic management, especially under conditions of occlusion and high traffic density. This research introduces a hybrid, real-time traffic violation detection framework that improves detection reliability by combining deep learning-based object detection with a secondary verification mechanism. The framework utilizes the lightweight YOLOv8n model to detect motorcycles, riders, and helmets, and incorporates a Haar Cascade-based module to verify rider count and minimize false detections in congested environments. Evaluation is conducted using real-world traffic video data collected across diverse environmental conditions. Performance is measured using standard metrics such as precision, recall, F1-score, and mean average precision ([email protected]). Experimental results show that the proposed method achieves a detection accuracy of 93.4% and a mAP of 94.8%, while sustaining real-time processing at approximately 38 frames per second. The verification stage enhances detection robustness, particularly in cases of occlusion and overlapping riders. These findings suggest that the hybrid framework offers a reliable and computationally efficient solution for real-time traffic violation detection, with strong applicability in intelligent transportation systems and smart city initiatives.

Scientific Reports
Northern Border University (SA), INTI International University (MY), Majmaah University (SA), CECOS University (PK)
Sustainable cities and communities
Openalex Percentile: Top 6%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.