Git Product home page Git Product logo

plothole's Introduction

Plothole - An AI aided Pothole Reporting System

The driving experience on roads degrade drastically due to potholes and they are the root cause of a majority of road accidents. On an average, around 10k road accidents are caused in a year just due to potholes.Currently there are next to no feasible and automated solutions to effectively report potholes.

The components of the system are:

Our Solution

Our objective is to design a mobile based dynamic reporting system which will facilitate the flow of information among the civic authorities. The core part of the solution is a Deep Learning model that can accurately validate whether an image is a pothole or not and can assign a severity metric to that image. Use of AI heavily reduces the use of middlemen to verify the images, this makes the system extremely scalable and helps take action much faster.

Mobile + Web

Our solution consists of an android app that citizens can use to click photos of potholes. The photo is stored on our servers with the gps coordinates and the submission is added to a job queue. The jobs on the queue are sequentially executed by feeding the submitted images to a deep learning model which evaluates the validity of the image (whether its a pothole or not) and its severity. These results are stored on the database.

A web admin portal, which is meant for the authorities, is used to display the results, sorted according to severity and validity. We used Firebase for Authentication, Image storage and Database. The solution is hosted on a Microsoft Azure VM running Ubuntu 18.04. The android app was built using Kotlin. The admin portal uses React in the frontend. The backend services are written in Python3 using Flask as an HTTP Router. Redis and RQ were used to implement the job queuing. Python3 proved to be very useful in integrating the Deep Learning Model with the backend services.

Deep Learning

The AI model is constructed on top of Convolutional Neural Networks using transfer learning on a real world dataset which was collected by us. We have used an architecture named VGGnet16 which has shown state of the art performance on the ImageNet challenge previously , we modified and improved it by adding more convolutional and fully connected dense layers to it, to fine tune the model weights and processing on the image so that it catches every pixel from the image matrix. We have trained the model for 40 epochs using mini batch gradient descent where the loss function was binary-cross entropy.

This classifier has two classes where one shows validity and the other shows the severity of the pothole if present in the supplied image. We were able to achieve a test accuracy of 96% on our test dataset as well as real world examples.

forthebadge forthebadge forthebadge

plothole's People

Contributors

junaidrahim avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.