Welcome to the Skin Disease Classifications API! This API allows you to classify various skin diseases (Chickenpox, Cowpox, Healthy, HFMD, Measles, Monkeypox) using pre-trained Hybrid CNN-SVM models. This guide will help you get started with setting up and running the API on different devices, including Android emulators, iOS emulators, and physical devices.
Note
The current API response is still using Indonesian language. English language response will be available in a future update.
Ensure that the following dependencies are installed in your environment:
- Flask (v3.0.3) – A lightweight web framework for building APIs.
- Tensorflow (v2.15.0) – A library for machine learning and deep learning.
- Joblib (v1.3.2) – A library for serializing Python objects (used for loading the trained model).
You can install these dependencies using pip:
pip install flask==3.0.3 tensorflow==2.15.0 joblib==1.3.2Caution
Make sure to use the same version to avoid compatibility issues and errors that may occur during execution.
flask run --host=0.0.0.0- Find your local IP address (e.g.,
192.168.1.10). - Run the API with the following command, replace the
x.x.x.xwith your local IP:
flask run --host=x.x.x.x