Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-segmentation
|
| 5 |
+
- object-detection
|
| 6 |
+
tags:
|
| 7 |
+
- panoptic-segmentation
|
| 8 |
+
- aerial-imagery
|
| 9 |
+
- remote-sensing
|
| 10 |
+
- COCO
|
| 11 |
+
- detectron2
|
| 12 |
+
- urban
|
| 13 |
+
- Brasilia
|
| 14 |
+
pretty_name: BSB Aerial Dataset
|
| 15 |
+
size_categories:
|
| 16 |
+
- 1K<n<10K
|
| 17 |
+
language:
|
| 18 |
+
- en
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# BSB Aerial Dataset
|
| 22 |
+
|
| 23 |
+
A panoptic segmentation dataset of aerial imagery from Brasilia, Brazil, annotated in COCO format.
|
| 24 |
+
|
| 25 |
+
## Dataset Description
|
| 26 |
+
|
| 27 |
+
The BSB Aerial Dataset contains **3,400 aerial image tiles** (512x512 pixels) of urban areas in Brasilia, annotated for panoptic segmentation with **14 categories** covering both "stuff" and "things" classes.
|
| 28 |
+
|
| 29 |
+
### Splits
|
| 30 |
+
|
| 31 |
+
| Split | Images |
|
| 32 |
+
|-------|--------|
|
| 33 |
+
| Train | 3,000 |
|
| 34 |
+
| Val | 200 |
|
| 35 |
+
| Test | 200 |
|
| 36 |
+
|
| 37 |
+
### Categories
|
| 38 |
+
|
| 39 |
+
| ID | Name | Type |
|
| 40 |
+
|----|-----------------------|-------|
|
| 41 |
+
| 1 | Street | Stuff |
|
| 42 |
+
| 2 | Permeable Area | Stuff |
|
| 43 |
+
| 3 | Lake | Stuff |
|
| 44 |
+
| 4 | Swimming Pool | Thing |
|
| 45 |
+
| 5 | Harbor | Thing |
|
| 46 |
+
| 6 | Vehicle | Thing |
|
| 47 |
+
| 7 | Boat | Thing |
|
| 48 |
+
| 8 | Sports Court | Thing |
|
| 49 |
+
| 9 | Soccer Field | Thing |
|
| 50 |
+
| 10 | Comm. Building | Thing |
|
| 51 |
+
| 11 | Comm. Building Block | Thing |
|
| 52 |
+
| 12 | Res. Building | Thing |
|
| 53 |
+
| 13 | House | Thing |
|
| 54 |
+
| 14 | Small Construction | Thing |
|
| 55 |
+
|
| 56 |
+
## Dataset Structure
|
| 57 |
+
|
| 58 |
+
```
|
| 59 |
+
bsb_dataset/
|
| 60 |
+
├── annotations/
|
| 61 |
+
│ ├── panoptic_train.json
|
| 62 |
+
│ ├── panoptic_val.json
|
| 63 |
+
│ ├── panoptic_test.json
|
| 64 |
+
│ ├── instance_train.json
|
| 65 |
+
│ ├── instance_val.json
|
| 66 |
+
│ └── instance_test.json
|
| 67 |
+
├── image_train/ # RGB aerial tiles (TIFF)
|
| 68 |
+
├── image_val/
|
| 69 |
+
├── image_test/
|
| 70 |
+
├── panoptic_train/ # Panoptic segmentation masks
|
| 71 |
+
├── panoptic_val/
|
| 72 |
+
├── panoptic_test/
|
| 73 |
+
├── panoptic_stuff_train/ # Stuff-only masks
|
| 74 |
+
├── panoptic_stuff_val/
|
| 75 |
+
├── panoptic_stuff_test/
|
| 76 |
+
├── class_train/ # Semantic class masks
|
| 77 |
+
├── class_val/
|
| 78 |
+
└── class_test/
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Annotation Format
|
| 82 |
+
|
| 83 |
+
Annotations follow the [COCO Panoptic format](https://cocodataset.org/#format-data). Each annotation JSON contains image metadata and segment information compatible with tools like Detectron2.
|
| 84 |
+
|
| 85 |
+
## Usage with Detectron2
|
| 86 |
+
|
| 87 |
+
See the example notebook in the [GitHub repository](https://github.com/osmarluiz/BSB-Aerial-Dataset) for a full implementation using Detectron2's Panoptic-FPN.
|
| 88 |
+
|
| 89 |
+
> **Note:** The repository includes a modified `detection_utils.py` that properly handles RGB image tiles. Replace the original Detectron2 file with the provided version.
|
| 90 |
+
|
| 91 |
+
## Related Tools
|
| 92 |
+
|
| 93 |
+
- [Panoptic-Generator](https://github.com/abilius-app/Panoptic-Generator) — Tool for building remote sensing panoptic segmentation datasets in COCO format using GIS software.
|
| 94 |
+
|
| 95 |
+
## Citation
|
| 96 |
+
|
| 97 |
+
If you use this dataset in your research, please cite:
|
| 98 |
+
|
| 99 |
+
```bibtex
|
| 100 |
+
@misc{bsb_aerial_dataset,
|
| 101 |
+
author = {Osmar Luiz Carvalho},
|
| 102 |
+
title = {BSB Aerial Dataset: Panoptic Segmentation of Aerial Imagery from Brasilia},
|
| 103 |
+
year = {2024},
|
| 104 |
+
url = {https://github.com/osmarluiz/BSB-Aerial-Dataset}
|
| 105 |
+
}
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
## License
|
| 109 |
+
|
| 110 |
+
This dataset is released under the [MIT License](https://opensource.org/licenses/MIT).
|