#Hugging Face transformers

1 post

Two districts of Utrecht in summer aerial photography, with buildings shaded orange, tree crowns green, water blue and cars yellow, each found from a one-word text prompt

Tutorial Python

Text-prompted Segment Anything on aerial imagery: Grounding DINO and SAM 2.1 in Python

Segment buildings, trees, water and cars from a text prompt with Grounding DINO and SAM 2.1 in Python on a CPU, the open equivalent of ArcGIS Pro's Text SAM. Choose the prompt wording, tile size and threshold on one Utrecht district, then measure accuracy on another against the Dutch BGT register.

Advanced 17 min read