The International Arab Journal of Information Technology (IAJIT)

..............................
..............................
..............................


An Adaptive Traffic Lights System using Machine Learning

Traffic congestion is a major problem in many cities of the Hashemite Kingdom of Jordan as in most countries. The rapidly increase of vehicles and dealing with the fixed infrastructure have caused traffic congestion. One of the main problems is that the current infrastructure cannot be expanded further. Therefore, there is a need to make the system work differently with more sophistication to manage the traffic better, rather than creating a new infrastructure. In this research, a new adaptive traffic lights system is proposed to determine vehicles type, calculate the number of vehicles in a traffic junction using patterns detection methods, and suggest the necessary time for each side of the traffic junction using machine learning tools. In this context, the contributions of this paper are: (a) creating a new image-based dataset for vehicles, (b) proposing a new time management formula for traffic lights, and (c) providing literature of many studies that contributed to the development of the traffic lights system in the past decade. For training the vehicle detector, we have created an image-based dataset related to our work and contains images for traffic. We utilized Region-Based Convolutional Neural Networks (R-CNN), Fast Region- Based Convolutional Neural Networks (Fast R-CNN), Faster Region-Based Convolutional Neural Networks (Faster R-CNN), Single Shot Detector (SSD), and You Only Look Once v4 (YOLO v4) deep learning algorithms to train the model and obtain the suggested mathematical formula to the required process and give the appropriate timeslot for every junction. For evaluation, we used the mean Average Precision (mAP) metric. The obtained results were as follows: 78.2%, 71%, 75.2%, 79.8%, and 86.4% for SSD, R-CNN, Fast R-CNN, Faster R-CNN, and YOLO v4, respectively. Based on our experimental results, it is found that YOLO v4 achieved the highest mAP of the identification of vehicles with (86.4%) mAP. For time division (the junctions timeslot), we proposed a formula that reduces about 10% of the waiting time for vehicles.

 


[1] Alharahsheh Y., “Traffic Reports in Jordan 2016,”

[Online].Available:https://www.psd.gov.jo/image s/traffic/docs/0v10.pdf, Last Visited, 2020.

[2] Badura S. and Lieskovsky A., “Intelligent Traffic System: Cooperation of MANET and Image Processing,” in Proceedings of the 1st International Conference on Integrated Intelligent Computing, Bangalore, pp. 119-123, 2010.

[3] Bochkovskiy A., Wang C., and Liao H., “Yolov4: Optimal Speed and Accuracy of Object Detection,” arXiv:2004.10934, 2020.

[4] Collotta M., Pau G., Scatà G., and Campisi T., “A Dynamic Traffic Light Management System Based on Wireless Sensor Networks for the Reduction of the Red-light Running Phenomenon,” Journal of Transport and Telecommunicaions, vol. 15, no. 1, pp. 1-11, 2014.

[5] George A., George V., and George M., “Iot Based Smart Traffic Light Control System,” in Proceedings of the International Conference on Control, Power, Communication and Computing Technologies, Kannur, pp. 148-151, 2018.

[6] Ghazal B., ElKhatib K., Chahine K., and Kherfan M., “Smart Traffic Light Control System,” in Proceedings of the 3rd International Conference on Electrical, Electronics, Computer Engineering and their Applications, Beirut, pp. 140-145, 2016

[7] Islam M., Shahid N., Ul Karim D., Al Mamun A., and Rhaman M., “An Efficient Algorithm for Detecting Traffic Congestion and a Framework for Smart Traffic Control System,” in Proceedings of the 18th International Conference on Advanced Communication Technology, PyeongChang, pp. 802-807, 2016.

[8] Javaid S., Sufian A., Pervaiz S., and Tanveer M., “Smart Traffic Management System Using Internet of Things,” in Proceedings of the 20th International Conference on Advanced Communication Technology, Chuncheon, pp. 393-398, 2018.

[9] Kanungo A., Sharma A., and Singla C., “Smart Traffic Lights Switching and Traffic Density Calculation Using Video Processing,” in Proceedings of the Recent Advances in Engineering and Computational Sciences, Chadigarh, pp. 1-6, 2014.

[10] Keerthi R. and HariharaGopalan S., “A Survey on Various Traffic Management Schemes for Traffic Clearance, Stolen Vehicle and Emergency Vehicle,” International Journal of Emerging Technology in Computer Science and Electronics, vol. 19, no. 2, pp. 46-50, 2016.

[11] Lach D. and Macioszek E., “Analysis of Selected ITS Services Used in Public Collective Transport,” WUT Journal of Transportation Engineering, vol. 121, no. 1, pp. 211-222, 2018.

[12] Mangiaracina R., Perego A., Salvadori G., and Tumino A., “A Comprehensive View of Intelligent Transport Systems for Urban Smart Mobility,” International Journal of Logistics Research and Applications, vol. 20, no. 1, pp. 39- 52, 2017.

[13] Pashupatimath S. and Madhavanavar S., “Different Techniques Used in Traffic Control System: An Introduction,” International Journal of Engineering Research and Technology, vol. 6, no. 3, pp. 1-4, 2018.

[14] Ramakrishnan D. and Radhakrishnan K., “Applying Deep Convolutional Neural Network (DCNN) Algorithm in the Cloud Autonomous Vehicles Traffic Model,” The International Arab Journal of Information Technology, vol. 19, no. 2, pp. 186-194, 2022.

[15] Rodríguez T. and García N., “An Adaptive, Real- Time, Traffic Monitoring System,” Machine Vision and Applications, vol. 21, pp. 555-576, 2010.

[16] Salama A., Saleh B., and Eassa M., “Intelligent Cross Road Traffic Management System (ICRTMS),” in Proceedings of the ICCTD 2nd International Conference on Computer Technology and Development, Cairo, pp. 27-31, 2010.

[17] Sankaran S., “Pattern Matching Based Vehicle Density Estimation Technique for Traffic Monitoring Systems,” The International Arab Journal of Information Technology, vol. 19, no. 4, pp. 575-581, 2022. 418 The International Arab Journal of Information Technology, Vol. 20, No. 3, May 2023

[18] Shan Z. and Zhu Q., “Camera Location for Real- Time Traffic State Estimation in Urban Road Network Using Big GPS Data,”Neurocomputing, vol. 169, pp. 134-143, 2015.

[19] Swathi K., Sivanagaraju V., Manikanta A., and Kumar S., “Traffic Density Control and Accident Indicator Using WSN,” International Journal for Modern Trends in Science and Technology, vol. 2, no. 04, pp. 18-21, 2016.

[20] Zear A., Singh P., and Singh Y., “Intelligent Transport System: A Progressive Review,” Indian Journal of Science and Technology, vol. 9, no. 32, pp. 1-8, 2016.