image_id
string
x_min
float64
0
0.99
x_max
float64
0.02
1
y_min
float64
0
0.95
y_max
float64
0.02
1
class_name
string
folder
string
"009218ad38ab2010"
0.19262
0.729831
0.127606
0.662219
"cake"
"cake"
"009218ad38ab2010"
0.802377
1
0.102585
0.405338
"ice cream"
"cake"
"009218ad38ab2010"
0.814884
0.970607
0.121768
0.357798
"ice cream"
"cake"
"00c7515143b32051"
0.135084
0.904315
0.081735
0.909091
"cake"
"muffin"
"00c7515143b32051"
0.155722
0.910569
0.083403
0.893244
"muffin"
"muffin"
"00e1d5cbbd4e874a"
0.052588
0.543406
0
0.477173
"cake"
"cake"
"00e1d5cbbd4e874a"
0.056761
0.526711
0.021889
0.421513
"cake"
"cake"
"00e1d5cbbd4e874a"
0.416528
0.686978
0.56723
0.934959
"cake"
"cake"
"01430a5180b22023"
0.207004
0.699187
0.140117
0.630525
"cake"
"cake"
"01430a5180b22023"
0.190744
0.80738
0.117598
0.685571
"cake"
"cake"
"016e1c743cbf498a"
0.078464
0.924875
0.3596
0.893684
"cake"
"muffin"
"016e1c743cbf498a"
0.0601
0.931553
0.348343
0.88055
"cake"
"muffin"
"016e1c743cbf498a"
0.078464
0.924875
0.3596
0.893684
"muffin"
"muffin"
"016e1c743cbf498a"
0.082638
0.918197
0.360225
0.894309
"muffin"
"muffin"
"0185953dfebc3165"
0.215215
0.992993
0.87992
0.997999
"cake"
"cake"
"0185953dfebc3165"
0.23023
0.965966
0.874583
1
"cake"
"cake"
"018e8e4710b860ea"
0.01519
0.98481
0.007509
0.966208
"cake"
"cake"
"018e8e4710b860ea"
0.017722
0.988608
0
0.972466
"cake"
"cake"
"01918ed451cb9a4f"
0.117573
0.846154
0.07256
0.864053
"cake"
"orange"
"01918ed451cb9a4f"
0.545966
0.746091
0.112594
0.259383
"orange"
"orange"
"01918ed451cb9a4f"
0.141875
0.33625
0.310833
0.515833
"orange"
"orange"
"01918ed451cb9a4f"
0.361875
0.55
0.081667
0.259167
"orange"
"orange"
"01918ed451cb9a4f"
0.571607
0.762977
0.259383
0.473728
"orange"
"orange"
"019708ceb11f8fbc"
0.175141
0.878531
0.327079
0.881801
"cake"
"cake"
"019708ceb11f8fbc"
0.167608
0.97646
0.329581
0.913071
"cake"
"cake"
"01af4cde85d3107c"
0.263902
0.879359
0.528455
0.72733
"cake"
"cake"
"01af4cde85d3107c"
0.290292
0.931197
0.482176
0.708568
"cake"
"cake"
"01e12dd1d8c294b4"
0.096936
0.87117
0
0.998332
"cake"
"cake"
"01e12dd1d8c294b4"
0.144465
0.868043
0
1
"cake"
"cake"
"01f7f5aa715d65b3"
0.19019
0.912913
0
0.971963
"cake"
"cake"
"01f7f5aa715d65b3"
0.217217
0.472472
0.006676
0.40988
"ice cream"
"cake"
"01f7f5aa715d65b3"
0.527528
0.907908
0.518024
0.963952
"ice cream"
"cake"
"023f1150110f0994"
0.06379
0.844278
0.48226
0.976347
"cake"
"cake"
"023f1150110f0994"
0.120075
0.840525
0.479632
0.948752
"cake"
"cake"
"023f1150110f0994"
0.065666
0.849906
0.461235
0.929041
"cake"
"cake"
"032b5f219dfb316e"
0.448445
0.649755
0.810147
1
"cake"
"muffin"
"032b5f219dfb316e"
0.013093
1
0.047463
0.530278
"cake"
"muffin"
"032b5f219dfb316e"
0.366612
0.787234
0.157119
0.486088
"muffin"
"muffin"
"032b5f219dfb316e"
0.018003
0.410802
0.13748
0.571195
"muffin"
"muffin"
"034f51fba10d798c"
0.295184
0.610381
0.438498
0.735211
"cake"
"muffin"
"034f51fba10d798c"
0.323952
0.606629
0.415962
0.759624
"cake"
"muffin"
"034f51fba10d798c"
0.312695
0.611632
0.420657
0.761502
"cake"
"muffin"
"034f51fba10d798c"
0.320826
0.595372
0.449765
0.748357
"muffin"
"muffin"
"034f51fba10d798c"
0.326454
0.607255
0.46385
0.749296
"muffin"
"muffin"
"034f51fba10d798c"
0.308318
0.609756
0.419718
0.764319
"muffin"
"muffin"
"036ef04c1823fb7f"
0.043777
0.974359
0.020712
0.966343
"cake"
"waffle"
"036ef04c1823fb7f"
0.384615
0.627892
0.508738
0.653722
"waffle"
"waffle"
"03cc20bd2e33ecea"
0.09631
0.809256
0.134199
0.963203
"cake"
"cake"
"03cc20bd2e33ecea"
0.020013
0.996873
0
0.998918
"cake"
"cake"
"03ecfcc2c63cdc12"
0.090141
0.798122
0.236398
0.816135
"cake"
"cake"
"042024000e48bdd2"
0.036007
0.597381
0.12766
0.811784
"cake"
"muffin"
"042024000e48bdd2"
0.03928
0.612111
0.134206
0.823241
"muffin"
"muffin"
"0498df48ed184544"
0.138837
0.985616
0.218515
0.980817
"cake"
"cake"
"0498df48ed184544"
0.23375
1
0.298333
1
"cake"
"cake"
"05030037532a010c"
0.277108
0.718258
0.260426
0.634847
"cake"
"muffin"
"05030037532a010c"
0.265987
0.837813
0.085264
0.618165
"cake"
"muffin"
"05030037532a010c"
0.273401
0.823911
0.097312
0.635774
"muffin"
"muffin"
"05ab08b185b4920c"
0.006678
0.472454
0.229036
0.476846
"cake"
"muffin"
"05ab08b185b4920c"
0.444073
0.974958
0.266583
0.690864
"muffin"
"muffin"
"05ab08b185b4920c"
0.450751
0.949917
0.221527
0.650814
"muffin"
"muffin"
"05ab08b185b4920c"
0.457429
0.948247
0.252816
0.662078
"muffin"
"muffin"
"05ab08b185b4920c"
0
0.48581
0.170213
0.598248
"muffin"
"muffin"
"06cccbd037f23804"
0.632896
0.744215
0.583333
0.759363
"cake"
"muffin"
"06cccbd037f23804"
0.63227
0.740463
0.597378
0.746255
"muffin"
"muffin"
"0826529c971f48a8"
0.063164
0.878674
0.048374
0.94412
"cake"
"cake"
"0826529c971f48a8"
0.074422
0.897436
0.016681
0.887406
"cake"
"cake"
"0826529c971f48a8"
0.050031
0.896811
0
0.907423
"cake"
"cake"
"0861e84b51d6d057"
0.200334
0.699499
0.749687
1
"cake"
"cake"
"0961dc6ae08ad3ee"
0.130081
0.490932
0.393661
0.999166
"cake"
"cake"
"0961dc6ae08ad3ee"
0.141964
0.497186
0.40367
0.959967
"cake"
"cake"
"09a14b6767c78960"
0.220183
0.909091
0.263915
0.902439
"cake"
"cake"
"09a14b6767c78960"
0.26
0.846667
0.24875
0.806875
"cake"
"cake"
"09a14b6767c78960"
0.216847
0.885738
0.141964
0.878674
"cake"
"cake"
"0a299b5d198b6206"
0.17277
0.758685
0.1601
0.812383
"cake"
"cake"
"0a299b5d198b6206"
0.180282
0.769953
0.219512
0.694184
"cake"
"cake"
"0aa44d5e0e12d21d"
0.139462
0.830519
0.203582
0.826579
"cake"
"cake"
"0aa44d5e0e12d21d"
0.163227
0.813008
0.181904
0.771913
"cake"
"cake"
"0b72469e4314e52c"
0.150754
0.755444
0.125078
0.66354
"cake"
"cake"
"0c6bddfbd56f9679"
0.074824
0.90581
0.012508
0.943089
"cake"
"cake"
"0e460de20554b67f"
0.166354
0.426517
0.630027
0.986595
"cake"
"muffin"
"0e460de20554b67f"
0.548468
0.749218
0.240393
0.554066
"muffin"
"muffin"
"0e482afe9b5177d6"
0.100063
0.534709
0.616347
0.975813
"cake"
"cake"
"0ebda0d8c65d4997"
0.402282
0.972896
0.596218
0.830923
"cake"
"cake"
"0f68e410ab511c28"
0.265791
0.839275
0.140845
0.795305
"cake"
"cake"
"1298deebc70ea5a0"
0.714196
1
0.410342
0.861551
"cake"
"muffin"
"1298deebc70ea5a0"
0
0.308943
0.358632
0.869058
"muffin"
"muffin"
"13595d139930d831"
0.253283
0.517198
0.499583
0.681401
"cake"
"cake"
"137a98753adfde99"
0.058161
0.995622
0.373645
0.994996
"cake"
"cake"
"137a98753adfde99"
0.051282
0.364603
0.453711
0.626355
"strawberry"
"cake"
"13b624f5a26e9b9f"
0.001565
0.99687
0.127349
0.839248
"cake"
"cake"
"13b624f5a26e9b9f"
0.059468
1
0.141962
0.841336
"cake"
"cake"
"152bc1fdd09e4d0a"
0.231465
0.862568
0.186483
0.556946
"cake"
"muffin"
"152bc1fdd09e4d0a"
0.126582
0.895118
0.185232
0.670839
"muffin"
"muffin"
"156065fe277b2569"
0.095685
0.859287
0.133445
0.897415
"cake"
"cake"
"156065fe277b2569"
0.070044
0.868668
0.110926
0.986656
"cake"
"cake"
"15a153683d32c265"
0.201068
0.911032
0.331652
0.852459
"cake"
"cake"
"160832b0953edb31"
0.16823
0.873671
0.356964
1
"cake"
"cake"
"16f15bcf6de0b569"
0
0.976861
0.234818
0.991903
"cake"
"cake"
"18be3ddee3c31cc9"
0.605634
0.985915
0.035994
0.533646
"cake"
"cake"
"19df61d17d36a791"
0.002502
0.76798
0.320586
0.805533
"cake"
"muffin"
YAML Metadata Warning: The task_categories "computer-vision" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, conversational, feature-extraction, text-generation, text2text-generation, fill-mask, sentence-similarity, text-to-speech, automatic-speech-recognition, audio-to-audio, audio-classification, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-retrieval, time-series-forecasting, text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, other

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.

Downloads last month
2
Edit dataset card
Evaluate models HF Leaderboard