Datasets:
image imagewidth (px) 1.28k 1.28k | objects dict | segmentation listlengths 1 29 |
|---|---|---|
{
"bbox": [
[
26,
168,
57,
56
],
[
178,
12,
29,
35
],
[
325,
1,
26,
19
],
[
1,
346,
30,
35
],
[
18,
405,
98,
111
],
[
684,
258,
48,
... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
29,
207
],
[
33,
219
],
[
40,
222
],
[
54,
218
],
[
70,
224
],
[
82,
215
],
[... | |
{
"bbox": [
[
121,
7,
54,
41
],
[
179,
274,
30,
39
],
[
274,
373,
98,
88
],
[
297,
171,
84,
49
],
[
501,
174,
164,
157
],
[
713,
158,
40... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
147,
7
],
[
142,
11
],
[
138,
12
],
[
135,
12
],
[
129,
14
],
[
124,
18
],
[
... | |
{
"bbox": [
[
285,
60,
109,
116
],
[
924,
1,
117,
61
],
[
1044,
124,
50,
30
],
[
1040,
500,
115,
98
],
[
1067,
2,
49,
36
],
[
313,
47,
3... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
333,
67
],
[
346,
61
],
[
354,
61
],
[
360,
61
],
[
368,
60
],
[
375,
63
],
... | |
{
"bbox": [
[
17,
204,
85,
54
],
[
63,
179,
29,
31
],
[
237,
462,
143,
141
],
[
539,
558,
85,
116
],
[
688,
253,
110,
117
],
[
715,
124,
... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
47,
208
],
[
30,
204
],
[
24,
208
],
[
18,
221
],
[
17,
233
],
[
25,
253
],
... | |
{
"bbox": [
[
302,
164,
66,
64
],
[
937,
22,
55,
59
],
[
1085,
391,
61,
74
],
[
337,
663,
97,
56
],
[
1232,
104,
46,
18
],
[
1216,
78,
3... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
314,
168
],
[
323,
166
],
[
330,
164
],
[
336,
165
],
[
340,
168
],
[
349,
169
],... | |
{
"bbox": [
[
0,
385,
157,
153
],
[
393,
393,
166,
148
],
[
592,
434,
25,
39
],
[
589,
150,
79,
128
],
[
952,
456,
145,
110
],
[
1140,
380,
... | [
{
"label": "green peduncle",
"category": 4,
"points": [
[
79,
395
],
[
72,
390
],
[
53,
386
],
[
44,
385
],
[
33,
389
],
[
22,
391
],
... | |
{
"bbox": [
[
1,
631,
114,
78
],
[
585,
208,
70,
97
],
[
447,
638,
22,
25
],
[
581,
130,
50,
47
],
[
1146,
85,
40,
46
],
[
1181,
142,
73... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
1,
645
],
[
16,
640
],
[
31,
636
],
[
65,
632
],
[
81,
631
],
[
101,
638
],
... | |
{
"bbox": [
[
1,
45,
87,
124
],
[
1163,
126,
95,
67
],
[
294,
285,
47,
63
],
[
520,
422,
70,
80
],
[
1,
26,
34,
38
]
],
"categories": [
0,
0,
... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
1,
162
],
[
16,
169
],
[
33,
163
],
[
47,
163
],
[
64,
159
],
[
75,
148
],
... | |
{
"bbox": [
[
1,
1,
141,
125
],
[
595,
251,
97,
115
],
[
512,
143,
102,
112
],
[
717,
70,
89,
74
],
[
1176,
346,
101,
86
],
[
545,
133,
... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
1,
118
],
[
7,
121
],
[
18,
124
],
[
28,
125
],
[
38,
124
],
[
49,
126
],
[... | |
{
"bbox": [
[
309,
1,
113,
115
],
[
501,
114,
66,
77
],
[
497,
354,
45,
56
],
[
62,
387,
165,
157
],
[
504,
450,
32,
63
],
[
458,
466,
5... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
335,
5
],
[
327,
9
],
[
320,
16
],
[
315,
31
],
[
313,
45
],
[
309,
62
],
[
... | |
{
"bbox": [
[
573,
1,
100,
79
],
[
795,
1,
107,
100
],
[
691,
80,
30,
20
],
[
136,
1,
246,
150
],
[
226,
226,
130,
141
],
[
990,
456,
60... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
673,
21
],
[
666,
36
],
[
657,
49
],
[
650,
57
],
[
639,
66
],
[
620,
76
],
... | |
{
"bbox": [
[
349,
85,
90,
85
],
[
428,
134,
20,
28
],
[
270,
214,
56,
75
],
[
497,
162,
65,
66
],
[
291,
375,
62,
62
],
[
297,
414,
53,... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
398,
86
],
[
408,
85
],
[
419,
90
],
[
426,
96
],
[
439,
123
],
[
437,
134
],
... | |
{
"bbox": [
[
487,
380,
134,
98
],
[
397,
526,
66,
41
],
[
675,
495,
31,
50
],
[
280,
248,
87,
76
],
[
441,
82,
58,
68
],
[
187,
152,
17... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
547,
381
],
[
536,
381
],
[
529,
383
],
[
525,
383
],
[
515,
384
],
[
504,
391
],
... | |
{
"bbox": [
[
913,
0,
114,
63
],
[
592,
80,
30,
37
]
],
"categories": [
0,
2
],
"category_names": [
"green fruit",
"orange fruit"
]
} | [
{
"label": "green fruit",
"category": 0,
"points": [
[
919,
0
],
[
913,
16
],
[
913,
33
],
[
919,
49
],
[
940,
58
],
[
959,
57
],
... | |
{
"bbox": [
[
1210,
1,
69,
66
],
[
576,
1,
228,
133
],
[
492,
217,
72,
72
],
[
504,
171,
48,
39
],
[
241,
104,
62,
74
],
[
1196,
463,
30... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
1210,
1
],
[
1215,
18
],
[
1217,
31
],
[
1221,
40
],
[
1233,
50
],
[
1241,
52
],
... | |
{
"bbox": [
[
1238,
0,
41,
74
],
[
986,
187,
77,
81
],
[
761,
241,
44,
59
],
[
794,
370,
33,
76
],
[
699,
326,
12,
12
],
[
407,
634,
75,... | [
{
"label": "yellow fruit",
"category": 1,
"points": [
[
1279,
1
],
[
1279,
74
],
[
1278,
74
],
[
1276,
74
],
[
1273,
74
],
[
1264,
72
],... | |
{
"bbox": [
[
174,
615,
57,
57
],
[
1,
479,
6,
31
],
[
135,
396,
45,
47
],
[
473,
49,
120,
111
],
[
421,
277,
23,
29
],
[
604,
310,
13,
... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
191,
615
],
[
182,
622
],
[
174,
628
],
[
175,
637
],
[
178,
648
],
[
183,
659
],
... | |
{
"bbox": [
[
0,
144,
57,
78
],
[
103,
266,
77,
58
],
[
191,
562,
77,
75
],
[
329,
55,
99,
116
],
[
606,
329,
120,
129
],
[
798,
298,
64... | [
{
"label": "yellow fruit",
"category": 1,
"points": [
[
39,
171
],
[
44,
174
],
[
44,
176
],
[
45,
177
],
[
48,
183
],
[
51,
187
],
... | |
{
"bbox": [
[
0,
255,
44,
51
],
[
311,
131,
58,
74
],
[
580,
234,
84,
82
],
[
687,
0,
229,
146
],
[
594,
45,
40,
15
],
[
987,
0,
124,
... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
0,
304
],
[
8,
306
],
[
15,
302
],
[
26,
297
],
[
30,
286
],
[
41,
277
],
[
... | |
{
"bbox": [
[
453,
53,
122,
109
],
[
167,
622,
61,
51
],
[
128,
396,
48,
48
],
[
656,
606,
60,
55
],
[
788,
481,
62,
65
],
[
902,
376,
5... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
494,
59
],
[
481,
64
],
[
476,
65
],
[
465,
66
],
[
457,
70
],
[
454,
85
],
... | |
{
"bbox": [
[
313,
78,
79,
103
],
[
307,
267,
60,
52
],
[
29,
487,
92,
126
],
[
580,
301,
48,
50
],
[
489,
220,
33,
60
],
[
522,
253,
49... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
337,
79
],
[
355,
78
],
[
366,
78
],
[
373,
80
],
[
379,
80
],
[
385,
85
],
[... | |
{
"bbox": [
[
15,
272,
133,
83
],
[
0,
35,
48,
76
],
[
595,
258,
27,
29
],
[
766,
621,
53,
49
],
[
988,
515,
55,
43
],
[
970,
585,
13,
... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
21,
277
],
[
34,
274
],
[
44,
274
],
[
53,
272
],
[
64,
274
],
[
70,
276
],
[... | |
{
"bbox": [
[
226,
102,
76,
63
],
[
322,
226,
43,
73
],
[
139,
279,
74,
82
],
[
1,
508,
92,
94
],
[
356,
397,
93,
90
],
[
570,
618,
73,
... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
270,
102
],
[
260,
105
],
[
249,
105
],
[
250,
111
],
[
250,
118
],
[
246,
126
],... | |
{
"bbox": [
[
422,
112,
120,
134
],
[
357,
270,
42,
28
],
[
1056,
55,
28,
14
],
[
948,
552,
46,
41
],
[
1151,
171,
34,
29
],
[
464,
84,
... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
442,
118
],
[
453,
115
],
[
469,
112
],
[
490,
114
],
[
524,
126
],
[
532,
128
],
... | |
{
"bbox": [
[
94,
161,
89,
47
],
[
176,
220,
45,
37
],
[
215,
146,
146,
130
],
[
367,
186,
54,
44
],
[
349,
19,
98,
79
],
[
2,
366,
80,
... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
96,
207
],
[
95,
202
],
[
94,
197
],
[
94,
191
],
[
94,
188
],
[
94,
183
],
[... | |
{
"bbox": [
[
100,
0,
139,
110
],
[
325,
75,
67,
72
],
[
30,
371,
112,
102
],
[
207,
465,
42,
54
],
[
519,
466,
37,
53
],
[
550,
463,
25... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
210,
0
],
[
213,
4
],
[
219,
7
],
[
224,
12
],
[
228,
16
],
[
227,
18
],
[
... | |
{
"bbox": [
[
1099,
201,
40,
69
],
[
788,
178,
40,
72
],
[
740,
1,
140,
96
],
[
585,
51,
25,
66
],
[
64,
280,
83,
67
],
[
64,
352,
63,
... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
1114,
201
],
[
1102,
208
],
[
1099,
219
],
[
1099,
229
],
[
1116,
267
],
[
1120,
270
... | |
{
"bbox": [
[
14,
253,
48,
34
],
[
109,
645,
101,
74
],
[
311,
514,
74,
54
],
[
1,
376,
66,
149
],
[
533,
276,
45,
48
],
[
667,
260,
11,... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
32,
253
],
[
17,
256
],
[
14,
261
],
[
15,
270
],
[
18,
280
],
[
23,
285
],
[... | |
{
"bbox": [
[
188,
323,
115,
112
],
[
76,
383,
77,
31
],
[
0,
0,
106,
59
],
[
620,
104,
102,
104
],
[
585,
46,
109,
62
],
[
829,
0,
25,
... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
257,
328
],
[
265,
328
],
[
272,
328
],
[
279,
330
],
[
287,
332
],
[
292,
337
],... | |
{
"bbox": [
[
440,
101,
39,
65
],
[
645,
236,
27,
36
],
[
672,
658,
91,
61
],
[
881,
377,
64,
39
],
[
824,
130,
101,
127
],
[
550,
1,
11... | [
{
"label": "red fruit",
"category": 3,
"points": [
[
454,
101
],
[
446,
108
],
[
446,
119
],
[
444,
124
],
[
442,
130
],
[
440,
135
],
... | |
{
"bbox": [
[
204,
52,
64,
76
],
[
251,
119,
77,
99
],
[
286,
312,
67,
75
],
[
404,
249,
26,
49
],
[
475,
246,
134,
152
],
[
501,
170,
2... | [
{
"label": "green fruit",
"category": 0,
"points": [
[
230,
53
],
[
223,
52
],
[
218,
52
],
[
216,
52
],
[
213,
55
],
[
213,
56
],
... |
View on Pictograph · Pictograph Research · Creative Commons Attribution-ShareAlike 4.0
About
Peppers-600 is a computer-vision dataset from Sweet Pepper and Peduncle Segmentation, hosted on Pictograph. Greenhouse bell peppers and peduncles by color: 6,422 instance polygons in 8 classes. The most common detected objects are leaf, bush, tomato, tree, orange, pumpkin. 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 | 619 |
| Annotations | 6,422 |
| Classes | 8 |
| 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/peppers-600", 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": ["green fruit"]
},
"segmentation": [
{"label": "green fruit", "category": 0, "points": [[176.9, 207.2], [259.0, 274.1], ...]}
]
}
Classes
Class index matches objects.categories in metadata.jsonl.
| # | Class | Annotations |
|---|---|---|
| 0 | green fruit | 2,434 |
| 1 | yellow fruit | 569 |
| 2 | orange fruit | 104 |
| 3 | red fruit | 2,218 |
| 4 | green peduncle | 620 |
| 5 | yellow peduncle | 110 |
| 6 | orange peduncle | 2 |
| 7 | red peduncle | 365 |
License
Released under Creative Commons Attribution-ShareAlike 4.0. When you use this data, please credit Luis Montoya, Tecnológico de Monterrey.
Source and attribution
The images and annotations come from Sweet Pepper and Peduncle Segmentation, created by Luis Montoya, Tecnológico de Monterrey and released under Creative Commons Attribution-ShareAlike 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
- 178
