Datasets:
image imagewidth (px) 296 640 | objects dict | segmentation listlengths 3 36 |
|---|---|---|
{
"bbox": [
[
10.25,
205.27,
96.05,
58.47999999999999
],
[
343.76,
220.67,
76.55000000000001,
52.53
],
[
384.89,
206.9,
74.27000000000004,
61.109999999999985
],
[
68.3,
58.54,
158.37,
269.46
... | [
{
"label": "car",
"category": 2,
"points": [
[
73.63,
263.75
],
[
55.33,
261.14
],
[
55.33,
240.23
],
[
24.62,
238.27
],
[
26.91,
260.48
],
[
10.57,
... | |
{
"bbox": [
[
113.79,
323.79,
146.89999999999998,
85.87
],
[
76.58,
304.18,
131.60000000000002,
57.170000000000016
],
[
27.4,
257.33,
88.52000000000001,
44.99000000000001
],
[
67.41,
273.39,
73.860000... | [
{
"label": "car",
"category": 2,
"points": [
[
155.17,
409.66
],
[
130.34,
404.48
],
[
116.9,
391.03
],
[
113.79,
378.62
],
[
130.34,
364.14
],
[
164.... | |
{
"bbox": [
[
47.42,
528.18,
137.73000000000002,
84.96000000000004
],
[
154.63,
500.11,
96.86000000000001,
62.50999999999999
],
[
287.49,
513.95,
175.51,
114.13
],
[
0,
520.48,
61.6,
56.32999999... | [
{
"label": "car",
"category": 2,
"points": [
[
50.63,
599.62
],
[
47.42,
571.62
],
[
55.46,
562.29
],
[
62.54,
552.64
],
[
77.99,
535.9
],
[
83.14,
... | |
{
"bbox": [
[
519.23,
145.55,
68.12,
88.76999999999998
],
[
261.52,
138.4,
138.84000000000003,
130.23
],
[
300.94,
173.66,
142.39,
198.47
],
[
45.32,
122.27,
38.85,
145.78000000000003
],
... | [
{
"label": "car",
"category": 2,
"points": [
[
519.23,
156.9
],
[
526.45,
149.68
],
[
582.19,
145.55
],
[
587.35,
210.58
],
[
587.35,
228.13
],
[
571.... | |
{
"bbox": [
[
203.57,
155,
13.550000000000011,
36.97
],
[
142.04,
220.21,
174.20000000000002,
130.09
],
[
228.79,
140.38,
304.9000000000001,
152.25
],
[
149.92,
191.33,
41.410000000000025,
24.57... | [
{
"label": "traffic light",
"category": 6,
"points": [
[
203.57,
188.96
],
[
204.41,
155
],
[
207.25,
156.01
],
[
207.75,
161.19
],
[
209.76,
159.85
],
[
... | |
{
"bbox": [
[
260.49,
192.16,
180.25,
105.95000000000002
],
[
171.5,
233.24,
16.400000000000006,
35.80000000000001
],
[
282.97,
396.29,
45.22999999999996,
30.149999999999977
],
[
545.51,
133.01,
9.620... | [
{
"label": "bus",
"category": 4,
"points": [
[
260.49,
282.97
],
[
264.62,
211.42
],
[
431.8,
192.16
],
[
430.42,
243.07
],
[
439.36,
245.82
],
[
440.... | |
{
"bbox": [
[
576.96,
291.44,
22.089999999999918,
31.920000000000016
],
[
598.22,
288.89,
41.389999999999986,
35.68000000000001
],
[
143.46,
130.52,
409.89,
230.83
],
[
0.98,
223.56,
42.34,
98.9... | [
{
"label": "bicycle",
"category": 1,
"points": [
[
579.96,
302.08
],
[
576.96,
307.26
],
[
578.05,
318.17
],
[
579.96,
321.72
],
[
581.32,
323.36
],
[
... | |
{
"bbox": [
[
240.72,
77.47,
203.47,
119.41
],
[
91.7,
16.33,
240.73000000000002,
378.28000000000003
],
[
8.85,
91.4,
49.41,
37.129999999999995
],
[
268.19,
55.85,
148.29000000000002,
39.96
... | [
{
"label": "car",
"category": 2,
"points": [
[
240.72,
185.41
],
[
246.46,
186.37
],
[
256.01,
196.88
],
[
266.52,
193.05
],
[
270.34,
183.5
],
[
353.... | |
{
"bbox": [
[
237.65,
301.64,
34.66,
56.19
],
[
236.41,
299.74,
57.72999999999999,
76.96999999999997
],
[
376.8,
217.84,
186.09999999999997,
209.16
],
[
282.98,
263.01,
12.729999999999961,
36.06... | [
{
"label": "bicycle",
"category": 1,
"points": [
[
237.65,
324.75
],
[
245.79,
320.02
],
[
252.62,
316.08
],
[
257.61,
312.41
],
[
260.49,
309.52
],
[
... | |
{
"bbox": [
[
416.03,
297.6,
6.230000000000018,
13.529999999999973
],
[
343.05,
285.75,
49.81,
17.470000000000027
],
[
371.89,
283.49,
35.23000000000002,
15.649999999999977
],
[
387.15,
281.96,
24.370... | [
{
"label": "bicycle",
"category": 1,
"points": [
[
418.61,
308.47
],
[
418.19,
309.96
],
[
417.53,
311.13
],
[
417.28,
310.55
],
[
417.28,
309.38
],
[
... | |
{
"bbox": [
[
117.11,
140.2,
43.459999999999994,
32.360000000000014
],
[
168.89,
136.33,
33.75,
23.669999999999987
],
[
200.7,
138.69,
21.210000000000008,
18.19999999999999
],
[
298.9,
267.1,
73.77000... | [
{
"label": "car",
"category": 2,
"points": [
[
121.48,
172.38
],
[
118.93,
166.38
],
[
117.29,
165.84
],
[
117.11,
155.84
],
[
118.93,
151.29
],
[
130... | |
{
"bbox": [
[
399.51,
208,
41.139999999999986,
38.71000000000001
],
[
12.28,
155.31,
207.71,
164.13
],
[
327.69,
179.7,
59.01999999999998,
69.59
],
[
390.79,
206.81,
15.139999999999986,
16.75999... | [
{
"label": "car",
"category": 2,
"points": [
[
432.67,
243.24
],
[
407.67,
242.37
],
[
406.98,
245.49
],
[
401.42,
245.49
],
[
400.9,
237.86
],
[
399.... | |
{
"bbox": [
[
126.2,
133.75,
24.809999999999988,
12.949999999999989
],
[
147.05,
139.03,
9.549999999999983,
7.4199999999999875
],
[
96.37,
137.67,
10.549999999999997,
9.080000000000013
],
[
72.87,
136.54,
... | [
{
"label": "car",
"category": 2,
"points": [
[
127.28,
146.7
],
[
151.01,
146.7
],
[
151.01,
135.91
],
[
138.07,
133.75
],
[
127.28,
138.07
],
[
126.2... | |
{
"bbox": [
[
23.86,
518.9,
19.939999999999998,
34.10000000000002
],
[
482.71,
515.51,
12.360000000000014,
22.720000000000027
],
[
310.12,
515.64,
10.990000000000009,
33.430000000000064
],
[
42.38,
517.46,
... | [
{
"label": "person",
"category": 0,
"points": [
[
23.86,
531.9
],
[
31.11,
526.46
],
[
34.13,
518.9
],
[
38.66,
519.81
],
[
41.08,
524.34
],
[
39.57,
... | |
{
"bbox": [
[
54.41,
244.92,
282.76,
181.63000000000002
],
[
225.57,
219.14,
56.379999999999995,
98.99000000000001
],
[
116.37,
217.83,
117.32999999999998,
189.44999999999996
],
[
284.16,
212.31,
47.3... | [
{
"label": "motorcycle",
"category": 3,
"points": [
[
125.96,
412.79
],
[
112.89,
426.55
],
[
76.43,
421.05
],
[
57.85,
397.65
],
[
55.79,
378.39
],
[
... | |
{
"bbox": [
[
0,
255.75,
44.8,
153.62
],
[
12.36,
224.14,
133.91000000000003,
100.94
],
[
87.34,
205.82,
104.97999999999999,
87.69999999999999
],
[
257.08,
205.01,
105.10000000000002,
142.25
... | [
{
"label": "car",
"category": 2,
"points": [
[
2.17,
255.75
],
[
28.71,
262.98
],
[
23.89,
272.64
],
[
15.04,
275.85
],
[
36.76,
284.7
],
[
44.8,
... | |
{
"bbox": [
[
139.39,
486.45,
64.61000000000001,
36.26000000000005
],
[
51.84,
481.63,
44.599999999999994,
37.58000000000004
],
[
91.11,
486.57,
30.67,
19.889999999999986
],
[
183.61,
482.79,
26.03999... | [
{
"label": "car",
"category": 2,
"points": [
[
152.41,
490.17
],
[
139.39,
511.09
],
[
141.25,
518.52
],
[
145.44,
519.92
],
[
155.66,
516.2
],
[
162.... | |
{
"bbox": [
[
287.19,
23.51,
199.01,
275.06
],
[
66.34,
28.31,
21.840000000000003,
90.61
],
[
155.53,
11.2,
47.74000000000001,
76.13
],
[
86.61,
61.22,
54.64999999999999,
74.16
],
[
... | [
{
"label": "person",
"category": 0,
"points": [
[
445.75,
298.57
],
[
486.2,
255.69
],
[
479.73,
247.6
],
[
458.7,
260.55
],
[
440.9,
250.03
],
[
427.... | |
{
"bbox": [
[
329.81,
115.74,
38.910000000000025,
30.41000000000001
],
[
11.45,
127.92,
46.53,
35.019999999999996
],
[
93.95,
132.47,
48.33,
26.50999999999999
],
[
111.68,
103.28,
74.26999999999998,
... | [
{
"label": "car",
"category": 2,
"points": [
[
330.72,
124.79
],
[
331.44,
121.35
],
[
329.81,
117.92
],
[
331.8,
115.92
],
[
336.51,
115.74
],
[
339.... | |
{
"bbox": [
[
429.42,
116.15,
16.45999999999998,
33.53
],
[
454.26,
45.48,
166.58000000000004,
113.14000000000001
],
[
10.8,
8.53,
122.81000000000002,
175.10999999999999
],
[
127.7,
82.95,
24.26999999... | [
{
"label": "bicycle",
"category": 1,
"points": [
[
433.53,
117.84
],
[
431.89,
117.84
],
[
429.52,
119.48
],
[
429.42,
121.74
],
[
430.86,
123.7
],
[
... | |
{
"bbox": [
[
191.35,
293.19,
48.920000000000016,
76.89999999999998
],
[
245.84,
275.96,
55.08000000000001,
96.38
],
[
370.96,
279.21,
19.210000000000036,
53.34000000000003
],
[
544.69,
281.83,
13.189... | [
{
"label": "person",
"category": 0,
"points": [
[
196.49,
315.09
],
[
194.19,
320.22
],
[
194.59,
329.54
],
[
194.86,
340.9
],
[
193.92,
346.17
],
[
1... | |
{
"bbox": [
[
389.3,
397.31,
33.40999999999997,
15.75
],
[
466.22,
397.64,
21.629999999999995,
14.069999999999993
],
[
441.57,
397.42,
19.75,
10.399999999999977
],
[
80.82,
385.89,
55.03,
30.889... | [
{
"label": "car",
"category": 2,
"points": [
[
400.48,
399.22
],
[
402.84,
397.75
],
[
411.67,
397.31
],
[
415.2,
397.75
],
[
416.67,
399.22
],
[
419.... | |
{
"bbox": [
[
176.38,
162.94,
71.91,
57.53
],
[
174.87,
160.3,
73.87,
58.78999999999999
],
[
1.51,
169.34,
91.94999999999999,
54.27000000000001
],
[
383.64,
189.93,
94.13,
162.07
],
[
... | [
{
"label": "car",
"category": 2,
"points": [
[
176.38,
162.94
],
[
202.12,
163.7
],
[
223.31,
167.48
],
[
234.67,
178.84
],
[
240.72,
178.84
],
[
248.... | |
{
"bbox": [
[
0,
123.25,
315.09,
198.26999999999998
],
[
316.53,
192.59,
122.97000000000003,
78.05999999999997
],
[
305.73,
224.03,
89.5,
157.67999999999998
],
[
0,
188.84,
140.71,
283.61
],... | [
{
"label": "bus",
"category": 4,
"points": [
[
56.8,
189.7
],
[
87.88,
189.7
],
[
112.53,
208.99
],
[
120.04,
232.57
],
[
123.25,
246.5
],
[
117.89,
... |
View on Pictograph · Pictograph Research · Custom License
About
Street Scenes is a computer-vision dataset curated and annotated on Pictograph. The most common detected objects are bus, crosswalk, traffic light, sidewalk, road, sign. 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 | 300 |
| Annotations | 4,975 |
| Classes | 7 |
| Annotation types | polygon |
| Splits | train, validation |
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/street-scenes", 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": ["person"]
},
"segmentation": [
{"label": "person", "category": 0, "points": [[176.9, 207.2], [259.0, 274.1], ...]}
]
}
Classes
Class index matches objects.categories in metadata.jsonl.
| # | Class | Annotations |
|---|---|---|
| 0 | person | 1,919 |
| 1 | bicycle | 188 |
| 2 | car | 1,582 |
| 3 | motorcycle | 169 |
| 4 | bus | 163 |
| 5 | truck | 290 |
| 6 | traffic light | 664 |
License
Images: each photo keeps its own Flickr license as COCO records it - 295 under CC BY 2.0 (https://creativecommons.org/licenses/by/2.0/) and 5 with no known copyright restrictions; the dataset card credits every photo. Outlines: CC BY 4.0, the COCO Consortium. Cite Lin et al., Microsoft COCO: Common Objects in Context (ECCV 2014).
Published from Pictograph - annotate, train, and deploy from one API.
- Downloads last month
- 157
