File size: 1,593 Bytes
86f402d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
title: SkinProAI
emoji: πŸ”¬
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
---

# SkinProAI

AI-assisted dermoscopic lesion analysis for clinical decision support.

## Features

- **Patient management** β€” create and select patient profiles
- **Image analysis** β€” upload dermoscopic images for automated assessment via MedGemma visual examination, MONET feature extraction, and ConvNeXt classification
- **Temporal comparison** β€” sequential images are automatically compared to detect change over time
- **Grad-CAM visualisation** β€” attention maps highlight regions driving the classification
- **Persistent chat history** β€” full analysis cascade is stored and replayed on reload

## Architecture

| Layer | Technology |
|-------|-----------|
| Frontend | React 18 + TypeScript (Vite) |
| Backend | FastAPI + uvicorn |
| Vision-language model | MedGemma (Google) via Hugging Face |
| Classifier | ConvNeXt fine-tuned on ISIC HAM10000 |
| Feature extraction | MONET skin concept probes |
| Explainability | Grad-CAM |

## Usage

1. Open the app and create a patient record
2. Click the patient card to open the chat
3. Attach a dermoscopic image and send β€” analysis runs automatically
4. Upload further images for the same patient to trigger temporal comparison
5. Ask follow-up questions in text to query the AI about the findings

## Disclaimer

SkinProAI is a research prototype intended for educational and investigational use only. It is **not** a certified medical device and must not be used as a substitute for professional clinical judgement.