SaiThejeshwar / Zero-deforestation-mission

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Schneider Electric European Hackathon

Zero Deforestation Mission

Team name: ZeroOne

Members:

  • Sai Thejeshwar
  • Abhay Joshi
Table of Contents
  1. About The Project
  2. Getting Started
  3. Project Flow
  4. License
  5. Contact
  6. Acknowledgments

About The Project

This repository holds the code for the challenge "Zero Deforestation mission" category in the Schneider Electric European Hackathon, hosted by NUWE.

In the last 13 years, more than 43 million hectares of forest have been devastated in the world, an area the size of California, USA. It is important to stop deforestation, as soon as possible, before the damage is irreversible. There are many ways to fight deforestation.

The presented challenge consists of using the help of thousands of satellites in space to capture images of the earth's surface in order to detect, as soon as possible, areas in the midst of deforestation and prevent its expansion.

Built With

The dataset attributes that was used to build the project consisted of the following information in a .csv file:

  • latitude: where the photo latitude was taken.

  • longitude: where the photo longitude was taken.

  • year: year, in which the photo was taken.

  • example_path: path where the sample image is located.

  • label: in this column you will have the following categories:

    • 'Plantation': encoded with number 0, network of rectangular plantation blocks, connected by a well-defined road grid. In hilly areas the layout of the plantation may follow topographic features. In this group you can find: Oil Palm Plantation, Timber Plantation and Other large-scale plantations.
    • 'Grassland/Shrubland': encoded with number 1, large homogeneous areas with few or sparse shrubs or trees, and which are generally persistent. Distinguished by the absence of signs of agriculture, such as clearly defined field boundaries.
    • 'Smallholder Agriculture': encoded with number 2, small scale area, in which you can find deforestation covered by agriculture, mixed plantation or oil palm plantation.

Imagery was processed and downloaded using the Descartes Labs Platform.

Getting Started

The challenge consists in creating an image classification model, which from a given dataset, predicts what type of deforestation appears in the image with the objective of early detection of this type of actions in protected lands. To get a local copy up and running follow these simple steps:

Prerequisites

Please install the requisite packages using the following instructions:

  • sklearn, kears, numpy, pandas. The requirements.txt has can be directly installed using the below command
    pip install -r requirements.txt

Installation

Please clone the git repository using the following commands

  1. Clone the repo
    https://github.com/SaiThejeshwar/Zero-deforestation-mission.git
  2. Execute The Jupyter Notebook main.ipynb.

Project Flow

  • Explore The Provided Dataset Attributes
  • Create An Image Classification Prediction Model
  • Train The Model With The Training Images
  • Find The Model That Maximizes The F1-Score (macro.) - also evaluate ensemble learning
  • Test The Model To Classify The Testing Images
  • Evaluate The F1-Score Of The Model With The Test Images

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Sai Thejeshwar - saithejeshwar.sharma@tum.de Abhay Joshi - abhay.joshi.in@ieee.org

Acknowledgments

We would like to thank the NUWE team for organizing the event and providing a learning opportunity!

About


Languages

Language:Jupyter Notebook 100.0%