How bunnyispavan/alzheimer_ml works
This is a Flask web app for classifying Alzheimer’s disease stages from uploaded brain MRI images. A user opens the page, uploads an image, and receives a predicted stage: the server preprocesses the image, runs the loaded Keras model, and returns the result to the interface. The README also describes local model training with externally hosted data. The inference path is supported by app.py and the README; train.py was excerpted but empty, so training links are documented rather than verified in source.
Main entry points: app.py Flask routes · index.html Upload interface · train.py Model training · my_model.keras Stage classifier
Components 8
Web interface
- Upload interface
templates/index.html
Prediction service
- Flask routes
app.py - Image preprocessing
app.py - Stage classifier
my_model.keras
Model training
- Model training
train.py
Other components
- User
- Browser
- Hosted dataset
Connections 8
- User → Browser: opens site
README.md - Browser → Upload interface: requests page
README.md - Upload interface → Flask routes: uploads scan
README.md - Flask routes → Upload interface: returns prediction
README.md - Flask routes → Image preprocessing: preprocesses image
app.py - Flask routes → Stage classifier: runs prediction
app.py - Model training → Stage classifier: trains model
README.md - Hosted dataset → Model training: provides data