Control the flow of traffic based on traffic density of vehicles on each lane.
Traffic flow is controlled by using variable traffic light timers for each lane. The timers are set based on the traffic density on that lane. The traffic density is measured by using image processing on lane traffic camera video.
Requires Python, OpenCV, numpy
Clone the project and run
python analyser.py
Video of the output stitched together with FFmpeg