Giter VIP home page Giter VIP logo

image_classification's Introduction

image_classification

DeepLearning-Image-Classification-Model-Flask-Deployment

This is a demo project to elaborate how Deep Learning Models are deployed on production using Flask API

Prerequisites

You must have keras, tensorflow, sklearn, seaborn, matplotlib, numpy and Flask (for API) installed.

Project Structure

This project has three major parts :

  1. flowers_image_classification.ipynb - This contains the code implemented to the train the deep learning model from scratch on the categories of flowers considered. This file also contains the model_plot, confusion matrix plots for in-depth analysis.
  2. app.py - This contains Flask APIs that receives images through GUI or API calls, computes the labels based on our model and returns it.
  3. images - these are the images that were used as input to train the classifier.

Running the project

  1. Ensure that you are in the project home directory. Open the deep learning model notebook 'flowers_image_classification.ipynb' for more information

  2. Run app.py using below command to start Flask API

python app.py

By default, flask will run on port 5000.

  1. Navigate to URL http://127.0.0.1:5000/

Upload the image and check for the output value returned by the model.

image_classification's People

Contributors

maybeee18 avatar

Watchers

 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.