Skip to main content

Enabling Geospatial Predictions from Individual Drone Images

Project description

Geograypher: Enabling Geospatial Predictions from Individual Drone Images

DOI

This tool is designed for multiview image datasets where multiple photos are taken of the same scene. The goal is to address two related tasks: generating a prediction about one point in the real world using observations of that point from multiple viewpoints and locating where a point in the real world is observed in each image. The intended application is drone surveys for ecology but the tool is designed to be generalizable.

In drone surveys, multiple overlapping images are taken of a region. A common technique to align these images is using photogrammetry software such as the commercially-available Agisoft Metashape or open-source COLMAP. This project only supports Metashape at the moment, but we plan to expand to other software. We use two outputs from photogrammetry, the location and calibration parameters of the cameras and a 3D "mesh" model of the environment. Using techniques from graphics, we can find the correspondences between locations on the mesh and on the image.

One task that this can support is multiview classification. For example, if you have a computer vision model that generates land cover classifications (for example trees, shrubs, grasses, and bare earth) for each pixel in an image, these predictions can be transferred to the mesh. Then, the predictions for each viewpoint can be aggregated using a voting or averaging scheme to come up with a final land cover prediction for that location. The other task is effectively the reverse. If you have the data from the field, for example marking one geospatial region as shrubs and another as grasses, you can determine which portions of each image corresponds to these classes. This information can be used to train a computer vision model, that could be used in the first step.

Basic Installation

Internal Collaborators please navigate here

Create and activate a conda environment:

conda create -n geograypher -c conda-forge python=3.9 -y
conda activate geograypher

Install Geograypher:

pip install geograypher

Note the instructions above are suitable if you only need to use the exisiting functionality of Geograypher and not make changes to the toolkit code or dependencies. If you want to do development work please navigate here for more instructions.

Getting started

There are two main places to look when getting started, the example notebooks and the command line scripts in geograypher/entrypoints. You can start by using the example data and download it to the data folder of this project. The notebooks have paths that point to this example data by default, so once the data is downloaded they can be run without any modifications. The command line tools each provide a help (--help/-h) option that describes the purpose of the tool and the command line options.

Documentation

Documentation of this tool, including how to set it up and examples of how to use it, can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geograypher-0.4.0.tar.gz (121.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geograypher-0.4.0-py3-none-any.whl (144.0 kB view details)

Uploaded Python 3

File details

Details for the file geograypher-0.4.0.tar.gz.

File metadata

  • Download URL: geograypher-0.4.0.tar.gz
  • Upload date:
  • Size: 121.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.9 Linux/6.14.0-37-generic

File hashes

Hashes for geograypher-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0597a6f737a3b0178cd01cf5c81776f00ee3ba5ae609d64909aba323671fa5e2
MD5 fb625303a0fb981bd5f535ed96994616
BLAKE2b-256 59db0914a84fff1bbb24a487a69f5183bce791eb1761b2f86160b5d8c3f828ef

See more details on using hashes here.

File details

Details for the file geograypher-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: geograypher-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 144.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.9 Linux/6.14.0-37-generic

File hashes

Hashes for geograypher-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 917a28b581a485eca696205610df7f19c42ea0854336d9873eb6a651ec80a451
MD5 345f17717cf11773fa6d57e7b37a8ee4
BLAKE2b-256 20d8ddd96d650e988b97b37f78aaf66cca4b113c23d98ea946c43257e5f8dc28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page