Real-Time Adaptive Traffic Signal Control with YOLOv10 and Image Processing
DOI:
https://doi.org/10.22153/kej.2025.09.006Keywords:
Intelligent traffic lights control; Deep learning; Image processing; Traffic flow optimisation; Smart cities.Abstract
Traffic lights operating on a fixed schedule are mostly time-consuming; for example, running green signals in the absence of vehicles, leading to a buildup of long queues at red lights. This inefficiency results in congestion in cities, contributes to delays and economic losses and intensifies pollution levels. In this study, a deep learning-based adaptive image processing traffic light control system for real-time dynamic regulation of signals was proposed. Different from typical sensor-based solutions, the proposed method uses established surveillance cameras, enabling cost-efficient deployment and easy installation. A YOLOv10-based detection model identifies and classifies vehicles by type, applying weight factors to effectively estimate traffic demand. A dynamic timing algorithm enables continuous redistribution of green-light durations due to existing unbalances in the flow for any or all intersection phases. A practical microcontroller-based system might be integrated directly into the existing infrastructure. For assessment, the model used data from 12,500 images labelled accordingly and divided into the following: 70% for training, 15% for validation and 15% for testing. The model was assessed in a SUMO-based simulation of a very busy four-way intersection and actual deployment in Baghdad, Iraq. Compared with fixed time control, this adaptive system reduced vehicle wait time by up to 91.7%. Furthermore, results indicate reduced fuel consumption and CO2 emissions, thereby leading to considerable economic and environmental benefits. Overall, the proposed framework represents a practical and scalable implementation for modern traffic management, overlooking possible implementations of enhancements such as prioritisation of emergency vehicles and multi-intersection coordination.
Downloads
References
[1] B. Medina-Salgado, E. Sánchez-DelaCruz, P. Pozos-Parra, and J. E. Sierra, “Urban traffic flow prediction techniques: A review,” Sustainable Computing: Informatics and Systems, vol. 35, p. 100739, 2022.
[2] M. Akhtar and S. Moridpour, “A review of traffic congestion prediction using artificial intelligence,” J Adv Transp, vol. 2021, no. 1, p. 8878011, 2021.
[3] M. Shaygan, C. Meese, W. Li, X. G. Zhao, and M. Nejad, “Traffic prediction using artificial intelligence: Review of recent advances and emerging opportunities,” Transp Res Part C Emerg Technol, vol. 145, p. 103921, 2022.
[4] J. Bharadiya, “Artificial intelligence in transportation systems a critical review,” American Journal of Computing and Engineering, vol. 6, no. 1, pp. 34–45, 2023.
[5] Z. Chen, Z. Zan, and S. Jia, “Effect of urban traffic-restriction policy on improving air quality based on system dynamics and a non-homogeneous discrete grey model,” Clean Technol Environ Policy, vol. 24, no. 8, pp. 2365–2384, 2022.
[6] Z. Chen, X. Ye, B. Li, and S. Jia, “Effect of Driving-Restriction Policies Based on System Dynamics, the Back Propagation Neural Network, and Gray System Theory,” Arab J Sci Eng, vol. 48, no. 5, pp. 7109–7125, 2023.
[7] S. Xu et al., “To what extent the traffic restriction policies can improve its air quality? An inspiration from COVID-19,” Stochastic Environmental Research and Risk Assessment, vol. 37, no. 4, pp. 1479–1495, 2023.
[8] [8] Y. Zhang, “Reduce the occurrence of ‘road rage’ and ensure the safety of self-driving travel passengers,” in E3S Web of Conferences, EDP Sciences, 2021, p. 03074.
[9] P. P. Dlamini, A. A. Olutola, and N. J. Malange, “Sustainable solution to bad driving behaviour, driver road rage, and the incidence of road accidents in Pretoria-Mabopane Ipeleng, Gauteng Province (South Africa),” OIDA International Journal of Sustainable Development, vol. 16, no. 04, pp. 59–72, 2023.
[10] D. J. Kim, “A Discussion of Key Aspects and Trends in Self Driving Vehicle Technology,” Journal of Machine and Computing, vol. 3, no. 4, pp. 556–565, 2023.
[11] D. Oladimeji, K. Gupta, N. A. Kose, K. Gundogan, L. Ge, and F. Liang, “Smart transportation: an overview of technologies and applications,” Sensors, vol. 23, no. 8, p. 3880, 2023.
[12] S. Alshayeb, A. Stevanovic, N. Mitrovic, and E. Espino, “Traffic Signal Optimization to Improve Sustainability: A Literature Review,” Energies (Basel), vol. 15, no. 22, p. 8452, 2022.
[13] M. T. Tariq, M. Hadi, and R. Saha, “Using high-resolution signal controller data in the calibration of signalized arterial simulation models,” Transp Res Rec, vol. 2675, no. 12, pp. 1043–1055, 2021.
[14] R. Guadamuz, H. Tang, Z. Yu, S. I. Guler, and V. V Gayah, “Green time usage metrics on signalized intersections and arterials using high-resolution traffic data,” International journal of transportation science and technology, vol. 11, no. 3, pp. 509–521, 2022.
[15] P. Wang, S. Khadka, and P. Li, “A Graphical Approach to Automated Congestion Ranking for Signalized Intersections Using High-Resolution Traffic Signal Event Data,” J Transp Eng A Syst, vol. 150, no. 5, p. 04024017, 2024.
[16] M. Kim, M. Schrader, H.-S. Yoon, and J. A. Bittle, “Optimal Traffic Signal Control Using Priority Metric Based on Real-Time Measured Traffic Information,” Sustainability, vol. 15, no. 9, p. 7637, 2023.
[17] J. Wang, X. Guo, and X. Yang, “Efficient and safe strategies for intersection management: a review,” Sensors, vol. 21, no. 9, p. 3096, 2021.
[18] A. Gholamhosseinian and J. Seitz, “A comprehensive survey on cooperative intersection management for heterogeneous connected vehicles,” IEEE Access, vol. 10, pp. 7937–7972, 2022.
[19] S. M. Hosseinian and H. Mirzahossein, “Efficiency and safety of traffic networks under the effect of autonomous vehicles,” Iranian Journal of Science and Technology, Transactions of Civil Engineering, vol. 48, no. 4, pp. 1861–1885, 2024.
[20] J. Ferdous, “Reinforcement Learning-based Time-Dependable Modelling of Fog Connectivity for Software-Defined Vehicular Networks,” 2024.
[21] N. Kumar, N. Singh, A. Sachan, and R. Chaudhry, “SIoV Mobility Management Using SDVN-Enabled Traffic Light Cooperative Framework,” ACM Transactions on Cyber-Physical Systems, vol. 8, no. 3, pp. 1–24, 2024.
[22] N. Kumar, S. Mittal, V. Garg, and N. Kumar, “Deep reinforcement learning-based traffic light scheduling framework for SDN-enabled smart transportation system,” IEEE Transactions on Intelligent Transportation Systems, vol. 23, no. 3, pp. 2411–2421, 2021.
[23] A. Sachan and N. Kumar, “SDVN Enabled Traffic Light Cooperative Framework for E-SIoV Mobility in a Smart City Scenario,” IEEE Trans Veh Technol, 2024.
[24] L. Tan, Z. Yang, and P. Chu, “Bidirectional Multi-lane Vehicle Counting Approach Based on Multi-scale of Multi-traffic States Using MIMO Radar,” IEEE Sens J, 2023.
[25] M. Hamdani, N. Sahli, N. Jabeur, and N. Khezami, “Agent-based approach for connected vehicles and smart road signs collaboration,” Computing and Informatics, vol. 41, no. 1, pp. 376–396, 2022.
[26] Z. Lv and W. Shang, “Impacts of intelligent transportation systems on energy conservation and emission reduction of transport systems: A comprehensive review,” Green Technologies and Sustainability, vol. 1, no. 1, p. 100002, 2023.
[27] Z. Lv and W. Shang, “Impacts of intelligent transportation systems on energy conservation and emission reduction of transport systems: A comprehensive review,” Green Technologies and Sustainability, vol. 1, no. 1, p. 100002, 2023.
[28] Z. Yao, Y. Wang, B. Liu, B. Zhao, and Y. Jiang, “Fuel consumption and transportation emissions evaluation of mixed traffic flow with connected automated vehicles and human-driven vehicles on expressway,” Energy, vol. 230, p. 120766, 2021.
[29] V. Kodire, S. Bhaskaran, and H. N. Vishwas, “GPS and ZigBee based traffic signal preemption,” in 2016 international conference on inventive computation technologies (icict), IEEE, 2016, pp. 1–5.
[30] S. Panichpapiboon and P. Leakkaw, “Traffic density estimation: A mobile sensing approach,” IEEE Communications Magazine, vol. 55, no. 12, pp. 126–131, 2017.
[31] H. Wu, Z. Zhang, C. Guan, K. Wolter, and M. Xu, “Collaborate edge and cloud computing with distributed deep learning for smart city internet of things,” IEEE Internet Things J, vol. 7, no. 9, pp. 8099–8110, 2020.
[32] M. Zhu, X.-Y. Liu, and A. Walid, “Deep reinforcement learning for unmanned aerial vehicle-assisted vehicular networks,” arXiv preprint arXiv:1906.05015, 2019.
[33] Z. Ma, M. Xiao, Y. Xiao, Z. Pang, H. V. Poor, and B. Vucetic, “High-reliability and low-latency wireless communication for internet of things: Challenges, fundamentals, and enabling technologies,” IEEE Internet Things J, vol. 6, no. 5, pp. 7946–7970, 2019.
[34] P. Koonce, “Traffic signal timing manual,” United States. Federal Highway Administration, 2008.
[35] R. P. Roess, E. S. Prassas, and W. R. McShane, “Signing and marking for freeways and rural highways,” Proceedings of Traffic Engineering, 2004.
[36] J. D. C. Little, M. D. Kelson, and N. H. Gartner, “MAXBAND: A versatile program for setting signals on arteries and triangular networks,” 1981.
[37] S.-B. Cools, C. Gershenson, and B. D’Hooghe, “Self-organizing traffic lights: A realistic simulation,” in Advances in applied self-organizing systems, Springer, 2007, pp. 41–50.
[38] P. Varaiya, “The max-pressure controller for arbitrary networks of signalized intersections,” in Advances in dynamic network modeling in complex transportation systems, Springer, 2013, pp. 27–66.
[39] S. Chiu, “Adaptive traffic signal control using fuzzy logic,” in Proceedings of the Intelligent Vehicles92 Symposium, IEEE, 1992, pp. 98–107.
[40] S. Lämmer and D. Helbing, “Self-control of traffic lights and vehicle flows in urban road networks,” Journal of Statistical Mechanics: Theory and Experiment, vol. 2008, no. 04, p. P04019, 2008.
[41] S. Lämmer and D. Helbing, “Self-stabilizing decentralized signal control of realistic, saturated network traffic,” Santa Fe Institute, 2010.
[42] I. M. Albatish and S. S. Abu-Naser, “Modeling and controlling smart traffic light system using a rule based system,” in 2019 International Conference on Promising Electronic Technologies (ICPET), IEEE, 2019, pp. 55–60.
[43] M. Hofri and K. W. Ross, “On the optimal control of two queues with server setup times and its analysis,” SIAM Journal on computing, vol. 16, no. 2, pp. 399–420, 1987.
[44] H. Wang, P. Hu, and H. Wang, “A genetic timing scheduling model for urban traffic signal control,” Inf Sci (N Y), vol. 576, pp. 475–483, 2021.
[45] A. M. Turky, M. S. Ahmad, and M. Z. M. Yusoff, “The use of genetic algorithm for traffic light and pedestrian crossing control,” International Journal of Computer Science and Network Security, vol. 9, no. 2, pp. 88–96, 2009.
[46] B. “Brian” Park, I. Yun, and K. Ahn, “Stochastic optimization for sustainable traffic signal control,” Int J Sustain Transp, vol. 3, no. 4, pp. 263–284, 2009.
[47] A. M. Turky, M. S. Ahmad, and M. Z. M. Yusoff, “The use of genetic algorithm for traffic light and pedestrian crossing control,” International Journal of Computer Science and Network Security, vol. 9, no. 2, pp. 88–96, 2009.
[48] M. E. M. Ali, A. Durdu, S. A. Celtek, and A. Yilmaz, “An adaptive method for traffic signal control based on fuzzy logic with webster and modified webster formula using SUMO traffic simulator,” IEEE Access, vol. 9, pp. 102985–102997, 2021.
[49] P. W. Shaikh, M. El-Abd, M. Khanafer, and K. Gao, “A review on swarm intelligence and evolutionary algorithms for solving the traffic signal control problem,” IEEE transactions on intelligent transportation systems, vol. 23, no. 1, pp. 48–63, 2020.
[50] R. Hawi, G. Okeyo, and M. Kimwele, “Smart traffic light control using fuzzy logic and wireless sensor network,” in 2017 Computing Conference, IEEE, 2017, pp. 450–460.
[51] H. R. Maier, S. Razavi, Z. Kapelan, L. S. Matott, J. Kasprzyk, and B. A. Tolson, “Introductory overview: Optimization using evolutionary algorithms and other metaheuristics,” Environmental modelling & software, vol. 114, pp. 195–213, 2019.
[52] Z. Yao, Y. Wang, B. Liu, B. Zhao, and Y. Jiang, “Fuel consumption and transportation emissions evaluation of mixed traffic flow with connected automated vehicles and human-driven vehicles on expressway,” Energy, vol. 230, p. 120766, 2021.
[53] C. Schmid and A. Hahn, “Potential CO2 utilisation in Germany: An analysis of theoretical CO2 demand by 2030,” Journal of CO2 Utilization, vol. 50, p. 101580, 2021.
[54] H. Khan and J. S. Thakur, “Smart traffic control: machine learning for dynamic road traffic management in urban environments,” Multimed Tools Appl, vol. 84, no. 12, pp. 10321–10345, 2025.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Al-Khwarizmi Engineering Journal

This work is licensed under a Creative Commons Attribution 4.0 International License.
Copyright: Open Access authors retain the copyrights of their papers, and all open access articles are distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided that the original work is properly cited. The use of general descriptive names, trade names, trademarks, and so forth in this publication, even if not specifically identified, does not imply that these names are not protected by the relevant laws and regulations. While the advice and information in this journal are believed to be true and accurate on the date of its going to press, neither the authors, the editors, nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.








