DownloadsDownloadSegment Anything in QGISQiusheng WuLaunch kernelIntroduction¶Learning Objectives¶Sample Data¶Loading a SAM Model¶Text-Prompted Segmentation¶Interactive Segmentation¶Foreground and Background Points¶Bounding Box Prompts¶Batch Processing¶Exporting Results¶Raster Output¶Vector Output¶Polygon Regularization¶Simplification and Area Filtering¶Key Takeaways¶Exercises¶Exercise 1: Comparing Inference Backends¶Exercise 2: Interactive Refinement of Text-Prompted Results¶Exercise 3: Batch Processing with Building Centroids¶Exercise 4: Tuning Output Parameters¶