VerboseTechLabs commited on
Commit
d861b7e
Β·
verified Β·
1 Parent(s): 3275af3

Upload 2 files

Browse files
Files changed (2) hide show
  1. cooking_README_huggingface.md +190 -0
  2. cooking_metadata.csv +12 -0
cooking_README_huggingface.md ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - video-classification
5
+ - other
6
+ language:
7
+ - en
8
+ tags:
9
+ - egocentric
10
+ - first-person-video
11
+ - action-recognition
12
+ - cooking
13
+ - chopping
14
+ - kitchen-activity
15
+ - computer-vision
16
+ - hand-object-interaction
17
+ - food
18
+ - video
19
+ pretty_name: Cooking and Chopping Activity Egocentric Video Dataset
20
+ size_categories:
21
+ - n<1K
22
+ configs:
23
+ - config_name: default
24
+ data_files:
25
+ - split: train
26
+ path: metadata.csv
27
+ ---
28
+
29
+ # 🍳 Cooking & Chopping Activity β€” Egocentric Video Dataset
30
+
31
+ First-person point-of-view (POV) video recordings of everyday cooking and chopping activities, captured for computer vision, action recognition, and kitchen activity analysis research.
32
+
33
+ ## Dataset Summary
34
+
35
+ This dataset contains **11 egocentric video clips** (~102 minutes total) filmed from the wearer's perspective while performing cooking-related tasks in real kitchen environments. It is designed for training and benchmarking machine learning models on fine-grained human activity understanding, hand-object interactions, and procedural learning.
36
+
37
+ ## Dataset Statistics
38
+
39
+ | Metric | Value |
40
+ |---|---|
41
+ | Total clips | 11 |
42
+ | Total duration | ~102 minutes |
43
+ | Total size | ~6 GB |
44
+ | Main classes | 2 (Cooking, Chopping) |
45
+ | Sub-activity classes | 4 |
46
+ | View type | Egocentric (first-person) |
47
+ | Video format | MP4 |
48
+ | Frame rate | 30 fps |
49
+ | Resolution | 720p – 1080p |
50
+
51
+ ## Supported Tasks
52
+
53
+ - **Video classification** β€” classify cooking vs chopping activities
54
+ - **Action recognition** β€” recognize fine-grained cooking actions
55
+ - **Temporal action localization** β€” locate actions in untrimmed videos
56
+ - **Hand-object interaction detection** β€” knives, pans, ingredients
57
+ - **Procedural learning** β€” recipe step segmentation
58
+ - **Assistive robotics** β€” training robots for kitchen tasks
59
+ - **Benchmarking** β€” Ego4D / EPIC-KITCHENS style tasks
60
+
61
+ ## Dataset Structure
62
+
63
+ ### Data Fields
64
+
65
+ The `metadata.csv` file contains the following columns:
66
+
67
+ | Column | Type | Description |
68
+ |---|---|---|
69
+ | `file_name` | string | Relative path to the video file |
70
+ | `clip_id` | string | Unique identifier (e.g., `CHP_001`, `COK_001`) |
71
+ | `activity` | string | Main class: `cooking` or `chopping` |
72
+ | `sub_activity` | string | Fine-grained label |
73
+ | `duration` | string | Human-readable duration (HH:MM:SS) |
74
+ | `duration_seconds` | integer | Duration in seconds |
75
+ | `file_size_mb` | float | File size in megabytes |
76
+ | `recording_date` | date | Recording date (YYYY-MM-DD) |
77
+ | `resolution` | string | Video resolution |
78
+ | `fps` | integer | Frames per second |
79
+ | `view_type` | string | Camera view type (`egocentric`) |
80
+ | `notes` | string | Additional context |
81
+
82
+ ### Activity Breakdown
83
+
84
+ **Chopping (3 clips β€’ ~11 min)**
85
+ - `vegetable_chopping` β€” 3 clips
86
+
87
+ **Cooking (8 clips β€’ ~91 min)**
88
+ - `general_cooking` β€” 6 clips
89
+ - `egg_preparation` β€” 1 clip
90
+ - `burger_preparation` β€” 1 clip
91
+
92
+ ## Usage
93
+
94
+ ### Load with πŸ€— datasets library
95
+
96
+ ```python
97
+ from datasets import load_dataset
98
+
99
+ dataset = load_dataset("verbosetechlabsllp/cooking-chopping-egocentric")
100
+ print(dataset)
101
+ ```
102
+
103
+ ### Load metadata directly with Pandas
104
+
105
+ ```python
106
+ import pandas as pd
107
+
108
+ df = pd.read_csv("hf://datasets/verbosetechlabsllp/cooking-chopping-egocentric/metadata.csv")
109
+ print(df.head())
110
+ print(df['activity'].value_counts())
111
+ print(df['sub_activity'].value_counts())
112
+ ```
113
+
114
+ ### Download a specific video
115
+
116
+ ```python
117
+ from huggingface_hub import hf_hub_download
118
+
119
+ video_path = hf_hub_download(
120
+ repo_id="verbosetechlabsllp/cooking-chopping-egocentric",
121
+ filename="videos/cooking/cooking_06.mp4",
122
+ repo_type="dataset"
123
+ )
124
+ print(f"Video downloaded to: {video_path}")
125
+ ```
126
+
127
+ ### Extract sample frames
128
+
129
+ ```python
130
+ import cv2, os
131
+
132
+ def extract_frames(video_path, out_dir, every_n_seconds=5):
133
+ os.makedirs(out_dir, exist_ok=True)
134
+ cap = cv2.VideoCapture(video_path)
135
+ fps = cap.get(cv2.CAP_PROP_FPS)
136
+ frame_interval = int(fps * every_n_seconds)
137
+ count, saved = 0, 0
138
+ while True:
139
+ ret, frame = cap.read()
140
+ if not ret: break
141
+ if count % frame_interval == 0:
142
+ cv2.imwrite(f"{out_dir}/frame_{saved:04d}.jpg", frame)
143
+ saved += 1
144
+ count += 1
145
+ cap.release()
146
+ return saved
147
+ ```
148
+
149
+ ## Data Collection
150
+
151
+ - **Camera view**: First-person / egocentric (head-mounted or chest-mounted)
152
+ - **Environment**: Real home kitchen settings
153
+ - **Lighting**: Natural + indoor mixed
154
+ - **Audio**: Included in MP4 (usable for multimodal research)
155
+ - **Recording period**: March 2025 – June 2026
156
+
157
+ ## Licensing Information
158
+
159
+ **CC BY 4.0** β€” Free for research and commercial use with attribution.
160
+
161
+ ## Citation
162
+
163
+ ```bibtex
164
+ @dataset{cooking_chopping_egocentric_2026,
165
+ title = {Cooking & Chopping Activity β€” Egocentric Video Dataset},
166
+ author = {Verbose Tech Labs LLP},
167
+ year = {2026},
168
+ url = {https://huggingface.co/datasets/verbosetechlabsllp/cooking-chopping-egocentric}
169
+ }
170
+ ```
171
+
172
+ ## More Datasets from Verbose Tech Labs
173
+
174
+ This dataset is part of a **larger collection of egocentric activity datasets** covering:
175
+ - πŸ‘• Clothing industry manufacturing
176
+ - 🍳 Cooking & food preparation
177
+ - 🧹 Household cleaning tasks
178
+ - 🏭 Industrial workflows
179
+ - ...and more categories in development
180
+
181
+ **Interested in additional categories or custom data collection?** Reach out via any channel below!
182
+
183
+ ## Contact
184
+
185
+ - πŸ“ž **Phone:** [+91 7672 000 500](tel:+917672000500)
186
+ - πŸ’¬ **WhatsApp:** [+91 7672 000 500](https://wa.me/917672000500)
187
+ - πŸ“§ **Email:** [Hello@VerboseTechLabs.com](mailto:Hello@VerboseTechLabs.com)
188
+ - 🌐 **Website:** [VerboseTechLabs.com](https://VerboseTechLabs.com)
189
+ - πŸ€— **All datasets:** [huggingface.co/verbosetechlabsllp](https://huggingface.co/verbosetechlabsllp)
190
+ - πŸ“Š **Kaggle profile:** [kaggle.com/verbosetechlabsllp](https://www.kaggle.com/datasets/verbosetechlabsllp/)
cooking_metadata.csv ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ file_name,clip_id,activity,sub_activity,duration,duration_seconds,file_size_mb,recording_date,resolution,fps,view_type,notes
2
+ videos/chopping/chopping_01.mp4,CHP_001,chopping,vegetable_chopping,00:01:45,105,129.87,2026-04-24,1080p,30,egocentric,Short chopping demonstration
3
+ videos/chopping/chopping_02.mp4,CHP_002,chopping,vegetable_chopping,00:06:56,416,512.38,2026-04-24,1080p,30,egocentric,Extended chopping session
4
+ videos/chopping/chopping_03.mp4,CHP_003,chopping,vegetable_chopping,00:02:37,157,157.13,2026-04-24,1080p,30,egocentric,Mixed ingredient chopping
5
+ videos/cooking/cooking_01.mp4,COK_001,cooking,general_cooking,00:11:55,715,51.38,2025-09-14,720p,30,egocentric,Long-duration cooking session
6
+ videos/cooking/cooking_02.mp4,COK_002,cooking,general_cooking,00:31:28,1888,110.35,2025-03-26,1080p,30,egocentric,Extended full-recipe cooking
7
+ videos/cooking/cooking_03.mp4,COK_003,cooking,general_cooking,00:00:30,30,14.03,2026-05-28,1080p,30,egocentric,Quick cooking clip
8
+ videos/cooking/cooking_04.mp4,COK_004,cooking,general_cooking,00:20:49,1249,1991.52,2026-05-10,1080p,30,egocentric,Full recipe cooking session
9
+ videos/cooking/cooking_05.mp4,COK_005,cooking,general_cooking,00:11:42,702,1431.66,2026-05-10,1080p,30,egocentric,Extended cooking demonstration
10
+ videos/cooking/cooking_06.mp4,COK_006,cooking,egg_preparation,00:04:58,298,189.41,2026-06-07,1080p,30,egocentric,Egg cooking process
11
+ videos/cooking/cooking_07.mp4,COK_007,cooking,burger_preparation,00:06:12,372,876.57,2026-06-23,1080p,30,egocentric,Bulk burger making process
12
+ videos/cooking/cooking_08.mp4,COK_008,cooking,general_cooking,00:02:52,172,415.18,2026-05-21,1080p,30,egocentric,General cooking activity