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 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.3.0.tar.gz (87.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.3.0-py3-none-any.whl (104.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geograypher-0.3.0.tar.gz
  • Upload date:
  • Size: 87.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.12 Linux/6.8.0-59-generic

File hashes

Hashes for geograypher-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6ad57bfdfce419d38c55544685aeaff4b279347ff984fd4681f41d707ba67a4f
MD5 59e4677a274e252434bf87a08ef710ce
BLAKE2b-256 5ebc204ec82eaff0b64991ce7383aa0964abe7c9ffec820438152a0aaac8fe3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geograypher-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 104.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.12 Linux/6.8.0-59-generic

File hashes

Hashes for geograypher-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d471c53a04461b5a12e53feff7d73fda6c05bd5cb572aaa9eec708263b223f59
MD5 4d30132c6527e745d2c8d246b0773e8b
BLAKE2b-256 659059082c4b05cc7f4fb2f415f13c182996bb747b850ddbb52a6299f254aad0

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