Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohith-2002/chat-bot-skinclarify
A Chatbot for Diagnosing Skin Diseases Through Text and Image Analysis
https://github.com/mohith-2002/chat-bot-skinclarify
flaskapi monogodb next-auth python reactjs
Last synced: 27 days ago
JSON representation
A Chatbot for Diagnosing Skin Diseases Through Text and Image Analysis
- Host: GitHub
- URL: https://github.com/mohith-2002/chat-bot-skinclarify
- Owner: MOHITH-2002
- Created: 2024-11-06T14:47:29.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-01T18:25:54.000Z (about 1 month ago)
- Last Synced: 2024-12-01T18:29:32.755Z (about 1 month ago)
- Topics: flaskapi, monogodb, next-auth, python, reactjs
- Language: TypeScript
- Homepage: https://skinclarify.vercel.app
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A Chatbot for Diagnosing Skin Diseases Through Text and Image Analysis
This project, **SkinClarify**, is built with **Next.js 14**, **MongoDB**, and **NextAuth v5**. It helps users detect skin diseases through descriptions or by uploading images. For image analysis, we use a pre-trained model, while for text descriptions, we fine-tune the model with our own dataset based on Microsoft’s BiomedNLP-PubMedBERT-base-uncased-abstract.
## Types of Diseases Classified
1. **Acne and Rosacea**
2. **Actinic Keratosis, Basal Cell Carcinoma, and other Malignant Lesions**
3. **Eczema**
4. **Melanoma Skin Cancer, Nevi, and Moles**
5. **Psoriasis, Lichen Planus, and related diseases**
6. **Tinea, Ringworm, Candidiasis, and other Fungal Infections**
7. **Urticaria, Hives**
8. **Nail Fungus and other Nail Diseases**## Prerequisites
Make sure you have the following installed on your system:
- **Node.js**
- **npm** or **yarn**
- **MongoDB**
- **Flask API Development**## Installation
Clone the repository:
```bash
git clone https://github.com/MOHITH-2002/Chat-Bot-SkinClarify.git```
### Installation1. **Install Dependencies**
Run the following command to install the required dependencies:```bash
npm install
# or
yarn install
```
2. Set up environment variables:Create a .env file in the root directory and add your environment variables:
```bash
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
RESEND_API_KEY=NEXT_PUBLIC_APP_URL=http://localhost:3000
MONGODB_CONNECTION_STRING=
MONGODB_URL=
AUTH_SECRET="don't-try-to-understand-the-code-you-will-not-understand"
EDGE_STORE_ACCESS_KEY=
EDGE_STORE_SECRET_KEY=
```
### Running the Development Server
Start the development server:
```bash
npm run dev
# or
yarn dev
```
## For API Development: Machine Learning
### 1. Image Upload for Skin Disease Detection
Clone this repository:
```bash
git clone https://github.com/MOHITH-2002/skin-disease-image-api.git.
```
Then run the command:
```bash
pip install -r requirements.txt
```
Make sure to expose port 8080, as the API runs on this port.### 2. Text Descriptive Model
Download the file from the following Drive link:
```bash
https://drive.google.com/drive/u/6/folders/1WT2aaKMfH54rodCDsMAH2_x8us_gfavR
```
Provide a brief explanation of why you want access to this model, along with a short description. I will grant you access to download it.
After that, run the command:
```bash
pip install -r requirements.txt
```
Expose port 5000, as this API runs on this port.