How shivaa003/cervical-spine-fracture-detection-using-deep-learning-on-ct-scans works
This is a Streamlit research application for detecting cervical spine fractures, with separate scripts for training MobileNetV2 and EfficientNetB4 models. The documented user workflow runs from doctor login and patient details through image upload, detection and vertebral-level information to an explainability view and downloadable PDF report. Training is a separate capability with data preparation, model training, and evaluation. Several app internals and the runtime model-loading path are not shown in the excerpts, so those relationships are supported only where the README states them.
Main entry points: app.py Fracture detection · comprehensive_training.py Comprehensive training · credentials.py Doctor credentials · train_model.py MobileNetV2 training
Components 18
Clinical application
- Streamlit interface
app.py - Doctor login
app.py - Patient details
app.py - Image upload
app.py - PDF report
app.py - Doctor credentials
credentials.py
Diagnostic analysis
- Fracture detection
app.py - Vertebral localization
app.py - Vertebral information
app.py - Grad-CAM visualization
app.py
Model training
- Training data preparation
comprehensive_training.py - Model architectures
comprehensive_training.py - Comprehensive training
comprehensive_training.py - MobileNetV2 training
train_model.py - EfficientNetB4 training
model_training.py
Training evaluation
- Metrics and plots
comprehensive_training.py
Other components
- Doctor
- Training image dataset
Connections 18
- Doctor → Doctor login: logs in
README.md - Doctor login → Streamlit interface: enters application
README.md - Streamlit interface → Doctor credentials: loads credentials
app.py - Doctor → Patient details: enters details
README.md - Doctor → Image upload: uploads image
README.md - Image upload → Fracture detection: analyzes image
README.md - Fracture detection → Vertebral localization: identifies level
README.md - Vertebral localization → Vertebral information: shows details
README.md - Fracture detection → Grad-CAM visualization: generates heatmap
README.md - Fracture detection → PDF report: includes results
README.md - Grad-CAM visualization → PDF report: includes heatmap
README.md - Patient details → PDF report: includes patient details
README.md - Training image dataset → Training data preparation: provides images
README.md - Comprehensive training → Training data preparation: creates generators
comprehensive_training.py - Comprehensive training → Model architectures: trains models
comprehensive_training.py - Comprehensive training → Metrics and plots: calculates metrics
comprehensive_training.py - Training image dataset → MobileNetV2 training: provides images
train_model.py - Training image dataset → EfficientNetB4 training: provides images
model_training.py