One of the most significant challenges encountered by many individuals on a daily basis is congestion, primarily resulting from various factors, one of which is the timing system of traffic lights. Traffic congestion can lead to increased fuel consumption and air pollution, as well as an unnecessary waste of time and energy. Additionally, prolonged stopping times can contribute to pavement deterioration. This issue can be addressed through the implementation of an AI traffic management system, which would provide dynamic green light durations based on real-time traffic volume.
In this project, we will develop a dynamic AI traffic light system that utilizes artificial intelligence to replace the traditional fixed timing for each traffic signal.
This app is written using Python 3.9.5, following best practices.
Libraries used:
- pygame
- pandas
- sklearn
- numpy
- matplotlib
-
https://docs.opencv.org/4.x/dc/da5/tutorial_py_drawing_functions.html
-
https://github.com/Sanillala/AI-Traffic-Control-System/blob/master/AI_Traffic_Light.py#L36
-
https://amankharwal.medium.com/4-chatbot-projects-with-python-5b32fd84af37
-
https://github.com/mihir-m-gandhi/Basic-Traffic-Intersection-Simulation
-
https://developer.here.com/documentation/traffic-api/api-reference.html
-
https://www.tensorflow.org/lite/examples/on_device_training/overview
-
https://insights.blackcoffer.com/how-is-ai-used-to-solve-traffic-management/
-
https://stackoverflow.com/questions/51977189/typeerror-tensorshape-object-is-not-callable
-
https://ops.fhwa.dot.gov/publications/fhwahop08054/sect4.htm
-
https://stackoverflow.com/questions/56501946/keras-prediction-returns-such-small-values
-
http://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Sprite
-
https://github.com/tensorflow/docs/blob/master/site/en/guide/intro_to_modules.ipynb
-
https://stackoverflow.com/questions/4330111/meaning-of-daemon-property-on-python-threads
-
https://stackoverflow.com/questions/42577197/pygame-how-to-correctly-use-get-rect
-
https://github.com/mihir-m-gandhi/Traffic-Intersection-Simulation-with-Stats
-
https://stackoverflow.com/questions/63341547/how-to-inject-pygame-events-from-pytest