Home › AI & machine learning › SamGIS
SamGIS QGIS 4 compatibility
QGIS 4 ready Active Deprecated
Yes — SamGIS supports QGIS 4 (declared max version 4.99.0).
⚠️ 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).
| Author | trincadev |
|---|---|
| Downloads | 1,761 |
| Latest version | 1.2.1 |
| Last updated | 2026-03-17 (212 days ago) |
| Min QGIS | 3.40.0 |
| Max QGIS | 4.99.0 |
| QGIS 4 ready | Yes |
| Maintenance | Active |
| Category | AI & machine learning |
| Tags | ai, sam, sam2, onnx, machine learning, object detection, segment, raster, segmentation, interactive |
Homepage · Repository · Issue tracker · Official page
Alternatives in AI & machine learning
Raster classification in QGIS with 11 machine learning algorithms, Optuna hyperparameter search, SHAP explanations, class imbalance handling
- ArcGeek CalculatorQGIS 4 ready
ArcGeek Calculator is a QGIS plugin that provides a comprehensive set of tools for coordinate calculations, conversions, spatial operations,
- Bunting Labs AI VectorizerQGIS 4 ready
Autocomplete for vectorizing and georeferencing raster maps.
Related plugins
- GeoOSAMNot QGIS 4 ready
AI-powered segmentation for QGIS — SAM2.1 & SAM3 with text prompts, similar object detection, vector ROI, and professional GIS workflow feat
- Geo SAMQGIS 4 ready
Segment Landform with Segment-Anything AI Model (SAM)
- AITracer by LADQGIS 4 ready
Click any feature on a georeferenced raster and SAM2 segments it instantly. Refine with positive/negative prompts, then accept to create a v
- SamGeoQGIS 4 ready
Segment remote sensing images using SAM (Segment Anything Model) with text, point, and box prompts.
- GeoAIQGIS 4 ready
GeoAI plugin for QGIS providing AI-powered geospatial analysis including tree segmentation (DeepForest), water segmentation (OmniWaterMask),
- AI Segmentation by TerraLabQGIS 4 ready
AI segmentation in QGIS 3.22 to 4. Draw a zone, name an object and get every building footprint, tree or solar panel as vector polygons, or
Maintenance: Active = updated within 1 year, Quiet = 1–3 years, Likely abandoned = over 3 years.