Datasets:
image imagewidth (px) 1.92k 1.92k | objects dict | segmentation listlengths 1 202 |
|---|---|---|
{
"bbox": [
[
1182,
685,
8,
9
],
[
966,
689,
6,
11
],
[
935,
688,
11,
14
],
[
1129,
686,
9,
13
],
[
1362,
666,
116,
90
],
[
1154,
683,
2... | [
{
"label": "car",
"category": 0,
"points": [
[
1190,
685
],
[
1184,
685
],
[
1183,
686
],
[
1183,
687
],
[
1182,
688
],
[
1182,
693
],
... | |
{
"bbox": [
[
422,
454,
192,
39
],
[
1333,
395,
563,
354
],
[
50,
492,
454,
229
],
[
535,
450,
137,
43
],
[
1866,
501,
53,
111
],
[
0,
452,
... | [
{
"label": "car",
"category": 0,
"points": [
[
614,
493
],
[
603,
471
],
[
588,
459
],
[
539,
454
],
[
472,
462
],
[
438,
473
],
[... | |
{
"bbox": [
[
1337,
678,
19,
8
],
[
1458,
674,
33,
30
],
[
1698,
685,
32,
39
],
[
889,
666,
15,
16
],
[
1278,
677,
52,
25
],
[
652,
666,
... | [
{
"label": "car",
"category": 0,
"points": [
[
1337,
683
],
[
1338,
684
],
[
1339,
684
],
[
1340,
685
],
[
1342,
685
],
[
1343,
686
],
... | |
{
"bbox": [
[
667,
649,
28,
27
],
[
1553,
705,
21,
21
],
[
1623,
690,
85,
53
],
[
1736,
729,
10,
11
],
[
1821,
726,
61,
43
],
[
1033,
668,
... | [
{
"label": "car",
"category": 0,
"points": [
[
693,
651
],
[
690,
649
],
[
683,
649
],
[
682,
650
],
[
673,
650
],
[
672,
651
],
[... | |
{
"bbox": [
[
827,
631,
11,
12
],
[
926,
628,
4,
12
],
[
0,
619,
180,
129
],
[
576,
650,
36,
59
],
[
897,
624,
23,
20
],
[
855,
630,
33,... | [
{
"label": "car",
"category": 0,
"points": [
[
827,
631
],
[
827,
643
],
[
832,
643
],
[
834,
641
],
[
835,
641
],
[
836,
640
],
[... | |
{
"bbox": [
[
961,
674,
10,
13
]
],
"categories": [
2
],
"category_names": [
"truck"
]
} | [
{
"label": "truck",
"category": 2,
"points": [
[
971,
675
],
[
970,
675
],
[
969,
674
],
[
965,
674
],
[
964,
675
],
[
962,
675
],
... | |
{
"bbox": [
[
825,
683,
33,
19
],
[
911,
683,
20,
10
],
[
933,
683,
12,
7
],
[
959,
681,
12,
6
],
[
988,
676,
10,
7
],
[
1022,
682,
41,
... | [
{
"label": "car",
"category": 0,
"points": [
[
825,
694
],
[
825,
702
],
[
832,
702
],
[
833,
701
],
[
841,
701
],
[
842,
700
],
[... | |
{
"bbox": [
[
963,
683,
5,
6
],
[
948,
683,
7,
8
],
[
494,
689,
9,
27
],
[
171,
697,
25,
28
],
[
224,
691,
66,
36
],
[
0,
704,
33,
... | [
{
"label": "car",
"category": 0,
"points": [
[
963,
683
],
[
964,
684
],
[
964,
686
],
[
965,
687
],
[
965,
689
],
[
967,
689
],
[... | |
{
"bbox": [
[
981,
435,
67,
47
],
[
842,
430,
27,
9
],
[
789,
445,
39,
24
],
[
453,
455,
33,
11
],
[
649,
442,
56,
11
],
[
534,
447,
150... | [
{
"label": "car",
"category": 0,
"points": [
[
981,
435
],
[
1023,
462
],
[
1033,
472
],
[
1034,
474
],
[
1034,
481
],
[
1033,
482
],
... | |
{
"bbox": [
[
1312,
630,
36,
18
],
[
1146,
632,
51,
35
],
[
1230,
637,
23,
36
],
[
68,
657,
350,
183
],
[
607,
677,
205,
139
],
[
966,
675,
... | [
{
"label": "car",
"category": 0,
"points": [
[
1312,
648
],
[
1313,
648
],
[
1314,
647
],
[
1316,
647
],
[
1317,
646
],
[
1320,
646
],
... | |
{
"bbox": [
[
317,
629,
14,
12
],
[
0,
613,
90,
28
],
[
1488,
672,
281,
123
],
[
1777,
664,
142,
166
],
[
565,
634,
21,
10
],
[
0,
644,
... | [
{
"label": "car",
"category": 0,
"points": [
[
318,
629
],
[
318,
630
],
[
317,
631
],
[
317,
632
],
[
319,
632
],
[
320,
633
],
[... | |
{
"bbox": [
[
630,
693,
167,
115
],
[
933,
681,
32,
25
],
[
799,
669,
11,
8
],
[
825,
661,
33,
39
],
[
884,
677,
24,
21
],
[
920,
666,
2... | [
{
"label": "car",
"category": 0,
"points": [
[
633,
740
],
[
630,
781
],
[
632,
796
],
[
639,
804
],
[
650,
805
],
[
659,
796
],
[... | |
{
"bbox": [
[
589,
680,
51,
23
],
[
392,
666,
101,
53
],
[
1373,
680,
124,
51
],
[
1101,
667,
21,
34
],
[
1528,
680,
117,
87
],
[
1816,
711,
... | [
{
"label": "car",
"category": 0,
"points": [
[
640,
682
],
[
638,
681
],
[
636,
681
],
[
635,
680
],
[
626,
680
],
[
625,
681
],
[... | |
{
"bbox": [
[
927,
626,
17,
11
],
[
828,
642,
21,
21
],
[
766,
636,
30,
36
],
[
1225,
632,
51,
48
],
[
1462,
607,
256,
159
],
[
1035,
633,
... | [
{
"label": "car",
"category": 0,
"points": [
[
928,
627
],
[
928,
628
],
[
927,
629
],
[
927,
636
],
[
943,
636
],
[
944,
637
],
[... | |
{
"bbox": [
[
823,
696,
35,
13
],
[
281,
658,
143,
89
],
[
809,
690,
31,
20
]
],
"categories": [
0,
0,
0
],
"category_names": [
"car",
"car",
"car"
]
} | [
{
"label": "car",
"category": 0,
"points": [
[
823,
709
],
[
828,
709
],
[
829,
708
],
[
846,
708
],
[
847,
707
],
[
857,
707
],
[... | |
{
"bbox": [
[
1809,
542,
88,
67
],
[
458,
445,
80,
87
],
[
0,
523,
903,
673
],
[
225,
455,
292,
141
],
[
0,
536,
23,
29
],
[
59,
487,
39... | [
{
"label": "car",
"category": 0,
"points": [
[
1812,
567
],
[
1809,
581
],
[
1809,
596
],
[
1812,
600
],
[
1866,
609
],
[
1889,
609
],
... | |
{
"bbox": [
[
888,
675,
88,
30
],
[
1321,
694,
73,
47
],
[
1460,
705,
106,
26
],
[
237,
674,
74,
32
],
[
1558,
746,
361,
461
],
[
1057,
678,
... | [
{
"label": "car",
"category": 0,
"points": [
[
976,
681
],
[
971,
678
],
[
969,
675
],
[
935,
675
],
[
911,
683
],
[
909,
687
],
[... | |
{
"bbox": [
[
789,
661,
38,
34
],
[
0,
733,
284,
362
],
[
893,
672,
16,
12
],
[
832,
682,
75,
57
],
[
74,
666,
192,
107
],
[
935,
585,
1... | [
{
"label": "car",
"category": 0,
"points": [
[
796,
661
],
[
793,
666
],
[
793,
668
],
[
792,
669
],
[
792,
672
],
[
791,
673
],
[... | |
{
"bbox": [
[
1037,
658,
30,
15
],
[
397,
643,
143,
63
],
[
0,
603,
65,
120
],
[
882,
669,
25,
20
],
[
774,
660,
15,
8
],
[
665,
655,
57... | [
{
"label": "car",
"category": 0,
"points": [
[
1037,
665
],
[
1038,
665
],
[
1040,
667
],
[
1044,
667
],
[
1046,
664
],
[
1047,
664
],
... | |
{
"bbox": [
[
922,
687,
17,
17
],
[
626,
683,
78,
51
],
[
171,
677,
111,
66
],
[
588,
690,
36,
51
],
[
1037,
694,
47,
35
],
[
1322,
685,
... | [
{
"label": "car",
"category": 0,
"points": [
[
926,
687
],
[
925,
688
],
[
925,
689
],
[
923,
691
],
[
923,
693
],
[
922,
694
],
[... | |
{
"bbox": [
[
1099,
678,
38,
39
],
[
945,
684,
122,
96
],
[
1187,
695,
124,
91
],
[
979,
673,
61,
12
],
[
1146,
685,
71,
55
],
[
1047,
664,
... | [
{
"label": "car",
"category": 0,
"points": [
[
1102,
678
],
[
1101,
679
],
[
1101,
706
],
[
1100,
707
],
[
1100,
714
],
[
1099,
715
],
... | |
{
"bbox": [
[
979,
685,
113,
91
]
],
"categories": [
0
],
"category_names": [
"car"
]
} | [
{
"label": "car",
"category": 0,
"points": [
[
979,
711
],
[
980,
716
],
[
986,
717
],
[
981,
730
],
[
981,
771
],
[
984,
776
],
[... | |
{
"bbox": [
[
741,
689,
13,
20
],
[
791,
693,
26,
28
],
[
1001,
711,
52,
8
],
[
809,
726,
614,
481
],
[
1723,
796,
196,
272
],
[
1403,
725,
... | [
{
"label": "car",
"category": 0,
"points": [
[
754,
689
],
[
743,
689
],
[
743,
694
],
[
742,
695
],
[
742,
702
],
[
741,
703
],
[... | |
{
"bbox": [
[
894,
667,
22,
19
],
[
844,
454,
38,
219
]
],
"categories": [
0,
4
],
"category_names": [
"car",
"utility vehicle"
]
} | [
{
"label": "car",
"category": 0,
"points": [
[
896,
668
],
[
896,
671
],
[
895,
672
],
[
895,
676
],
[
894,
677
],
[
894,
683
],
[... | |
{
"bbox": [
[
90,
376,
340,
245
]
],
"categories": [
0
],
"category_names": [
"car"
]
} | [
{
"label": "car",
"category": 0,
"points": [
[
406,
383
],
[
382,
376
],
[
332,
380
],
[
161,
419
],
[
146,
434
],
[
96,
531
],
[
... | |
{
"bbox": [
[
1127,
662,
32,
8
],
[
0,
687,
75,
12
],
[
220,
691,
103,
59
],
[
1158,
659,
36,
13
],
[
1212,
659,
28,
17
],
[
838,
672,
7... | [
{
"label": "car",
"category": 0,
"points": [
[
1127,
667
],
[
1127,
669
],
[
1135,
669
],
[
1136,
670
],
[
1159,
670
],
[
1159,
666
],
... | |
{
"bbox": [
[
427,
656,
19,
32
],
[
367,
666,
18,
22
],
[
1507,
674,
20,
46
],
[
581,
654,
22,
17
],
[
0,
778,
340,
429
],
[
529,
666,
4... | [
{
"label": "car",
"category": 0,
"points": [
[
427,
656
],
[
427,
667
],
[
429,
667
],
[
431,
669
],
[
431,
671
],
[
428,
674
],
[... | |
{
"bbox": [
[
947,
663,
66,
67
]
],
"categories": [
0
],
"category_names": [
"car"
]
} | [
{
"label": "car",
"category": 0,
"points": [
[
958,
664
],
[
955,
669
],
[
954,
677
],
[
949,
679
],
[
947,
684
],
[
948,
687
],
[... | |
{
"bbox": [
[
689,
680,
32,
26
],
[
1846,
696,
73,
10
],
[
867,
693,
73,
59
],
[
738,
691,
47,
32
],
[
825,
688,
33,
25
],
[
458,
712,
2... | [
{
"label": "car",
"category": 0,
"points": [
[
689,
688
],
[
689,
697
],
[
693,
697
],
[
694,
698
],
[
694,
700
],
[
695,
701
],
[... |
View on Pictograph · Pictograph Research · Creative Commons Attribution-NoDerivatives 4.0
About
A2D2 is a computer-vision dataset from A2D2, hosted on Pictograph. Instance segmentation of road users from the Audi Autonomous Driving Dataset (A2D2): 38,554 frames from the six cameras of an Audi Q7 e-tron, with every car, pedestrian, truck, bicycle, small vehicle, utility vehicle and tractor outlined as a polygon. The most common detected objects are road, car, crosswalk, truck, sidewalk, traffic light. 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 | 38,554 |
| Annotations | 549,965 |
| Classes | 7 |
| 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/a2d2", 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": ["car"]
},
"segmentation": [
{"label": "car", "category": 0, "points": [[176.9, 207.2], [259.0, 274.1], ...]}
]
}
Classes
Class index matches objects.categories in metadata.jsonl.
| # | Class | Annotations |
|---|---|---|
| 0 | car | 372,389 |
| 1 | pedestrian | 58,401 |
| 2 | truck | 67,059 |
| 3 | small vehicle | 7,812 |
| 4 | utility vehicle | 4,057 |
| 5 | bicycle | 40,136 |
| 6 | tractor | 111 |
License
Released under Creative Commons Attribution-NoDerivatives 4.0. When you use this data, please credit Audi AG (Geyer et al., 2020).
Source and attribution
The images and annotations come from A2D2, created by Audi AG (Geyer et al., 2020) and released under Creative Commons Attribution-NoDerivatives 4.0. We are grateful to the original authors. If you use this data, please cite the original source above.
Citation
@article{geyer2020a2d2,
title = {{A2D2}: {Audi Autonomous Driving Dataset}},
author = {Geyer, Jakob and Kassahun, Yohannes and Mahmudi, Mentar and Ricou, Xavier and Durgesh, Rupesh and Chung, Andrew S. and Hauswald, Lorenz and Pham, Viet Hoang and M{\"u}hlegg, Maximilian and Dorn, Sebastian and Fernandez, Tiffany and J{\"a}nicke, Martin and Mirashi, Sudesh and Savani, Chiragkumar and Sturm, Martin and Vorobiov, Oleksandr and Oelker, Martin and Garreis, Sebastian and Schuberth, Peter},
journal = {arXiv preprint arXiv:2004.06320},
year = {2020}
}
Published from Pictograph - annotate, train, and deploy from one API.
- Downloads last month
- 99
