Meta AI' Segment Anything Model (SAM) for Geospatial Data
Project description
segment-geospatial
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.
- Free software: MIT license
- Documentation: https://samgeo.gishub.org
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.)
- Visualize segmentation results on interactive maps
Examples
Demos
- Automatic mask generator
Acknowledgements
This package was made possible by the following open source projects. Credit goes to the developers of these projects.
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 segment-geospatial-0.4.0.tar.gz
.
File metadata
- Download URL: segment-geospatial-0.4.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ce499b2193e213fc9fe81a75a89d47d6857425729d85a979403b02e94d35d79 |
|
MD5 | 1a5ef4e372d1405ccbe4ebcee6b84ce4 |
|
BLAKE2b-256 | 2457efad5d3926626160247a10b5df7ea2d85fd6c9abf1a4c24362a8ddf248de |
File details
Details for the file segment_geospatial-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: segment_geospatial-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb07b43242233e20728feea80ba20338f44cc6f996d3830ffd01a6862596794a |
|
MD5 | 89210bc19fe96ae15abda66ccfa9dcc3 |
|
BLAKE2b-256 | a29122e9d7fcbd219261dd0094959cea503baa808bb30bcea44fbbe98e9a0afa |