Skip to main content

Meta AI' Segment Anything Model (SAM) for Geospatial Data

Project description

segment-geospatial

image image image image image

A Python package for segmenting geospatial data with the Segment Anything Model (SAM)

The segment-geospatial package draws its inspiration from segment-anything-eo repository authored by Aliaksandr Hancharenka. To facilitate the use of the Segment Anything Model (SAM) for geospatial data, I have developed the segment-anything-py and segment-geospatial Python packages, which are now available on PyPI and conda-forge. My primary objective is to simplify the process of leveraging SAM for geospatial data analysis by enabling users to achieve this with minimal coding effort. I have adapted the source code of segment-geospatial from the segment-anything-eo repository, and credit for its original version goes to Aliaksandr Hancharenka.

Features

  • Download map tiles from Tile Map Service (TMS) servers and create GeoTIFF files
  • Segment GeoTIFF files using the Segment Anything Model (SAM)
  • Save segmentation results as common vector formats (GeoPackage, Shapefile, GeoJSON, etc.)

Examples

Acknowledgements

This package was made possible by the following open source projects. Credit goes to the developers of these projects.

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

segment-geospatial-0.3.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

segment_geospatial-0.3.0-py2.py3-none-any.whl (13.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file segment-geospatial-0.3.0.tar.gz.

File metadata

  • Download URL: segment-geospatial-0.3.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for segment-geospatial-0.3.0.tar.gz
Algorithm Hash digest
SHA256 610aa6d2a5d0de0d47b54300e1b124f927fb9c6c5b0742ee7b88c2dc7ca154c7
MD5 63ffc89faf436256df5058acb192edcc
BLAKE2b-256 5254e49e01749b907b0fa59f955f5cba785beb7084e2bc485f856fd537644696

See more details on using hashes here.

File details

Details for the file segment_geospatial-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for segment_geospatial-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a3b247504d45955847f3b0447d25890c7a44cbd361d199e1a035851e778b3a5e
MD5 2e5ba1aecc6d56563e5fbed1dc0fdd70
BLAKE2b-256 893b8eb061f8f080b084325ed92c0fbd0db5c3352b0a7eeb167ef885a405169f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page