Skip to content

When you don't think it be like that, but it do.

Notifications You must be signed in to change notification settings

skabir8/SmartRoads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Road

App Demo using Tensorflow on a news report video to find potholes

Running app - Using webcam (or any camera on device being used)

Setting up vitural environment

virtualenv -p python3 venv
. venv/bin/activate
git clone git@github.com:skabir8/SmartRoads.git
cd SmartRoads/app/
pip3 install -r requirements.txt 
sudo apt-get install python3-tk

Downloading weights

Weights are uploaded using Git LFS

Running app

python3 app.py

Once you open the flask app in your browser, there is a brief delay to set up the YOLO system and the camera.

About

This application uses Tensorflow and Darknet to create weight files for a YOLO system that identifies potholes in real time via the camera. After recognizing a pothole and passing a identification threshold, it submits a pothole ticket to 311 to be fixed.

For this POC, it is build using flask and uses the computer's webcam to represent a phone or dashcam.

The next steps of this project would be to port this over to an actual mobile application and possibly integrated into hardware. Our end goal is to put this on car dash cams so every possible pothole can be tracked and submitted to better aid the city.

Implementation for Raspberry Pi coming soon (very close!)...

About

When you don't think it be like that, but it do.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published