Skip to content

Pragati Aid - Empowering Communities through Intelligent Rainfall Forecasting for Natural Disaster Resilience.

License

Notifications You must be signed in to change notification settings

Anidipta/Pragati-Aid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

77 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ HackSynthesis ๐ŸŒ

Welcome to Pragati Aid by Team Omicode

"Empowering Communities through Intelligent Rainfall Forecasting for Natural Disaster Resilience."


๐ŸŒŸ This project aims to boost disaster preparedness by predicting natural calamities using Machine Learning ๐Ÿง , time-series models like ARIMA ๐Ÿ“ˆ, and a blockchain-based relief fund collection gateway ๐Ÿ’ธ powered by smart contracts on Ethereum ๐Ÿ”—.


๐ŸŽฏ Table of Contents


โœจ Features

  1. Natural Calamity Probability Predictor ๐ŸŒฉ๏ธ:

    • Predicts the likelihood of natural disasters, such as cloudbursts, floods, and rainfall ๐ŸŒง๏ธ for specific dates using advanced ML algorithms like Gradient Boosting ๐ŸŒฒ, ARIMA time series analysis ๐Ÿ“‰, and Haversine Formula ๐Ÿ“.
  2. State-Level Precipitation Timeline Videos ๐ŸŽฅ:

    • Generates GeoTIFF-based precipitation timeline videos across India ๐Ÿ‡ฎ๐Ÿ‡ณ, its individual states ๐Ÿ—บ๏ธ, and even districts in West Bengal ๐Ÿ“. The analysis can provide users with district-wise precipitation patterns, offering granular disaster insights.
  3. Blockchain-Based Relief Fund ๐Ÿ’ต:

    • Utilizes Solidity smart contracts to enable secure and transparent Web3 token-based donations. Each transaction is stored on the Ethereum blockchain ensuring complete trust and transparency.
  4. District-Wise Disaster Forecasting for West Bengal ๐Ÿ“Š:

    • Users can view district-level forecasting for West Bengal based on historical weather data ๐ŸŒฆ๏ธ. This fine-grained prediction system analyzes past trends using ARIMA and ML models for highly localized disaster preparedness.

Flowchart

Screenshot 2024-09-29 115457

๐Ÿ“ธ Snapshots

Natural Calamity Predictor Interface

๐Ÿ‘† A glimpse of the app interface for predicting the probability of natural disasters using ML and ARIMA-based models.

3734992b607c5b21a8b6b7e0c74b100898707b8cd8a42321648a196a.mp4

๐ŸŽฅ Visualize precipitation timelines across India and its states with GeoTIFF data.

Blockchain Relief Fund

๐Ÿ’ธ Leverage blockchain-based relief fund collection, ensuring transparent, immutable donations.

District Analysis in West Bengal

๐Ÿ“Š Analyze district-level precipitation in West Bengal for a more detailed understanding of weather trends.


๐Ÿ”ง Installation

To set up HackSynthesis Omicode on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/CodenWizFreak/HackSynthesis_Omicode.git
    cd HackSynthesis_Omicode
  2. Create a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # Windows: `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up the blockchain environment ๐Ÿ—๏ธ:

    • Ensure Node.js is installed.
    • Install Truffle and Ganache:
      npm install -g truffle
      npm install -g ganache-cli
  5. Compile and deploy smart contracts ๐Ÿ“:

    truffle compile
    truffle migrate --network development

๐Ÿ“– Usage

  1. Run the Streamlit app:

    streamlit run app.py
  2. Explore the Features:

    • Predict natural disasters: Enter a specific date to receive predictions for cloudbursts, floods, etc.
    • Generate Precipitation Videos: Select a region (India, state, or district) and generate a precipitation video based on historical GeoTIFF data.
    • District-Level Analysis: Receive a detailed district-wise prediction for West Bengal based on ARIMA and ML models.
    • Blockchain Donations: Use the app to make Web3 token transactions toward the relief fund.
  3. Blockchain Transactions ๐Ÿ’ฐ:

    • Make secure Web3 token-based donations for disaster relief using Solidity-based smart contracts.
    • Watch live gas fees โ›ฝ and blockchain confirmations in real-time.

Unique Selling Propositions (USPs)

  1. Comprehensive Disaster Preparedness: Integrates advanced machine learning and time-series models for accurate natural calamity predictions.
  2. Localized Forecasting: Provides detailed district-level predictions for natural disasters in West Bengal, ensuring targeted insights.
  3. Blockchain-Based Relief Fund: Utilizes smart contracts on Ethereum for secure, transparent, and traceable donation processes.
  4. GeoTIFF Visualization: Generates dynamic precipitation timeline videos using GeoTIFF data, enhancing user understanding of weather trends.

Feasibility

  1. Data-Driven Decision Making: Leverages extensive historical weather data to enhance prediction accuracy and reliability.
  2. Scalable Framework: The system can be adapted to different regions beyond India, allowing for wider application in disaster management.
  3. Technological Reliability: Built using proven technologies such as Python, Ethereum, and TensorFlow, ensuring a solid foundation for the project.
  4. Community Engagement: Encourages active participation through a blockchain-based donation system, fostering trust and local involvement.

Novelty

  1. Interdisciplinary Integration: Combines machine learning, geospatial analysis, and blockchain technology for a comprehensive disaster management solution.
  2. Real-Time Disaster Insights: Offers real-time analytics on disaster probabilities and blockchain transactions, enhancing situational awareness.
  3. GeoTIFF Data Utilization: Innovatively employs GeoTIFF data to create detailed precipitation timeline visualizations for informed decision-making.
  4. Localized Impact Focus: Prioritizes district-specific data, highlighting the importance of localized forecasting in effective disaster preparedness.

Other Aspects

  1. Community Empowerment: Equips communities with tools and information necessary for proactive disaster preparedness and response.
  2. Holistic Disaster Ecosystem: Encompasses the entire disaster management process, from prediction to relief fund allocation, fostering resilience.
  3. Open-Source Development: Promotes collaborative contributions from developers and researchers to innovate and improve disaster management solutions.
  4. Awareness and Education: Aims to raise public awareness about disaster preparedness and community involvement through a user-friendly platform.

โš™๏ธ Technologies Used

  • Frontend: Streamlit ๐Ÿ’ป
  • Backend: Python (Flask), Streamlit ๐Ÿš€
  • Machine Learning: TensorFlow, Keras ๐Ÿง , Scikit-learn, XGBoost, Haversine Formula ๐Ÿ“, ARIMA (AutoRegressive Integrated Moving Average) ๐Ÿ“‰
  • Data Processing: Pandas, NumPy ๐Ÿงฎ, GeoTIFF, Rasterio ๐ŸŒ
  • Blockchain: Truffle, Infura, Ganache, Ethereum ๐Ÿ”—, MetaMask ๐ŸฆŠ, Web3.py ๐ŸŒ
  • Smart Contracts: ERC-20 Token Standard ๐Ÿ’Ž
  • Data Visualization: Matplotlib, Seaborn, Plotly ๐Ÿ“Š
  • Geospatial Data: GeoPandas, Folium ๐Ÿ—บ๏ธ
  • Video Processing: OpenCV ๐ŸŽฅ, ImageIO ๐Ÿ“…

๐Ÿ‘ฅ Contributors


๐Ÿ“œ License

This project is licensed under the MIT License. See the LICENSE file for details. ๐Ÿ“„


Letโ€™s reshape the future of disaster management with advanced machine learning, ARIMA models, geospatial analysis, and blockchain technologies! ๐Ÿš€

About

Pragati Aid - Empowering Communities through Intelligent Rainfall Forecasting for Natural Disaster Resilience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published