Giter VIP home page Giter VIP logo

automcx's Introduction

An App to call an image classifier api

This project is an app which can be used to request an api that will classifiy if a patient x-ray has Pneumonia or not. An x-ray image will be passed from this app to the api server and the api server will be able to send following JSON response:

  1. Prediction of the image i.e if the patient has Pneumonia or not.
  2. Confidence of the classification in terms of percentage.

The api code and other details related to the api are present at:

https://github.com/mhosankalp/automc_api

Also note this app has test integration with stripe for payment purpose

Prerequisites

  1. Python 3.6
  2. The api server should be up and running For details on how to run the api please refer to https://github.com/mhosankalp/automc_api

The api at https://github.com/mhosankalp/automc_api will also check for the valid authentication. Only the valid users will be able to request an api. As of now the authentication is valid only for this app

But you can add users by modifying the adduser.py and executing it. The adduser.py is present at https://github.com/mhosankalp/automc_api

Installing

A step by step series of examples that tell you how to get a development env running

  1. Git Clone this repository - git clone https://github.com/mhosankalp/automcx
  2. cd automcx
  3. Create a virual enviornment
  4. source activate virtual enviornment
  5. pip install -r requirements.txt
  6. python app.py
  7. Navigate to 127.0.0.1:5000 in your browser (safari/chrome) and follow steps as per the screenshot below:

a)Home Screen - About

Home Screen - About

b)Home Screen - Pricing

Home Screen - Pricing

c)Home Screen - Contact

Home Screen - Contact

d)Home Screen - Payment

Home Screen - Payment

e)Home Screen - Choose File

Home Screen - Choose File

f)Home Screen - File Chosen

Home Screen - File Chosen

g)Home Screen - Api is call from http://127.0.0.1:5001/api/recognize_image and prediction is made

Home Screen - File Chosen

automcx's People

Contributors

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