Advancing Smart City Infrastructure: A Deep Learning-Based Framework for Real-Time Traffic Monitoring and Violation Detection Using YOLOv11
Abstract
Urban traffic congestion and violations of dedicated bus lanes in metropolitan cities, such as Jakarta, are significant challenges affecting the efficiency of public transportation systems. Traditional traffic monitoring methods are insufficient to address these issues, particularly in real-time violation detection. This research proposes an AI-based smart traffic monitoring framework using YOLOv11 for real-time detection of vehicle violations in TransJakarta’s Bus Rapid Transit (BRT) lanes. The study aims to improve urban mobility by enhancing the detection accuracy and speed of traffic monitoring systems. The methodology involves data collection from surveillance cameras, data annotation using Roboflow, and model training with YOLOv11, utilizing transfer learning and hyperparameter optimization. The system's performance is evaluated through precision, recall, F1-score, and mean Average Precision (mAP@0.5), as well as real-time inference speed. The results show that YOLOv11 achieves a mAP@0.5 of 0.946 and an F1-score of 0.898, demonstrating the model's high accuracy in detecting vehicle violations across different lighting conditions. Real-time inference is achieved at a rate of 35-40 FPS, making it suitable for deployment in real-world urban environments. This research concludes that the YOLOv11-based framework is an effective solution for automated traffic monitoring, offering significant implications for smart city development and intelligent transportation systems. Further research is needed to address lighting challenges and improve the system's scalability across various urban settings.
Downloads
References
H. N, R. Sumathi, and S. R M, “AI-Powered Vehicle Count Prediction for Smart City Traffic Management,” in 2025 International Conference on Computational Robotics, Testing and Engineering Evaluation (ICCRTEE), IEEE, May 2025, pp. 1–6. doi: 10.1109/ICCRTEE64519.2025.11052998.
G. R. Putra, W. Sardjono, O. Nursetiaji, A. T. Putri, A. Saepulrohman, and I. W. Sriyasa, “The Role of E-Money in Sustainable Smart City Development in Bogor City Area,” Komputasi: Jurnal Ilmiah Ilmu Komputer dan Matematika, vol. 19, no. 2, pp. 110–122, Jul. 2022, doi: 10.33751/komputasi.v19i2.5674.
L. Prayogi and A. F. Satwikasari, “Bus Rapid Transit-oriented Development: An Identification of Bus Rapid Transit System Passengers’ Modal Shift Potential Considerations,” CSID Journal of Infrastructure Development, vol. 2, no. 1, p. 127, Jan. 2019, doi: 10.32783/csid-jid.v2i1.51.
A. Efendi and L. Yola, “Analysis of Jakarta Bus Rapid Transit Traffic and Carbon Emission Concentration in TransJakarta Corridors,” 2024, pp. 275–282. doi: 10.1007/978-981-97-0751-5_27.
R. Juliansyah et al., “Development of a Real-Time Traffic Density Detection Website Using YOLOv8-Based Digital Image Processing with OpenCV,” Journal of Information Systems and Informatics, vol. 6, no. 4, pp. 2649–2678, Dec. 2024, doi: 10.51519/journalisi.v6i4.912.
M. M. Rahman et al., “Real-Time Vehicle Type Detection and Counting for Emission Pollution Monitoring and Traffic Violation Identification,” Emerging Science Journal, vol. 9, no. 2, pp. 959–976, Apr. 2025, doi: 10.28991/ESJ-2025-09-02-023.
S. Wardoyo, R. Alfanz, R. Fahrizal, F. Muhammad, and I. Muttakin, “Vehicle Detection Counting using YOLO and DeepSORT on Edge Device,” 2025.
H. Gao, “Vehicle Detection and Tracking Based on YOLOv11,” 2025, doi: 10.5220/0013699700004670.
M. A. R. Alif, “YOLOv11 for Vehicle Detection: Advancements, Performance, and Applications in Intelligent Transportation Systems,” Oct. 2024, [Online]. Available: http://arxiv.org/abs/2410.22898
A. Nurdiansyah and A. D. Kalifia, “Optimalisasi Sistem Deteksi Rekomendasi Persimpangan Jalan dalam Kepadatan Lalu Lintas Menggunakan Algoritma YOLO v11,” vol. 6, no. 7, pp. 1129–1143, 2025, doi: 10.47065/tin.v6i7.8715.
S. Alexandrova, Z. Tatlock, and M. Cakmak, “RoboFlow: A flow-based visual programming language for mobile manipulation tasks,” in 2015 IEEE International Conference on Robotics and Automation (ICRA), IEEE, May 2015, pp. 5537–5544. doi: 10.1109/ICRA.2015.7139973.
S. Waziry, A. B. Wardak, J. Rasheed, R. M. Shubair, K. Rajab, and A. Shaikh, “Performance comparison of machine learning driven approaches for classification of complex noises in quick response code images,” Heliyon, vol. 9, no. 4, p. e15108, Apr. 2023, doi: 10.1016/j.heliyon.2023.e15108.
I. Thayumanasamy and K. Ramamurthy, “Performance Analysis of Machine Learning and Deep Learning Models for Classification of Alzheimer’s Disease from Brain MRI,” Traitement du Signal, vol. 39, no. 6, pp. 1961–1970, Dec. 2022, doi: 10.18280/ts.390608.
M. Sofhia, “Comparative Evaluation of YOLOv8 and YOLOv11 for Student Behavior Detection in Classroom CCTV Environments,” Jurnal dan Penelitian Teknik Informatika, vol. 10, no. 1, 2026, doi: 10.33395/sinkron.v10i1.15648.
R. Khanam, T. Asghar, and M. Hussain, “Comparative Performance Evaluation of YOLOv5, YOLOv8, and YOLOv11 for Solar Panel Defect Detection,” Solar, vol. 5, no. 1, p. 6, Feb. 2025, doi: 10.3390/solar5010006.
F. Aldi, I. Nozomi, M. Hafizh, and T. Novita, “Comparative Analysis of YOLOv11 with Previous YOLO in the Detection of Human Bone Fractures,” Journal of Computer Networks, Architecture and High Performance Computing, vol. 7, no. 3, pp. 777–790, Jul. 2025, doi: 10.47709/cnahpc.v7i3.6051.
Z. Miao and Q. Liao, “IoT-Based Traffic Prediction for Smart Cities,” IEEE Access, vol. 13, pp. 52369–52384, 2025, doi: 10.1109/ACCESS.2025.3552276.
J. Wei and Y. Ju, “Research on optimization method for traffic signal control at intersections in smart cities based on adaptive artificial fish swarm algorithm,” Heliyon, vol. 10, no. 10, p. e30657, May 2024, doi: 10.1016/j.heliyon.2024.e30657.
E. Dmitrieva, A. Pathani, G. Pushkarna, P. Acharya, M. Rana, and P. Surekha, “Real-Time Traffic Management in Smart Cities: Insights from the Traffic Management Simulation and Impact Analysis,” BIO Web Conf, vol. 86, p. 01098, Jan. 2024, doi: 10.1051/bioconf/20248601098.
Copyright (c) 2026 Gustian Rama Putra, Adrian Jaleco Forca; Reiner Jun Gepayo Alminaza, Fajar Delli Wihartiko, Raid Rafif

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


