How sujith-mg/neurovision_ai works
NeuroVision AI is a Streamlit application for brain-MRI classification, tumor segmentation, and visual explanations. Its principal workflow accepts an uploaded MRI, preprocesses it, and presents classification, Grad-CAM, and segmentation results. The README also documents separate classifier and segmenter training workflows, plus home, model-information, and about pages. Edges reflect the sampled Analysis-page calls, SOURCE INDEX references, and README statements; several page and training implementation details were not sampled.
Main entry points: 2_๐ฌ_Analysis.py MRI analysis ย ยทย models Model weights ย ยทย classifier.py Tumor classifier ย ยทย segmenter.py Tumor segmenter
Components 15
Streamlit interface
- App entry
app.py - Home page
pages/1_๐ _Home.py - MRI analysis
pages/2_๐ฌ_Analysis.py - Model info
pages/3_๐_Model_Info.py - About page
pages/4_โน๏ธ_About.py
MRI inference
- MRI preprocessing
src/preprocessing.py - Tumor classifier
src/models/classifier.py - Grad-CAM
src/models/gradcam.py - Tumor segmenter
src/models/segmenter.py - Result visualization
src/visualization.py
Model training
- Classifier training
train_classifier.py - Segmenter training
train_segmenter.py - Model weights
models
Shared support
- Shared utilities
src/utils.py
Other components
- MRI user
Connections 17
- MRI user โ App entry: opens
README.md - App entry โ MRI analysis: serves page
- MRI user โ MRI analysis: uploads MRI
pages/2_๐ฌ_Analysis.py - MRI analysis โ MRI preprocessing: preprocesses
pages/2_๐ฌ_Analysis.py - MRI analysis โ Tumor classifier: classifies
README.md - MRI analysis โ Grad-CAM: generates explanation
pages/2_๐ฌ_Analysis.py - MRI analysis โ Tumor segmenter: segments
README.md - MRI analysis โ Result visualization: renders results
pages/2_๐ฌ_Analysis.py - Home page โ Shared utilities: checks model status
pages/1_๐ _Home.py - MRI analysis โ Shared utilities: checks model status
pages/2_๐ฌ_Analysis.py - Model info โ Shared utilities: checks model status
pages/3_๐_Model_Info.py - Classifier training โ Tumor classifier: trains
README.md - Segmenter training โ Tumor segmenter: trains
README.md - Classifier training โ Model weights: saves weights
README.md - Segmenter training โ Model weights: saves weights
README.md - Tumor classifier โ Model weights: loads weights
- Tumor segmenter โ Model weights: loads weights