Skip to content

andyjianzhou/FireSafe

Repository files navigation

FireSafe

Always be safe, wherever you are.

Image

GitHub code size in bytes GitHub last commit GitHub stars My stars GitHub forks Code size Languages Top Issues Watchers

FireSafe is an application designed to keep individuals in high risk areas updated on fires. It also ensures that no individual gets left behind in the event of a forest fire eruption. FireSafe uses complex machine learning to locate secluded locations and homes, allowing responders to go down a checklist of locations and ensure individuals are all aware of fire threat and prepared to evacuate.

Features and Interfaces:

  1. Landing Page

    • The landing page is the first page that the user sees when they open the application. It contains a brief description of the application and a button to get started.

    Image

  2. Login Page

    • The login page is where the user can login to their account. If they do not have an account, they can click the link to create an account.
  3. Main Firesafe page:

    • The main FireSafe page has a user input textbox, a checkbox on the side, and a interactive dashboard page

    • Purposely designed for a more minimalistic, modern approach

    • Planning to add React to the project to make designs more versatile and advanced

    • image

    • Then the user can input the address of the location they want to check for secluded areas near a wild fire. To make the program as dynamic as possible, we actually reetrieve the real location that most response teams want, latitude and longitude

    • image

  4. Machine Learning Model

    • Then user/government can drag and drop LARGE quantities of images, from files, or folders of images to detect for secluded areas, and for missing areas. The program will then return the images that have secluded areas, and the images that have missing areas.
    • Using an Efficientnet B0, and Efficientnet B4, two popular CNN neural network modeles to use. We can detect for secluded areas, and missing areas. The program will then return the images that have secluded areas, and the images that have missing areas.
    • Integrating MLOps was no easy task. Had to plan out for
      1. Obtaining the data
      2. Cleaning the data
      3. Training the model
      4. Inferencing theh model
      5. Deploying the model
      6. Monitoring the model
      7. Making sure model is of size and is preprocessed correctly
    • image
  5. Evacuation Checklist

    • The evacuation checklist is a step-by-step guide for users to follow in case of a fire. It includes things like turning off gas and electricity, gathering important documents, and more. Users can also mark items as complete and receive reminders.
    • Then on the dashboard, it will create checkboxes for responders to check off, and then the program will automatically generate a checklist for responders to follow. It will send a notification to all users with the wepapp.
  6. Incoming Fire Detection plans

    • FireSafe uses a complex machine learning model to predict the path of a fire based on location and how it was started. This allows users to see on a map if they are within the fire risk zone. This is in training and will be implemented in the future using Xgboosting.
    • image
  1. Notifications
  • Users can sign up for notifications and receive alerts when there is a fire threat in their area. They can also choose to receive notifications via email or text message.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Python 3.6 or higher
  • Pytorch
  • Efficientnet-b0 & Efficientnet-b4
  • Efficientnet-b0 model weights
  • Nvidia Tesla P100
  • Streamlit
  • Typescript, React, and SQL
  • OpenCV
  • PILLOW

Installing

Useful Links

About

FireSafe is an application designed to keep individuals in high risk areas updated on fires. It also ensures that no individual gets left behind in the event of a forest fire eruption. FireSafe uses complex machine learning to locate secluded locations and homes, allowing responders to go down a checklist of locations and ensure individuals safe.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors