๐ 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 ๐.
- โจ Features
- ๐ธ Snapshots
- ๐ง Installation
- ๐ Usage
- โ๏ธ Technologies Used
- ๐ฅ Contributors
- ๐ License
-
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 ๐.
-
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.
-
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.
-
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.
๐ 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.
๐ธ Leverage blockchain-based relief fund collection, ensuring transparent, immutable donations.
๐ Analyze district-level precipitation in West Bengal for a more detailed understanding of weather trends.
To set up HackSynthesis Omicode on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/CodenWizFreak/HackSynthesis_Omicode.git cd HackSynthesis_Omicode
-
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # Windows: `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Set up the blockchain environment ๐๏ธ:
- Ensure Node.js is installed.
- Install Truffle and Ganache:
npm install -g truffle npm install -g ganache-cli
-
Compile and deploy smart contracts ๐:
truffle compile truffle migrate --network development
-
Run the Streamlit app:
streamlit run app.py
-
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.
-
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.
- Comprehensive Disaster Preparedness: Integrates advanced machine learning and time-series models for accurate natural calamity predictions.
- Localized Forecasting: Provides detailed district-level predictions for natural disasters in West Bengal, ensuring targeted insights.
- Blockchain-Based Relief Fund: Utilizes smart contracts on Ethereum for secure, transparent, and traceable donation processes.
- GeoTIFF Visualization: Generates dynamic precipitation timeline videos using GeoTIFF data, enhancing user understanding of weather trends.
- Data-Driven Decision Making: Leverages extensive historical weather data to enhance prediction accuracy and reliability.
- Scalable Framework: The system can be adapted to different regions beyond India, allowing for wider application in disaster management.
- Technological Reliability: Built using proven technologies such as Python, Ethereum, and TensorFlow, ensuring a solid foundation for the project.
- Community Engagement: Encourages active participation through a blockchain-based donation system, fostering trust and local involvement.
- Interdisciplinary Integration: Combines machine learning, geospatial analysis, and blockchain technology for a comprehensive disaster management solution.
- Real-Time Disaster Insights: Offers real-time analytics on disaster probabilities and blockchain transactions, enhancing situational awareness.
- GeoTIFF Data Utilization: Innovatively employs GeoTIFF data to create detailed precipitation timeline visualizations for informed decision-making.
- Localized Impact Focus: Prioritizes district-specific data, highlighting the importance of localized forecasting in effective disaster preparedness.
- Community Empowerment: Equips communities with tools and information necessary for proactive disaster preparedness and response.
- Holistic Disaster Ecosystem: Encompasses the entire disaster management process, from prediction to relief fund allocation, fostering resilience.
- Open-Source Development: Promotes collaborative contributions from developers and researchers to innovate and improve disaster management solutions.
- Awareness and Education: Aims to raise public awareness about disaster preparedness and community involvement through a user-friendly platform.
- 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 ๐
- Ananyo Dasgupta ๐
- Soumyadip Roy ๐
- Anidipta Pal ๐
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! ๐