An Intelligent System for Traffic Monitoring and Route Optimization Using YOLOv11, Random Forest, and BCO

Sukemi Sukemi, Ahmad Fali Oklilas, M. Reza Arya Pratama

Abstract

Traffic congestion is a major problem in Palembang City due to the significant growth in the number of vehicles. This study aims to develop an artificial intelligence-based system for detecting vehicle density and predicting optimal routes. Vehicle number detection is carried out using the YOLOv11 method based on CCTV data at 15 intersections in Palembang City, with training results showing an accuracy of 92%, F-1 Score of 82% and mAP@0.5 of 86.7%. In the validation and testing stages, this model achieved an accuracy of 90%, and mAP@0.5 of 81.7%. The detection data was then analyzed using the Random Forest (RF) algorithm to classify traffic conditions with a dataset of 769 rows of data, achieving an accuracy of 98.26%. Furthermore, the Bee Colony Optimization (BCO) algorithm was used to determine the fastest route by taking into account the distance traveled and the level of congestion. The results of the study show that the combination of the YOLOv11, RF, and BCO methods is able to produce an effective system in providing optimal route recommendations and helping to significantly reduce congestion. This system is expected to be a practical solution for city traffic management in the future.

Full Text:

PDF

References

[1] S. C. Tirtowahjono and D. G. Purwanto, "Determining Traffic Flow Distribution at Intersections Based on Computer Vision & Deep Learning Technology," J. Dimens. Pratama Tech. Civil, vol. 11, no. 1, 2022.

[2] R. Juliansyah, M. Aqil, and M. Ar, "Development of a Real-Time Traffic Density Detection Website Using YOLOv8-Based Digital Image Processing with OpenCV," JISI, vol. 6, no. 4, 2024.

[3] S. Xie and H. Sun, “Tea-YOLOv8s: A Tea Bud Detection Model Based on Deep Learning and Computer Vision,” Sensors, vol. 23, no. 14, 2023, doi.org/10.3390/s23146576

[4] C. Reche, A. Tobias, and M. Viana, “Vehicular Traffic in Urban Areas: Health Burden and Influence of Sustainable Urban Planning and Mobility,” Atmosphere, vol. 13, no. 4, 2022, doi.org/10.3390/atmos13040598

[5] D. A. Abdurrafi, M. T. Alawiy, and B. M. Basuki, “Vehicle Detection, Classification, and Counting Based on the YOLO Algorithm Using CCTV Cameras,” Sci. Electro, no. 1, 2023.

[6] P. Y. Putra et al., “Truck Vehicle Detection in Video Using Tiny-YOLOv4 Method,” J. Inform. Polynema, vol. 9, no. 2, 2023, doi.org/10.33795/jip.v9i2.1243

[7] Y. Yanto, F. Aziz, and I. Irmawati, "YOLO-V8 Improved Algorithm for Face Mask Detection," JATI, vol. 7, no. 3, 2023, doi:10.36040/jati.v7i3.7047

[8] M. Cahyanti, "Vehicle License Plate Detection System with YOLOv8 Architecture," Sebatik, vol. 27, no. 2, 2023.

[9] M. R. D. Septian, "Implementation of Deep Learning Algorithm for Vehicle Count Monitoring System," TEPIAN, vol. 5, no. 4, 2024. https://doi.org/10.51967/tepian.v5i4.3213

[10] I. D. Mienye, T. G. Swart, and G. Obaido, “Recurrent Neural Networks: A Comprehensive Review of Architectures, Variants, and Applications,” Information, vol. 15, no. 9, 2024, doi.org/10.3390/info15090517

[11] Y. Peng, Y. Liu, L. Yang, and L. He, “DProtoNet: Decoupling the Inference Module and the Explanation Module Enables Neural Networks to Have Better Accuracy and Interpretability,”arXiv preprint, 2022.

[12] G. Obaido et al., “An Improved Framework for Detecting Thyroid Disease Using Filter-Based Feature Selection and Stacking Ensemble,” IEEE Access, vol. 12, July 2024, doi 10.1109/ACCESS.2024.3418974

[13] A. H. A. Al-Jumaili et al., “Big Data Analytics Using Cloud Computing Based Frameworks for Power Management Systems: status, Constraints, and future recommendations,” Sensors, vol. 23, no. 6, 2023. doi.org/10.3390/s23062952

[14] S. S. Gill et al., “Modern Computing: Vision and Challenges,” Telematics and Informatics Reports, vol. 13, 2024, doi.org/10.1016/j.teler.2024.100116

[15] R. T. Aruleba et al., “COVID-19 Diagnosis: A Review of Rapid Antigen, RT-PCR and Artificial Intelligence Methods,” Bioengineering, vol. 9, no. 4, 2022, doi.org/10.3390/bioengineering9040153

[16] H. Wang et al., “Improved Multi-Dimensional Bee Colony Algorithm for Airport Freight Station Scheduling,” IEEE Access, 2022, doi.org/10.48550/arXiv.2207.11651

[17] M. Flores-Calero et al., “Traffic Sign Detection and Recognition Using YOLO Object Detection Algorithm: A Systematic review,” Sensors, 2024, doi.org/10.3390/math12020297

[18] Shenming Qu et al., “Improved YOLOv5-Based for Small Traffic Sign Detection Under Complex Weather,” Sensors, 2023, doi.org/10.1038/s41598-023-42753-3

[19] J. Shen et al., “YOLOv5-TS: Detecting Traffic Signs in Real-Time,” Sensors, vol. 11, 2023, doi.org/10.3389/fphy.2023.1297828.

[20] F. I. Sari et al., "Traffic Density Prediction Model: Comparison of Random Forest and XGBoost Algorithms," Scientific Journal of Technology and Information Systems, 2023.

[21] S. Mahmuda, "Implementation of the Random Forest Method on YouTube Channel Content Categories". Journal of Mathematical Windows, vol. 2, no. 1. 2024, doi.org/10.57008/jjm.v2i01.633.

Refbacks

  • There are currently no refbacks.