Skip to content

Antonsen2/wildfire-ai

Repository files navigation

Wildfire AI

Introduction

The project aims to detect wildfires from users both in real-time and by uploading images to the website. The project uses one model for object detection and object localization and one model for image recognition. The models are trained on a dataset containing forest fires and non fire images. The goal of the project is to use drones and monitoring stations to identify areas affected by wildfires and alert relevant authorities.

Table of contents

Technical Details

The image recognition model is built using a Convolutional Neural Network (CNN), a deep learning model designed for processing pixel data in images. The CNN uses convolutional layers to extract and process information from the input data, reducing the need for manual feature engineering by automatically detecting features from the input. The CNN was selected for this project due to its ease of use and strong performance in initial testing.

The object detection model is a Faster R-CNN, which stands for Region-based Convolutional Neural Network. The model Faster R-CNN is capable of localizing fire and smoke in an image and generating bounding boxes around these features. This allows the system to quickly identify areas affected by wildfire, improving the speed and accuracy of response efforts. In the context of this project, the Faster R-CNN is used to identify fires and smoke in an image and to draw bounding boxes around these features, allowing the system to quickly identify areas affected by wildfire and to improve the speed and accuracy of response efforts.

Usage - Get started

  1. Fork the project
  2. To get full dataset please contact any contributor or try your own dataset.
  3. The classification model is in the repository, but for object detection, you will to upload by yourself as it is too big for github. You can also contact any contributor for object detection model or train yourself in the research branch.
  4. Add .env file which should contain
    TOKEN=yourownpreferences
    LOG_LEVEL=INFO
    
  5. Run docker containers in root directory.
    docker compose up --build
    
  6. Go to http://localhost:8000/classify to test the model

Note

If you would like to re train/ checkout how we train the models you can find them in research branch

Contribution

Markus
Andreas
Albin
Alicia
Mattias

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •