Skip to content

Shristirajpoot/Disaster-Relief-and-Rescue-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

63 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŒͺ️ Disaster-Relief-and-Rescue-System (DRAMS) 🚨

A real-time disaster detection and rescue system made with ❀️ using Python, OpenCV & AI models πŸ€–

GitHub Repo stars GitHub last commit Built with


🌟 Overview

DRAMS is an AI-powered system to detect disasters like fire πŸ”₯ and flood 🌊 in real-time. It helps rescue teams respond faster by sending automatic alerts πŸ“’ with snapshots πŸ“Έ. The project also provides Grad-CAM visualizations 🧠 for model interpretability.


πŸŽ₯ Demo Video

πŸ“Ί Watch the walkthrough here:
DRAMS - Demo Video

πŸ”— Click the image or watch on YouTube


🎨 Features

  • πŸ”₯ Real-time fire detection
  • 🌊 Real-time flood detection
  • πŸ–₯️ Web streaming interface for live monitoring
  • πŸ“Έ Automatic alert snapshots on disaster detection
  • 🧠 Grad-CAM visualizations for AI predictions
  • πŸ—„οΈ Stores data & metadata in MongoDB
  • πŸ“± Fully responsive web interface
  • ⚑ Quick AI predictions for emergency response

πŸ“‚ Project Structure

Disaster-Relief-and-Rescue-System/
β”œβ”€β”€ DRAMS/                  # Web app files (Django/Flask)
β”œβ”€β”€ Dataset/                # Fire & flood images/videos
β”œβ”€β”€ firedetector/           # Fire prediction scripts
β”œβ”€β”€ flooddetector/          # Flood prediction scripts
β”œβ”€β”€ alert_snapshots/        # Captured alert images
β”œβ”€β”€ output/                 # Prediction outputs
β”œβ”€β”€ templates/              # HTML templates
β”œβ”€β”€ static/                 # CSS / JS / assets
β”œβ”€β”€ gradcam_visualizer.py   # Grad-CAM visualizer
β”œβ”€β”€ predict_fire.py         # Fire prediction script
β”œβ”€β”€ predict_flood.py        # Flood prediction script
β”œβ”€β”€ train.py                # AI model training script
β”œβ”€β”€ webstreaming.py         # Web streaming interface
β”œβ”€β”€ requirements.txt        # Python dependencies
└── venv/                   # Virtual environment

πŸ–ΌοΈ Screenshots

πŸ“Έ Real views of DRAMS in action:

πŸ–ΌοΈ Screenshots

πŸ“Έ Real Outputs & Model Visualizations from DRAMS (Disaster Relief and Management System)

Fire Detection (Grad-CAM) Flood Detection Outputs Flood Detection Variants
Model Training Visuals LR Finder Curve Color Plot
Raw Output Frame Grad-CAM (Alt Frame)

πŸš€ Getting Started

πŸ“¦ Install Dependencies

Copy code
git clone https://github.com/Shristirajpoot/Disaster-Relief-and-Rescue-System.git
cd Disaster-Relief-and-Rescue-System
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -r requirements.txt

▢️ Run the System

Copy code
python webstreaming.py

🌐 Open http://127.0.0.1:5000 to see live disaster detection

πŸ› οΈ Built With

  • 🐍 Python 3

  • 🌐 Django / Flask

  • πŸ–ΌοΈ OpenCV for video processing

  • πŸ€– TensorFlow / PyTorch for AI models

  • πŸ—„οΈ MongoDB for dataset storage

  • 🎨 HTML5 + CSS3 for web interface

πŸ‘©β€πŸ’» Author

Shristi Rajpoot

πŸ“„ License

This project is licensed under the MIT License.

🌟 If you liked this project, consider starring the repo and sharing it!

About

πŸŒͺ️ AI-powered Disaster Relief & Rescue System (DRAMS) β€” detects fire πŸ”₯ & flood 🌊 in real time using Python, OpenCV, and Deep Learning ⚑ | Smart alerts, Grad-CAM insights & MongoDB integration 🧠

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors