Datasets:
image imagewidth (px) 113 5.62k | objects dict | segmentation listlengths 1 18 |
|---|---|---|
{
"bbox": [
[
130,
381,
66,
21
],
[
256,
287,
129,
88
],
[
16,
276,
94,
27
],
[
0,
237,
217,
108
],
[
28,
219,
131,
42
],
[
200,
125,
24... | [
{
"label": "shrimp",
"category": 55,
"points": [
[
196,
402
],
[
172,
381
],
[
160,
385
],
[
157,
390
],
[
148,
388
],
[
143,
392
],
... | |
{
"bbox": [
[
0,
56,
496,
216
],
[
0,
252,
116,
49
],
[
344,
194,
167,
77
],
[
0,
60,
161,
156
],
[
50,
0,
461,
172
],
[
16,
222,
384,
... | [
{
"label": "sauce",
"category": 51,
"points": [
[
0,
248
],
[
9,
254
],
[
18,
254
],
[
21,
251
],
[
24,
240
],
[
31,
232
],
[
... | |
{
"bbox": [
[
100,
586,
899,
746
],
[
119,
103,
237,
333
],
[
0,
109,
524,
357
]
],
"categories": [
51,
51,
86
],
"category_names": [
"sauce",
"sauce",
"broccoli"
]
} | [
{
"label": "sauce",
"category": 51,
"points": [
[
158,
748
],
[
155,
777
],
[
136,
850
],
[
121,
885
],
[
100,
956
],
[
103,
989
],
... | |
{
"bbox": [
[
7,
53,
200,
189
],
[
84,
5,
137,
180
]
],
"categories": [
28,
57
],
"category_names": [
"banana",
"bread"
]
} | [
{
"label": "banana",
"category": 28,
"points": [
[
23,
87
],
[
10,
112
],
[
7,
130
],
[
8,
159
],
[
17,
178
],
[
30,
198
],
[
... | |
{
"bbox": [
[
4,
19,
378,
358
],
[
392,
63,
83,
243
],
[
441,
42,
70,
233
],
[
367,
40,
144,
355
]
],
"categories": [
45,
83,
83,
84
],
"category_names": [
"steak... | [
{
"label": "steak",
"category": 45,
"points": [
[
375,
58
],
[
372,
57
],
[
366,
62
],
[
362,
61
],
[
361,
56
],
[
357,
54
],
[
... | |
{
"bbox": [
[
75,
174,
32,
39
],
[
117,
108,
99,
99
],
[
0,
103,
76,
84
],
[
332,
72,
57,
62
],
[
222,
43,
66,
88
],
[
286,
3,
89,
... | [
{
"label": "ice_cream",
"category": 7,
"points": [
[
99,
175
],
[
87,
174
],
[
84,
180
],
[
75,
188
],
[
75,
193
],
[
77,
196
],
[... | |
{
"bbox": [
[
0,
0,
255,
175
],
[
104,
169,
46,
53
]
],
"categories": [
9,
30
],
"category_names": [
"cake",
"cherry"
]
} | [
{
"label": "cake",
"category": 9,
"points": [
[
255,
0
],
[
238,
10
],
[
217,
9
],
[
214,
11
],
[
200,
9
],
[
198,
11
],
[
... | |
{
"bbox": [
[
3,
105,
252,
134
],
[
126,
0,
116,
79
],
[
0,
0,
107,
138
],
[
159,
13,
25,
36
],
[
193,
7,
62,
75
]
],
"categories": [
47,
51,
... | [
{
"label": "chicken_duck",
"category": 47,
"points": [
[
255,
128
],
[
251,
123
],
[
247,
121
],
[
241,
122
],
[
232,
128
],
[
227,
128
... | |
{
"bbox": [
[
68,
298,
58,
62
],
[
25,
252,
69,
34
],
[
218,
247,
38,
41
],
[
148,
228,
92,
98
],
[
8,
225,
32,
27
],
[
165,
191,
59,
... | [
{
"label": "walnut",
"category": 21,
"points": [
[
71,
304
],
[
69,
307
],
[
68,
314
],
[
81,
336
],
[
91,
344
],
[
92,
349
],
[
... | |
{
"bbox": [
[
393,
67,
118,
327
],
[
125,
391,
126,
77
],
[
278,
386,
172,
82
],
[
196,
237,
169,
156
],
[
460,
126,
51,
74
],
[
0,
37,
... | [
{
"label": "juice",
"category": 13,
"points": [
[
421,
69
],
[
406,
86
],
[
398,
132
],
[
393,
142
],
[
393,
151
],
[
396,
156
],
... | |
{
"bbox": [
[
961,
590,
591,
608
],
[
1188,
1357,
267,
85
],
[
669,
1312,
572,
268
],
[
37,
1297,
547,
182
],
[
64,
469,
966,
657
],
[
0,
713,... | [
{
"label": "lemon",
"category": 36,
"points": [
[
961,
600
],
[
970,
617
],
[
1012,
634
],
[
1031,
685
],
[
1012,
719
],
[
977,
747
],
... | |
{
"bbox": [
[
319,
29,
179,
126
],
[
100,
0,
327,
298
],
[
88,
218,
109,
112
],
[
0,
102,
169,
202
],
[
400,
138,
82,
155
],
[
44,
177,
... | [
{
"label": "french_fries",
"category": 2,
"points": [
[
320,
50
],
[
319,
64
],
[
329,
74
],
[
334,
84
],
[
346,
95
],
[
349,
101
],
... | |
{
"bbox": [
[
1168,
564,
370,
283
],
[
584,
553,
363,
250
],
[
1635,
542,
339,
252
],
[
141,
88,
2257,
1557
],
[
0,
32,
316,
601
]
],
"categories": [
... | [
{
"label": "chocolate",
"category": 3,
"points": [
[
1503,
628
],
[
1452,
584
],
[
1395,
564
],
[
1330,
570
],
[
1266,
595
],
[
1220,
635
... | |
{
"bbox": [
[
170,
95,
278,
288
],
[
394,
169,
117,
214
],
[
0,
259,
226,
124
],
[
2,
79,
195,
198
],
[
166,
6,
185,
156
]
],
"categories": [
51,
... | [
{
"label": "sauce",
"category": 51,
"points": [
[
176,
146
],
[
170,
152
],
[
177,
153
],
[
179,
155
],
[
179,
160
],
[
175,
164
],
... | |
{
"bbox": [
[
625,
1261,
790,
490
],
[
1288,
1179,
467,
305
],
[
354,
932,
729,
723
],
[
560,
618,
898,
688
]
],
"categories": [
7,
7,
35,
88
],
"category_names": [
... | [
{
"label": "ice_cream",
"category": 7,
"points": [
[
1415,
1540
],
[
1264,
1505
],
[
1198,
1418
],
[
1169,
1313
],
[
1079,
1261
],
[
1056,
130... | |
{
"bbox": [
[
143,
87,
368,
291
],
[
0,
7,
263,
312
],
[
160,
104,
118,
99
],
[
230,
0,
149,
108
],
[
233,
68,
77,
68
],
[
265,
72,
149,... | [
{
"label": "steak",
"category": 45,
"points": [
[
509,
163
],
[
496,
151
],
[
477,
129
],
[
462,
117
],
[
455,
103
],
[
455,
98
],
... | |
{
"bbox": [
[
232,
371,
87,
106
],
[
92,
341,
138,
113
],
[
47,
46,
358,
357
]
],
"categories": [
31,
31,
66
],
"category_names": [
"blueberry",
"blueberry",
"pie"
]
} | [
{
"label": "blueberry",
"category": 31,
"points": [
[
265,
371
],
[
236,
388
],
[
232,
396
],
[
232,
405
],
[
237,
420
],
[
245,
425
],
... | |
{
"bbox": [
[
86,
16,
146,
101
],
[
239,
0,
86,
51
],
[
63,
49,
266,
165
],
[
412,
183,
15,
14
],
[
129,
192,
121,
104
],
[
233,
203,
22... | [
{
"label": "lemon",
"category": 36,
"points": [
[
225,
32
],
[
218,
25
],
[
200,
16
],
[
181,
16
],
[
162,
27
],
[
158,
31
],
[
... | |
{
"bbox": [
[
624,
273,
1549,
1300
],
[
1817,
0,
1085,
1693
],
[
1054,
1289,
232,
209
],
[
1330,
1213,
154,
202
],
[
986,
469,
898,
691
],
[
641,
... | [
{
"label": "steak",
"category": 45,
"points": [
[
1916,
273
],
[
1890,
293
],
[
1885,
308
],
[
1850,
313
],
[
1811,
366
],
[
1789,
411
]... | |
{
"bbox": [
[
0,
0,
337,
258
],
[
163,
104,
202,
175
],
[
142,
218,
360,
245
],
[
37,
218,
182,
154
],
[
335,
69,
167,
162
]
],
"categories": [
4,
... | [
{
"label": "biscuit",
"category": 4,
"points": [
[
333,
32
],
[
326,
24
],
[
302,
18
],
[
287,
20
],
[
278,
23
],
[
262,
6
],
[
... | |
{
"bbox": [
[
0,
470,
47,
41
],
[
64,
52,
39,
77
],
[
12,
3,
170,
177
],
[
202,
46,
181,
336
],
[
0,
341,
143,
170
],
[
0,
241,
100,
... | [
{
"label": "lemon",
"category": 36,
"points": [
[
0,
470
],
[
0,
511
],
[
40,
511
],
[
46,
503
],
[
47,
497
],
[
40,
496
],
[
... | |
{
"bbox": [
[
96,
252,
260,
274
],
[
256,
177,
464,
449
],
[
318,
497,
277,
170
],
[
330,
441,
124,
95
],
[
259,
183,
130,
64
]
],
"categories": [
67,... | [
{
"label": "tofu",
"category": 67,
"points": [
[
216,
252
],
[
96,
432
],
[
105,
456
],
[
115,
464
],
[
194,
507
],
[
243,
526
],
... | |
{
"bbox": [
[
2,
29,
248,
221
],
[
130,
149,
46,
56
],
[
75,
123,
46,
54
],
[
19,
107,
38,
37
],
[
177,
99,
44,
47
],
[
103,
79,
48,
... | [
{
"label": "ice_cream",
"category": 7,
"points": [
[
66,
38
],
[
65,
42
],
[
61,
46
],
[
53,
51
],
[
44,
54
],
[
45,
58
],
[
... | |
{
"bbox": [
[
567,
167,
258,
202
],
[
271,
105,
266,
96
],
[
27,
71,
896,
678
],
[
328,
348,
167,
297
],
[
290,
67,
471,
595
],
[
139,
197,
... | [
{
"label": "pork",
"category": 46,
"points": [
[
751,
168
],
[
739,
167
],
[
721,
176
],
[
708,
178
],
[
702,
188
],
[
678,
190
],
... | |
{
"bbox": [
[
69,
125,
124,
58
],
[
3,
31,
237,
143
]
],
"categories": [
29,
40
],
"category_names": [
"strawberry",
"grape"
]
} | [
{
"label": "strawberry",
"category": 29,
"points": [
[
71,
150
],
[
71,
159
],
[
69,
160
],
[
71,
170
],
[
77,
177
],
[
92,
180
],
... | |
{
"bbox": [
[
36,
80,
18,
33
],
[
60,
13,
161,
81
],
[
0,
46,
264,
196
]
],
"categories": [
29,
29,
57
],
"category_names": [
"strawberry",
"strawberry",
"bread"
]
} | [
{
"label": "strawberry",
"category": 29,
"points": [
[
40,
80
],
[
36,
87
],
[
37,
94
],
[
48,
113
],
[
54,
103
],
[
45,
88
],
[
... | |
{
"bbox": [
[
144,
54,
312,
329
],
[
240,
226,
218,
157
],
[
81,
51,
224,
229
],
[
164,
280,
65,
50
],
[
441,
175,
26,
38
],
[
137,
151,
... | [
{
"label": "sauce",
"category": 51,
"points": [
[
425,
111
],
[
417,
112
],
[
402,
99
],
[
392,
97
],
[
378,
97
],
[
369,
108
],
[... | |
{
"bbox": [
[
46,
70,
207,
185
],
[
0,
149,
62,
78
],
[
102,
59,
84,
71
],
[
0,
0,
234,
171
],
[
54,
125,
55,
86
],
[
105,
13,
144,
... | [
{
"label": "french_fries",
"category": 2,
"points": [
[
245,
78
],
[
241,
80
],
[
239,
79
],
[
237,
71
],
[
231,
70
],
[
211,
85
],
... | |
{
"bbox": [
[
33,
75,
183,
151
],
[
47,
27,
82,
72
],
[
0,
69,
79,
114
],
[
36,
52,
71,
46
],
[
91,
27,
78,
65
]
],
"categories": [
46,
49,
51... | [
{
"label": "pork",
"category": 46,
"points": [
[
214,
93
],
[
206,
84
],
[
201,
82
],
[
190,
81
],
[
177,
75
],
[
169,
76
],
[
... | |
{
"bbox": [
[
191,
210,
46,
32
],
[
48,
146,
28,
18
],
[
3,
124,
484,
230
],
[
457,
105,
49,
42
],
[
209,
161,
185,
105
],
[
36,
35,
193... | [
{
"label": "ice_cream",
"category": 7,
"points": [
[
237,
226
],
[
228,
214
],
[
228,
210
],
[
223,
216
],
[
210,
223
],
[
194,
237
],
... | |
{
"bbox": [
[
117,
69,
394,
314
],
[
8,
16,
465,
307
]
],
"categories": [
47,
100
],
"category_names": [
"chicken_duck",
"white_button_mushroom"
]
} | [
{
"label": "chicken_duck",
"category": 47,
"points": [
[
453,
87
],
[
436,
75
],
[
426,
70
],
[
412,
69
],
[
401,
72
],
[
393,
77
],
... | |
{
"bbox": [
[
0,
129,
458,
236
],
[
162,
0,
291,
162
],
[
378,
130,
133,
141
],
[
118,
106,
244,
117
]
],
"categories": [
23,
57,
72,
90
],
"category_names": [
"e... | [
{
"label": "egg",
"category": 23,
"points": [
[
0,
158
],
[
0,
169
],
[
2,
174
],
[
7,
179
],
[
5,
186
],
[
0,
194
],
[
0,... | |
{
"bbox": [
[
50,
63,
163,
138
],
[
134,
130,
190,
197
]
],
"categories": [
57,
65
],
"category_names": [
"bread",
"rice"
]
} | [
{
"label": "bread",
"category": 57,
"points": [
[
198,
79
],
[
181,
69
],
[
164,
63
],
[
154,
77
],
[
143,
87
],
[
118,
121
],
[
... | |
{
"bbox": [
[
84,
121,
146,
45
],
[
33,
2,
222,
120
],
[
0,
122,
91,
71
],
[
0,
62,
95,
59
],
[
0,
107,
255,
48
],
[
30,
161,
225,
... | [
{
"label": "chicken_duck",
"category": 47,
"points": [
[
84,
141
],
[
98,
141
],
[
99,
145
],
[
122,
158
],
[
128,
164
],
[
136,
166
],
... | |
{
"bbox": [
[
672,
260,
1775,
1025
],
[
0,
474,
1198,
1450
],
[
866,
1131,
1501,
1198
]
],
"categories": [
48,
69,
94
],
"category_names": [
"sausage",
"potato",
"green_beans"
]
} | [
{
"label": "sausage",
"category": 48,
"points": [
[
672,
445
],
[
676,
487
],
[
696,
498
],
[
695,
505
],
[
717,
498
],
[
748,
507
],
... | |
{
"bbox": [
[
39,
62,
411,
315
],
[
185,
193,
90,
72
],
[
310,
136,
58,
45
],
[
107,
114,
69,
62
],
[
185,
76,
35,
42
]
],
"categories": [
64,
72,... | [
{
"label": "noodles",
"category": 64,
"points": [
[
450,
177
],
[
445,
177
],
[
434,
165
],
[
434,
160
],
[
429,
152
],
[
431,
145
],
... | |
{
"bbox": [
[
101,
12,
277,
316
],
[
0,
0,
59,
88
],
[
75,
86,
196,
216
],
[
33,
114,
77,
181
]
],
"categories": [
45,
57,
69,
93
],
"category_names": [
"steak",
... | [
{
"label": "steak",
"category": 45,
"points": [
[
161,
12
],
[
164,
17
],
[
163,
24
],
[
160,
26
],
[
157,
34
],
[
152,
37
],
[
... | |
{
"bbox": [
[
347,
2401,
508,
168
],
[
117,
0,
404,
363
],
[
537,
1312,
213,
199
],
[
521,
1021,
269,
291
],
[
731,
965,
183,
251
],
[
749,
83... | [
{
"label": "wine",
"category": 10,
"points": [
[
347,
2569
],
[
855,
2569
],
[
785,
2484
],
[
693,
2426
],
[
576,
2401
],
[
507,
2421
],... | |
{
"bbox": [
[
96,
138,
358,
221
],
[
235,
69,
257,
206
],
[
371,
52,
160,
132
],
[
340,
41,
289,
317
]
],
"categories": [
47,
65,
65,
83
],
"category_names": [
"c... | [
{
"label": "chicken_duck",
"category": 47,
"points": [
[
103,
181
],
[
99,
203
],
[
96,
209
],
[
96,
224
],
[
128,
254
],
[
130,
259
],
... | |
{
"bbox": [
[
184,
185,
327,
88
],
[
322,
53,
66,
52
],
[
231,
90,
241,
85
],
[
0,
177,
111,
175
],
[
198,
67,
306,
159
]
],
"categories": [
7,
7,... | [
{
"label": "ice_cream",
"category": 7,
"points": [
[
184,
222
],
[
184,
229
],
[
186,
233
],
[
192,
237
],
[
197,
244
],
[
194,
251
],
... | |
{
"bbox": [
[
1695,
878,
1059,
693
],
[
1003,
1211,
1429,
765
],
[
953,
515,
837,
895
],
[
1944,
462,
601,
627
],
[
1428,
264,
642,
683
]
],
"categories":... | [
{
"label": "pork",
"category": 46,
"points": [
[
1715,
1046
],
[
1726,
1059
],
[
1695,
1120
],
[
1708,
1230
],
[
1721,
1241
],
[
1715,
1270
... | |
{
"bbox": [
[
58,
113,
287,
172
],
[
175,
27,
336,
166
],
[
98,
72,
102,
48
],
[
250,
135,
261,
210
]
],
"categories": [
46,
69,
83,
84
],
"category_names": [
"po... | [
{
"label": "pork",
"category": 46,
"points": [
[
59,
188
],
[
58,
213
],
[
66,
223
],
[
67,
233
],
[
64,
235
],
[
64,
239
],
[
... | |
{
"bbox": [
[
124,
106,
326,
250
],
[
128,
14,
186,
112
],
[
91,
48,
239,
133
],
[
16,
152,
187,
169
]
],
"categories": [
45,
51,
69,
94
],
"category_names": [
"s... | [
{
"label": "steak",
"category": 45,
"points": [
[
449,
171
],
[
440,
160
],
[
436,
159
],
[
428,
142
],
[
419,
141
],
[
412,
128
],
... | |
{
"bbox": [
[
178,
108,
167,
159
],
[
269,
246,
147,
135
],
[
126,
18,
128,
110
],
[
91,
254,
167,
129
],
[
346,
76,
41,
48
],
[
265,
27,
... | [
{
"label": "sauce",
"category": 51,
"points": [
[
223,
115
],
[
213,
123
],
[
207,
124
],
[
199,
133
],
[
187,
153
],
[
179,
176
],
... | |
{
"bbox": [
[
0,
18,
353,
260
],
[
240,
3,
211,
155
],
[
285,
118,
226,
160
]
],
"categories": [
47,
76,
81
],
"category_names": [
"chicken_duck",
"rape",
"cucumber"
]
} | [
{
"label": "chicken_duck",
"category": 47,
"points": [
[
353,
195
],
[
345,
181
],
[
339,
181
],
[
326,
172
],
[
321,
172
],
[
306,
161
... |
FoodSeg103
7,118 images and 40,275 annotations across 103 classes, annotated as polygon.
View on Pictograph · Pictograph Research · Custom License
About
FoodSeg103 is a computer-vision dataset curated and annotated on Pictograph. On Pictograph you can browse every annotated image, fork 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 | 7,118 |
| Annotations | 40,275 |
| Classes | 103 |
| Annotation types | polygon |
| Splits | train |
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 |
Polygon rings as [[x, y], ...] with class label. |
Use it
from datasets import load_dataset
ds = load_dataset("pictograph/foodseg103")
print(ds)
Prefer a full annotation editor, one-click fork, multi-format export, and one-click training? Open this dataset on Pictograph.
Classes
Class index matches objects.categories in metadata.jsonl.
All 103 classes, in index order: candy, egg_tart, french_fries, chocolate, biscuit, popcorn, pudding, ice_cream, cheese_butter, cake, wine, milkshake, coffee, juice, milk, tea, almond, red_beans, cashew, dried_cranberries, soy, walnut, peanut, egg, apple, date, apricot, avocado, banana, strawberry, cherry, blueberry, raspberry, mango, olives, peach, lemon, pear, fig, pineapple, grape, kiwi, melon, orange, watermelon, steak, pork, chicken_duck, sausage, fried_meat, lamb, sauce, crab, fish, shellfish, shrimp, soup, bread, corn, hamburg, pizza, hanamaki_baozi, wonton_dumplings, pasta, noodles, rice, pie, tofu, eggplant, potato, garlic, cauliflower, tomato, kelp, seaweed, spring_onion, rape, ginger, okra, lettuce, pumpkin, cucumber, white_radish, carrot, asparagus, bamboo_shoots, broccoli, celery_stick, cilantro_mint, snow_peas, cabbage, bean_sprouts, onion, pepper, green_beans, french_beans, king_oyster_mushroom, shiitake, enoki_mushroom, oyster_mushroom, white_button_mushroom, salad, other_ingredients.
License
Annotations and benchmark code: Apache License 2.0 (the FoodSeg103 authors). Images: curated from the Recipe1M dataset (MIT CSAIL, im2recipe) and subject to Recipe1M terms of use - non-commercial research/educational use, registration-gated, redistribution not granted. Attribute both FoodSeg103 (Wu et al., ACM MM 2021) and Recipe1M (Marin et al.).
Source and attribution
This dataset is derived from FoodSeg103, created by Wu, Fu, Liu, Lim, Hoi, Sun - Singapore Management University (ACM MM 2021), originally licensed Apache License 2.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
- 14