Skip to main content

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.

Metadata

Release files for geograypher 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for geograypher 0.5.0
File Size Uploaded Provenance Actions
geograypher-0.5.0.tar.gz 137.4 kB Without provenance Details for geograypher-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for geograypher 0.5.0
File Interpreter ABI Platform Actions
geograypher-0.5.0-py3-none-any.whl Python 3 none any Details for geograypher-0.5.0-py3-none-any.whl

Total release size: 297.6 kB

Release files / geograypher-0.5.0.tar.gz

Download URL geograypher-0.5.0.tar.gz
Size 137.4 kB
Tags Source
SHA-256 checksum
How to use checksums
01f8ce91f9adf031fd472d3d4b8b6f1f6eb45a1e03f46e80c242bba655f353b8
BLAKE2b-256 checksum
How to use checksums
2810aa69b12a8a06b7377d11b417f2ad32b9d25d9e159bb554de8856ea977f95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.12.3 Linux/7.0.0-34-generic

Release files / geograypher-0.5.0-py3-none-any.whl

Download URL geograypher-0.5.0-py3-none-any.whl
Size 160.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2745124407853c5507762ab5b359a5f2c895ace4eb42c54ab4620fc68f2f3989
BLAKE2b-256 checksum
How to use checksums
0373ec00e4b3b3ce1463caf1e65b3867c08c4ccdb64c6b4452602ba22d39566c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.3.3 CPython/3.12.3 Linux/7.0.0-34-generic

Security for geograypher 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page