Skip to main content

๐Ÿง‘๐Ÿฝโ€๐Ÿš’ 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>&lt;query-object-name&gt;<br>scope=&lt;scope&gt;"]

    palisades_ingest_target_ingest["palisades<br>ingest -<br>target=&lt;target&gt;<br>scope=&lt;scope&gt;"]

    palisades_label["palisades<br>label<br>offset=&lt;offset&gt; -<br>&lt;query-object-name&gt;"]

    palisades_train["palisades<br>train -<br>&lt;query-object-name&gt;<br>count=&lt;count&gt;<br>&lt;dataset-object-name&gt;<br>epochs=&lt;5&gt;<br>&lt;model-object-name&gt;"]

    palisades_predict["palisades<br>predict ingest -<br>&lt;model-object-name&gt;<br>&lt;datacube-id&gt;<br>&lt;prediction-object-name&gt;<br>country_code=&lt;iso-code&gt;,source=microsoft|osm|google<br>buffer=&lt;buffer&gt;"]

    palisades_buildings_download_footprints["palisades<br>buildings<br>download_footprints<br>filename=&lt;filename&gt;<br>&lt;input-object-name&gt;<br>country_code=&lt;iso-code&gt;,source=microsoft|osm|google<br>&lt;output-object-name&gt;"]

    palisades_buildings_analyze["palisades<br>buildings<br>analyze<br>buffer=&lt;buffer&gt;<br>&lt;object-name&gt;"]

    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 image "Satellite imagery for select sudden onset major crisis events" ๐Ÿ›๏ธVision Algo: Semantic Segmentation image segmentation_models.pytorch ๐Ÿง‘๐Ÿฝโ€๐Ÿš’Analytics: Building Damage image Microsoft, OSM, and Google footprints through microsoft/building-damage-assessment

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.


pylint pytest bashtest PyPI version PyPI - Downloads

built by ๐ŸŒ€ blue_options-4.197.1, based on ๐Ÿง‘๐Ÿฝโ€๐Ÿš’ palisades-4.82.1.

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

palisades-4.82.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

palisades-4.82.1-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file palisades-4.82.1.tar.gz.

File metadata

  • Download URL: palisades-4.82.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

Hashes for palisades-4.82.1.tar.gz
Algorithm Hash digest
SHA256 3a994ef3b30dbb8211df3f958e72c50a202b4c57f6c3b5e5cb2fbe504a3ff06c
MD5 37bcfcba89a4cf0784459bccd9f7989e
BLAKE2b-256 3bfa1e41a6d084b4d71c8e0fbb47a5f1d1588ce24cc2c05557edf99e61009fb5

See more details on using hashes here.

File details

Details for the file palisades-4.82.1-py3-none-any.whl.

File metadata

  • Download URL: palisades-4.82.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

Hashes for palisades-4.82.1-py3-none-any.whl
Algorithm Hash digest
SHA256 36dab883cab9ed27f2cb478643aa911793f32ca3637e569c91cfa52e9679e5cd
MD5 2082aac4f1a819f45a45342e82f89192
BLAKE2b-256 8df61dc99c099606e89ab9437607e3732660e566802cad73388a4829bee61391

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