Plugin icon

SamGIS

Plugin ID: 4838

⚠️ Archived / unmaintained. This project is part of the samgis-* line, which I'm no longer actively maintaining. Maintaining it has been unpaid work, and without real user feedback to justify the continued time investment, I'm redirecting my effort toward projects with a sustainable return. The code stays available as-is (MIT) — issues and PRs may go unreviewed. Forks are welcome, see https://gitlab.com/aletrn/samgis-qgis-plugin/

-----------------

Local SAM2 instance segmentation for QGIS. Draw points and rectangles on a vector layer, run Segment Anything Model 2 inference on a raster layer, and get polygon results — all offline with ONNX Runtime. Supports multiple SAM2.1 model variants (Tiny to Large, fp32 and uint8). More features coming soon (live canvas preview, multi-band support, and more).

(20) votes 
Download latest
Versions JSON
Latest version
This plugin is deprecated!

SamGIS brings Meta's Segment Anything Model 2 (SAM2) to QGIS as a local inference plugin. No cloud API needed — models run on-device via ONNX Runtime. Use foreground/background point prompts and bounding-box prompts drawn on vector layers to segment objects from any georeferenced raster. Results are added as polygon vector layers in EPSG:4326. Model weights are downloaded on first use from Hugging Face (aletrn/sam2-onnx-weights).

Version QGIS >= QGIS <= Date
1.2.1 - 3.40.0 4.99.0 1299 trincadev 2026-03-17T17:20:41.812927+00:00
1.2.0 - 3.40.0 4.99.0 68 trincadev 2026-03-17T15:14:20.282608+00:00
1.1.1 - 3.40.0 4.99.0 85 trincadev 2026-03-14T11:33:01.464605+00:00