Skin Disease Detection at edge predicts the disease of skin from the image of that infected part in less than one second and that's where AI at the Edge come.
This web app simply take a disease image using a web interface and give the disease name with accuracy and time taken for prediction.
-
Option 1
- 🍴 Fork this repo!
-
Option 2
- 👯 Clone this repo to your local machine using https://github.com/denilDG/skin-disease-detection-edge.git
First make sure that you have installed the anaconda.
See this page for installing anaconda.
Install the OpenVINO toolkit developed by Intel. OpenVINO toolkit is the secret behind AI at the Edge.
See this page for installing anaconda.
Create a new environment using anaconda:-
conda create -n <envname> python=3.7
For more information see here
Activate the environment:-
conda activate <envname>
Go to the project directory.
Install all the requirements:-
pip install -r requirements.txt
Activate the created environment:-
conda activate <envname>
Activate the openvino source:-
<put your own openvino installation directory in the below command>
source </opt/intel/openvino/bin>/setupvars.sh
Open the terminal/cmd in project directory or use
cd <project_directory>
Open the edge_app.py file and change the CPU_EXTENSION as per your installation directoty of openvino.
Now finally run the app.py file using python:-
python app.py
Open the link as specified in terminal which would be like as shown in the picture:-
So open the link shown as terminal here which is:- http://127.0.0.1:5000/
Home page will be like this:-
Click on the identify button of the page.
It will redirect you to upload page:-
Upload the skin disease image:-
Now click on the upload button.
It will give the result as shown in below picture:-
Comparision of Time taken for prediction Skin disease detection at edge with normal skin disease detection system (https://github.com/denilDG/skin-disease-detection).