Authors: Astik Sarkar
Abstract: Vehicles at urban crossings frequently linger at a red light while the crossing road is empty because fixed-time signal systems are unable to adjust to the way traffic demand varies throughout the day. We introduce a camera-based Cyber-Physical System (CPS) in this study that completes the loop between the signal head and the road scene. Traffic footage within an operator-selected region of interest (ROI) is processed by YOLOv8 and OpenCV. A weighted congestion score is created by combining three indicators—vehicle count, occupancy ratio, and queue depth—that are obtained from the detections. A guarded rule assigns a HIGH or LOW state and provides a microcontroller with the corresponding phase plan when the score, count, and queue all hit their respective criteria. Two hardware variations are powered by the same software pipeline: an ESP32 that subscribes to commands via MQTT and an Arduino UNO that is provided via a USB serial link. Infrared car sensors are not used in either version. In bench tests, a run with 12 detected vehicles, an occupancy ratio of 0.51, and a queue depth of 168.6 pixels yielded a score of 0.46, was marked HIGH, and created a plan on the LED signal head that was 20 seconds green, 2 seconds amber, and 10 seconds red. The project is now at the prototype stage; further work will include field tests as well as quantitative accuracy and latency assessments.
International Journal of Science, Engineering and Technology