How mintesnot96/deepmedscan works
DeepMedScan is a Flask web app for uploading medical images and predicting four conditions. The main workflow is condition-page selection, image upload and validation, condition-specific preprocessing and model inference, then display of a result page. The README also describes X-ray and MRI support and computer-vision preprocessing; the tumor workflow’s crop and VGG16 preprocessing are visible in app.py. The graph reflects the sampled app and documented capabilities; it does not infer training or unsampled implementation details.
Main entry points: app.py Flask routes · homepage.html Home page · covid.html COVID page · braintumor.html Tumor page
Components 17
Web interface
- Flask routes
app.py - Upload handling
app.py - Home page
templates/homepage.html - COVID page
templates/covid.html - Tumor page
templates/braintumor.html - Alzheimer page
templates/alzheimer.html - Pneumonia page
templates/pneumonia.html - COVID result
templates/resultc.html - Tumor result
templates/resultbt.html - Alzheimer result
templates/resulta.html - Pneumonia result
templates/resultp.html
Image inference
- Image preprocessing
app.py
Model artifacts
- COVID model
models/modelcovid19.h5 - Tumor model
models/modelbraintumor.h5 - Alzheimer model
models/modelalzheimer.h5 - Pneumonia model
models/modelpneumonia.h5
Other components
- User
Connections 17
- User → Flask routes: opens app
README.md - Flask routes → Home page: renders
app.py - Flask routes → COVID page: renders
app.py - Flask routes → Tumor page: renders
app.py - Flask routes → Alzheimer page: renders
app.py - Flask routes → Pneumonia page: renders
app.py - User → Upload handling: uploads image
README.md - Flask routes → Upload handling: validates and saves
app.py - Flask routes → Image preprocessing: preprocesses image
app.py - Flask routes → COVID model: loads and predicts
app.py - Flask routes → Tumor model: loads and predicts
app.py - Flask routes → Alzheimer model: loads and predicts
app.py - Flask routes → Pneumonia model: loads and predicts
app.py - Flask routes → COVID result: renders result
app.py - Flask routes → Tumor result: renders result
app.py - Flask routes → Alzheimer result: renders result
app.py - Flask routes → Pneumonia result: renders result
app.py