GIS Plugins

Home › AI & machine learning › SamGIS

SamGIS QGIS 4 compatibility

QGIS 4 ready Active Deprecated

Listed for QGIS 4 by its author (declared max 4.99.0). GIS Plugins hasn't tested it.

⚠️ 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).

About

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).

Authortrincadev
Downloads1,909
On QGIS 3.44 LTRv1.2.1 (QGIS 3.40.0 to 4.99.0)
On QGIS 4v1.2.1 (QGIS 3.40.0 to 4.99.0)
Last updated2026-03-17 (257 days ago)
QGIS 4 readyYes
MaintenanceActive
CategoryAI & machine learning
Tagsai, sam, sam2, onnx, machine learning, object detection, segment, raster, segmentation, interactive

Homepage · Repository · Issue tracker · Official page

QGIS plugin news, once a week

GIS Plugins Weekly: new plugins, useful updates and QGIS 4 readiness changes. Free, unsubscribe anytime. See a sample issue.

Alternatives in AI & machine learning

Related plugins

Maintenance: Active = updated within 1 year, Quiet = 1–3 years, Likely abandoned = over 3 years.