Git Product home page Git Product logo

burned-area-detection's Introduction

This digital tool is part of the catalog of tools of the Inter-American Development Bank. You can learn more about the IDB initiative at code.iadb.org

burned-area-detection

License


Detection of burned areas using deep learning from satellite images.

DescriptionNotebooksAbout Dymaxion LabsContributingLicense

Description

The burned-area-detection project aims to identify and analyze the affected areas after a fire incident. It allows us to understand incident behavior to take action shortly.

The number of uncontrolled fires has increased significantly in the last few years. This kind of environmental catastrophe affects habitat and community on several levels. The impact on our environment can be evidenced in a short time by measuring the wellness and the evacuation process of the different communities living in affected areas. But we are also able to notice its effects in the long term due to the impact on nature and local economies. Some of the project's principal goals are measuring these affected areas.

This project uses Sentinel-2 public satellite images. Sentinel-2 has high cadence at no cost, allowing the study of the affected area's evolution across time. These images can be download from Google Earth Engine. There are several reflectance bands available to use, besides a combination of them can be more sensitive to detect burn areas.

Normalized Burn Ratio (NBR)

The Normalized Burn Ratio (NBR) is an index that highlights burnt areas in large fire zones. The formula combines the near-infrared (NIR) and shortwave infrared (SWIR) wavelengths.

Healthy vegetation shows a very high reflectance in the NIR, and low reflectance in the SWIR portion of the spectrum, (see figure below). The contrary happens for areas destroyed by fire; recently burnt areas show a low reflectance in the NIR and high reflectance in the SWIR. Therefore, the normalized difference between the NIR and the SWIR is a good discriminant for this kind of phenomenon.

Burn Severity

The difference between the pre-fire and post-fire NBR obtained from the images is used to calculate the delta NBR. A higher value of dNBR indicates more severe damage, while areas with negative dNBR values may indicate regrowth following a fire.

Uses satproc and unetseg Python packages.

📓 Notebooks

This repository contains a set of Jupyter Notebooks describing the steps for building a semantic segmentation model based on the U-Net architecture for detecting burned areas from fires from optical satellite imagery.

  1. Pre-process: Image and ground truth data preprocessing and dataset generation
  2. Training: Model training and evaluation
  3. Prediction: Prediction
  4. Post-process: Post-processing of prediction results

About Dymaxion Labs

Dymaxion Labs leverages AI and Computer Vision to analyze petabytes of geospatial data to understand the physical world. These include optical, SAR and aerial imagery, climate data, and IoT sensors. With our grounded, data science based methodology, private companies and the public sector accelerate strategic data-driven decisions from their remote targets.

👨‍💻 Authors

🤝 Contributing

Bug reports and pull requests are welcome on GitHub at the issues page. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

📄 License

This project is licensed under Apache 2.0. Refer to LICENSE.txt.

burned-area-detection's People

Contributors

andreaguzes avatar fedebayle avatar munshkr avatar ro-devesa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

burned-area-detection's Issues

issue-evaluacion-tecnica.

Este issue forma parte del proceso de revisión del Laboratoria Code Squads Junio 2021 de la iniciativa Código para el desarrollo del @EL-BID.

Issue de revisión de evaluación técnica:

Al haber contrastado la información presentadas en el repo oficial con los campos solicitados en la plantilla de README.md hemos encontrado los siguiente puntos a mejorar:

  • Agregar el microservicio de reportes de evaluación estática de código de Sonarcloud, teniendo en cuenta que las condiciones ideales de los reportes son:

    1 Ausencia de fallos estructurales
    2 Menos del 25% de líneas duplicadas
    3 Menos de 10 problemas críticos
    4 Más del 50% de clases, interfaces y métodos documentados
    5 Deuda técnica menor a 30 días
    6 Cobertura de test más del 25%
    
    Esto se valida automáticamente cuando corre el reporte del último commit del repositorio.
    
  • Agregar el badge en markdown de este servicio visible en el readme.md.

  • Agregar un microservicio de integración continua de código, recomendamos Travis CI (opcional).

  • Agregar el badge del microservicio de integración continua de código visible en el readme.md. El build debe estar en estado passing.(opcional).

  • Actualizar versión de todas las dependencias.

Revisión de readme.md

Este issue forma parte del proceso de revisión del Laboratoria Code Squads Junio 2021 de la iniciativa Código para el Desarrollo de @EL-BID

Issue de revisión de documentación - readme.md:

Al haber contrastado la información presentadas en el repo oficial con los campos solicitados en la plantilla de readme.md hemos encontrado los siguiente puntos a mejorar:

  • Agregar el logo para identificar el proyecto.
  • Agregar una imagen o gif del proyecto para identificar su funcionalidad principal.
  • Incluir badges con el estado de desarrollo, licencia, versión, coverage, sociales u otras. Esta herramienta puede ser de utilidad: https://shields.io/ (tutorial recomendado: https://www.youtube.com/watch?v=SIh5MQoQLPs)
  • Proporcionar una tabla de contenidos con links para cada apartado para que funcione como índice.
  • Especificar los pre-requisitos necesarios para ejecutar el proyecto (environment, librerías, dependencias, entre otros), y proporcionar comandos de instalación de los mismos.
  • Precisar si se requieren variables de entorno y en qué parte de la arquitectura se colocan.
  • Añadir una serie de pasos que permitan la instalación y uso del proyecto de forma local.
  • Añadir comando de ejecución para pruebas unitarias.
  • Hacer mención de las tecnologías utilizadas y añadir enlaces haciendo referencia a la documentación de cada una.
  • Si es preciso, añadir fragmentos de código con ejemplos de uso.
  • Añadir sección autor@s.
  • Añadir un apartado con el proceso detallado para contribuir al proyecto.
  • Añadir un apartado especificando la licencia open source que se esté usando redirigiendo al archivo LICENSE.md.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.