Matthijs Hollemans commited on
Commit
ca04729
1 Parent(s): d69f66e

add annotations

Browse files
Files changed (5) hide show
  1. .gitignore +2 -0
  2. README.md +62 -0
  3. data/test.csv +0 -0
  4. data/train.csv +0 -0
  5. data/val.csv +0 -0
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
1
+ .DS_Store
2
+
README.md CHANGED
@@ -1,3 +1,65 @@
1
  ---
 
 
 
 
2
  license: cc-by-4.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ pretty_name: Snacks (Detection)
3
+ task_categories:
4
+ - object-detection
5
+ - computer-vision
6
  license: cc-by-4.0
7
  ---
8
+
9
+ # Dataset Card for Snacks (Detection)
10
+
11
+ ## Dataset Summary
12
+
13
+ This is a dataset of 20 different types of snack foods that accompanies the book [Machine Learning by Tutorials](https://www.raywenderlich.com/books/machine-learning-by-tutorials/v2.0).
14
+
15
+ The images were taken from the [Google Open Images dataset](https://storage.googleapis.com/openimages/web/index.html), release 2017_11.
16
+
17
+ ## Dataset Structure
18
+
19
+ 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.
20
+
21
+ The columns in the CSV files are:
22
+
23
+ - `image_id`: the filename of the image without the .jpg extension
24
+ - `x_min, x_max, y_min, y_max`: normalized bounding box coordinates, i.e. in the range [0, 1]
25
+ - `class_name`: the class that belongs to the bounding box
26
+ - `folder`: the class that belongs to the image as a whole, which is also the name of the folder that contains the image
27
+
28
+ The class names are:
29
+
30
+ ```nohighlight
31
+ apple
32
+ banana
33
+ cake
34
+ candy
35
+ carrot
36
+ cookie
37
+ doughnut
38
+ grape
39
+ hot dog
40
+ ice cream
41
+ juice
42
+ muffin
43
+ orange
44
+ pineapple
45
+ popcorn
46
+ pretzel
47
+ salad
48
+ strawberry
49
+ waffle
50
+ watermelon
51
+ ```
52
+
53
+ **Note:** The image files are not part of this repo but [can be found here](https://huggingface.co/datasets/Matthijs/snacks).
54
+
55
+ ### Data Splits
56
+
57
+ Train, Test, Validation
58
+
59
+ ## Licensing Information
60
+
61
+ Just like the images from Google Open Images, the snacks dataset is licensed under the terms of the Creative Commons license.
62
+
63
+ The images are listed as having a [CC BY 2.0](https://creativecommons.org/licenses/by/2.0/) license.
64
+
65
+ The annotations are licensed by Google Inc. under a [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) license.
data/test.csv ADDED
The diff for this file is too large to render. See raw diff
data/train.csv ADDED
The diff for this file is too large to render. See raw diff
data/val.csv ADDED
The diff for this file is too large to render. See raw diff