Skip to content

Detect, mask and calculate pothole area on road images

Notifications You must be signed in to change notification settings

Rajat-Roy/potholes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pothole Detection, Masking and Area Percentage Calculation

The following code adapts from the Mask_RCNN implementation from the Facebook AI Research Team (FAIR).

Run inference on images

To run on Google Colab with zero configuration, copy this notebook to your own google drive.

To run locally follow these steps:

Prepare a python 3.7 environment.

Open a terminal and execute the following lines:

git clone https://github.com/Rajat-Roy/potholes.git
cd potholes
pip install -r requirements.txt
wget https://github.com/Rajat-Roy/potholes/releases/download/v1.0/mask_rcnn_pothole_0030.h5
wget https://github.com/Rajat-Roy/potholes/releases/download/v1.0/pothole_images.zip

Extract the images archive

If jupyter notebook is not installed already:

pip install jupyter

Start the notebook server:

jupyter notebook

In the jupyter app directory listing click and run the potholes_demo.ipynb file.

Change the file paths in the notebook accordingly.

Execute the code cells.

About

Detect, mask and calculate pothole area on road images

Resources

Stars

Watchers

Forks

Packages

No packages published