Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
1.92k
1.92k
objects
dict
segmentation
listlengths
3
205
{ "bbox": [ [ 614, 160, 1305, 919 ], [ 1008, 0, 911, 1061 ], [ 0, 0, 754, 865 ], [ 0, 155, 985, 924 ], [ 384, 157, 599, 922 ], [ 678, 0, ...
[ { "label": "flat-sidewalk", "category": 1, "points": [ [ 942, 168 ], [ 941, 172 ], [ 939, 173 ], [ 938, 183 ], [ 936, 184 ], [ 936, 188 ...
{ "bbox": [ [ 0, 477, 1919, 602 ], [ 69, 0, 752, 725 ], [ 355, 0, 895, 276 ], [ 1293, 435, 626, 394 ], [ 1272, 0, 308, 409 ], [ 395, 181, ...
[ { "label": "flat-sidewalk", "category": 1, "points": [ [ 0, 830 ], [ 0, 1079 ], [ 1919, 1079 ], [ 1919, 830 ], [ 1907, 826 ], [ 1903, 822 ...
{ "bbox": [ [ 0, 158, 1919, 921 ], [ 982, 202, 937, 431 ], [ 0, 203, 716, 346 ], [ 1571, 0, 348, 308 ], [ 394, 0, 391, 207 ], [ 1090, 0, ...
[ { "label": "flat-sidewalk", "category": 1, "points": [ [ 0, 592 ], [ 0, 1079 ], [ 1919, 1079 ], [ 1919, 758 ], [ 1917, 758 ], [ 1916, 760 ...
{"bbox":[[0.0,221.0,1633.0,858.0],[1006.0,248.0,913.0,831.0],[219.0,0.0,1113.0,245.0],[0.0,0.0,477.0(...TRUNCATED)
[{"label":"flat-sidewalk","category":1,"points":[[1633.0,1077.0],[1626.0,1071.0],[1625.0,1067.0],[16(...TRUNCATED)
{"bbox":[[0.0,256.0,1628.0,823.0],[1051.0,237.0,868.0,842.0],[310.0,0.0,1334.0,276.0],[0.0,224.0,100(...TRUNCATED)
[{"label":"flat-sidewalk","category":1,"points":[[1628.0,1077.0],[1626.0,1076.0],[1625.0,1072.0],[16(...TRUNCATED)
{"bbox":[[0.0,475.0,1919.0,604.0],[152.0,0.0,439.0,815.0],[1432.0,0.0,487.0,457.0],[0.0,0.0,199.0,85(...TRUNCATED)
[{"label":"flat-sidewalk","category":1,"points":[[1919.0,722.0],[1915.0,722.0],[1914.0,720.0],[1910.(...TRUNCATED)
{"bbox":[[130.0,203.0,1789.0,876.0],[538.0,0.0,1381.0,394.0],[0.0,208.0,1093.0,871.0],[1333.0,382.0,(...TRUNCATED)
[{"label":"flat-sidewalk","category":1,"points":[[1919.0,837.0],[1915.0,835.0],[1911.0,830.0],[1907.(...TRUNCATED)
{"bbox":[[416.0,142.0,1503.0,937.0],[0.0,170.0,1047.0,909.0],[0.0,30.0,1810.0,134.0],[1259.0,40.0,66(...TRUNCATED)
[{"label":"flat-crosswalk","category":2,"points":[[416.0,170.0],[421.0,174.0],[421.0,177.0],[424.0,1(...TRUNCATED)
{"bbox":[[0.0,378.0,1919.0,701.0],[0.0,0.0,1919.0,365.0],[0.0,19.0,442.0,217.0],[518.0,307.0,1401.0,(...TRUNCATED)
[{"label":"flat-road","category":0,"points":[[0.0,378.0],[0.0,1079.0],[1919.0,1079.0],[1919.0,403.0](...TRUNCATED)
{"bbox":[[0.0,227.0,1919.0,852.0],[1190.0,66.0,729.0,498.0],[0.0,232.0,1065.0,530.0],[488.0,0.0,585.(...TRUNCATED)
[{"label":"flat-sidewalk","category":1,"points":[[1919.0,565.0],[1917.0,565.0],[1916.0,563.0],[1909.(...TRUNCATED)
End of preview. Expand in Data Studio

Sidewalks-1k - annotated computer-vision dataset on Pictograph

Open in task images license

View on Pictograph · Pictograph Research · Creative Commons Attribution-NonCommercial 4.0

About

Sidewalks-1k is a computer-vision dataset from sidewalk-semantic (Segments.ai), hosted on Pictograph. The most common detected objects are sidewalk, road, crosswalk, car, bicycle, grass. On Pictograph you can browse every annotated image, import it into your own workspace in one click, export it in a dozen formats, or train a model on it directly.

At a glance

Metric Value
Images 1,000
Annotations 57,020
Classes 34
Annotation types polygon
Splits train

Quick start

Load it in one line with the datasets library, then read each record's boxes and class names:

from datasets import load_dataset
from PIL import ImageDraw

ds = load_dataset("pictograph/sidewalks-1k", split="train")
example = ds[0]
image = example["image"]            # a PIL image
objects = example["objects"]        # {bbox, categories, category_names}

# draw every bounding box with its class name
draw = ImageDraw.Draw(image)
for (x, y, w, h), name in zip(objects["bbox"], objects["category_names"]):
    draw.rectangle([x, y, x + w, y + h], outline="red", width=3)
    draw.text((x, y - 12), name, fill="red")

# polygon masks live under example["segmentation"]:
#   [{"label": name, "category": idx, "points": [[x, y], ...]}, ...]
image.show()

Prefer a full annotation editor, one-click import, multi-format export, and one-click training? Open this dataset on Pictograph.

Dataset structure

This dataset uses the Hugging Face imagefolder layout: each split directory holds the images plus a metadata.jsonl that links every image to its annotations by file_name.

Field Description
file_name Path to the image within the split directory.
objects.bbox Bounding boxes as [x, y, width, height] (pixels).
objects.categories Integer class index per box (matches the class list below).
objects.category_names Human class name per box.
segmentation List of {label, category, points}; points is a polygon ring [[x, y], ...].

Data instance

One record (bounding boxes are [x, y, width, height] in pixels; the class index maps into the class list below):

{
  "image": <PIL.Image (RGB)>,
  "objects": {
    "bbox": [[172.0, 192.0, 249.4, 152.7]],
    "categories": [0],
    "category_names": ["flat-road"]
  },
  "segmentation": [
    {"label": "flat-road", "category": 0, "points": [[176.9, 207.2], [259.0, 274.1], ...]}
  ]
}

Classes

Class index matches objects.categories in metadata.jsonl.

# Class Annotations
0 flat-road 2,885
1 flat-sidewalk 3,429
2 flat-crosswalk 266
3 flat-cyclinglane 642
4 flat-parkingdriveway 2,324
5 flat-railtrack 2
6 flat-curb 3,044
7 human-person 656
8 human-rider 297
9 vehicle-car 3,757
10 vehicle-truck 142
11 vehicle-bus 20
12 vehicle-tramtrain 28
13 vehicle-motorcycle 50
14 vehicle-bicycle 483
15 vehicle-caravan 27
16 vehicle-cartrailer 23
17 construction-building 7,370
18 construction-door 338
19 construction-wall 1,711
20 construction-fenceguardrail 946
21 construction-bridge 127
22 construction-tunnel 1
23 construction-stairs 237
24 object-pole 8,044
25 object-trafficsign 1,036
26 object-trafficlight 141
27 nature-vegetation 6,559
28 nature-terrain 2,203
29 sky 2,715
30 void-ground 404
31 void-dynamic 436
32 void-static 6,543
33 void-unclear 134

License

Released under Creative Commons Attribution-NonCommercial 4.0. When you use this data, please credit Segments.ai (2021).

Source and attribution

The images and annotations come from sidewalk-semantic (Segments.ai), created by Segments.ai (2021) and released under Creative Commons Attribution-NonCommercial 4.0. We are grateful to the original authors. If you use this data, please cite the original source above.


Published from Pictograph - annotate, train, and deploy from one API.

Downloads last month
38

Models trained or fine-tuned on pictograph/sidewalks-1k