thxplz commited on
Commit
4b31fe1
·
verified ·
1 Parent(s): 35d768c

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. LICENSE.md +41 -0
  3. README.md +310 -0
  4. annotations/detection_test.json +0 -0
  5. annotations/detection_test_balanced.json +0 -0
  6. annotations/detection_train.json +3 -0
  7. annotations/detection_train_balanced.json +3 -0
  8. annotations/eating_recognition_test.json +0 -0
  9. annotations/eating_recognition_train.json +0 -0
  10. eating_recognition/test-00000-of-00001.parquet +3 -0
  11. eating_recognition/train-00000-of-00004.parquet +3 -0
  12. eating_recognition/train-00001-of-00004.parquet +3 -0
  13. eating_recognition/train-00002-of-00004.parquet +3 -0
  14. eating_recognition/train-00003-of-00004.parquet +3 -0
  15. hand_object_detection/test-00001-of-00013.parquet +3 -0
  16. hand_object_detection/test-00002-of-00013.parquet +3 -0
  17. hand_object_detection/test-00004-of-00013.parquet +3 -0
  18. hand_object_detection/test-00007-of-00013.parquet +3 -0
  19. hand_object_detection/test-00009-of-00013.parquet +3 -0
  20. hand_object_detection/train-00000-of-00055.parquet +3 -0
  21. hand_object_detection/train-00005-of-00055.parquet +3 -0
  22. hand_object_detection/train-00008-of-00055.parquet +3 -0
  23. hand_object_detection/train-00010-of-00055.parquet +3 -0
  24. hand_object_detection/train-00012-of-00055.parquet +3 -0
  25. hand_object_detection/train-00013-of-00055.parquet +3 -0
  26. hand_object_detection/train-00014-of-00055.parquet +3 -0
  27. hand_object_detection/train-00016-of-00055.parquet +3 -0
  28. hand_object_detection/train-00017-of-00055.parquet +3 -0
  29. hand_object_detection/train-00019-of-00055.parquet +3 -0
  30. hand_object_detection/train-00021-of-00055.parquet +3 -0
  31. hand_object_detection/train-00022-of-00055.parquet +3 -0
  32. hand_object_detection/train-00024-of-00055.parquet +3 -0
  33. hand_object_detection/train-00026-of-00055.parquet +3 -0
  34. hand_object_detection/train-00027-of-00055.parquet +3 -0
  35. hand_object_detection/train-00029-of-00055.parquet +3 -0
  36. hand_object_detection/train-00033-of-00055.parquet +3 -0
  37. hand_object_detection/train-00035-of-00055.parquet +3 -0
  38. hand_object_detection/train-00038-of-00055.parquet +3 -0
  39. hand_object_detection/train-00039-of-00055.parquet +3 -0
  40. hand_object_detection/train-00041-of-00055.parquet +3 -0
  41. hand_object_detection/train-00043-of-00055.parquet +3 -0
  42. hand_object_detection/train-00045-of-00055.parquet +3 -0
  43. hand_object_detection/train-00046-of-00055.parquet +3 -0
  44. hand_object_detection/train-00048-of-00055.parquet +3 -0
  45. hand_object_detection/train-00049-of-00055.parquet +3 -0
  46. hand_object_detection/train-00050-of-00055.parquet +3 -0
  47. hand_object_detection/train-00051-of-00055.parquet +3 -0
  48. hand_object_detection/train-00052-of-00055.parquet +3 -0
  49. hand_object_detection/train-00053-of-00055.parquet +3 -0
  50. hand_object_detection/train-00054-of-00055.parquet +3 -0
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ annotations/detection_train_balanced.json filter=lfs diff=lfs merge=lfs -text
62
+ annotations/detection_train.json filter=lfs diff=lfs merge=lfs -text
LICENSE.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # HowToEat Dataset — Research-Only License
2
+
3
+ Copyright (c) 2023 Yingcheng Wang, Junwen Chen, Keiji Yanai, The University of Electro-Communications.
4
+
5
+ ## 1. Definitions
6
+ - **"Dataset"**: the HowToEat annotations (bounding boxes, labels, splits), metadata (category maps) and the images distributed in this repository.
7
+ - **"Annotations"**: all material created by the authors (boxes, labels, splits, metadata, scripts).
8
+ - **"Images"**: frames extracted from publicly available online videos. **The authors do not own the copyright in the Images.** Copyright remains with the original video owners.
9
+ - **"Research Purpose"**: non-commercial scientific research and education, including academic publications, theses and teaching, conducted by individuals or by academic, governmental or non-profit research institutions.
10
+
11
+ ## 2. Grant
12
+ Subject to the terms below, the authors grant you a worldwide, royalty-free, non-exclusive, non-transferable, revocable license to download, use, reproduce and modify the Annotations **solely for Research Purposes**. You may access and use the Images only for Research Purposes, to the extent permitted by the laws that apply to you (for example, exceptions for research or text and data mining).
13
+
14
+ ## 3. Restrictions
15
+ You may **not**:
16
+ 1. Use the Dataset, or any part of it, for any commercial purpose. This includes developing, training, evaluating or improving commercial products or services, and models that are deployed commercially.
17
+ 2. Redistribute, sublicense, sell or publicly re-host the Dataset or the Images, in whole or in part, with or without changes. (Others must obtain the Dataset from the official repository.) You may show a small number of Images in academic publications and presentations for illustration.
18
+ 3. Try to identify, track or profile any individual who appears in the Images, or use the Dataset for face recognition, biometric identification or surveillance.
19
+ 4. Use the Dataset in any way that violates applicable law or the rights of the people shown in the Images.
20
+
21
+ ## 4. Attribution
22
+ Publications that use the Dataset must cite:
23
+
24
+ ```bibtex
25
+ @inproceedings{wang2023howtoeat,
26
+ title = {HowToEat: Exploring Human-Object Interaction and Eating Action in Eating Scenarios},
27
+ author = {Wang, Yingcheng and Chen, Junwen and Yanai, Keiji},
28
+ booktitle = {Proceedings of the 8th International Workshop on Multimedia Assisted Dietary Management (MADiMa '23)},
29
+ year = {2023},
30
+ doi = {10.1145/3607828.3617790}
31
+ }
32
+ ```
33
+
34
+ ## 5. Removal requests
35
+ If you appear in the Dataset or own a source video and want content removed, contact chen-j@mm.inf.uec.ac.jp. The authors will remove the affected Images from the official repository. Licensees must delete removed content from their copies when notified.
36
+
37
+ ## 6. Termination
38
+ This license ends automatically if you breach any term. When it ends, you must stop using the Dataset and delete all copies.
39
+
40
+ ## 7. Disclaimer
41
+ THE DATASET IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND. Part of the annotations were produced automatically and may contain errors. IN NO EVENT SHALL THE AUTHORS OR THEIR INSTITUTION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY ARISING FROM THE USE OF THE DATASET.
README.md ADDED
@@ -0,0 +1,310 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: HowToEat
3
+ license: other
4
+ license_name: howtoeat-research-only
5
+ license_link: LICENSE.md
6
+ language:
7
+ - en
8
+ task_categories:
9
+ - object-detection
10
+ - image-classification
11
+ tags:
12
+ - hand-object-interaction
13
+ - human-object-interaction
14
+ - eating-action-recognition
15
+ - dietary-assessment
16
+ - food
17
+ - face
18
+ size_categories:
19
+ - 10K<n<100K
20
+ configs:
21
+ - config_name: hand_object_detection
22
+ default: true
23
+ data_files:
24
+ - split: train
25
+ path: hand_object_detection/train-*
26
+ - split: test
27
+ path: hand_object_detection/test-*
28
+ - config_name: eating_recognition
29
+ data_files:
30
+ - split: train
31
+ path: eating_recognition/train-*
32
+ - split: test
33
+ path: eating_recognition/test-*
34
+ ---
35
+
36
+ # HowToEat: Hand-Object Interaction and Eating Action in Eating Scenarios
37
+
38
+ **HowToEat** is an image dataset for analysing eating behaviour. It provides:
39
+
40
+ 1. **Hand-object interaction + eating face detection** (`hand_object_detection`): **95,190 images** with **190,333 hand instances** (box, left/right side, contact state, and the box and category of the held object) and **151,620 face instances** (box, eating / not eating).
41
+ 2. **Eating action recognition** (`eating_recognition`): **6,280 manually labelled faces** (eating / not eating) for image classification.
42
+
43
+ The images are frames from **6,701 publicly available eating videos** covering 12 eating and drinking scenarios.
44
+
45
+ - **Paper:** Yingcheng Wang, Junwen Chen, Keiji Yanai. *HowToEat: Exploring Human-Object Interaction and Eating Action in Eating Scenarios.* MADiMa '23 (8th International Workshop on Multimedia Assisted Dietary Management, in conjunction with ACM Multimedia 2023). [doi:10.1145/3607828.3617790](https://doi.org/10.1145/3607828.3617790)
46
+ - **Institution:** Department of Informatics, The University of Electro-Communications, Tokyo, Japan
47
+ - **License:** [HowToEat Research-Only License](LICENSE.md): non-commercial research and education only (see [License](#license))
48
+ - **Not included:** the source videos and the trained models are **not** released.
49
+
50
+ ---
51
+
52
+ ## Quick start
53
+
54
+ By downloading or using the dataset you agree to the [HowToEat Research-Only License](LICENSE.md).
55
+
56
+ ```python
57
+ from datasets import load_dataset
58
+
59
+ # Task 1: hand-object interaction + eating face detection
60
+ det = load_dataset("thxplz/HowToEat", "hand_object_detection")
61
+ sample = det["train"][0]
62
+ sample["image"] # PIL.Image (full frame)
63
+ sample["hands"] # list of hand instances
64
+ sample["faces"] # list of face instances
65
+
66
+ # Task 2: eating action recognition
67
+ rec = load_dataset("thxplz/HowToEat", "eating_recognition")
68
+ rec["train"][0]["face_crop"], rec["train"][0]["label"] # 224x224 crop, 0 = eating
69
+
70
+ # Stream instead of downloading everything (~35 GB)
71
+ det_stream = load_dataset("thxplz/HowToEat", "hand_object_detection", split="test", streaming=True)
72
+ ```
73
+
74
+ ---
75
+
76
+ ## Dataset structure
77
+
78
+ ```
79
+ HowToEat/
80
+ ├── hand_object_detection/ # Parquet shards (images embedded), Task 1
81
+ ├── eating_recognition/ # Parquet shards (images embedded), Task 2
82
+ ├── annotations/ # the same annotations in the original JSON format
83
+ │ ├── detection_train.json # paper split
84
+ │ ├── detection_test.json
85
+ │ ├── detection_train_balanced.json # balanced split (see "Splits")
86
+ │ ├── detection_test_balanced.json
87
+ │ ├── eating_recognition_train.json
88
+ │ └── eating_recognition_test.json
89
+ ├── metadata/
90
+ │ └── categories.json # id <-> name maps
91
+ ├── LICENSE.md
92
+ └── README.md
93
+ ```
94
+
95
+ Image files are identified by `file_name = "<verb>/<category>/<video_id>_<frame>.jpg"`, for example `eating/pizza/v3174_011858.jpg`. `<video_id>` is an **anonymous video ID** (`v0001` … `v6701`) and `<frame>` is the 6-digit frame index within that video. Frames with the same `video_id` come from the same video.
96
+
97
+ ### Scene categories (12)
98
+
99
+ `hamburger`, `beer` (under `drinking/`), `bread`, `pizza`, `pasta`, `noodles`, `with_knife_and_fork`, `sushi`, `with_spoon`, `with_fork`, `sandwich`, `with_chopsticks`. All except `beer` are under `eating/`. The category describes the scene of the whole video; it is not a per-instance label.
100
+
101
+ ### Config `hand_object_detection`
102
+
103
+ | Column | Type | Description |
104
+ |---|---|---|
105
+ | `image` | Image | Full frame, original JPEG. Sizes vary: 74% are 1920×1080, 14% 1280×720, 4% 3840×2160, and the rest other sizes, including some portrait frames (see `width` / `height`) |
106
+ | `file_name` | string | Key shared with the JSON annotations |
107
+ | `video_id` | string | Anonymous video ID (e.g. `v0123`) |
108
+ | `frame` | int | Frame index in the source video |
109
+ | `category` | ClassLabel (12) | Scene category of the video |
110
+ | `width`, `height` | int | Image size |
111
+ | `hands` | list of struct | One entry per hand, see below |
112
+ | `faces` | list of struct | One entry per face, see below |
113
+ | `split_balanced` | string | `"train"` / `"test"` in the balanced split (see [Splits](#splits)) |
114
+
115
+ `hands[i]`:
116
+
117
+ | Field | Description |
118
+ |---|---|
119
+ | `hand_box` | `[x_min, y_min, x_max, y_max]`, absolute pixels |
120
+ | `hand_side` | `0` = left, `1` = right |
121
+ | `ho_exist` | `1` = the hand is in contact with a portable object, `0` = no contact |
122
+ | `obj_box` | Box of the held object, `[]` when `ho_exist = 0` |
123
+ | `obj_cat` | Object category (table below), `-1` when `ho_exist = 0` |
124
+
125
+ `faces[j]`:
126
+
127
+ | Field | Description |
128
+ |---|---|
129
+ | `face_box` | `[x_min, y_min, x_max, y_max]`, absolute pixels |
130
+ | `eat` | `1` = eating, `0` = not eating |
131
+
132
+ Object categories (`obj_cat`):
133
+
134
+ | id | name | instances | id | name | instances |
135
+ |---|---|---|---|---|---|
136
+ | 0 | food | 58,720 | 7 | bottle | 6,282 |
137
+ | 1 | chopsticks | 34,663 | 8 | cup | 10,594 |
138
+ | 2 | fork | 9,268 | 9 | glass | 9,742 |
139
+ | 3 | spoon | 10,783 | 10 | can | 875 |
140
+ | 4 | knife | 12,098 | 11 | napkin | 7,598 |
141
+ | 5 | bowl | 3,656 | 12 | unknown | 19 |
142
+ | 6 | plate | 1,121 | −1 | (no contact) | 24,914 |
143
+
144
+ Example record (original JSON format in `annotations/detection_*.json`):
145
+
146
+ ```json
147
+ {
148
+ "file_name": "eating/pizza/v3174_011858.jpg",
149
+ "hand_obj": [
150
+ {"hand_box": [928, 406, 1062, 519], "hand_side": 0, "ho_exist": 1,
151
+ "obj_box": [931, 391, 1005, 453], "obj_cat": 0},
152
+ {"hand_box": [900, 417, 979, 550], "hand_side": 1, "ho_exist": 1,
153
+ "obj_box": [922, 390, 1006, 478], "obj_cat": 0}
154
+ ],
155
+ "face": [{"face_box": [903, 264, 1057, 411], "eat": 1}]
156
+ }
157
+ ```
158
+
159
+ (In the JSON files, the hand list is called `hand_obj` and the face list `face`.)
160
+
161
+ ### Config `eating_recognition`
162
+
163
+ | Column | Type | Description |
164
+ |---|---|---|
165
+ | `image` | Image | Full frame the face was taken from |
166
+ | `face_crop` | Image | 224×224 square crop around `face_box` with 15% context (the crop used at test time in the paper) |
167
+ | `file_name`, `video_id`, `frame`, `category` | | As above |
168
+ | `face_box` | list[int] | `[x_min, y_min, x_max, y_max]` of the labelled face |
169
+ | `label` | ClassLabel | **`0` = eating, `1` = not_eating** |
170
+
171
+ > ⚠️ **Label polarity differs between the two configs.** In `eating_recognition`, `label = 0` means *eating*. In `hand_object_detection`, `eat = 1` means *eating*. We kept the conventions of the original training code for both.
172
+
173
+ ---
174
+
175
+ ## Splits
176
+
177
+ ### `hand_object_detection`
178
+
179
+ The `train` / `test` splits of this config are the **split used in the paper** (baseline results below). No video appears in both splits. Because the split was made in category order, **the test set does not cover all categories**: hamburger, beer, bread, pizza, pasta, noodles and sandwich appear **only in train**.
180
+
181
+ For a test set that covers every category, we also provide a **balanced split**: a random 4:1 split by video, where each category has about 11–24% of its images in test. It is available as the `split_balanced` column and as `annotations/detection_*_balanced.json`. **No baseline results have been published on the balanced split.**
182
+
183
+ ```python
184
+ from datasets import load_dataset, concatenate_datasets
185
+ det = load_dataset("thxplz/HowToEat", "hand_object_detection")
186
+ full = concatenate_datasets([det["train"], det["test"]])
187
+ train_bal = full.filter(lambda s: s == "train", input_columns="split_balanced")
188
+ test_bal = full.filter(lambda s: s == "test", input_columns="split_balanced")
189
+ ```
190
+
191
+ | | Paper split (train / test) | Balanced split (train / test) |
192
+ |---|---|---|
193
+ | Images | 76,905 / 18,285 | 76,025 / 19,165 |
194
+ | Videos | 5,550 / 1,104 | 5,351 / 1,303 |
195
+ | Hands | 155,634 / 34,699 | 153,532 / 36,801 |
196
+ | Faces | 122,183 / 29,437 | 122,033 / 29,587 |
197
+
198
+ Images per category:
199
+
200
+ | Category | Total | Paper train | Paper test | Balanced train | Balanced test |
201
+ |---|---|---|---|---|---|
202
+ | hamburger | 19,239 | 19,239 | 0 | 15,520 | 3,719 |
203
+ | sushi | 15,843 | 2,799 | 13,044 | 12,511 | 3,332 |
204
+ | pizza | 14,221 | 14,221 | 0 | 11,820 | 2,401 |
205
+ | beer | 11,701 | 11,701 | 0 | 9,258 | 2,443 |
206
+ | noodles | 10,891 | 10,891 | 0 | 8,511 | 2,380 |
207
+ | bread | 7,644 | 7,644 | 0 | 6,081 | 1,563 |
208
+ | pasta | 7,465 | 7,465 | 0 | 5,664 | 1,801 |
209
+ | sandwich | 2,834 | 2,834 | 0 | 2,258 | 576 |
210
+ | with_chopsticks | 1,727 | 35 | 1,692 | 1,359 | 368 |
211
+ | with_spoon | 1,582 | 2 | 1,580 | 1,290 | 292 |
212
+ | with_knife_and_fork | 1,165 | 71 | 1,094 | 974 | 191 |
213
+ | with_fork | 878 | 3 | 875 | 779 | 99 |
214
+ | **Total** | **95,190** | **76,905** | **18,285** | **76,025** | **19,165** |
215
+
216
+ ### `eating_recognition`
217
+
218
+ | Split | Faces | Eating | Not eating | Videos |
219
+ |---|---|---|---|---|
220
+ | train | 5,033 | 3,108 | 1,925 | 537 |
221
+ | test | 1,247 | 770 | 477 | 353 |
222
+
223
+ The split is stratified 4:1 within each (category, label) group, as in the paper. It was made **per image, not per video**, so 332 videos have frames in both train and test. Keep this in mind when you interpret test accuracy.
224
+
225
+ ---
226
+
227
+ ## Statistics (`hand_object_detection`, both splits combined)
228
+
229
+ - Hands: 190,333 (left 85,797 / right 104,536). In contact with an object: 165,419. No contact: 24,914.
230
+ - Faces: 151,620 (eating 69,251 / not eating 82,369). Every image has 1–5 faces. A few images contain faces but no annotated hands.
231
+ - Faces per image: 1 face 56,153 images · 2 faces 27,518 · 3 faces 7,142 · 4 faces 2,880 · 5 faces 1,497.
232
+
233
+ ---
234
+
235
+ ## Baseline results
236
+
237
+ Results reported in the paper on the **paper split** (test set), with mAP at IoU > 0.5 (see the paper §5.1 for the hand-object matching rule).
238
+
239
+ **SOV-STG-H2E-S** (multi-task, single model):
240
+
241
+ | Left hand: no contact | Left hand: portable object | Right hand: no contact | Right hand: portable object | **Hand-object mAP** | Face: not eating | Face: eating | **Face mAP** |
242
+ |---|---|---|---|---|---|---|---|
243
+ | 61.91 | 87.79 | 47.98 | 88.56 | **71.56** | 57.43 | 73.89 | **65.66** |
244
+
245
+ **Eating action recognition** (`eating_recognition`), ResNet-50 (ImageNet-1K pre-trained, fine-tuned): **86.4%** test accuracy.
246
+
247
+ The trained models are not released.
248
+
249
+ ---
250
+
251
+ ## How the dataset was built
252
+
253
+ 1. **Video collection.** Eating and drinking videos were collected for 12 scenarios (e.g. eating hamburger, drinking beer, eating with a spoon). The videos themselves are not distributed.
254
+ 2. **Frame extraction.** A PPDM hand-object interaction detector trained on 100DOH and a RetinaFace (ResNet-50) face detector were run at 1 frame per second. Frames where a hand-held object overlapped the mouth landmarks were kept: 99,903 frames.
255
+ 3. **Eating labels for faces.** 6,280 face crops were labelled manually (eating / not eating). This is the `eating_recognition` config. A ResNet-50 classifier trained on them then labelled all faces automatically.
256
+ 4. **Hand-object annotation.** An SOV-STG-Hand model (trained on 100DOH, re-categorised into *no contact* / *portable object*) produced hand, side, contact and object boxes. Object categories were added and all annotations were then **checked and corrected manually** with the VIA annotation tool. Frames that could not be annotated reliably were marked invalid.
257
+ 5. **Filtering.** We removed images without faces, images with more than 5 faces, and images whose largest face is smaller than 400 px. Faces smaller than 300 px were removed. Together with the invalid frames, this reduced the 97,484 verified frames to 95,190 images.
258
+
259
+ Labelling rules for eating faces: a face is *eating* if the person is performing the act of eating (mouth open with food or utensil entering it, or the face clearly shows eating while an object covers the mouth). An object in front of a closed mouth counts as *not eating*. Images that cannot be judged were not labelled.
260
+
261
+ ---
262
+
263
+ ## Limitations and biases
264
+
265
+ - **Partly automatic labels.** Face boxes come from RetinaFace. Eating labels on detection faces come from a classifier, and hand-object boxes were pre-annotated by a model before manual checking. Some errors remain (see the paper, Fig. 6c).
266
+ - **Domain.** The videos are mostly eating vlogs filmed for an audience: frontal faces, often a single person, good lighting. The foods are limited to the 12 scenario categories, and the people and regions shown are not representative of the world population.
267
+ - **Boxes outside the image.** Some boxes extend beyond the image border (for example, negative coordinates for a face cut off at the top): 517 face boxes and 488 hand/object boxes in `hand_object_detection`, and 1,156 of the 6,280 face boxes in `eating_recognition` (these come directly from the face detector). They are kept exactly as used in the paper; clip them to `[0, width] × [0, height]` if your code requires it. `face_crop` is padded with black where the box leaves the image.
268
+ - **Category imbalance.** `unknown` (id 12) has only 19 instances and `can` 875. The `with_*` categories are much smaller than the food categories.
269
+ - **Paper split coverage.** See [Splits](#splits): the paper's test set covers only 5 of the 12 categories in meaningful numbers.
270
+
271
+ ## Ethical considerations
272
+
273
+ The images show real, identifiable people taken from publicly available videos. The dataset is intended **only** for research on eating behaviour and dietary assessment. It must not be used for face recognition, identification, tracking or profiling of individuals (see the license).
274
+
275
+ **Removal requests.** If you appear in the dataset or own one of the source videos and want content removed, contact **`chen-j@mm.inf.uec.ac.jp`** with the `file_name` or `video_id`. We will remove it from this repository.
276
+
277
+ ---
278
+
279
+ ## License
280
+
281
+ The **annotations, metadata and scripts** are released under the **[HowToEat Research-Only License](LICENSE.md)**. In short:
282
+
283
+ - ✅ Non-commercial research and education
284
+ - ❌ Commercial use of any kind, including training commercial models
285
+ - ❌ Redistribution or re-hosting (a few example images in publications are fine)
286
+ - ❌ Face recognition, identification or surveillance
287
+ - 📌 Citation of the paper is required
288
+
289
+ The **images** are frames from publicly available online videos. Their copyright belongs to the original video owners, and the authors do not grant any rights to them. They are made available for research use only, to the extent permitted by applicable law.
290
+
291
+ ---
292
+
293
+ ## Citation
294
+
295
+ ```bibtex
296
+ @inproceedings{wang2023howtoeat,
297
+ title = {HowToEat: Exploring Human-Object Interaction and Eating Action in Eating Scenarios},
298
+ author = {Wang, Yingcheng and Chen, Junwen and Yanai, Keiji},
299
+ booktitle = {Proceedings of the 8th International Workshop on Multimedia Assisted Dietary Management (MADiMa '23)},
300
+ pages = {1--8},
301
+ year = {2023},
302
+ publisher = {ACM},
303
+ address = {Ottawa, ON, Canada},
304
+ doi = {10.1145/3607828.3617790}
305
+ }
306
+ ```
307
+
308
+ ## Acknowledgments
309
+
310
+ This work was supported by JSPS KAKENHI Grant Numbers 21H05812, 22H00540, 22H00548, and 22K19808.
annotations/detection_test.json ADDED
The diff for this file is too large to render. See raw diff
 
annotations/detection_test_balanced.json ADDED
The diff for this file is too large to render. See raw diff
 
annotations/detection_train.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e783808b53523d628120757508574f1aa6c017f006116eb355c5e68571f354
3
+ size 25348549
annotations/detection_train_balanced.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fb1c09e2fd5fdd3db4914bf525ebf7b3b27ad654315c4bfb1ad7f46e9d5d438
3
+ size 25082240
annotations/eating_recognition_test.json ADDED
The diff for this file is too large to render. See raw diff
 
annotations/eating_recognition_train.json ADDED
The diff for this file is too large to render. See raw diff
 
eating_recognition/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eef9225f9e0e073bc981e3b42b600dd8aa480dbf2ca0214998cec00f3256f045
3
+ size 473066393
eating_recognition/train-00000-of-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9ce9c99aa169c06332a8f8be4392669c62cf1e7503acd7a8cb13bb5b8fa5275
3
+ size 524814130
eating_recognition/train-00001-of-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88f3f0cd1d314ede2ef5770759e77e4e9d390c71bf9562bfedf6ff65d33a7bac
3
+ size 525133142
eating_recognition/train-00002-of-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38acbf271d28965e548bec508590c309d518ad5842b07ba3da53ea96e2f5e2b2
3
+ size 524888459
eating_recognition/train-00003-of-00004.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77c09afa5b6a5933e30232e0973ac4d5a21ba23170ec7c893e5302608bdb296b
3
+ size 341325095
hand_object_detection/test-00001-of-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bcc794539b6e0a26db9fbc918a25ec2adf100c0ba63ce94016130b4c261e2692
3
+ size 524602659
hand_object_detection/test-00002-of-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fae2e36df9885166657f833d7a1e819f61bb1686e63fb7e0b0322e969943f7a7
3
+ size 524697655
hand_object_detection/test-00004-of-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bafd122867888ffbca93a6c99464f2f04e6c5d7b8d9e65140bc51b13f00685b
3
+ size 524644920
hand_object_detection/test-00007-of-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bf885f045facde7fc7e88099afbf94f6e22e307d2c270839a44991dcf53d557
3
+ size 524644587
hand_object_detection/test-00009-of-00013.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c578a6f63e518b85f859cb7c50dce1bd5af1f966ca7a69258dface6a6c5edfe2
3
+ size 524850796
hand_object_detection/train-00000-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7db6def0cd8b95947a322e834c5da65010dd65a02a94e87e79e30b2c72fd84d0
3
+ size 520774302
hand_object_detection/train-00005-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b78ad8650cb9279cb1bba9bccc065b9534d139d098c5df12d5ff615e49e4237
3
+ size 524223764
hand_object_detection/train-00008-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06df7de348f1e69a370f222c2f25eeb3caf217d5f233d8f67d2072f0653d1807
3
+ size 524907742
hand_object_detection/train-00010-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d032b68a6a2682f2a66e3775d07a27396e06cddfaa67e7fae2f8092fb94dc7b
3
+ size 524647716
hand_object_detection/train-00012-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83aed09e02423e6ad95ee43e04a13c1efdd49ecf984b36c61a600297701d75b1
3
+ size 524627556
hand_object_detection/train-00013-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3207e7c83e9ca03fcb6478536da5a6b987f519e0e82c5e2acdd23e61e562847
3
+ size 524813589
hand_object_detection/train-00014-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5afee42b98a3c87f7f6950b5aeb1d54c0473dcd42d45e33c8d9c025adca57986
3
+ size 524609139
hand_object_detection/train-00016-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9a3fb7d38b3e9e7346c7db40bbccaef94c69bce4c93285d970fe011cf33e215
3
+ size 524914096
hand_object_detection/train-00017-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:891c2dc26bab5898dbfa0d3428f8b507af6de9cf8c4f175b2dcc66f3cb30222a
3
+ size 524930807
hand_object_detection/train-00019-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:36a3019da1b5014f6349fd46eeeec63036e8bd515c68f79cb64018b5e58b392f
3
+ size 524611676
hand_object_detection/train-00021-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a73b95dee881db7492f0a4f6afaf0e77adbe80c5cac2549b2a949d9f88b7ce52
3
+ size 524575164
hand_object_detection/train-00022-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcf9501123f6d8512b5e964426d61708a30c04f112e44ed35c7d188d21f4f4cd
3
+ size 524735568
hand_object_detection/train-00024-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94c3a5184b817e55b50c3db939b29a0d9c933f1ca2ca3305a7fa4a30984c35a1
3
+ size 524940447
hand_object_detection/train-00026-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3c080515d8f52a6efb3b3ca6ac9f7f334e9fddaaa8cff9b7b88749fd61a064e
3
+ size 524832640
hand_object_detection/train-00027-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddafb6270a02668fc1e0f58305778bb9c4986a296a3dc0abc08279098cedf8c7
3
+ size 524718547
hand_object_detection/train-00029-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c166646a657a2b31fb604a5c9f2c8382c4af3aab19caad99ee58ce73fb472468
3
+ size 524660324
hand_object_detection/train-00033-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6f65825d9742336a3faad39db085c206dbeaa5fc0efb53c53d74a5797d9b7b2
3
+ size 524596865
hand_object_detection/train-00035-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4c655be5262deb5c193f68c52d11615dec9e701f5199a6b99c74a902158914f
3
+ size 524719107
hand_object_detection/train-00038-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:818ba37b464fa2c78e515d10ab8c9e11ae1b5b6df479a66a045915ec20094575
3
+ size 524602134
hand_object_detection/train-00039-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc57c13097d5955c137b3d5ca87418d6bc82b645dd075a7c995317cec54fad51
3
+ size 524704050
hand_object_detection/train-00041-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07de716cb2b16d0d2079c6ed9b041d4ca587b5131cf6df6ca84ee88e6cbd73b9
3
+ size 524909359
hand_object_detection/train-00043-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86a41475046e231f6af69bdc50fb639fa631f24b47cf78ac9815520d9bbc072b
3
+ size 524669380
hand_object_detection/train-00045-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9b3a648b585f81ed94b878cac917eff25ab8492760cf80985decfeab63d5a8a
3
+ size 524826869
hand_object_detection/train-00046-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1981f66ec3f2cb022e53de697653872bfb3153505a6b69ae5697ab0f520d37bb
3
+ size 524420602
hand_object_detection/train-00048-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fb87a7edad0a9acaaa159d033d5b02b42480b42e1603c6dd04be41e76af16f4
3
+ size 524689542
hand_object_detection/train-00049-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55a9bab841b168c7285a8e2c5d169cc9ffa326844fd56ec2252b2f4b3ce931ce
3
+ size 524697074
hand_object_detection/train-00050-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83e0aa6517a36eefab4b8621788679eb56824694e2e1d7c5585c35b1925171e1
3
+ size 524822633
hand_object_detection/train-00051-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afa2566ebb644f1e6397ab016b1719548d388dd16f3aa76b11f52748ebfbe302
3
+ size 525014114
hand_object_detection/train-00052-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c1886138651ab88fc9a3da080bc5f647cbd80b015b031645c2e2af1340adccc8
3
+ size 524705863
hand_object_detection/train-00053-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9277b8291a6abcf23797b541bd3b709748101886dd4705125c83c8fb1e954c2
3
+ size 524818106
hand_object_detection/train-00054-of-00055.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16e969a1136557621a855dd9667537b6e6ff5c65f4b2ec31d3441e0430529685
3
+ size 279723328