Optimise traffic flow with ease using AI
https://colab.research.google.com/drive/15tmr25W2pm3PhkyKjbxVPWXs1pdgoVJX?usp=sharing
- Clone the Repository vehicle-counting-yolov5
git clone https://github.com/Yashwanth-Chandrakumar/Smart-Traffic-Optimisation.git
cd Smart-Traffic-Optimisation
- Clone the legacy Yolo-v5 Repository
git clone https://github.com/ultralytics/yolov5.git
- Install the libraries
pip install -r requirements.txt
After completing the above steps your directory should look like somewhat as of below structure
Smart-Traffic-Optimisation
- deep_sort
- yolov5
- input.mp4
- yolov5s.pt
- tracker.py
- requirements.txt
python tracker.py
# This will download model weight - yolov5s.pt to base folder on first execution.