This page is being translated by your browser

Translation can break parts of Roboflow. If something stops working, turn translation off and reload the page.

Segmentation · Drones & Geospatial

Rooftop detection: Datasets & Models

Rooftop detection uses instance segmentation to identify and outline individual building roofs in aerial and satellite imagery. It captures precise roof boundaries, shapes, and extents for downstream measurement and mapping.

Rooftop detection example
1M+
developers
16k
organizations
50B
inferences

Rooftop detection

This workflow applies instance segmentation to overhead imagery from drones, aircraft, or satellites, generating pixel-level masks that outline each individual rooftop. Built on a rooftop dataset, it detects and separates adjacent buildings so each roof footprint, shape, and extent can be measured and mapped individually.

Try it out

Powered by general detection model

Run on custom image

Drop an image here or click to upload

Detecting classes:

Why automate rooftop detection

Manually tracing rooftops across large geographic areas is slow, tedious, and inconsistent, especially when solar installers, insurers, and urban planners need to assess thousands of buildings at scale. Automating rooftop detection with a segmentation model turns raw drone and geospatial imagery into structured roof outlines in minutes, enabling accurate area estimates for solar potential, roof condition assessment, property inventory, and change detection over time. It removes the bottleneck of hand-digitizing footprints from a rooftop dataset and keeps results repeatable across campaigns. The pixel-precise masks also feed directly into GIS pipelines for measurement and analysis.

Key benefits

Instance segmentation with RF-DETR delivers precise roof boundaries that support reliable area and geometry calculations, not just approximate detections. The workflow runs on imagery you already collect from drones, planes, or satellites, so it integrates with existing geospatial pipelines and GIS tooling. It scales from a single neighborhood to region-wide surveys, letting teams process large tile sets consistently and re-run analysis as new imagery arrives.

How to use it

  1. Upload an image: Drop any photo into the widget above to try rooftop detection for free, right on this page.
  2. Preview instant results: The model detects rooftop, building, solar panel, chimney, skylight within seconds and returns an annotated image with structured predictions, so you can immediately see how well it works. Adjust the detection classes and re-run until the results fit your scenario.
  3. Like what you see?: With a free Roboflow account, you can deploy this workflow with the Serverless Cloud API, customize it in your workspace, or train RF-DETR (instance segmentation) on your own images for production accuracy.
  4. Get started for free: No code or training data required to begin: upload, review the results, and make it part of your stack in a single click.
Recommended model

Recommended model for rooftop detection

RF-DETR is state of the art for real-time object detection, instance segmentation, and keypoint detection, with higher accuracy and lower latency than comparable models, and it's Apache 2.0 licensed. When you're ready to build a production model for rooftop detection, fine-tune it on your own labeled images, then deploy to a Serverless Cloud API endpoint.

Train your own model
Roboflow Agent

Not sure where to start?

Describe your Rooftop Detection project to Roboflow Agent.

Agent