Skip to content

Commit ddcee01

Browse files
authored
Added more demos to docs (#82)
1 parent 0a1ab17 commit ddcee01

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,21 @@
88
[![Docker Pulls](https://badgen.net/docker/pulls/giswqs/segment-geospatial?icon=docker&label=pulls)](https://hub.docker.com/r/giswqs/segment-geospatial)
99
[![PyPI Downloads](https://static.pepy.tech/badge/segment-geospatial)](https://pepy.tech/project/segment-geospatial)
1010
[![Conda Downloads](https://anaconda.org/conda-forge/segment-geospatial/badges/downloads.svg)](https://anaconda.org/conda-forge/segment-geospatial)
11+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7966658.svg)](https://doi.org/10.5281/zenodo.7966658)
1112

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

15+
## Introduction
16+
1417
The **segment-geospatial** package draws its inspiration from [segment-anything-eo](https://github.com/aliaksandr960/segment-anything-eo) repository authored by [Aliaksandr Hancharenka](https://github.com/aliaksandr960). To facilitate the use of the Segment Anything Model (SAM) for geospatial data, I have developed the [segment-anything-py](https://github.com/opengeos/segment-anything) and [segment-geospatial](https://github.com/opengeos/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](https://github.com/aliaksandr960/segment-anything-eo) repository, and credit for its original version goes to Aliaksandr Hancharenka.
1518

1619
- Free software: MIT license
1720
- Documentation: <https://samgeo.gishub.org>
1821

22+
## Citations
23+
24+
- Qiusheng Wu, & Lucas Osco. (2023). samgeo: A Python package for segmenting geospatial data with the Segment Anything Model (SAM). Zenodo. <https://doi.org/10.5281/zenodo.7966658>
25+
1926
## Features
2027

2128
- Download map tiles from Tile Map Service (TMS) servers and create GeoTIFF files
@@ -49,6 +56,10 @@ The **segment-geospatial** package draws its inspiration from [segment-anything-
4956

5057
![](https://i.imgur.com/Cb4ZaKY.gif)
5158

59+
- Interactive segmentation with text prompts
60+
61+
![](https://i.imgur.com/wydt5Xt.gif)
62+
5263
## Tutorials
5364

5465
Video tutorials are available on my [YouTube Channel](https://youtube.com/@giswqs).
@@ -61,6 +72,10 @@ Video tutorials are available on my [YouTube Channel](https://youtube.com/@giswq
6172

6273
[![Alt text](https://img.youtube.com/vi/VvyInoQ6N8Q/0.jpg)](https://www.youtube.com/playlist?list=PLAxJ4-o7ZoPcrg5RnZjkB_KY6tv96WO2h)
6374

75+
- Interactive segmentation with text prompts
76+
77+
[![Alt text](https://img.youtube.com/vi/cSDvuv1zRos/0.jpg)](https://www.youtube.com/playlist?list=PLAxJ4-o7ZoPcrg5RnZjkB_KY6tv96WO2h)
78+
6479
## Using SAM with Desktop GIS
6580

6681
- **QGIS**: Check out the [Geometric Attributes plugin for QGIS](https://github.com/BjornNyberg/Geometric-Attributes-Toolbox/wiki/User-Guide#segment-anything-model). Credit goes to [Bjorn Nyberg](https://github.com/BjornNyberg).

docs/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,21 @@
88
[![Docker Pulls](https://badgen.net/docker/pulls/giswqs/segment-geospatial?icon=docker&label=pulls)](https://hub.docker.com/r/giswqs/segment-geospatial)
99
[![PyPI Downloads](https://static.pepy.tech/badge/segment-geospatial)](https://pepy.tech/project/segment-geospatial)
1010
[![Conda Downloads](https://anaconda.org/conda-forge/segment-geospatial/badges/downloads.svg)](https://anaconda.org/conda-forge/segment-geospatial)
11+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.7966658.svg)](https://doi.org/10.5281/zenodo.7966658)
1112

1213
**A Python package for segmenting geospatial data with the Segment Anything Model (SAM)** 🗺️
1314

15+
## Introduction
16+
1417
The **segment-geospatial** package draws its inspiration from [segment-anything-eo](https://github.com/aliaksandr960/segment-anything-eo) repository authored by [Aliaksandr Hancharenka](https://github.com/aliaksandr960). To facilitate the use of the Segment Anything Model (SAM) for geospatial data, I have developed the [segment-anything-py](https://github.com/opengeos/segment-anything) and [segment-geospatial](https://github.com/opengeos/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](https://github.com/aliaksandr960/segment-anything-eo) repository, and credit for its original version goes to Aliaksandr Hancharenka.
1518

1619
- 🆓 Free software: MIT license
1720
- 📖 Documentation: <https://samgeo.gishub.org>
1821

22+
## Citations
23+
24+
- Qiusheng Wu, & Lucas Osco. (2023). samgeo: A Python package for segmenting geospatial data with the Segment Anything Model (SAM). Zenodo. <https://doi.org/10.5281/zenodo.7966658>
25+
1926
## Features
2027

2128
- Download map tiles from Tile Map Service (TMS) servers and create GeoTIFF files
@@ -49,6 +56,10 @@ The **segment-geospatial** package draws its inspiration from [segment-anything-
4956

5057
![](https://i.imgur.com/Cb4ZaKY.gif)
5158

59+
- Interactive segmentation with text prompts
60+
61+
![](https://i.imgur.com/wydt5Xt.gif)
62+
5263
## Tutorials
5364

5465
Video tutorials are available on my [YouTube Channel](https://youtube.com/@giswqs).
@@ -61,6 +72,10 @@ Video tutorials are available on my [YouTube Channel](https://youtube.com/@giswq
6172

6273
[![Alt text](https://img.youtube.com/vi/VvyInoQ6N8Q/0.jpg)](https://www.youtube.com/playlist?list=PLAxJ4-o7ZoPcrg5RnZjkB_KY6tv96WO2h)
6374

75+
- Interactive segmentation with text prompts
76+
77+
[![Alt text](https://img.youtube.com/vi/cSDvuv1zRos/0.jpg)](https://www.youtube.com/playlist?list=PLAxJ4-o7ZoPcrg5RnZjkB_KY6tv96WO2h)
78+
6479
## Using SAM with Desktop GIS
6580

6681
- **QGIS**: Check out the [Geometric Attributes plugin for QGIS](https://github.com/BjornNyberg/Geometric-Attributes-Toolbox/wiki/User-Guide#segment-anything-model). Credit goes to [Bjorn Nyberg](https://github.com/BjornNyberg).

0 commit comments

Comments
 (0)