Skip to content
Product SAM2 2025

TerraLabel

Click on a rooftop in satellite imagery, get a GeoJSON polygon in 200ms. SAM2-powered labeling with human-in-the-loop review — 7x faster than manual digitization with comparable boundary accuracy.

Platform

terralabel.ai

Try Demo
TerraLabel labeling interface showing AI-powered polygon selection on satellite imagery
SAM2 powered

Platform capabilities

7x

Faster than manual tracing

~200ms

GPU inference per click

4,200+

Solar panels labeled in Canberra

1 click

To accurate GeoJSON polygon

The problem: scaling geospatial annotation

A government agency needs 10,000 labeled solar panel outlines to train a detection model. Manual digitization: 3-4 weeks at ~15 minutes per panel. Fully automated segmentation: fast, but error rates above 20% mean re-doing most of the work anyway. Neither approach scales.

Manual digitization

Accurate but slow. A skilled operator traces ~4 polygons per hour across complex imagery.

Fully automated

Fast but 20%+ error rate. You spend nearly as long fixing mistakes as you would tracing from scratch.

TerraLabel approach

AI traces boundaries in 200ms; humans confirm or refine. 7x throughput with manual-grade accuracy.

SAM2 integration

TerraLabel leverages Meta's Segment Anything Model 2 (SAM2) with Hiera Large backbone. SAM2's image encoding is expensive, but subsequent prompts are cheap—perfect for interactive labeling workflows.

Click-to-polygon

Single clicks become accurate polygons in ~200ms. SAM2 traces object boundaries automatically, understanding context from surrounding imagery — turning a 15-minute manual trace into a 2-second interaction.

Point Prompts Multi-mask Output Confidence Scoring

Hiera Large backbone

SAM2's hierarchical vision transformer handles objects from 10px solar panels to 500px building footprints. The 224MB ONNX model runs on commodity GPUs — no A100s required for interactive-speed inference.

224MB Model GPU Accelerated ONNX Runtime

Interactive labeling tools

Built on deck.gl's editable layers, TerraLabel provides professional GIS-quality drawing tools in the browser. Switch between modes depending on the annotation task.

AI-assisted selection

Single-click SAM2 segmentation traces boundaries in ~200ms on GPU — operators label 28+ features per hour vs. 4 manually.

Manual drawing tools

Point, Line, Polygon, Circle, and Drag Draw modes for precise manual annotation when needed.

Undo/redo history

50-step history with full state preservation. Never lose work due to accidental edits.

Measurement tools

Distance, Area, and Angle calculations with real-time feedback as you annotate.

Multiple selection modes

Rectangle and Polygon selection for bulk operations on multiple features.

Vector tile visualization

View 4,200+ labeled features across study areas via Martin tile server — ~50KB per tile vs. 160MB+ for the full dataset.

Vector tile visualization

View 4,200+ labeled features across the entire Canberra study area. Individual tiles are ~50KB compared to loading the full dataset at 160MB+ — the difference between a smooth pan and a frozen browser tab.

TerraLabel visualization showing labeled solar panels across Canberra

Key learnings

Technical insights

  • SAM2 generalizes to satellite imagery without fine-tuning — boundary IoU above 0.82 on solar panels
  • Sub-300ms latency is the threshold for maintaining labeling flow state
  • Douglas-Peucker simplification reduces polygon vertices by 60% with <1px boundary deviation
  • Vector tiles cut visualization payload from 160MB to ~50KB per viewport — pan stays at 60fps

Production results

  • 4,200+ solar panels labeled across Canberra using ACT 10cm aerial imagery
  • 7x faster than manual digitization with comparable boundary accuracy
  • Human-in-the-loop workflow reduced error rate from 22% (auto) to under 5%
  • GPU inference (~200ms) vs CPU (2-5s) — the difference between interactive and batch-only

Try the live demo

Click on satellite imagery, get a polygon in 200ms. Explore 4,200+ labeled solar panels across Canberra, or label your own features.