Fully Automated Traffic Light System with Image Processing

Loading...
Thumbnail Image

Date

Journal Title

Journal ISSN

Volume Title

Publisher

Center for Data Science, University of Colombo, Sri Lanka.

Abstract

Traffic congestion has become a serious global challenge due to rapid population growth and urbanization. Conventional traffic light systems based on fixed time intervals cannot handle dynamic vehicle flow effectively. Although adaptive systems such as SCATS and SCOOT use loop sensors to manage real-time adjustments, they depend on expensive infrastructure and limited sensing capability, making them unsuitable for many developing regions. This study proposes a fully automated traffic light control system that uses image processing and deep learning to dynamically manage traffic based on real-time conditions. The proposed system employs the YOLOv5 algorithm to detect and count vehicles from live images, automatically adjusting the green light duration according to lane density. A dataset of 11,129 high-definition images captured from 23 CCTV cameras in Hangzhou, China, was used for model training and evaluation. The system achieved Average Precision (AP) for cars of 87.44%, AP for buses of 88.54%, AP for trucks of 88.34%, Mean Average Precision (mAP) of 87.88%, and Intersection over Union (loU) of 75.44%, confirming its reliability. Compared with conventional fixed-timer systems, this adaptive vision-based model improves efficiency and minimizes unnecessary waiting time. The results show that a computer-vision-driven adaptive approach offers a cost-effective and scalable alternative to existing sensor-based systems, enhancing road performance and commuter experience.

Description

Citation

Udana, H. G. A., Thilakarathne, D. G. S. P., & Rajapaksha, R. R. L. U. I. (2025). Fully automated traffic light system with image processing. Proceedings of the 3rd International Conference in Data Science 2025. Center for Data Science, University of Colombo, Sri Lanka. (p. 66).

Collections

Endorsement

Review

Supplemented By

Referenced By