Skip to content

Aryansingh0103/JKT-Smart-Traffic-System-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Traffic System

Background

Traffic Management refers to the combination of measures that serve to preserve traffic capacity and improve the security, safety and reliability of the overall road transport system. These measures make use of ITS systems, services and projects in day-to-day operations that impact on road network performance. Proper traffic management can ensure that

  • Traffic flows smoothly and efficiently.
  • Roads are well maintained and safe for all users, including pedestrians and cyclists.
  • Congestion, local pollution and accidents are minimized.
  • Vehicles are within speed limits and heading in correct direction along lane.

Solution

In this project we aim to provide smart solutions to address problems associated with Traffic Management

  • Vehicle Category Classification and Detection.
  • Traffic Density Classification.
  • Pothole Object Detection.
No Description Dataset Kaggle Weights
1 Vehicle Category Classification and Detection Link Link Link
2 Traffic Density Classification Link Link Link
3 Pothole Object Detection Link Link Link

🛠 Skills

Pytorch, Torchvision, Ultralytics, OpenCV, Numpy, Streamlit, Git

Directory Tree

├── notebooks
│   │── real-time-pothole-detection-using-ssd.ipynb
|   |── traffic-density-classification-using-efficientnet.ipynb
│   └── vehicle-category-object-detection-pytorch.ipynb
├── webapp
│   ├── images
│   │   ├── category_img
│   │   ├── pothole_img
│   │   ├── density_img
│   │   └── home_page
│   ├── pages
│   │   ├── Pothole_Detection.py
│   │   ├── Traffic_Density_Classification.py
│   │   └── Vehicle_Category_Detection.py
│   ├── videos
│   │   ├── raw_clip.mp4
│   │   ├── annotated_clip.mp4
│   ├── weights
│   │   ├── pothole_model.pth
│   │   ├── traffic_density.pth
│   │   └── vehicle_categorization.pth
│   │── Introduction.py
│   │── utils.py
│   │── requirements.txt
│   │── packages.txt
├── README.md
├── LICENSE
└── .gitignore

Vehicle Category Classification and Detection

  • Reducing vehicle speed can prevent road crash incidents as an average 1 km increase in vehicle speed can lead to 3 percent increase in road accidents.
  • Detecting and Categorizing different types of vehicle in traffic flow can help in determining vehicles speed using optical flow and enforcing speed limits.
  • Single Shot Detector architecture with mobileNet_v3 backone is utilized for categorizing different Vehicles type.
  • The model achieved a mean average precision of 0.645 on test dataset @ iou=0.50.

Traffic Density Classification

  • The primary goal of traffic management is to make the movement of goods and persons as efficient, orderly, and safe as possible.
  • Traffic Density Classification will be instrumental in redirecting traffic from major roads during peak hours and making the overall movement be safer and more efficient.
  • EfficientNet_b0 architecture is utilized for traffic density classification into Empty, Low, Medium, High, Traffic Jam categories.
  • The model achieved a mean average accuracy of 0.93 on test dataset.

Pothole Object Detection

  • The safety and efficiency of travel systems depend on how well roads are kept up.
  • Pothole Object Detection will be helpful in early identification of pothole and lowering long-term repair costs.
  • It will be critical for ensuring the safety of drivers and the overall efficiency of transportation infrastructure.
  • Single Shot Detector with MobileNetv3 backbone is utilized for detecting potholes on the roads.
  • The model achieved a mean average precision of 0.512 at 0.50 intersection over union.

Future Development

  • Road Lane Instance Segmentation
  • Plate number recognition
  • Vehicle tracking for speed determination

Run Webapp Locally

Clone the project

  git clone https://github.com/OmdenaAI/jakarta-indonesia-predicting-road-defects

Change to project directory

  cd webapp

Create Virtaul Environment and install dependencies

  py -m venv venv
  venv/Scripts/activate
  pip install -r requirements.txt

Run Locally

  streamlit run Introduction.py

Contributed by Aryan Singh

Raghav Khandelwal

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published