Skip to content

bhavesh907/Crop-Classification

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 30, 2020 21:32
March 30, 2020 21:34
March 30, 2020 21:32
June 4, 2020 14:49
April 3, 2020 14:43
January 18, 2021 22:33

Crop Classification with Multi-Temporal Satellite Imagery

This repo provides codes for crop classification using multi temporal satellite images. Crop classification is important for understanding the supplies of a crop. The satellite images can be helpful in monitoring crop growth and health in near real-time. Today, high-resolution satellite images are available at a daily frequency. With high-frequency data and multiple bands, it's possible to classify crops using deep learning.

There are many classical machine learning crop classification approaches available which use mono-temporal images and use the spectral and textural properties of a crop which results in relatively low accuracy but we’ll use the method suggested by Rose M. Rustowicz author of the paper

alt text

Installation

conda create --name geo_py37 python=3.7
conda install gdal rasterio
conda install numpy pandas geopandas scikit-learn jupyterlab matplotlib seaborn xarray rasterstats tqdm pytest sqlalchemy scikit-image scipy pysal beautifulsoup4 boto3 cython statsmodels future graphviz pylint line_profiler nodejs sphinx

Dataset

You can download the dataset used in this repo from Gdrive

The dataset consists of 10 RapidEye satellite images provided by the planet.com and 1 USDA Cropland data layer which provides the pixel level crop labels.

Usage

  1. Run the data-preprocessing.ipynb to prepare the dataset for our models.
  2. To classify the crops based on NDVI index, run NDVI_based.ipynb
  3. Train the DL model using the script Crop_classification_DL_model.ipynb

About

crop classification using deep learning on satellite images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published