How lacdudinh23-jimo/identifying-lung-cancer works
This is a Streamlit lung X-ray screening application using a YOLOv8 model. The user selects a bundled sample or uploads an image, adjusts detection and display settings, and runs analysis; the app presents an annotated image, detection metrics, finding details, and a medical disclaimer. The README also describes a standalone OpenCV test script, but it is a test utility rather than part of the main user workflow. Relationships are based on the README and the shown app.py and ui.py excerpts; unsampled template and styling details are limited to their documented roles.
Main entry points: app.py Streamlit screening app · ui.py UI rendering helpers · style.css Custom styling · header.html Header template
Components 12
Screening workflow
- Streamlit screening app
app.py - Selected X-ray image
- Detection and reporting
app.py
Interface presentation
- UI rendering helpers
ui.py - Custom styling
static/style.css - Header template
templates/header.html - Metrics template
templates/metric_grid.html - Finding card template
templates/finding_row.html - Disclaimer template
templates/disclaimer.html
Model runtime
- YOLO model weights
best.pt - YOLO inference engine
Other components
- Clinician or user
Connections 12
- Clinician or user → Streamlit screening app: selects and configures
README.md - Streamlit screening app → Selected X-ray image: loads or uploads
app.py - Streamlit screening app → YOLO inference engine: runs prediction
app.py - Streamlit screening app → YOLO model weights: loads weights
app.py - Streamlit screening app → Detection and reporting: processes detections
app.py - Streamlit screening app → UI rendering helpers: calls render helpers
app.py - UI rendering helpers → Custom styling: loads stylesheet
ui.py - UI rendering helpers → Header template: renders
ui.py - UI rendering helpers → Metrics template: renders
ui.py - UI rendering helpers → Finding card template: renders
ui.py - UI rendering helpers → Disclaimer template: renders
ui.py - Streamlit screening app → Clinician or user: displays results
README.md