How halimmwn/medicaldiagnostichub works
Medical Diagnostic Hub is a Flask-based clinical decision-support web app. A user selects an analysis mode and submits an image, ECG signal, live camera capture, or DICOM file; the backend dispatches to a modality-specific detector and returns predictions and visualizations for the web UI. README documents batch DICOM/PACS, live skin camera, and modality capabilities; source excerpts confirm the Flask dispatch and detector behavior, but frontend and template excerpts are partial, so uncertain UI wiring is omitted.
Main entry points: app.py Flask application · script.js UI and camera · orthanc_client.py DICOM client · index.html Web interface
Components 11
Web experience
- Web interface
templates/index.html - UI and camera
static/script.js
Analysis backend
- Flask application
app.py
Clinical analysis
- Bone analysis
modules/bone_detection.py - Brain analysis
modules/brain_detection.py - Skin analysis
modules/skin_detection.py - ECG analysis
modules/ecg_detection.py - Heatmap generation
utils/gradcam.py
DICOM integration
- DICOM client
utils/orthanc_client.py - Orthanc PACS
Other components
- Medical user
Connections 14
- Medical user → Web interface: uses
- Web interface → UI and camera: loads UI
- UI and camera → Flask application: submits analyses
- Flask application → UI and camera: returns results
- Flask application → Bone analysis: dispatches bone
- Flask application → Brain analysis: dispatches brain
- Flask application → Skin analysis: dispatches skin
- Flask application → ECG analysis: dispatches ECG
- Bone analysis → Heatmap generation: generates heatmap
- Skin analysis → Heatmap generation: generates heatmap
- Flask application → DICOM client: uploads DICOM
- DICOM client → Orthanc PACS: uploads and reads
- DICOM client → Flask application: returns preview
- UI and camera → Medical user: shows results