Skip to content

imPdhar/Smart-Traffic-Control-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Traffic Control System

This was the AI code that was designed for Traffic Management purposes in Rakuten's Rakathon 2.0

Was meant to be implemented on a Raspberry Pi with a camera module.

The Inspiration and the backstory is documented in Rakathon2.pdf

Features

  • Detects number of different vehicles in the scene and gauges the time required for each different vehicles.

  • Prioritizes pedestrian safety.

  • Designed to prioritize Ambulance passage.

Requirements:

  • OpenCV- pip install opencv-python
  • Numpy- pip install numpy
  • An appropriate dataset like coco.

How to use

  • Install the requirements.
    1. Place the image files in the /images directory.
    2. Choose the image which you would like to analyze and copy its directory in your clipboard.
    3. Use the argument -i to input the path of the image file and -y to input the path of the YOLO model in the command line to run the code.

Known Errors

Incorrect labelling of Automobiles.

Solution: Train the model with the right class-labelling.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages