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:
- Prediction of the image i.e if the patient has Pneumonia or not.
- 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
- Python 3.6
- 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
A step by step series of examples that tell you how to get a development env running
- Git Clone this repository - git clone https://github.com/mhosankalp/automcx
- cd automcx
- Create a virual enviornment
- source activate virtual enviornment
- pip install -r requirements.txt
- python app.py
- Navigate to 127.0.0.1:5000 in your browser (safari/chrome) and follow steps as per the screenshot below:
a)Home Screen - About
b)Home Screen - Pricing
c)Home Screen - Contact
d)Home Screen - Payment
e)Home Screen - Choose File
f)Home Screen - File Chosen
g)Home Screen - Api is call from http://127.0.0.1:5001/api/recognize_image and prediction is made