Intelligent Traffic Light System Using Convolutional Neural Network to Optimize Vehicle Flow in Indonesia

Traffic congestion remains a persistent challenge in major Indonesian cities due to rapidly increasing vehicle density and the continued reliance on fixed-time traffic signal scheduling. This study aims to develop an intelligent traffic light system that dynamically adjusts sequencing based on real-time road conditions. A dataset of 902 CCTV images was collected from intersections in six large cities across Indonesia, including Jakarta, Bandung, Surabaya, Medan, Bali, and Samarinda, and labeled into three density categories (low, medium, high). To classify vehicle density, two Convolutional Neural Network (CNN) architectures were designed and trained, incorporating preprocessing techniques such as image resizing, color inversion for illumination normalization, and data augmentation to enhance generalization. The performance of the CNNs was compared against a fuzzy logic model and a YOLOv8-based detection pipeline. Evaluation using stratified 10-fold cross-validation showed that the second CNN architecture achieved the best performance with an accuracy of 81%, precision of 0.87, recall of 0.83, and F1-score of 0.849, outperforming both baselines. Ablation studies further demonstrated that batch normalization, dropout, and data augmentation significantly reduced overfitting and improved robustness across varying light conditions. These findings indicate that a lightweight, global-context CNN can provide reliable density classification and serve as the decision engine for adaptive traffic light control. Future work will expand dataset diversity, test cross-city generalization, and explore real-time deployment in collaboration with transportation authorities to support smart city development in Indonesia.

Authors

Publication Details

Journal
Journal of Computer Science
Published
2026-02-01
DOI
https://doi.org/10.3844/jcssp.2026.452.460
Primary Topic
Traffic Prediction and Management Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Intelligent Traffic Light System Using Convolutional Neural Network to Optimize Vehicle Flow in Indonesia

Regina Hillary, Bhustomy Hakim, Fergie Joanda Kaunang, Yemima Monica Geasela
Journal of Computer Science
Traffic Prediction and Management Techniques
article

Intelligent Traffic Light System Using Convolutional Neural Network to Optimize Vehicle Flow in Indonesia

Regina Hillary, Bhustomy Hakim, Fergie Joanda Kaunang, Yemima Monica Geasela
article en

Abstract

Traffic congestion remains a persistent challenge in major Indonesian cities due to rapidly increasing vehicle density and the continued reliance on fixed-time traffic signal scheduling. This study aims to develop an intelligent traffic light system that dynamically adjusts sequencing based on real-time road conditions. A dataset of 902 CCTV images was collected from intersections in six large cities across Indonesia, including Jakarta, Bandung, Surabaya, Medan, Bali, and Samarinda, and labeled into three density categories (low, medium, high). To classify vehicle density, two Convolutional Neural Network (CNN) architectures were designed and trained, incorporating preprocessing techniques such as image resizing, color inversion for illumination normalization, and data augmentation to enhance generalization. The performance of the CNNs was compared against a fuzzy logic model and a YOLOv8-based detection pipeline. Evaluation using stratified 10-fold cross-validation showed that the second CNN architecture achieved the best performance with an accuracy of 81%, precision of 0.87, recall of 0.83, and F1-score of 0.849, outperforming both baselines. Ablation studies further demonstrated that batch normalization, dropout, and data augmentation significantly reduced overfitting and improved robustness across varying light conditions. These findings indicate that a lightweight, global-context CNN can provide reliable density classification and serve as the decision engine for adaptive traffic light control. Future work will expand dataset diversity, test cross-city generalization, and explore real-time deployment in collaboration with transportation authorities to support smart city development in Indonesia.

Journal of Computer ScienceVol. 22(2)
Sustainable cities and communities
Openalex Percentile: Top 51%
Traffic Prediction and Management Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.