GithubHelp home page GithubHelp logo

servo97 / deep-learning-web-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 177 KB

A Flask app with Deep Learning back-end model trained to classify Indian Vehicles on a dataset curated by me and my team.

License: MIT License

Jupyter Notebook 60.39% Python 26.65% HTML 12.97%

deep-learning-web-app's Introduction

Deep-Learning-Web-App

A Flask app with Deep Learning back-end model trained to classify Indian Vehicles on a dataset curated by me and my team. This is a module from our Final Year project - An Automatic Traffic Management System. We curated a dataset of more than 15k Indian vehicles and trained a Deep Convolutional Neural Network for classification purposes. The model has been trained using Keras and Tensorflow. Model file has been not been provided in the repo, but can be obtained by training the model yourself. The flask app has been created which utilizes this model and a custom code to pass a given image from the web page through the model and display them back to the web page.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. Clone this repo and run jupyter notebook from the directory. Launch Vehicle_Classifier.ipynb to see training and testing code. For dataset, contact me. Pre-Trained model has been provided, with good training accuracy of about 95%, but bad validation (around 60%).

Prerequisites

What things you need to install the software and how to install them A requirements.txt file is provided if you want to duplciate my work environment. Everything runs smoothly with these settings.

Running the tests

Run the testing code from the jupyter notebook.

Deployment

Add additional notes about how to deploy this on a live system

  • Install Flask in your work environment
  • Set global variable "FLASK_APP" according to your OS to the name of the python file in which the flask code is written.
  • Run the Flask App. If you want it to be accessed by all devices in your network, use host as 0.0.0.0
  • Access the website using the hosting PC's IP Address obtained using ipconfig command.
  • Enter the URL: <your_ip_address>:5000/static/predict.html
  • Choose a png image only.
  • Witness MAGIC and UNLIMITED POWERRR!

Author

  • Sarvesh Patil

License

This project is licensed under the MIT License - see the LICENSE.md file for details

deep-learning-web-app's People

Contributors

servo97 avatar

Stargazers

 avatar

Watchers

James Cloos 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.