DermAI is an innovative healthcare application designed to connect patients with dermatologists and provide AI-driven image classification for skin conditions. The app combines advanced machine learning algorithms with telemedicine to offer instant preliminary diagnoses, health guidance through a chatbot, and seamless appointment scheduling with dermatologists. It also supports secure video consultations, making dermatological care accessible from anywhere.
- Atish Joottun ([email protected]) -
AI Implementation & Back-end
- Poshan Peeroo ([email protected]) -
Back-end & Front-end Integration
- Derek Lee Chung ([email protected]) -
Front-end Implementation
- Salman Kootoobally ([email protected]) -
Front-end Implementation
- Bhovanen Murday ([email protected]) -
Front-end Implementation
- Every one -
Front-end Design
Before you can build and run the DermAI app, ensure you have the following installed on your development environment:
- Flutter SDK: Install Flutter
- Dart SDK: Usually included with Flutter.
- Python: Install Python
- Flask: Install Flask via pip (
pip install flask
) - Ngrok: Install Ngrok
- Git: Install Git
- Supabase: Create an account on Supabase and set up a project.
The AI image classification server is a crucial component of DermAI. Here's how to set it up:
-
Clone the AI Server Repository:
Clone the AI server repository from GitHub:git clone https://github.com/The-Vegapunks/dermai.git cd dermai
-
Install Dependencies:
Install the necessary Python packages:pip install -r requirements.txt
-
Run the AI Server:
Start the Flask server to serve the AI model:flask run
-
Expose the AI Server Using Ngrok:
Use Ngrok to expose the Flask server to the internet:ngrok http 5000
Copy the generated public URL (e.g.,
https://xxxxxx.ngrok.io
) and save it for later use.
-
Clone the DermAI Repository:
Clone the DermAI Flutter project:git clone https://github.com/The-Vegapunks/dermai_flutter.git cd dermai_flutter
-
Create a
.env
File:
In the root directory of the DermAI Flutter project, create a.env
file with the following content:SUPERBASEURL=<Your Supabase URL> SUPABASEANONKEY=<Your Supabase Anon Key> GEMINIKEY=<Your Gemini API Key> DISEASECLASSIFIERURL=<Ngrok URL from AI Server Setup> STREAMAPIKEY=<Your Stream API Key>
-
Configure Supabase:
Set up your Supabase project according to your needs. You can define your database schema using the model classes provided in the project. -
Generate Environment Configuration:
Run the following command to generate files that include your environment variables:dart run build_runner build
-
Build the App:
Use Flutter to build the app for Android or iOS:- For Android:
flutter build apk
- For iOS:
flutter build ios
- For Android:
-
Run the App:
Run the app on an emulator or connected device:flutter run
You have successfully set up and run the DermAI application. The app is now ready to provide dermatological care powered by AI and telemedicine. Please refer to the project documentation or contact the development team if you encounter any issues.