How venu-822006/multimodal-ai works
FloodSight AI is an educational flood-mapping and impact-analysis prototype. Its main user workflow supplies prepared Sentinel-1 scenes and an area/date to the worker, which searches satellite metadata, predicts a flood mask, optionally adds debris and Sentinel-2 checks, analyzes OSM exposure and road connectivity, and generates reports. A separate training and evaluation workflow supports the segmentation model. Raw satellite-product download and calibration are explicitly outside the current scope; worker-to-module links are supported by the worker’s indexed references, while some detailed runtime sequencing is not visible in the excerpts.
Main entry points: worker.py Job Worker · run_pipeline.py Training Pipeline · train.py Model Training · predict.py Flood Prediction
Components 21
Data and Model
- STAC Search
stac_search.py - Scene Preparation
preprocess.py - Training Dataset
dataset.py - Model Training
train.py - U-Net Model
model.py
Flood Analysis
- Job Worker
worker.py - Flood Prediction
predict.py - Baseline Mapping
baseline.py - Debris Detection
debris.py - Optical Verification
optical_analysis.py
Impact Assessment
- Exposure Analysis
damage_analysis.py - Road Connectivity
connectivity_analysis.py
Reporting and Evaluation
- Situation Report
generate_report.py - Map Dashboard
generate_dashboard.py - Model Evaluation
evaluate.py - EMSR927 Check
case_study_emsr927.py - Holdout Evaluation
evaluate_himalayan.py - Training Pipeline
run_pipeline.py
Other components
- Analyst
- Copernicus STAC
- ohsome OSM
Connections 22
- Analyst → Job Worker: submits job
README.md - Job Worker → STAC Search: searches metadata
worker.py - STAC Search → Copernicus STAC: queries catalog
README.md - Job Worker → ohsome OSM: fetches snapshot
worker.py - Job Worker → Scene Preparation: prepares scenes
- Job Worker → Flood Prediction: runs inference
worker.py - Flood Prediction → U-Net Model: loads model
predict.py - Model Training → Training Dataset: loads samples
train.py - Model Training → U-Net Model: trains model
train.py - Training Pipeline → Model Training: runs training
README.md - Training Pipeline → Flood Prediction: runs inference
README.md - Training Pipeline → Model Evaluation: evaluates results
README.md - Job Worker → Debris Detection: analyzes change
worker.py - Job Worker → Optical Verification: checks Sentinel-2
worker.py - Job Worker → Exposure Analysis: analyzes exposure
worker.py - Job Worker → Road Connectivity: analyzes access
worker.py - Job Worker → Situation Report: generates report
worker.py - Job Worker → Map Dashboard: generates dashboard
worker.py - Analyst → EMSR927 Check: requests reference check
README.md - Analyst → Holdout Evaluation: requests holdout report
README.md - Holdout Evaluation → Model Evaluation: uses metrics
evaluate_himalayan.py - Analyst → Baseline Mapping: may select baseline