๐ง๐ฝโ๐ Post-Disaster Land Cover Classification.
Project description
๐ง๐ฝโ๐ palisades
๐ง๐ฝโ๐ Post-disaster land Cover classification using Semantic Segmentation on Maxar Open Data acquisitions.
pip install palisades
graph LR
palisades_ingest_query_ingest["palisades<br>ingest -<br><query-object-name><br>scope=<scope>"]
palisades_ingest_target_ingest["palisades<br>ingest -<br>target=<target><br>scope=<scope>"]
palisades_label["palisades<br>label<br>offset=<offset> -<br><query-object-name>"]
palisades_train["palisades<br>train -<br><query-object-name><br>count=<count><br><dataset-object-name><br>epochs=<5><br><model-object-name>"]
palisades_predict["palisades<br>predict ingest -<br><model-object-name><br><datacube-id><br><prediction-object-name><br>country_code=<iso-code>,source=microsoft|osm|google<br>buffer=<buffer>"]
palisades_buildings_download_footprints["palisades<br>buildings<br>download_footprints<br>filename=<filename><br><input-object-name><br>country_code=<iso-code>,source=microsoft|osm|google<br><output-object-name>"]
palisades_buildings_analyze["palisades<br>buildings<br>analyze<br>buffer=<buffer><br><object-name>"]
target["๐ฏ target"]:::folder
query_object["๐ query object"]:::folder
datacube_1["๐ง datacube 1"]:::folder
datacube_2["๐ง datacube 2"]:::folder
datacube_3["๐ง datacube 3"]:::folder
dataset_object["๐๏ธ dataset object"]:::folder
model_object["๐๏ธ model object"]:::folder
prediction_object["๐ prediction object"]:::folder
query_object --> datacube_1
query_object --> datacube_2
query_object --> datacube_3
query_object --> palisades_ingest_query_ingest
palisades_ingest_query_ingest --> datacube_1
palisades_ingest_query_ingest --> datacube_2
palisades_ingest_query_ingest --> datacube_3
target --> palisades_ingest_target_ingest
palisades_ingest_target_ingest --> query_object
palisades_ingest_target_ingest --> datacube_1
palisades_ingest_target_ingest --> datacube_2
palisades_ingest_target_ingest --> datacube_3
query_object --> palisades_label
palisades_label --> datacube_1
query_object --> palisades_train
palisades_train --> dataset_object
palisades_train --> model_object
model_object --> palisades_predict
datacube_1 --> palisades_predict
palisades_predict --> prediction_object
prediction_object --> palisades_buildings_download_footprints
palisades_buildings_download_footprints --> prediction_object
prediction_object --> palisades_buildings_analyze
palisades_buildings_analyze --> prediction_object
classDef folder fill:#999,stroke:#333,stroke-width:2px;
palisades help
palisades \
ingest \
[~download,dryrun] \
[target=<target> | <query-object-name>] \
[~ingest_datacubes | ~copy_template,dryrun,overwrite,scope=<scope>,upload]
. ingest <target>.
target: Brown-Mountain-Truck-Trail | Brown-Mountain-Truck-Trail-all | Brown-Mountain-Truck-Trail-test | Palisades-Maxar | Palisades-Maxar-test
scope: all + metadata + raster + rgb + rgbx + <.jp2> + <.tif> + <.tiff>
all: ALL files.
metadata (default): any < 1 MB.
raster: all raster.
rgb: rgb.
rgbx: rgb and what is needed to build rgb.
<suffix>: any *<suffix>.
palisades \
label \
[download,offset=<offset>] \
[~download,dryrun,~QGIS,~rasterize,~sync,upload] \
[.|<query-object-name>]
. label <query-object-name>.
palisades \
train \
[dryrun,~download,review] \
[.|<query-object-name>] \
[count=<10000>,dryrun,upload] \
[-|<dataset-object-name>] \
[device=<device>,dryrun,profile=<profile>,upload,epochs=<5>] \
[-|<model-object-name>]
. train palisades.
device: cpu | cuda
profile: FULL | DECENT | QUICK | DEBUG | VALIDATION
palisades \
predict \
[ingest,~tag] \
[device=<device>,~download,dryrun,profile=<profile>,upload] \
[-|<model-object-name>] \
[.|<datacube-id>] \
[-|<prediction-object-name>] \
[~download_footprints | country_code=<iso-code>,country_name=<country-name>,overwrite,source=<source>] \
[~analyze | buffer=<buffer>]
. <datacube-id> -<model-object-name>-> <prediction-object-name>
device: cpu | cuda
profile: FULL | DECENT | QUICK | DEBUG | VALIDATION
country-name: for Microsoft, optional, overrides <iso-code>.
iso-code: Country Alpha2 ISO code: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes
Canada: CA
US: US
source: microsoft | osm | google
calls: https://github.com/microsoft/building-damage-assessment/blob/main/download_building_footprints.py
buffer: in meters.
๐STAC Catalog: Maxar Open Data |
๐๏ธVision Algo: Semantic Segmentation |
๐ง๐ฝโ๐Analytics: Building Damage |
This workflow is inspired by microsoft/building-damage-assessment and palisades buildings download_footprints calls download_building_footprints.py from the same repo - through satellite-image-deep-learning.
built by ๐ blue_options-4.197.1, based on ๐ง๐ฝโ๐ palisades-4.80.1.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file palisades-4.80.1.tar.gz.
File metadata
- Download URL: palisades-4.80.1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1753144463a2780234839f4f3bb314b203cf37676700c45ceda5bc5f94fba2bc
|
|
| MD5 |
93dc07e2b7c1bec302f7a95112075aa3
|
|
| BLAKE2b-256 |
fa1071c2ac921c1aa70a0995c77dc14debadd1488487a35f21d8bf3df6166c67
|
File details
Details for the file palisades-4.80.1-py3-none-any.whl.
File metadata
- Download URL: palisades-4.80.1-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2477f73270283bc94e5efde191682f7ba74915a8e3abd597b004a8b23d8a5cf
|
|
| MD5 |
9c45c0c900387e73d9755153da45e2b6
|
|
| BLAKE2b-256 |
b2af3ad0914dc01750de16c5b21a34598a317dfa3f1f309d1caa16d54073533b
|