AI-Powered Traffic Signal Optimization using Computer Vision and Predictive Modeling

I built a system that watches real traffic through cameras, estimates vehicle emissions in real-time, and predicts congestion before it happens.

YOLOv8DeepSORTPhysics ModelingLSTM

The Problem

Cities currently control traffic lights reactively. Signals change after congestion has already formed. This reactive approach causes excessive idling, fuel waste, massive emission spikes, and unnecessary acceleration cycles.

Furthermore, traditional traffic models rely heavily on average vehicle speed. This fundamentally misses the real stop-and-go behavior at intersections, which is scientifically the largest contributing factor to pollution in urban environments.

Architecture Approach

System Pipeline:

Traffic optimization architecture diagram showing the computer vision and prediction pipeline

I engineered this solution as a complete, end-to-end pipeline processing real-world data feeds:

Results & Impact

By simulating the optimized signal timings against the baseline reactive control logic, the system demonstrated significant improvements in maintaining flow and reducing the severe stop-and-go emissions typical of congested intersections.

This project proves that combining modern computer vision (CNNs), time-series forecasting (RNNs/LSTMs), and applied physics modeling with real-world infrastructure data is a viable path toward intelligent, green cities.