skingpt
SkinGPT: An AI-Powered Diagnostic System for Skin Condition Analysis and Recommendations
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Last synced: 6 months ago
·
JSON representation
·
Repository
SkinGPT: An AI-Powered Diagnostic System for Skin Condition Analysis and Recommendations
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created over 1 year ago
· Last pushed over 1 year ago
Metadata Files
Readme
Contributing
License
Citation
README.txt
SkinGPT: An AI-Powered Diagnostic System for Skin Condition Analysis and Recommendations
## Introduction to the Problem
1. Skin conditions can vary widely and are often challenging to diagnose accurately without specialized medical expertise.
2. Many individuals lack access to immediate dermatological care and require reliable diagnostic tools.
3. There is a pressing need for a scalable, AI-powered system that can quickly analyze and identify various skin conditions to provide helpful insights and recommendations.
## Solution Outline
1. User Interface:
- The system provides two user-friendly interfaces:
* `index.html` for image uploads and initial analysis.
* `chatbot.html` for querying the diagnostic chatbot.
2. Image Analysis:
- Uses the YOLOv5 model to identify and classify different skin conditions based on uploaded images.
- `detect.py` consists of functions for object detection model.
- Provides a diagnosis and additional context regarding the detected condition.
3. Natural Language Processing (NLP):
- Utilizes the LLaMA model via Hugging Face Transformers to offer precise, conversational explanations.
- contains function to generate a response to a query using LLaMA.
- Users can ask queries and receive recommendations or explanations of their condition.
4. Program Input and Output Examples:
- Input: Uploading an image via the `index.html` form.
- Output: Diagnostic results of skin conditions (e.g., "The detected disease is eczema") and follow-up recommendations.
## System Setup and Execution
1. Environment Setup:
- Ensure Python 3.x is installed along with `pip` for package management.
- Set up a virtual environment to isolate dependencies.
- Install required packages using the provided `requirements.txt`.
```bash
python -m venv skingpt_env
source skingpt_env/bin/activate
pip install -r requirements.txt
## Dataset
The dataset is directly bought into the image detection model through the yolov5, which is trained in the google colab and imported into the system as ".pt" file. These files cease to exist after a few hours and cannot be rendered.
## Running the System
- Start the Flask server using app.py.
- Access the web interface by visiting http://127.0.0.1:5000 in a browser.
- Upload an image for analysis or interact with the chatbot.
```bash
python app.py
Owner
- Login: AdithiKallem
- Kind: user
- Repositories: 1
- Profile: https://github.com/AdithiKallem
Citation (CITATION.cff)
cff-version: 1.2.0
preferred-citation:
type: software
message: If you use YOLOv5, please cite it as below.
authors:
- family-names: Jocher
given-names: Glenn
orcid: "https://orcid.org/0000-0001-5950-6979"
title: "YOLOv5 by Ultralytics"
version: 7.0
doi: 10.5281/zenodo.3908559
date-released: 2020-5-29
license: AGPL-3.0
url: "https://github.com/ultralytics/yolov5"
GitHub Events
Total
Last Year
Dependencies
utils/docker/Dockerfile
docker
- pytorch/pytorch 2.0.0-cuda11.7-cudnn8-runtime build
utils/google_app_engine/Dockerfile
docker
- gcr.io/google-appengine/python latest build
requirements.txt
pypi
- Pillow >=9.4.0
- PyYAML >=5.3.1
- gitpython >=3.1.30
- matplotlib >=3.3
- numpy >=1.23.5
- opencv-python >=4.1.1
- pandas >=1.1.4
- psutil *
- requests >=2.23.0
- scipy >=1.4.1
- seaborn >=0.11.0
- setuptools >=65.5.1
- thop >=0.1.1
- torchvision >=0.9.0
- tqdm >=4.64.0
- ultralytics >=8.0.232
utils/google_app_engine/additional_requirements.txt
pypi
- Flask ==2.3.2
- gunicorn ==19.10.0
- pip ==23.3
- werkzeug >=3.0.1