/xdetect

Detect pedestrian crossings (or other persistent structures) in the SWISSIMAGE 10 cm dataset.

Primary LanguagePythonMIT LicenseMIT

xdetect

Detect pedestrian crossings (or other persistent structures) in the SWISSIMAGE 10 cm dataset.

Summary

As part of the Geo.Hackmin Week this project's aim is to build a proof of concept for detecting persistent structures in the SWISSIMAGE 10cm dataset.

The orthophoto mosaic SWISSIMAGE 10 cm is a composition of new digital color aerial photographs over the whole of Switzerland with a ground resolution of 10 cm in the plain areas and main alpine valleys and 25 cm over the Alps. It is updated in a cycle of 3 years. (source)

More specifically, we plan to build a classifier which receives image patches of a fixed size and returns a probability that the desired structure is contained in this patch. To train the classifier, we require training data consisting of image patches and their binary label ("does contain the structure"/"does not contain the structure"). Although there are likely many ways of obtaining such data, here we generate it manually directly from the dataset. The classifier itself will most likely be a convolutional neural network.

Goal

Automatically detect all pedestrian crossings in aerial photographs of Bern.

How To

This repository contains all the scripts (and data!) necessary to reproduce the results of this project. Alternatively, you can apply the methods to whatever you'd like to detect in aerial photographs. See the How To for details.

Progress

  • create script for downloading assets, i.e., images, based on bounding box (done)
  • create script for manually extracting training data from assets (done)
  • [optional] explore smarter ways of obtaining training data
  • specify architecture, hyperparameters, and train classifier (done)
  • validate on held-out data (and repeat last step) (done)
  • export results in a format compatible with the map (done)
  • apply to all assets from Bern ("done")

Resources (data)

Resources (methods)