doguilmak / Wildfire-Prediction-from-Satellite-Imagery

Building models that can predict whether an area is at risk of a wildfire or not on satellite images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wildfire Prediction in Satellite Imagery


github.com/doguilmak/Wildfire-Prediction-from-Satellite-Imagery

Picture Source: Doğu İlmak GitHub


Predicting Wildfires with Convolutional Neural Networks (CNNs)

Wildfires pose a significant threat to ecosystems, wildlife, and human lives, making early detection and prediction crucial for effective wildfire management. Convolutional Neural Networks (CNNs) have emerged as a powerful tool for predicting wildfires due to their ability to extract complex patterns from spatial data, such as satellite images and weather data. CNNs can analyze various factors that contribute to wildfire risk, including vegetation density, temperature, humidity, and wind speed. By training CNNs on historical wildfire data and environmental factors, these models can learn to identify patterns indicative of potential wildfire outbreaks. One of the key advantages of using CNNs for wildfire prediction is their ability to process large-scale, high-resolution satellite imagery quickly. This allows for real-time monitoring of wildfire-prone areas, enabling early detection and timely deployment of firefighting resources.


Additionally, CNNs can improve the accuracy of wildfire prediction models by integrating data from multiple sources, such as satellite imagery, weather stations, and historical fire records. This holistic approach provides a comprehensive view of wildfire risk factors, leading to more reliable predictions.


Wildfire Prediction Dataset

This dataset consists of satellite images with a resolution of 350x350 pixels, categorized into two classes: Wildfire and No Wildfire. The dataset contains a total of 42,850 images, with 22,710 images belonging to the Wildfire class and 20,140 images belonging to the No Wildfire class. To facilitate model training and evaluation, the dataset has been divided into three subsets: training, testing, and validation. The distribution of images among these subsets is as follows:

  • Training Set: Approximately 70% of the dataset, used for training the model.
  • Testing Set: Approximately 15% of the dataset, used for evaluating the model's performance.
  • Validation Set: Approximately 15% of the dataset, used for fine-tuning hyperparameters and validating the model's performance.

Each image in the dataset represents a snapshot of the Earth's surface, captured by satellite imagery. These images contain valuable information about vegetation, land cover, and other environmental factors that can be used to predict the likelihood of wildfires.


Objectives

Using longitude and latitude coordinates for each wildfire spot (> 0.01 acres burned) found on the dataset above we extracted satellite images of those areas using MapBox API to create a more convenient format of the dataset for deep learning and building a model that can predict whether an area is at risk of a wildfire or not. Models created with this dataset predict where a fire could potentially occur. It was created on this basis by the Canadian state. This inference was made only through RGB bands. This should be taken into account.


To download the dataset from Kaggle, you need to have a kaggle account.

Keywords

  • Wildfire
  • Earth Science
  • Classification
  • Class Activation Maps
  • Deep Learning
  • Satellite Imagery
  • VGG-16

Sources


Notebooks

On below, there are informations about the notebooks created respectively.

  1. In this section, visualizations of the data set were made.
    Notebook: 1_load_and_display_data.ipynb

  2. In this section, I build classification model with VGG-16. (Will be added soon..)
    Notebook: 2_pretrained_vgg16.ipynb - Model has % accuracy.

  3. In this section, I build classification model with Class Activation Map (CAM).
    Notebook: 3_model_with_cam.ipynb - Model has 95.3% accuracy. The results of the model on the test data are in the custom_model_predictions.csv file. Just click the link to view.


Contact Me

If you have something to say to me please contact me:

  • Twitter: Doguilmak
  • Mail address: doguilmak@gmail.com

About

Building models that can predict whether an area is at risk of a wildfire or not on satellite images.

License:MIT License


Languages

Language:Jupyter Notebook 99.4%Language:PureBasic 0.5%Language:Python 0.1%