No project description provided
Project description
This repository addresses the algorithmic challenges of the IARPA SMART (Space-based Machine Automated Recognition Technique) program. The goal of this software is analyze space-based imagery to perform broad-area search for natural and anthropogenic events and characterize their extent and progression in time and space.
The following table provides links to relevant resources for the SMART WATCH project:
The Public GEOWATCH Python Module |
|
The Internal SMART GEOWATCH Python Module |
|
The Phase 2 Internal SMART GEOWATCH DVC Data Repo |
|
The Phase 2 Internal SMART GEOWATCH DVC Experiment Repo |
Purpose & Features
Geowatch can be used to train, predict, and evaluate segmentation models on multi-sensor image or video data. Polygons can be extracted or “tracked” across frames in a video to produce vectorized predictions.
Images can be in different resolutions, may be paired with geospatial metadata (but this is not required), and have any number of sensed or derived raster bands. Each raster band for an image need not be at the same resolution. The only requirement is that there is an affine transform that relates each underlying “asset space” into “image space”, which in turn must be similarly related to each “video space”. These transforms and all other details of the dataset are provided in a kwcoco file.
Dataloaders are setup to work with kwcoco files, and at train time details like mean/std computation, classes, frequency weights are handled automatically as opposed to common practice of hardcoding those values somewhere in a config file or in the code. In this way geowatch seeks to run on the input data the user provides, rather than make assumptions about it. The only restriction is that the data must be registered in a kwcoco file, which is easy to do, can co-exist with arbitrary other on-disk structures, and has many benefits. Images can be arbitrarily large or small, and can be used in-situ (i.e. the raw images need not be pre-processed in any way), although some formats (e.g. COGs) will be more efficient than others.
Slides:
Use Case: Heavy Construction
The motivating use-case for this software is detection of heavy construction events and the classification of their phases.
The first image illustrates the broad area search (BAS) component of the pipeline that uses low spatio-temporal resolution data to detect candidate “salient” regions for further processing.
The next main component of the system is activity characterization (AC) where higher resolution data is used to refine predicted information. In this case we classify each polygon as a different phase of construction. In the above example there are 3 detected candidates. We now zoom in on the one in the middle.
This shows the system detecting the construction of the KHQ building and classifying its phases. This demo was run on public data, and can be reproduced with Tutorial 6. The system was not trained on this region.
Getting Started
To quickly get started locally, assuming you have Python installed, you can install geowatch with pip.
pip install geowatch[headless]
# OR for a more fully featured install use:
pip install geowatch[headless,optional,development,tests]
This gives you access to the GEOWATCH CLI.
geowatch --help
One library that we cannot get via the standard pip mechanism is GDAL. We have to install this manually from the Kitware hosted GDAL large image wheels.
pip install --prefer-binary GDAL>=3.4.1 --find-links https://girder.github.io/large_image_wheels
# NEW in 0.8.0. Instead of using the above command you can run:
geowatch finish_install
If you use the fully featured install command (which you can run after the fact), you can test that your install is functioning correctly by running the doctests:
xdoctest watch
For more details see the installing GEOWATCH for development guide.
We also have limited windows support, see installing GEOWATCH on Windows.
Tutorials
We have a set of tutorials related to training models and predicting with the system.
Tutorial 1: Toy RGB Fusion Model Example
Tutorial 2: Toy MSI Fusion Model Example
Tutorial 3: Feature Fusion Tutorial
Tutorial 4: Misc Training Tutorial
Tutorial 5: KR2 BAS SMART Demo
Tutorial 6: KHQ SMART Demo
Documentation
For quick reference, a list of current documentation files is:
Contribution:
Installing:
Fusion Related Docs:
Older Design Docs:
Development
For new collaborators, please refer to the onboarding docs
For internal collaborators, please refer to the internal docs
For more details about the GEOWATCH CLI and other CLI tools included in this package see: the GEOWATCH CLI docs
Acknowledgement
This research is based upon work supported in part by the Office of the Director of National Intelligence (ODNI), 6 Intelligence Advanced Research Projects Activity (IARPA), via 2021-2011000005. The views and conclusions contained herein are those of the authors and should not be interpreted as necessarily representing the official policies, either expressed or implied, of ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for governmental purposes notwithstanding any copyright annotation therein
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 geowatch-0.12.1.tar.gz
.
File metadata
- Download URL: geowatch-0.12.1.tar.gz
- Upload date:
- Size: 6.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d14645480f3f2708d76719f57a451bd99579648cd234073010ec0a9c246572 |
|
MD5 | 3e320ba077409574575c9e395e5459fd |
|
BLAKE2b-256 | de9eda84e0da88cd7275f43a3ca4da32523c3724e6433110caf9eb16af98147a |
File details
Details for the file geowatch-0.12.1-py3-none-any.whl
.
File metadata
- Download URL: geowatch-0.12.1-py3-none-any.whl
- Upload date:
- Size: 6.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab09b4276e680bdb122424466c24c47838c7c5ce926239924a22dfc3b3f6c4ad |
|
MD5 | a1e9d7ffbe4fb80e13ced90de45879be |
|
BLAKE2b-256 | ea82038c0dc7788dc70dc0f7e7d7a8c1da2d24ffa37cc3675e1a59887899e4b8 |