xBD: Building Damage Assessment from Satellite Imagery
Building damage assessment from pre- and post-disaster satellite imagery. Annotators compare side-by-side satellite images to rate damage on the four-level Joint Damage Scale, identify building types, and note specific damage features. Based on the xBD dataset (CVPR Workshops 2019) behind the xView2 challenge.
About this dataset
xBD is a large-scale dataset for building damage assessment from satellite imagery, introduced by Gupta and colleagues at the CVPR 2019 Workshops. It pairs pre- and post-disaster high-resolution imagery from the Maxar/DigitalGlobe Open Data Program so that both models and human annotators can localize buildings and rate how badly each structure was damaged.
Damage is rated on the Joint Damage Scale, a four-level ordinal scheme the authors designed with structural engineers to hold across disaster types: no damage (0), minor damage (1), major damage (2), and destroyed (3). An annotator looks at the same building before and after the event and assigns one level per structure.
The release covers 19 disaster events — hurricanes, tornadoes, earthquakes, tsunamis, volcanic eruptions, wildfires, and floods — spanning 22,068 images and 45,362 km² of imagery, with 850,736 building polygons annotated. It is the data behind the xView2 challenge (xview2.org) for automated damage assessment in disaster response.
The Potato config below reproduces the human-assessment task: a side-by-side pre/post image layout, a radio scheme for the Joint Damage Scale, radios for building type and disaster type, and a free-text field for damage notes. Use it to re-label xBD tiles, build gold data for a new disaster, or adapt the damage scale to your own imagery.
- Released
- CVPR Workshops 2019
- Building annotations
- 850,736
- Imagery
- 45,362 km² across 22,068 images
- Disaster events
- 19 (hurricane, earthquake, tsunami, wildfire, flood, volcanic)
- Damage scale
- 4-level Joint Damage Scale (no damage → destroyed)
- Imagery source
- Maxar / DigitalGlobe Open Data Program
Configuration Fileconfig.yaml
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# xBD: Building Damage Assessment from Satellite Imagery
# Based on Gupta et al., CVPR Workshops 2019
# Paper: https://arxiv.org/abs/1911.09296
# Dataset: https://xview2.org/
#
# Task: Assess building damage from pre- and post-disaster satellite imagery
# Annotators compare side-by-side satellite images to classify damage severity
# using the Joint Damage Scale, identify building types, and note damage features.
#
# Annotation workflow:
# 1. Compare pre-disaster and post-disaster satellite images
# 2. Classify the damage level using the Joint Damage Scale
# 3. Identify the building type and disaster type
# 4. Describe specific damage features visible in the imagery
annotation_task_name: "xBD: Building Damage Assessment from Satellite Imagery"
task_dir: "."
data_files:
- sample-data.json
item_properties:
id_key: "id"
text_key: "post_image_url"
output_annotation_dir: "annotation_output/"
output_annotation_format: "json"
annotation_task_name: "xBD Building Damage Assessment"
annotation_instructions: |
You are assessing building damage from satellite imagery collected before and after a natural disaster.
**Instructions:**
1. Examine the **pre-disaster** image (left) to understand the original state of the building/area.
2. Examine the **post-disaster** image (right) to identify visible damage.
3. Compare both images carefully and classify the damage level according to the Joint Damage Scale.
4. Identify the building type and the type of disaster depicted.
5. Provide notes describing specific damage features you observe.
**Joint Damage Scale Reference:**
- **No Damage:** Building appears intact with no visible changes between pre and post images.
- **Minor Damage:** Small visible changes such as roof damage, broken windows, or minor debris.
- **Major Damage:** Significant structural damage visible — partial collapse, large sections of roof missing, heavy debris.
- **Destroyed:** Building is completely or nearly completely destroyed — only foundation or rubble remains.
annotation_schemes:
- annotation_type: radio
name: damage_level
description: "Classify the damage severity using the Joint Damage Scale"
labels:
- name: "no-damage"
tooltip: "Building appears intact with no visible changes between pre- and post-disaster images"
- name: "minor-damage"
tooltip: "Small visible changes such as roof damage, broken windows, minor debris, or cosmetic damage"
- name: "major-damage"
tooltip: "Significant structural damage — partial collapse, large sections of roof missing, heavy debris fields"
- name: "destroyed"
tooltip: "Building is completely or nearly completely destroyed — only foundation or rubble visible"
keyboard_shortcuts:
"no-damage": "1"
"minor-damage": "2"
"major-damage": "3"
"destroyed": "4"
- annotation_type: radio
name: building_type
description: "Identify the type of building visible in the imagery"
labels:
- name: "residential"
tooltip: "Single-family homes, apartments, housing complexes"
- name: "commercial"
tooltip: "Shops, offices, malls, hotels, restaurants"
- name: "industrial"
tooltip: "Factories, warehouses, manufacturing plants, storage facilities"
- name: "institutional"
tooltip: "Schools, hospitals, government buildings, religious structures"
- name: "infrastructure"
tooltip: "Bridges, roads, utility structures, communication towers"
- name: "unknown"
tooltip: "Building type cannot be determined from the satellite imagery"
keyboard_shortcuts:
"residential": "r"
"commercial": "c"
"industrial": "i"
"institutional": "t"
"infrastructure": "f"
"unknown": "u"
- annotation_type: radio
name: disaster_type
description: "Identify the type of natural disaster depicted"
labels:
- name: "earthquake"
tooltip: "Damage patterns consistent with seismic activity — structural collapse, ground displacement"
- name: "tsunami"
tooltip: "Damage from large wave inundation — debris fields, displaced structures, waterline marks"
- name: "flood"
tooltip: "Damage from water inundation — waterlogging, sediment deposits, structural weakening"
- name: "wildfire"
tooltip: "Burn damage — charred structures, scorched vegetation, ash deposits"
- name: "volcanic-eruption"
tooltip: "Damage from volcanic activity — ash deposits, lava flows, pyroclastic damage"
- name: "wind-storm"
tooltip: "Damage from high winds — roof removal, structural deformation, wind-blown debris"
- annotation_type: text
name: damage_notes
description: "Describe specific damage features visible in the post-disaster image (e.g., roof collapse, debris field, foundation only, partial wall collapse)"
html_layout: |
<div style="margin-bottom: 12px; padding: 10px; background: #fff3e0; border-radius: 6px; border-left: 4px solid #e65100;">
<strong>Disaster:</strong> {{disaster_name}} |
<strong>Location:</strong> {{location}} |
<strong>Pre-capture:</strong> {{capture_date_pre}} |
<strong>Post-capture:</strong> {{capture_date_post}}
</div>
<div style="display: flex; gap: 16px; margin-bottom: 12px;">
<div style="flex: 1; text-align: center;">
<div style="font-weight: bold; margin-bottom: 6px; padding: 4px; background: #e8f5e9; border-radius: 4px;">
Pre-Disaster
</div>
<img src="{{pre_image_url}}" style="max-width: 100%; border: 2px solid #4caf50; border-radius: 4px;" />
</div>
<div style="flex: 1; text-align: center;">
<div style="font-weight: bold; margin-bottom: 6px; padding: 4px; background: #ffebee; border-radius: 4px;">
Post-Disaster
</div>
<img src="{{post_image_url}}" style="max-width: 100%; border: 2px solid #f44336; border-radius: 4px;" />
</div>
</div>
allow_all_users: true
instances_per_annotator: 50
annotation_per_instance: 2
allow_skip: true
skip_reason_required: false
Sample Datasample-data.json
[
{
"id": "xbd_001",
"pre_image_url": "https://example.com/xbd/hurricane-michael/pre_001.png",
"post_image_url": "https://example.com/xbd/hurricane-michael/post_001.png",
"disaster_name": "Hurricane Michael",
"disaster_type": "wind-storm",
"location": "Mexico Beach, Florida, USA",
"capture_date_pre": "2018-08-15",
"capture_date_post": "2018-10-12"
},
{
"id": "xbd_002",
"pre_image_url": "https://example.com/xbd/hurricane-michael/pre_002.png",
"post_image_url": "https://example.com/xbd/hurricane-michael/post_002.png",
"disaster_name": "Hurricane Michael",
"disaster_type": "wind-storm",
"location": "Panama City, Florida, USA",
"capture_date_pre": "2018-07-20",
"capture_date_post": "2018-10-13"
}
]
// ... and 8 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git cd potato-showcase/image/xbd-building-damage potato start config.yaml
Dataset & paper
Gupta et al., CVPR Workshops 2019
Citation (BibTeX)
@inproceedings{gupta2019xbd,
title = "xBD: A Dataset for Assessing Building Damage from Satellite Imagery",
author = "Gupta, Ritwik and Hosfelt, Richard and Sajeev, Sandra and Patel, Nirav and Goodman, Bryce and Doshi, Jigar and Heim, Eric and Choset, Howie and Gaston, Matthew",
booktitle = "Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW)",
year = "2019",
url = "https://arxiv.org/abs/1911.09296"
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an IssueRelated Designs
FLAIR: French Land Cover from Aerospace Imagery
Land use and land cover classification from high-resolution aerial imagery. Annotators classify the primary land use category of aerial image patches and identify any secondary land uses present. Based on the FLAIR dataset from the French National Institute of Geographic and Forest Information (IGN).
CUB-200-2011: Fine-Grained Bird Species Dataset
CUB-200-2011 is a fine-grained bird image dataset of 11,788 photos across 200 species, each labeled with parts, attributes, and a bounding box (Wah et al., 2011). This Potato config reproduces the labeling task.
DOTA Aerial Image Object Detection
Oriented bounding box detection in aerial images (Xia et al., CVPR 2018). Detect 15 object categories with arbitrary orientations including planes, ships, vehicles, and sports facilities.