How anitaokechukwu/chest-xray-pneumonia-detection works
This is a Streamlit chest X-ray classification demo. A user uploads an image, the app previews it, and on request preprocesses it for the trained CNN; the app then displays a NORMAL/PNEUMONIA prediction and pneumonia score. The README also describes data preparation, training, and evaluation, but this repository contains no source for those stages, so they are not represented as implemented components. Runtime relationships below are supported by app.py; the model is a checked-in artifact.
Main entry points: app.py Streamlit app · best_pneumonia_cnn.keras Trained CNN
Components 5
User interface
- Streamlit app
app.py - Prediction display
app.py
Inference
- Image preprocessing
app.py
Model artifact
- Trained CNN
best_pneumonia_cnn.keras
Other components
- User
Connections 6
- User → Streamlit app: uploads image
app.py - Streamlit app → Image preprocessing: analyzes image
app.py - Image preprocessing → Trained CNN: predicts with
app.py - Streamlit app → Trained CNN: loads model
app.py - Image preprocessing → Prediction display: returns prediction
app.py - Streamlit app → Prediction display: renders result
app.py