001 : California-satellite-imaging-wildfire-detection

This project builds an integrated ML system for wildfire detection, analysis, and forecasting using satellite imagery. It includes a CNN for fire classification, a U-Net for segmentation, and a Prophet model for time-series forecasting.

About Project

An end-to-end machine learning pipeline for detecting wildfires in satellite imagery, mapping fire boundaries, and predicting future fire risks. Built to support emergency response teams with real-time insights.

System Layout

This project adopts a three-tiered architecture to address California’s wildfire challenges systematically:

  • Data Preprocessing, where FIRMS satellite imagery is standardized (512×512 for segmentation, 224×224 for classification) and CAL FIRE historical data is temporally aligned and zero-padded;
  • Model Development, integrating a MobileNetV2-based classifier (for fire/no-fire detection), a U-Net segmentation model (for pixel-level fire mapping), and a Prophet time-series forecaster (for fire count/acre prediction);
  • Validation, where models are evaluated using spatially stratified splits (train: 1950–2015, test: 2016–2023) and real-world metrics (IoU, MAE, F1-score). The workflow emphasizes modularity, with preprocessing pipelines (multi-color space thresholding, morphological refinement) feeding into interconnected AI components, enabling end-to-end fire detection, boundary mapping, and risk forecasting tailored to California’s diverse ecosystems.
  • About Data

    Image Data

    The Fire Information for Resource Management System (FIRMS) is a web-based mapping platform provided by NASA's Earth Science Data Systems (ESDS) Program. FIRMS offers near real-time active fire detection using satellite observations from the Moderate Resolution Imaging Spectroradiometer (MODIS) and the Visible Infrared Imaging Radiometer Suite (VIIRS). These sensors, onboard NASA's Terra, Aqua, and Suomi NPP satellites, detect thermal anomalies associated with active wildfires. FIRMS delivers global fire location updates approximately every three hours, aiding wildfire detection, response efforts, and resource management. The system is widely used by researchers, emergency responders, and environmental agencies to assess wildfire activity, track fire progression, and mitigate disaster impacts.

    For this project, FIRMS data was specifically focused on the California region, with satellite imagery collected daily from January 1, 2024, to February 15, 2025. Each day's satellite image was saved as a PNG file, with images categorized into two distinct classes:

  • "Fire": Maps showing active fire hotspots detected by FIRMS.
  • "No Fire": Maps from days where no active fire was recorded.
  • The collected images were stored locally and used to train two key models:

  • Classification Model: This model predicts whether a given satellite image contains active wildfire hotspots or not.
  • Segmentation Model: This model performs pixel-wise fire detection, segmenting regions in satellite images that correspond to wildfire occurrences.
  • By leveraging FIRMS data and deep learning techniques, this study aims to enhance wildfire detection accuracy, providing a scalable solution for monitoring fire-prone areas in near real-time.

    Time-Series Data

    The California Department of Forestry and Fire Protection (Cal Fire) is the primary fire protection agency under the California Natural Resources Agency. It is responsible for safeguarding 31 million acres of state-designated wildfire-prone land, as well as managing both public and private forests.

    The dataset used contained over 22000 data points ranging from 1980s to 2023 for training and testing.

    Click here to check the full project on GitHub.