GithubHelp home page GithubHelp logo

ojaybee / truck_detection_sentinel2_covid19 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hfisser/truck_detection_sentinel2_covid19

0.0 0.0 0.0 2.51 MB

This repository is designated to detecting trucks using Sentinel-2 data.

Jupyter Notebook 99.84% JavaScript 0.16%

truck_detection_sentinel2_covid19's Introduction

Truck Detection with Sentinel-2 during COVID19 crisis

This repository is designated to detecting trucks using Sentinel-2 data.

It was developed during the COVID-19 crisis in order to monitor the impact of the crisis.

The detection exploits the offset of different wavelengths reflected by moving objects. It targets pixels where blue is higher than green and red. In the initial step, a road mask is calculated and the data is masked to these pixels. The road mask is based on NDVI, NDWI, NDSI, B11-B03-ratio and absolute thresholds of B02, B03, B04 and B11. All the following conditions must be fulfilled:

  • B02 > 0.04
  • B03 > 0.04
  • B04 > 0.04
  • B04 < 0.15
  • B03 < 0.15
  • B02 < 0.4
  • NDVI < 0.7
  • NDWI < 0.001
  • NDSI < 0.0001
  • B11 > 0.05
  • B11 < 0.55

Afterwards, the ratios between B02 (blue) and B03 (green) and B02 and B04 (red) are calculated. The following thresholds are applied to these ratios:

  • B2-B03-ratio > 0.05
  • B02-B04-ratio > 0.1

Method

Each truck is represented by one to three pixels with value 1 in the result. In order to visualize the results they may be vectorized, which this script does not do.

This is an example of detected trucks around Rotterdam, Netherlands. The results were vectorized.

Trucks detected around Rotterdam

truck_detection_sentinel2_covid19's People

Contributors

hfisser avatar

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.