A Real-Time Intelligent Traffic Controller at Signalized Intersections in Samawah City
DOI:
https://doi.org/10.35877/454RI.asci4542Keywords:
Image segmentation, frame differencing, edge detection, optical flow, Gaussian mixture model, trained mask, color detection, pedestrian and vehicle trackingAbstract
This study aims to develop algorithms of real-time traffic control system based on computer vision. In addition, the developed system is capable to analyze vehicles in a traffic stream at a traffic-controlled junction. The video recording sequence was installed near an intersection to control traffic lights during traffic congestion situations. This project's scope is limited to analyzing real-time traffic feeds and developing methods that count and track moving and stopping vehicles that approach a traffic junction. The project was designed using SIMULINK, which MathWorks created. Four algorithms were proposed to analyze the video signal inputs and estimate the number of vehicles detected. Gaussian mixture model and edge detection with frame differencing method were used to detect and track arrived vehicles. An optical flow-based approach was used to determine the number of stopped vehicles. Additionally, a vehicle classification algorithm was used to detect certain types of vehicles. In the Gaussian mixture model algorithm, implementing trained mask and geometric transform on each frame improved the perception of the outputs, which is defined by counting 1100 vehicles on the approach. Also, by using color detection, more control over traffic flow was obtained by prioritizing certain cars. The obtained results showed good representation of vehicle classification for the data detected in the developed system compared with the empirical data. The estimated errors were determined by achieving RMSPE < 15%, GHE < 5 and Um < 1.
Downloads
References
[2] R. Factor, J. N. Prashker, and D. Mahalel, ‘The flashing green light paradox’, Transp. Res. Part F Traffic Psychol. Behav., vol. 15, no. 3, pp. 279–288, May 2012, doi: 10.1016/j.trf.2012.01.003.
[3] H. Köll, M. Bader, and K. W. Axhausen, ‘Driver behaviour during flashing green before amber: a comparative study’, Accid. Anal. Prev., vol. 36, no. 2, pp. 273–280, Mar. 2004, doi: 10.1016/S0001-4575(03)00005-8.
[4] K. M. Lum and H. Halim, ‘A before-and-after study on green signal countdown device installation’, Transp. Res. Part F Traffic Psychol. Behav., vol. 9, no. 1, pp. 29–41, Jan. 2006, doi: 10.1016/j.trf.2005.08.007.
[5] J. Shen and W. Wang, ‘Effects of flashing green on driver’s stop/go decision at signalized intersection’, J. Cent. South Univ., vol. 22, no. 2, pp. 771–778, Feb. 2015, doi: 10.1007/s11771-015-2581-z.
[6] E. Dilek and M. Dener, ‘Computer Vision Applications in Intelligent Transportation Systems: A Survey’, Sensors, vol. 23, no. 6, p. 2938, Mar. 2023, doi: 10.3390/s23062938.
[7] L. Zemmouchi-Ghomari, ‘Artificial intelligence in intelligent transportation systems’, J. Intell. Manuf. Spec. Equip., vol. 6, no. 1, pp. 26–42, Apr. 2025, doi: 10.1108/JIMSE-11-2024-0035.
[8] N. Al-Mukaram, ‘Modelling drivers’ behaviour within the dilemma zone at traffic signal junctions’, University of Salford, UK, 2018.
[9] K. Santosh et al., Eds., Recent Trends in Image Processing and Pattern Recognition: 6th International Conference, RTIP2R 2023, Derby, UK, December 7–8, 2023, Revised Selected Papers, Part I, vol. 2026. in Communications in Computer and Information Science, vol. 2026. Cham: Springer Nature Switzerland, 2024. doi: 10.1007/978-3-031-53082-1.
[10] Á. Serrano, C. Conde, L. J. Rodríguez-Aragón, R. Montes, and E. Cabello, ‘Computer Vision Application: Real Time Smart Traffic Light’, in Computer Aided Systems Theory – EUROCAST 2005, vol. 3643, R. Moreno Díaz, F. Pichler, and A. Quesada Arencibia, Eds., in Lecture Notes in Computer Science, vol. 3643. , Berlin, Heidelberg: Springer Berlin Heidelberg, 2005, pp. 525–530. doi: 10.1007/11556985_68.
[11] K. Anitha, H. M. Manjula, H. P. Leelavathi, and P. Swetha, ‘Automated Traffic Management Using Image Processing’, in 2023 International Conference on New Frontiers in Communication, Automation, Management and Security (ICCAMS), Bangalore, India: IEEE, Oct. 2023, pp. 1–4. doi: 10.1109/ICCAMS60113.2023.10525834.
[12] H. Mu, JianNing Yu, and LinZhong Liu, ‘Traffic signals control of urban traffic intersections group based on fuzzy control’, in 2010 Seventh International Conference on Fuzzy Systems and Knowledge Discovery, Yantai, China: IEEE, Aug. 2010, pp. 763–767. doi: 10.1109/FSKD.2010.5569355.
[13] S. Pandey, P. Mathur, and T. Patil, ‘Real time traffic signal control using fuzzy logic controller: Review’, in 2017 1st International Conference on Intelligent Systems and Information Management (ICISIM), Aurangabad: IEEE, Oct. 2017, pp. 307–313. doi: 10.1109/ICISIM.2017.8122190.
[14] A. S. Salama, B. K. Saleh, and M. M. Eassa, ‘Intelligent cross road traffic management system (ICRTMS)’, in 2010 2nd International Conference on Computer Technology and Development, Cairo, Egypt: IEEE, Nov. 2010, pp. 27–31. doi: 10.1109/ICCTD.2010.5646059.
[15] H. Zhao, X. Zheng, and W. Liu, ‘Intelligent Traffic Control System Based on DSP and Nios II’, in 2009 International Asia Conference on Informatics in Control, Automation and Robotics, Bangkok, Thailand: IEEE, Feb. 2009, pp. 90–94. doi: 10.1109/CAR.2009.59.
[16] A. K. . Jain, Fundamentals of Digital Image Processing, vol. 2. India: Prentice-Hall, 2001.
[17] K. Donoughe, J. Whitestone, and H. C. Gabler, ‘Analysis of firetruck crashes and associated firefighter injuries in the United States’, Ann. Adv. Automot. Med. Annu. Sci. Conf., vol. 56, pp. 69–76, 2012.
[18] R. Hadi, G. Sulong, and L. George, ‘An Innovative Vehicle Detection Approach Based on Background Subtraction and Morphological Binary operations Methods’, Life Sci. J., vol. 1111, no. 8, pp. 230–238, 2014.
[19] S. Singh and R. Singh, ‘Comparison of various edge detection techniques’, presented at the 2nd International Conference on Computing for Sustainable Global Development (INDIACom), IEEE, 2015.
[20] R. C. Gonzalez and R. E. Woods, Digital Image Processing. Pearson Prentice Hall, 2008.
[21] V. Pham, P. Vo, V. T. Hung, and L. H. Bac, ‘GPU Implementation of Extended Gaussian Mixture Model for Background Subtraction’, in 2010 IEEE RIVF International Conference on Computing & Communication Technologies, Research, Innovation, and Vision for the Future (RIVF), Hanoi, Vietnam: IEEE, Nov. 2010, pp. 1–4. doi: 10.1109/RIVF.2010.5634007.
[22] C. Stauffer and W. E. L. Grimson, ‘Adaptive background mixture models for real-time tracking’, in Proceedings. 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Cat. No PR00149), Fort Collins, CO, USA: IEEE Comput. Soc, 1999, pp. 246–252. doi: 10.1109/CVPR.1999.784637.
[23] P. Premaratne, I. Jawad Kadhim, R. Blacklidge, and M. Lee, ‘Comprehensive review on vehicle Detection, classification and counting on highways’, Neurocomputing, vol. 556, p. 126627, Nov. 2023, doi: 10.1016/j.neucom.2023.126627.
[24] M. Alterawi, ‘Development of a micro-simulation model to evaluate shuttle-lane roadwork operations’, University of Salford, UK, 2014.
[25] Z. Nassrullah, ‘Development of a micro-simulation model for motorway roadworks with the use of narrow lanes and lane closure schemes’, University of Salford, UK, 2016.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Ameera Mohamad Awad, Noorance Al-Mukaram, Salah Alheejawi, Ameer W. Abdul Sattar (Author)

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


