Git Product home page Git Product logo

image-recognizer-web-app's Introduction

Image-recognizer-web-app

Image recognizer web application that runs on Kubernetes with 4 replicas, you can upload your image to get a label and confidence. The underlying model is an AlexNet trained on the famous Imagenet dataset.

Prerequisites

  1. Install Docker
  2. Install Kubernetes
  3. Install Git
  4. Open Docker desktop and run docker daemon.
  5. Navigate to Kubernetes tab in Docker desktop and select 'Enable Kubernetes' option.

Steps to run

   git clone //https://github.com/sushanthsamala/image-recognizer-web-app
   cd image-recognizer-web-app
   docker build -t image-recognizer .
   kubectl apply -f deployment.yaml

Steps to get predictions

  1. Navigate to http://0.0.0.0:5000 in your browser
  2. Upload an image.
  3. The web page displays image label and the confidence of the model on the prediction.
  4. Repeat step 2 until you are satisfied.

Teardown steps

   kubectl delete -f deployment.yaml
   docker rmi -f $(docker images -a -q)

Public Docker image

Instead of build the Dockerfile on your machine, you can directly use my publicly available docker image on docker hub: sushanthsamala/image-recognizer

image-recognizer-web-app's People

Contributors

sushanthsamala 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.