Skip to content

abhimasand/AI-Traffic-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-Traffic-Control-System

Summary

This project aims to bring AI to the Traffic controlling network.

In metropolitan cities, where Traffic is one of the biggest contributing factors of daily commute, traffic network of most countries isn't upto par. This project aims to showcase a proof-of-concept to optimize the traffic network based on the amount of traffic using nothing but cameras.

Setup:

  1. Cameras are placed at every red light which are overlooking the road(can be captured using existing speed cameras placed at red lights).
  2. Run script, as simple as that.

Working: This script captures realtime video streams from all the cameras, and then predicts the amount of traffic at the each part segment of the intersection. Using this data, the traffic network can be optimized to allow more time to the segments with higher traffic, and less time to the ones with lower traffic, without the need of any kind of traffic police to be present in order to change the timing of the lights.

This can help in reducing the amount of delay commuters have to face, even when some segments of the intersection are empty. Secondly, it can help in managing traffic dynamically, even in high density timing, reducing the chance of gridlock, and subsequently human intervention being needed.

Model Predictions:

High Traffic

Image of High Traffic

Low Traffic

Image of Low Traffic

Dataset: Download the dataset from Traffic Dataset

Getting Started

python main.py

About

This project aims to bring AI to the Traffic controlling network, and subsequently reduce the need for human intervention by optimizing red light timing. This project calculates the amount of traffic at intersections and changes the timing of each red light to ensure a smooth flow of traffic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages