# Sidewalks-1k

Sidewalks-1k: 1,000 images with segmentation polygons for 34 classes, including flat-road, flat-sidewalk, flat-crosswalk and flat-cyclinglane. Based on sidewalk-semantic (Segments.ai). Import it into a Pictograph workspace to export COCO, YOLO or Pascal VOC, or train a model on it. Published on Pictograph by Pictograph Research.

## Overview

- Type: public computer vision dataset
- Images: 1,000
- Classes: 34
- Annotation types: polygon
- Tasks: Segmentation (https://pictograph.io/explore/task/segmentation)
- Owner: Pictograph Research
- License: Creative Commons Attribution-NonCommercial 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
- Source: sidewalk-semantic (Segments.ai) (https://huggingface.co/datasets/segments/sidewalk-semantic), created by Segments.ai (2021). Credit the original authors when you use this data.
- Stars: 1
- Page: https://pictograph.io/datasets/pictograph-research/sidewalks-1k
- Hugging Face: https://huggingface.co/datasets/pictograph/sidewalks-1k
- Export formats: Pictograph JSON, Darwin V7, COCO, YOLO, YOLO-OBB, YOLO-Pose, DOTA, Pascal VOC, CVAT, Datumaro, LabelMe, CSV

## Get this dataset

Import a copy into your Pictograph organization, then export it in any format above. Its 1,000 images fit the Free plan's 10,000. They count toward your organization's images and storage. Every step: https://pictograph.io/docs/guides/public-datasets

```python
from pictograph import Client

client = Client()  # reads PICTOGRAPH_API_KEY
copy = client.datasets.import_public(ref="pictograph-research/sidewalks-1k")
print(copy.dataset_name, copy.image_count)
```

```bash
pictograph datasets import-public pictograph-research/sidewalks-1k
```

Or download its Hugging Face copy, no Pictograph account needed: the images, with each one's labels in `metadata.jsonl` (none of the formats above): https://huggingface.co/datasets/pictograph/sidewalks-1k

## Classes

- flat-road
- flat-sidewalk
- flat-crosswalk
- flat-cyclinglane
- flat-parkingdriveway
- flat-railtrack
- flat-curb
- human-person
- human-rider
- vehicle-car
- vehicle-truck
- vehicle-bus
- vehicle-tramtrain
- vehicle-motorcycle
- vehicle-bicycle
- vehicle-caravan
- vehicle-cartrailer
- construction-building
- construction-door
- construction-wall
- construction-fenceguardrail
- construction-bridge
- construction-tunnel
- construction-stairs
- object-pole
- object-trafficsign
- object-trafficlight
- nature-vegetation
- nature-terrain
- sky
- void-ground
- void-dynamic
- void-static
- void-unclear

## Models trained on this dataset

- PG-Pathformer: https://pictograph.io/models/pictograph-research/pg-pathformer

## About

# Sidewalks-1k

> A public semantic-segmentation dataset of 1,000 sidewalk photos from Belgium with every pixel labeled in 34 classes: 57,020 polygons.

**[Pictograph Research](/org/pictograph-research)** · [CC-BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/) · Public · Updated 2026-12-02

## Overview

Segments.ai photographed sidewalks in Belgium in the summer of 2021 and labeled every pixel: the ground a sidewalk robot moves on (sidewalk, road, curb, crosswalk, cycle lane, driveway), the people and vehicles on it, and the buildings, poles, signs, vegetation and sky around it. It is the dataset Hugging Face's SegFormer guide fine-tunes a model on, for a delivery robot that must know where it may drive.

Here each class's connected regions are polygons, so it trains semantic segmentation as it is and exports to every format Pictograph writes.

## At a glance

| Metric | Value |
| :--- | ---: |
| Images | 1,000 |
| Polygons | 57,020 |
| Classes | 34 (polygon) |
| Image size (px) | 1920 x 1080 |
| Annotation types | polygon |
| Visibility | Public |

## Classes

The source's 34 classes in its own order (its label ids 1 to 34); each name starts with its group.

| Class | Images | Polygons |
| :--- | ---: | ---: |
| flat-road | 879 | 2,885 |
| flat-sidewalk | 982 | 3,429 |
| flat-crosswalk | 158 | 266 |
| flat-cyclinglane | 315 | 642 |
| flat-parkingdriveway | 685 | 2,324 |
| flat-railtrack | 1 | 2 |
| flat-curb | 794 | 3,044 |
| human-person | 283 | 656 |
| human-rider | 159 | 297 |
| vehicle-car | 933 | 3,757 |
| vehicle-truck | 74 | 142 |
| vehicle-bus | 13 | 20 |
| vehicle-tramtrain | 5 | 28 |
| vehicle-motorcycle | 34 | 50 |
| vehicle-bicycle | 224 | 483 |
| vehicle-caravan | 16 | 27 |
| vehicle-cartrailer | 19 | 23 |
| construction-building | 948 | 7,370 |
| construction-door | 180 | 338 |
| construction-wall | 520 | 1,711 |
| construction-fenceguardrail | 323 | 946 |
| construction-bridge | 31 | 127 |
| construction-tunnel | 1 | 1 |
| construction-stairs | 138 | 237 |
| object-pole | 965 | 8,044 |
| object-trafficsign | 472 | 1,036 |
| object-trafficlight | 37 | 141 |
| nature-vegetation | 984 | 6,559 |
| nature-terrain | 505 | 2,203 |
| sky | 810 | 2,715 |
| void-ground | 170 | 404 |
| void-dynamic | 196 | 436 |
| void-static | 940 | 6,543 |
| void-unclear | 66 | 134 |
| **Total** | | **57,020** |

Rail track and tunnel appear in one image each, bus, tram and trailers in under 20: merge or weigh them before training on them. The `void` classes are the source's own: ground, moving and still things no other class names, and what could not be told apart.

## Annotations

The source's label maps (one class id per pixel) as polygons: each class's connected regions, with rings for their holes. Each region's outline is simplified by at most 1 pixel, or half a pixel, or kept as traced, whichever keeps the region at IoU 0.95 or better against its own pixels: every class of every image is at IoU 0.95 or better (0.990 on average), at about 3,150 vertices an image (the exact trace took three times as many). Regions under 16 pixels (4,412 specks and slivers, 26,497 pixels, 0.001% of the labels) are left out, and two slivers deleted by hand in `sidewalk-0358.jpg` stay out. 198,333 pixels in 104 images are `unlabeled` in the source and belong to no polygon. In each image the polygons are ordered by the area they enclose, largest first: drawing only their outer outlines in that order gives every labeled pixel its class.

## Images

The source's 1920 x 1080 JPEGs, stored byte for byte. The source names no files; each is named by its row: `sidewalk-0000.jpg` is row 0.

## Splits

The source has one split: every image is at the root, so choose your own.

## Use this dataset

```python
from pictograph import Client, Export, PublicDatasetImport

client = Client()  # reads PICTOGRAPH_API_KEY
copy: PublicDatasetImport = client.datasets.import_public(ref="pictograph-research/sidewalks-1k")
for image in client.images.iter(dataset=copy.dataset_name, max_total=5):
    print(image.filename, image.annotation_count)
export: Export = client.exports.create(
    dataset=copy.dataset_name, name="sidewalks-1k-coco", format="coco",
    include_images=True, timeout=3600,
)
client.exports.download(
    dataset=copy.dataset_name, export=export.name, output_path="sidewalks-1k-coco.zip",
)
```

- Import it into your own workspace with one click from its page.
- Pull it with the [Pictograph SDK](https://pictograph.io/docs/api-reference/datasets) (shown above) or the CLI.
- [Export](https://pictograph.io/docs/export-conversion) to COCO, YOLO, Darwin V7, Pascal VOC, and more.

## License

Released under [CC-BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/) (Creative Commons Attribution-NonCommercial 4.0):

- **Attribution**: credit Segments.ai and link the source.
- **NonCommercial**: no commercial use.

## Source

The images and labels come from [segments/sidewalk-semantic](https://huggingface.co/datasets/segments/sidewalk-semantic) (revision `9c33630`), created by Segments.ai and released under [CC-BY-NC-4.0](https://creativecommons.org/licenses/by-nc/4.0/). Changed here: each class's regions became polygons, simplified by at most a pixel at IoU 0.95 or better, those under 16 pixels left out; the source's `unlabeled` pixels are no class. Please credit Segments.ai when you use this data.


---

Free to view. Sign in (free) to import this dataset, re-annotate it with SAM3, or export it; this link opens it in the app afterwards: https://app.pictograph.io/signup?next=%2Fexplore%2Fdatasets%2Fpictograph-research%2Fsidewalks-1k
