With the Geo-SAM plugin you can use the Segment Anything Model (SAM) by Meta in QGIS. In this video, I'll guide you through the installation and use of the plugin. As an example, I'll segment solar panels in a city and parcels in the a rural area.
QGIS version: 3.40
Plugin: Geo-SAM (https://github.com/coolzhao/Geo-SAM)
Open data: https://www.beeldmateriaal.nl/data-room
Documentation: https://geo-sam.readthedocs.io/en/latest/index.html
CUDA Toolkit: https://developer.nvidia.com/cuda-downloads
PyTorch: https://pytorch.org/get-started/locally/
Zhao, Zhuoyi, Fan, Chengyan, & Liu, Lin. (2023). Geo SAM: A QGIS plugin using Segment Anything Model (SAM) to accelerate geospatial image segmentation (1.1.0). Zenodo. https://doi.org/10.5281/zenodo.8191039
0:00 Introduction
0:26 Installation
4:49 Using the plugin
5:28 Download SAM checkpoints
6:26 Geo-SAM Image Encoder
7:56 Segment solar panels
11:30 Segment parcels
#QGIS #GIS #GeoAI #AI