GeoDamage AI is a web-based application for automated disaster damage assessment using
pre-disaster and post-disaster satellite imagery.
The system combines a Vite + React frontend with a FastAPI backend powered by deep learning
to generate pixel-level damage heatmaps.
-
Dual Image Analysis (Pre & Post Disaster)
Upload pre-disaster and post-disaster satellite images for change-based damage assessment. -
Transformer-Based Damage Segmentation
Uses a Vision Transformer (ViT) + U-Net model to perform accurate, pixel-level damage detection. -
Interactive Web Interface
Clean and responsive frontend built with Vite + React for visualizing damage results.
-
Clone the repository
git clone https://github.com/Shreyashofficial05/GeoDamage-AI.git cd GeoDamage-AI -
Set up the backend (FastAPI)
cd backend pip install -r requirements.txt -
Run the backend server
python backend.py
-
Set up the frontend (Vite + React)
cd frontend npm install -
Run the frontend
npm run dev
-
Open the application
[npm run dev](http://localhost:5173)
- best_model.pth — PyTorch ViT-UNet Model
📁 Make sure both model files are located in the
backend/directory before starting the backend.

