the algorithm
adaptive phase scheduling
green time is proportional to lane density. the busiest pair of approaches gets more time. empty lanes don't block busy ones.
Signal Controller · Live Simulation
runningN/S Approaches
green
North12 vehicles
South9 vehicles
E/W Approaches
red
East5 vehicles
West3 vehicles
phase timer7.2s remaining · NS phase active
fixed timing would give equal time to all lanes regardless of demand, wasting cycles on empty approaches
detection output
yolo sees every lane.

YOLO DetectionLane DensityQueue TimingImplemented IRL
five years apart
2019 prototype
hardware-first
Raspberry PiPythonIR sensorsLogitech webcams
2024 revamp
computer vision
PythonYOLOv8OpenCVSolo build
press
times of india.


