How zrn2003/skinsightai works
SkinSight is a browser-based skin-image screening app backed by a FastAPI inference service. The user uploads an image; the backend preprocesses it, first checks whether it depicts skin, then runs a disease classifier and returns confidence/probabilities for the interface to present. The README also describes hair removal, CLAHE, color normalization, and the ResNet50–InceptionV3 ensemble. Backend stages share app.py; unsampled wiring is omitted or marked unverified.
Main entry points: Index.tsx Scan workflow · app.py Prediction API · App.tsx App routing · PredictionResult.tsx Prediction results
Components 15
Frontend experience
- React entry
frontend/src/main.tsx - App routing
frontend/src/App.tsx - Scan workflow
frontend/src/pages/Index.tsx - Image uploader
frontend/src/components/ImageUploader.tsx - Prediction results
frontend/src/components/PredictionResult.tsx - Confidence display
frontend/src/components/ConfidenceBar.tsx - History header
frontend/src/components/Header.tsx - Browser history
- Unknown route
frontend/src/pages/NotFound.tsx
Inference service
- Prediction API
app.py - Inference response
app.py
Image preparation
- Image processing
app.py
Classification
- Skin filter
app.py - Fusion diagnosis
app.py
Other components
- User
Connections 18
- React entry → App routing: renders
frontend/src/main.tsx - App routing → Scan workflow: routes to
frontend/src/App.tsx - App routing → Unknown route: routes to
frontend/src/App.tsx - User → Image uploader: uploads image
README.md - Scan workflow → Image uploader: uses
frontend/src/pages/Index.tsx - Scan workflow → History header: uses
- Scan workflow → Prediction results: renders
frontend/src/pages/Index.tsx - Prediction results → Confidence display: renders
frontend/src/components/PredictionResult.tsx - Scan workflow → Browser history: reads
frontend/src/pages/Index.tsx - Scan workflow → Prediction API: submits image
- Prediction API → Image processing: preprocesses
app.py - Prediction API → Skin filter: runs filter
app.py - Skin filter → Fusion diagnosis: passes valid skin
app.py - Prediction API → Inference response: returns result
app.py - Image processing → Skin filter: prepares input
app.py - Image processing → Fusion diagnosis: prepares input
app.py - Prediction API → Fusion diagnosis: runs ensemble
app.py - Prediction API → Inference response: reports filter-only fallback
app.py