gen‑ai.news
← Back
Image

A Tutorial on GeoAI: Designing Footprint Extraction from NAIP Imagery Using U-Net, Grounding DINO, SAM, and Mask R-CNN

Building footprint extraction from aerial imagery is a long-standing challenge in geospatial analysis, with applications ranging from urban planning to disaster response. A newly published tutorial from MarkTechPost lays out a full end-to-end pipeline using four models - U-Net, Grounding DINO, SAM (Segment Anything Model), and Mask R-CNN - applied to NAIP (National Agriculture Imagery Program) imagery, which provides high-resolution, four-band aerial coverage across the United States.

The workflow begins with environment configuration for geospatial deep learning, followed by the download of raster imagery and vector label data. Before any model training takes place, the tutorial emphasizes inspecting the spatial properties of both inputs - ensuring coordinate reference systems align and that chip generation produces georeferenced tiles suitable for training. This preprocessing step is often where real-world geospatial projects encounter friction, and the tutorial treats it as a first-class concern rather than an afterthought.

On the modeling side, the tutorial trains a U-Net with a ResNet-34 backbone as the supervised segmentation baseline, a well-established pairing in remote sensing tasks. It then introduces Grounding DINO as a text-prompted object detector and SAM as a prompt-based segmentation model - both of which have seen significant adoption since their respective releases for zero-shot and few-shot spatial tasks. Mask R-CNN provides an instance segmentation comparison, allowing readers to evaluate how different architectural philosophies handle the same extraction problem. Taken together, the four models represent a spectrum from fully supervised to prompt-driven inference.

The tutorial's value is in bridging the gap between general computer vision tooling and the specific demands of geospatial data, where projections, pixel resolution, and spatial metadata matter as much as model architecture. For practitioners working with satellite or aerial imagery, it provides a concrete template that can be adapted to other overhead datasets or extraction targets beyond building footprints.

Enjoy this story? Get the next one in your inbox.

Twice a week: the most important stories in generative image and video AI, distilled into a 2-minute read.

Free. Unsubscribe any time. No spam, ever.

Your next read

xAI Fails to Block Minnesota Law Targeting AI Nudification Apps
Image

xAI Fails to Block Minnesota Law Targeting AI Nudification Apps

A federal judge has denied xAI's request for a preliminary injunction against a Minnesota law banning apps that generate non-consensual intimate imagery. The ruling allows the law to take effect while xAI's broader legal challenge continues.

Photography Gallery’s Decision to Exhibit AI Images Sparks Anger
Image

Photography Gallery’s Decision to Exhibit AI Images Sparks Anger

A Belfast photography gallery has drawn criticism from photographers and the wider arts community after hosting an exhibition that included AI-generated images alongside traditional photographic work. The decision has reignited longstanding debates about whether AI-generated imagery belongs in spaces dedicated to photography. Critics argue that exhibiting such work under a photography banner misrepresents the medium and devalues the craft of working photographers.

Google Earth Pulls AI Image Generator After Users Created Misleading Images
Image

Google Earth Pulls AI Image Generator After Users Created Misleading Images

Google Earth quietly removed its newly integrated Nano Banana AI image generator just days after launch, following reports that users were producing misleading images with the tool. The feature had only just been covered in the press when Google moved to pull it, suggesting the decision was a rapid response to early misuse.