Enabling Geospatial Predictions from Individual Drone Images
Project description
Geograypher: Enabling Geospatial Predictions from Individual Drone Images
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geograypher-0.2.0.tar.gz
.
File metadata
- Download URL: geograypher-0.2.0.tar.gz
- Upload date:
- Size: 88.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23081b5eab8696604229d30eb6d5205fdfbad7e3d6e9c4f24aa9deda6f9ba210 |
|
MD5 | 0de1a755e4d0b2fc9dde68f7108dcb62 |
|
BLAKE2b-256 | 18f8e685b4f837a97b0537ccc6456f9e256acbd51996fc349e66106ea16f9fcb |
File details
Details for the file geograypher-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: geograypher-0.2.0-py3-none-any.whl
- Upload date:
- Size: 103.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.8.0-40-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87798b096ee63d16fa81f1d26698acb34a35080b9a64d3537d0dbae846d4e042 |
|
MD5 | 1dc80ceddee34c3e1f35234ca2cb84e5 |
|
BLAKE2b-256 | 78ec01d2fd730125a4025faaafd6a7adb779dbb114b64de2098b84d38317e210 |