Skip to content

Github repo for submission of Frida application from TEAM AIR(Artificial Intelligence Realm) for Kathmandu University Hackfest

Notifications You must be signed in to change notification settings

PrabeshPP/FRIDA-TEAM_AIR-KU-hackfest

 
 

Repository files navigation

Frida

A one-stop solution to all your climate action needs which predicts landslides, and flood events, and provides news summary, fundraising, and upcoming events alerts on climate change.

Table of Content

General info

Every year, heavy rainfall continues to affect most districts of Nepal causing floods, triggering landslides leading to a huge number of deaths of innocents and heavy damage in the property. According to Nepal Disaster Risk Reduction Portal(NDRR), over 39 landslides and 16 floods were reported just in the first week of July 2021. According to the report, a total of 38 people died and 51 were injured within that time. More than 1250 people had been evacuated, 5100 displaced and a total of 790 houses were destroyed.

This is only the statistics for a week, and when we go throughout the whole monsoon season the damage is even harsher. Therefore, we created Frida, with the aim to tackle this problem and reduce the impact by half or even more. As monsoon rainfall mostly has a localized impact, search and rescue operations are often delayed because of harsh weather conditions, and considering the fact that rescuing after a disaster is not the best solution, we created Frida; a system that can predict flood and landslides events before they even happen. With advanced deep learning and data analytics tools at its heart, Frida uses past weather and calamities data to make predictions with 99.9% validation accuracy and 0.0012 validation loss.

The goal of Frida is not only to act as an alert system but be a one-stop solution for all climate action needs. Frida scrapes the web/google news to provide a summary of all international news from portals like The New York Times, The Washington Post, and much more related to climate change topics. On top of that, Frida also scrapes Nepali news portals like OnlineKhabar, and Setopati to bring the users local news on climate change. Frida also scrapes online events manager social media handle meetups to filter out any upcoming climate change-related events near the user and if the user is feeling generous, Frida would also scrape fundraising campaigns related to climate change. On top of that, Frida would be the last application the user would need to get weather updates with a personalized message surrounding the weather forecast sent daily to the user.

Technologies

With the implementation of principles of machine learning and deep learning, to predict the landslides and floods nearby, and statistical analysis of weather-map data, Frida is an application fully powered by Firebase at the backend, presented in dart flutter and served in “.apk” format. Though the code and structuring in the backend may look complex, the app is designed such that users won’t have trouble accessing the features. UI is as simple and intuitive as possible.

python flutter dart pandas figma fastapi uvicorn nltk newspaper3k numpy matplotlib bs4 sqlite3 scrapy firebase open weather app google colab

Glimpse

screeshot   screeshot   screeshot   screeshot   screeshot   screeshot  

Note: We Couldn't build as big app as we wanted due to limited space on free servers. Also, we were unable to deploy landslides detection model on app because pytorch required 700 MB space which was not available to us. Still the model, its data generation and data analysics can be viewed on the jupyter notebook on the landslides repo. time constraint was also a factor to built a dataset from ground up and train excellent model in it

How to Run

You can simply get started by cloning this repository, and installing the dependencies.

git clone https://github.com/ashimdahal/FRIDA-TEAM_AIR-KU-hackfest.git
pip install -r requirements.py

You have to take a key to run through the application, signup to OpenWeatherApp and get you access key.

To edit source code, go to the locations listed in Git Ignore and add the key that was made earlier.

Also, you can download Frida in your own mobilephone and experience it through Frida.apk

Or scan in your phone through the QR Code to get the download link:

qr code  

Note:Use demo account for Login email:[email protected] password:demodemo

Why Name Frida?

Frida is a 13 years Golden Labrador Retriever rescue dog in the Mexican Navy who spent her life helping rescue survivors worldwide in the wake of natural disasters. Frida has helped save the lives of many people during massive natural disasters, like the 2010 Haiti earthquake, and the 2012 Guatemala landslides. The pup became a household name in the aftermath of a deadly earthquake in Mexico in 2017 when was credited for finding over a dozen people alive over her storied career.

As the main goal of the application is to alert people about the natural disaster like landslides and floods nearby and potentially save their life, we as a team decided to name the application on the salutation of such a hero who had dedicated her whole life to saving humans who were impacted in massive disasters.

Features

Following are the features of Frida

  • Personalized messages dictated by weather forecast sent on a daily basis
  • Alerts the user about the Flood and Landslide disaster, using deep learning algorithms, that may take place nearby
  • Latest English and Nepali news on climate action and changes along with its summary
  • Notifies user about the events happening nearby and also allows to organize an event relating to climate action and environment
  • Informs on various fundraiser activitities related to climate action

Contributors


From Left: Ashim Dahal | Prabesh Bista | Anuj Khadka | Bishal Kharal | Hari Paudyal

Special Thanks to Organizers:

Repo Details

About

Github repo for submission of Frida application from TEAM AIR(Artificial Intelligence Realm) for Kathmandu University Hackfest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 95.3%
  • Dart 3.9%
  • Other 0.8%