Dataset Preview Go to dataset viewer
image_id (string)x_min (float)x_max (float)y_min (float)y_max (float)class_name (string)folder (string)
009218ad38ab2010
0.193
0.73
0.128
0.662
cake
cake
009218ad38ab2010
0.802
1
0.103
0.405
ice cream
cake
009218ad38ab2010
0.815
0.971
0.122
0.358
ice cream
cake
00c7515143b32051
0.135
0.904
0.082
0.909
cake
muffin
00c7515143b32051
0.156
0.911
0.083
0.893
muffin
muffin
00e1d5cbbd4e874a
0.053
0.543
0
0.477
cake
cake
00e1d5cbbd4e874a
0.057
0.527
0.022
0.422
cake
cake
00e1d5cbbd4e874a
0.417
0.687
0.567
0.935
cake
cake
01430a5180b22023
0.207
0.699
0.14
0.631
cake
cake
01430a5180b22023
0.191
0.807
0.118
0.686
cake
cake
016e1c743cbf498a
0.078
0.925
0.36
0.894
cake
muffin
016e1c743cbf498a
0.06
0.932
0.348
0.881
cake
muffin
016e1c743cbf498a
0.078
0.925
0.36
0.894
muffin
muffin
016e1c743cbf498a
0.083
0.918
0.36
0.894
muffin
muffin
0185953dfebc3165
0.215
0.993
0.88
0.998
cake
cake
0185953dfebc3165
0.23
0.966
0.875
1
cake
cake
018e8e4710b860ea
0.015
0.985
0.008
0.966
cake
cake
018e8e4710b860ea
0.018
0.989
0
0.972
cake
cake
01918ed451cb9a4f
0.118
0.846
0.073
0.864
cake
orange
01918ed451cb9a4f
0.546
0.746
0.113
0.259
orange
orange
01918ed451cb9a4f
0.142
0.336
0.311
0.516
orange
orange
01918ed451cb9a4f
0.362
0.55
0.082
0.259
orange
orange
01918ed451cb9a4f
0.572
0.763
0.259
0.474
orange
orange
019708ceb11f8fbc
0.175
0.879
0.327
0.882
cake
cake
019708ceb11f8fbc
0.168
0.976
0.33
0.913
cake
cake
01af4cde85d3107c
0.264
0.879
0.528
0.727
cake
cake
01af4cde85d3107c
0.29
0.931
0.482
0.709
cake
cake
01e12dd1d8c294b4
0.097
0.871
0
0.998
cake
cake
01e12dd1d8c294b4
0.144
0.868
0
1
cake
cake
01f7f5aa715d65b3
0.19
0.913
0
0.972
cake
cake
01f7f5aa715d65b3
0.217
0.472
0.007
0.41
ice cream
cake
01f7f5aa715d65b3
0.528
0.908
0.518
0.964
ice cream
cake
023f1150110f0994
0.064
0.844
0.482
0.976
cake
cake
023f1150110f0994
0.12
0.841
0.48
0.949
cake
cake
023f1150110f0994
0.066
0.85
0.461
0.929
cake
cake
032b5f219dfb316e
0.448
0.65
0.81
1
cake
muffin
032b5f219dfb316e
0.013
1
0.047
0.53
cake
muffin
032b5f219dfb316e
0.367
0.787
0.157
0.486
muffin
muffin
032b5f219dfb316e
0.018
0.411
0.137
0.571
muffin
muffin
034f51fba10d798c
0.295
0.61
0.438
0.735
cake
muffin
034f51fba10d798c
0.324
0.607
0.416
0.76
cake
muffin
034f51fba10d798c
0.313
0.612
0.421
0.762
cake
muffin
034f51fba10d798c
0.321
0.595
0.45
0.748
muffin
muffin
034f51fba10d798c
0.326
0.607
0.464
0.749
muffin
muffin
034f51fba10d798c
0.308
0.61
0.42
0.764
muffin
muffin
036ef04c1823fb7f
0.044
0.974
0.021
0.966
cake
waffle
036ef04c1823fb7f
0.385
0.628
0.509
0.654
waffle
waffle
03cc20bd2e33ecea
0.096
0.809
0.134
0.963
cake
cake
03cc20bd2e33ecea
0.02
0.997
0
0.999
cake
cake
03ecfcc2c63cdc12
0.09
0.798
0.236
0.816
cake
cake
042024000e48bdd2
0.036
0.597
0.128
0.812
cake
muffin
042024000e48bdd2
0.039
0.612
0.134
0.823
muffin
muffin
0498df48ed184544
0.139
0.986
0.219
0.981
cake
cake
0498df48ed184544
0.234
1
0.298
1
cake
cake
05030037532a010c
0.277
0.718
0.26
0.635
cake
muffin
05030037532a010c
0.266
0.838
0.085
0.618
cake
muffin
05030037532a010c
0.273
0.824
0.097
0.636
muffin
muffin
05ab08b185b4920c
0.007
0.472
0.229
0.477
cake
muffin
05ab08b185b4920c
0.444
0.975
0.267
0.691
muffin
muffin
05ab08b185b4920c
0.451
0.95
0.222
0.651
muffin
muffin
05ab08b185b4920c
0.457
0.948
0.253
0.662
muffin
muffin
05ab08b185b4920c
0
0.486
0.17
0.598
muffin
muffin
06cccbd037f23804
0.633
0.744
0.583
0.759
cake
muffin
06cccbd037f23804
0.632
0.74
0.597
0.746
muffin
muffin
0826529c971f48a8
0.063
0.879
0.048
0.944
cake
cake
0826529c971f48a8
0.074
0.897
0.017
0.887
cake
cake
0826529c971f48a8
0.05
0.897
0
0.907
cake
cake
0861e84b51d6d057
0.2
0.699
0.75
1
cake
cake
0961dc6ae08ad3ee
0.13
0.491
0.394
0.999
cake
cake
0961dc6ae08ad3ee
0.142
0.497
0.404
0.96
cake
cake
09a14b6767c78960
0.22
0.909
0.264
0.902
cake
cake
09a14b6767c78960
0.26
0.847
0.249
0.807
cake
cake
09a14b6767c78960
0.217
0.886
0.142
0.879
cake
cake
0a299b5d198b6206
0.173
0.759
0.16
0.812
cake
cake
0a299b5d198b6206
0.18
0.77
0.22
0.694
cake
cake
0aa44d5e0e12d21d
0.139
0.831
0.204
0.827
cake
cake
0aa44d5e0e12d21d
0.163
0.813
0.182
0.772
cake
cake
0b72469e4314e52c
0.151
0.755
0.125
0.664
cake
cake
0c6bddfbd56f9679
0.075
0.906
0.013
0.943
cake
cake
0e460de20554b67f
0.166
0.427
0.63
0.987
cake
muffin
0e460de20554b67f
0.548
0.749
0.24
0.554
muffin
muffin
0e482afe9b5177d6
0.1
0.535
0.616
0.976
cake
cake
0ebda0d8c65d4997
0.402
0.973
0.596
0.831
cake
cake
0f68e410ab511c28
0.266
0.839
0.141
0.795
cake
cake
1298deebc70ea5a0
0.714
1
0.41
0.862
cake
muffin
1298deebc70ea5a0
0
0.309
0.359
0.869
muffin
muffin
13595d139930d831
0.253
0.517
0.5
0.681
cake
cake
137a98753adfde99
0.058
0.996
0.374
0.995
cake
cake
137a98753adfde99
0.051
0.365
0.454
0.626
strawberry
cake
13b624f5a26e9b9f
0.002
0.997
0.127
0.839
cake
cake
13b624f5a26e9b9f
0.059
1
0.142
0.841
cake
cake
152bc1fdd09e4d0a
0.231
0.863
0.186
0.557
cake
muffin
152bc1fdd09e4d0a
0.127
0.895
0.185
0.671
muffin
muffin
156065fe277b2569
0.096
0.859
0.133
0.897
cake
cake
156065fe277b2569
0.07
0.869
0.111
0.987
cake
cake
15a153683d32c265
0.201
0.911
0.332
0.852
cake
cake
160832b0953edb31
0.168
0.874
0.357
1
cake
cake
16f15bcf6de0b569
0
0.977
0.235
0.992
cake
cake
18be3ddee3c31cc9
0.606
0.986
0.036
0.534
cake
cake
19df61d17d36a791
0.003
0.768
0.321
0.806
cake
muffin
End of preview (truncated to 100 rows)

Dataset Card for Snacks (Detection)

Dataset Summary

This is a dataset of 20 different types of snack foods that accompanies the book Machine Learning by Tutorials.

The images were taken from the Google Open Images dataset, release 2017_11.

Dataset Structure

Included in the data folder are three CSV files with bounding box annotations for the images in the dataset, although not all images have annotations and some images have multiple annotations.

The columns in the CSV files are:

  • image_id: the filename of the image without the .jpg extension
  • x_min, x_max, y_min, y_max: normalized bounding box coordinates, i.e. in the range [0, 1]
  • class_name: the class that belongs to the bounding box
  • folder: the class that belongs to the image as a whole, which is also the name of the folder that contains the image

The class names are:

apple
banana
cake
candy
carrot
cookie
doughnut
grape
hot dog
ice cream
juice
muffin
orange
pineapple
popcorn
pretzel
salad
strawberry
waffle
watermelon

Note: The image files are not part of this repo but can be found here.

Data Splits

Train, Test, Validation

Licensing Information

Just like the images from Google Open Images, the snacks dataset is licensed under the terms of the Creative Commons license.

The images are listed as having a CC BY 2.0 license.

The annotations are licensed by Google Inc. under a CC BY 4.0 license.

Edit dataset card
Evaluate models HF Leaderboard