WitneyWW commited on
Commit
619c2d0
·
1 Parent(s): bc187a1

gradio eval site with dataset-backed responses

Browse files
.gitattributes CHANGED
@@ -33,3 +33,8 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ media/P03-20240216-185832/chunk_000/bag_of_kale_01/clip.mp4 filter=lfs diff=lfs merge=lfs -text
37
+ media/P03-20240216-185832/chunk_000/bag_of_spring_greens_01/clip.mp4 filter=lfs diff=lfs merge=lfs -text
38
+ media/P03-20240216-185832/chunk_000/box_of_mushrooms_01/clip.mp4 filter=lfs diff=lfs merge=lfs -text
39
+ media/P03-20240216-185832/chunk_000/spring_onion_01/clip.mp4 filter=lfs diff=lfs merge=lfs -text
40
+ media/P03-20240216-185832/chunk_000/vegetable_01/clip.mp4 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,13 +1,13 @@
1
  ---
2
  title: Object Memory Eval
3
- emoji: 📉
4
- colorFrom: pink
5
- colorTo: indigo
6
  sdk: gradio
7
  sdk_version: 6.29.0
8
- python_version: '3.13'
9
  app_file: app.py
10
  pinned: false
 
 
11
  ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
  title: Object Memory Eval
3
+ emoji: "🎯"
4
+ colorFrom: red
5
+ colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 6.29.0
 
8
  app_file: app.py
9
  pinned: false
10
+ license: cc-by-4.0
11
+ short_description: Human evaluation of object-centric memory annotations
12
  ---
13
+ Human evaluation of object-centric annotations on HD-EPIC clips. Responses sync to the private dataset WitneyWW/object-memory-eval-responses.
 
app.py ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python
2
+ """Gradio site for human evaluation of object-centric annotations.
3
+
4
+ Run: python app.py [--port 7860] [--share]
5
+ Responses are appended to responses/responses.csv.
6
+ """
7
+ import argparse
8
+ import csv
9
+ import json
10
+ import os
11
+ from datetime import datetime
12
+ from pathlib import Path
13
+
14
+ import gradio as gr
15
+ from filelock import FileLock
16
+
17
+ HERE = Path(__file__).resolve().parent
18
+ os.environ.setdefault("GRADIO_TEMP_DIR", str(HERE / ".gradio_cache"))
19
+ MEDIA = HERE / "media"
20
+ RESP_DIR = HERE / "responses"
21
+ RESP_CSV = RESP_DIR / "responses.csv"
22
+ LOCK = HERE / ".responses.csv.lock"
23
+
24
+ CHOICES = ["Correct", "Partially correct", "Incorrect", "Can't tell"]
25
+ # (column name, question shown to the annotator)
26
+ DIMENSIONS = [
27
+ ("identity", "1. Identity — does `category` + `looks like` describe the object inside the red box?"),
28
+ ("localization", "2. Localization — do the red box / green mask cover the right object (not a neighbour, hand, or background)?"),
29
+ ("state_history", "3. Location & state history — is the where / relation / timing (`now`, `history`) correct?"),
30
+ ("moves", "4. Moves — are the recorded movement events (from → to, time) correct? (If `moves` is empty: is it correct that the object did not move?)"),
31
+ ("narration", "5. Narrations — do the blue NARRATION texts (HD-EPIC annotator descriptions, with their start/end times) really describe this object, and are the times right?"),
32
+ ("sound_speech", "6. Sound & speech — do the green SOUND events and any purple SPEECH (ASR of the audio) really belong to this object?"),
33
+ ("gaze", "7. Gaze — is the `looked at` claim right, i.e. does the red gaze dot sit on this object during the yellow `dwell` intervals?"),
34
+ ]
35
+ COLUMNS = ["timestamp", "annotator", "video_id", "chunk", "object_id"] + [d[0] for d in DIMENSIONS] + ["comment"]
36
+
37
+ # ---- optional persistence to a HF Dataset (used on HF Spaces, where local disk is ephemeral) ----
38
+ DATASET_REPO = os.environ.get("RESPONSES_DATASET") # e.g. WitneyWW/object-memory-eval-responses
39
+ SCHEDULER = None
40
+ if DATASET_REPO and os.environ.get("HF_TOKEN"):
41
+ from huggingface_hub import CommitScheduler, HfApi, hf_hub_download
42
+ RESP_DIR.mkdir(exist_ok=True)
43
+ try: # resume from the copy in the dataset
44
+ api = HfApi(token=os.environ["HF_TOKEN"])
45
+ api.create_repo(DATASET_REPO, repo_type="dataset", private=True, exist_ok=True)
46
+ cached = hf_hub_download(DATASET_REPO, "responses.csv", repo_type="dataset", token=os.environ["HF_TOKEN"])
47
+ RESP_CSV.write_bytes(Path(cached).read_bytes())
48
+ print(f"restored {sum(1 for _ in open(RESP_CSV)) - 1} responses from {DATASET_REPO}")
49
+ except Exception as e: # first run: nothing to restore
50
+ print("no previous responses restored:", type(e).__name__, str(e)[:120])
51
+ SCHEDULER = CommitScheduler(repo_id=DATASET_REPO, repo_type="dataset", folder_path=RESP_DIR,
52
+ path_in_repo=".", every=2, private=True, token=os.environ["HF_TOKEN"],
53
+ allow_patterns=["*.csv"])
54
+
55
+ ITEMS = json.load(open(MEDIA / "index.json"))
56
+ N = len(ITEMS)
57
+
58
+
59
+ def item_key(it):
60
+ return (it["video_id"], it["chunk"], it["object_id"])
61
+
62
+
63
+ # ---------------------------------------------------------------- csv i/o
64
+ def load_done(annotator):
65
+ done = set()
66
+ if RESP_CSV.exists():
67
+ with open(RESP_CSV, newline="") as f:
68
+ for r in csv.DictReader(f):
69
+ if r["annotator"] == annotator:
70
+ done.add((r["video_id"], r["chunk"], r["object_id"]))
71
+ return done
72
+
73
+
74
+ def _write(row):
75
+ new = not RESP_CSV.exists()
76
+ with open(RESP_CSV, "a", newline="") as f:
77
+ w = csv.DictWriter(f, fieldnames=COLUMNS)
78
+ if new:
79
+ w.writeheader()
80
+ w.writerow(row)
81
+
82
+
83
+ def append_row(row):
84
+ RESP_DIR.mkdir(exist_ok=True)
85
+ with FileLock(str(LOCK)):
86
+ if SCHEDULER is not None:
87
+ with SCHEDULER.lock:
88
+ _write(row)
89
+ else:
90
+ _write(row)
91
+
92
+
93
+ # ---------------------------------------------------------------- rendering
94
+ def fmt_list(xs):
95
+ return "\n".join(f"- {x}" for x in xs) if xs else "- *(none)*"
96
+
97
+
98
+ def fmt_iv(evs):
99
+ return "\n".join(f"- **{e['t0']:.1f}–{e['t1']:.1f}s** {e['label']}" for e in evs) if evs else "- *(none)*"
100
+
101
+
102
+ def annotation_md(it):
103
+ a = it["annotation"]
104
+ now = a.get("now") or {}
105
+ lc = it.get("lifecycle") or {}
106
+ ev = it.get("events") or {}
107
+ att = it.get("attention") or {}
108
+ md = f"""## `{it['object_id']}`
109
+ **video** `{it['video_id']}` / {it['chunk']}   window {it['window_sec'][0]:.1f}–{it['window_sec'][1]:.1f}s
110
+
111
+ | field | value |
112
+ |---|---|
113
+ | **category** | {a.get('category')} |
114
+ | **looks like** | {a.get('looks_like')} |
115
+ | **now** | {now.get('relation')} **{now.get('at')}** since {now.get('since_sec')}s{(' · contains: ' + str(now['contains'])) if now.get('contains') else ''} |
116
+ | **looked at** | {a.get('looked_at')} — first gaze {att.get('first_gaze_sec')}s, {att.get('prime_gap_sec')}s before contact, total dwell {att.get('total_dwell_sec')}s |
117
+ | **lifecycle** | first {lc.get('first_observed_sec')}s → last {lc.get('last_observed_sec')}s, {lc.get('final_status')} |
118
+ | **confidence** | {it.get('confidence')} |
119
+
120
+ ### History (where it was)
121
+ {fmt_list(a.get('history'))}
122
+
123
+ ### Moves
124
+ {fmt_list(a.get('moves'))}
125
+
126
+ ### Gaze dwell intervals (yellow lane; red dot = gaze point)
127
+ {fmt_iv(ev.get('dwell'))}
128
+
129
+ ### Narrations linked to this object (blue lane) — annotator text, NOT audio
130
+ {fmt_iv(ev.get('narration')) if ev.get('narration') else fmt_list(a.get('said'))}
131
+
132
+ ### Speech (purple lane) — what is actually spoken in the audio (ASR)
133
+ {fmt_iv(ev.get('speech')) if ev.get('speech') else '- *(none: ' + str(it.get('speech_layer_note') or 'no speech detected') + ')*'}
134
+
135
+ ### Sounds linked to this object (green lane)
136
+ {fmt_iv(ev.get('sound')) if ev.get('sound') else fmt_list(a.get('heard'))}
137
+ """
138
+ return md
139
+
140
+
141
+ STATUS_ICON = {"match": "✅", "mismatch": "❌", "missing": "❌", "warn": "⚠️", "info": "ℹ️", "n/a": "➖"}
142
+
143
+
144
+ def crosscheck_md(it):
145
+ rows = it.get("crosscheck") or []
146
+ n_ok = sum(r["status"] == "match" for r in rows)
147
+ n_bad = sum(r["status"] in ("mismatch", "missing") for r in rows)
148
+ n_warn = sum(r["status"] == "warn" for r in rows)
149
+ md = [f"## Automatic cross-check vs original HD-EPIC annotation — {n_ok} match, {n_bad} mismatch, {n_warn} warn",
150
+ "| | what | memory (generated) | original HD-EPIC | note |", "|---|---|---|---|---|"]
151
+ for r in rows:
152
+ md.append(f"| {STATUS_ICON.get(r['status'], '')} | {r['what']} | {str(r['memory']).replace('|', '/')} | "
153
+ f"{str(r['original']).replace('|', '/')} | {r.get('note', '')} |")
154
+ md.append("\n### All HD-EPIC narrations in this clip window (✔ = attached to this object)")
155
+ for n in it.get("raw_narrations_in_window") or []:
156
+ md.append(f"- {'✔' if n['attached'] else '  '} **{n['t0']:.1f}–{n['t1']:.1f}s** {n['text']}")
157
+ return "\n".join(md)
158
+ return md
159
+
160
+
161
+ def gallery_for(it):
162
+ return [(str(MEDIA / k["path"]), f"t={k['t']:.2f}s frame {k['frame']}") for k in it["keyframes"]]
163
+
164
+
165
+ def show(idx, annotator):
166
+ idx = max(0, min(idx, N - 1))
167
+ it = ITEMS[idx]
168
+ done = load_done(annotator) if annotator else set()
169
+ status = "✅ answered" if item_key(it) in done else "⬜ not answered"
170
+ header = f"### {annotator or '?'} — item {idx + 1} / {N}   {status}   ({len(done)} / {N} done)"
171
+ return [idx, header, str(MEDIA / it["clip"]), gallery_for(it), annotation_md(it), crosscheck_md(it)] + [None] * len(DIMENSIONS) + [""]
172
+
173
+
174
+ def first_unanswered(annotator):
175
+ done = load_done(annotator)
176
+ for i, it in enumerate(ITEMS):
177
+ if item_key(it) not in done:
178
+ return i
179
+ return 0
180
+
181
+
182
+ # ---------------------------------------------------------------- app
183
+ with gr.Blocks(title="Object-centric annotation eval") as demo:
184
+ idx_state = gr.State(0)
185
+ name_state = gr.State("")
186
+
187
+ with gr.Column(visible=True) as login_col:
188
+ gr.Markdown("# Object-centric annotation evaluation\nEnter your name to start (progress is saved per name).")
189
+ name_in = gr.Textbox(label="Your name", placeholder="e.g. alice")
190
+ start_btn = gr.Button("Start", variant="primary")
191
+
192
+ with gr.Column(visible=False) as main_col:
193
+ header = gr.Markdown()
194
+ gr.Markdown(
195
+ "**Clip overlays:** red box = object near each keyframe · red dot = where the wearer is looking (gaze) · "
196
+ "yellow *GAZE ON OBJECT* = the memory claims a gaze dwell · **blue NARRATION** = HD-EPIC annotator text "
197
+ "(not audio) with its [start-end] and START/END markers · **purple SPEECH** = words actually spoken in the "
198
+ "audio (ASR) · **green SOUND** = sound events · bottom bar = timeline lanes sound / narration / speech / dwell, "
199
+ "white ticks = narration start/end, red ticks = keyframes, white line = playhead. "
200
+ "**Keyframes:** green = SAM3 mask, red = box, red dot = gaze."
201
+ )
202
+ with gr.Row():
203
+ with gr.Column(scale=5):
204
+ video = gr.Video(label="Clip with overlays", autoplay=True, height=600)
205
+ gallery = gr.Gallery(label="Keyframes (mask + box)", columns=3, height=260, object_fit="contain")
206
+ with gr.Column(scale=5):
207
+ ann_md = gr.Markdown()
208
+ with gr.Accordion("Cross-check vs original HD-EPIC annotation (auto-generated, for reference)", open=False):
209
+ xc_md = gr.Markdown()
210
+ gr.Markdown("## Your judgement")
211
+ radios = [gr.Radio(CHOICES, label=q) for _, q in DIMENSIONS]
212
+ comment = gr.Textbox(label="Comment (optional)", lines=2)
213
+ with gr.Row():
214
+ prev_btn = gr.Button("◀ Prev")
215
+ skip_btn = gr.Button("Skip ▶")
216
+ submit_btn = gr.Button("Submit & Next ▶", variant="primary")
217
+ msg = gr.Markdown()
218
+
219
+ outputs = [idx_state, header, video, gallery, ann_md, xc_md] + radios + [comment]
220
+
221
+ def start(name):
222
+ name = (name or "").strip()
223
+ if not name:
224
+ raise gr.Error("Please enter your name.")
225
+ i = first_unanswered(name)
226
+ return [name, gr.update(visible=False), gr.update(visible=True)] + show(i, name)
227
+
228
+ start_btn.click(start, [name_in], [name_state, login_col, main_col] + outputs)
229
+ name_in.submit(start, [name_in], [name_state, login_col, main_col] + outputs)
230
+
231
+ prev_btn.click(lambda i, n: show(i - 1, n), [idx_state, name_state], outputs)
232
+ skip_btn.click(lambda i, n: show(i + 1, n), [idx_state, name_state], outputs)
233
+
234
+ def submit(i, name, *vals):
235
+ *answers, cmt = vals
236
+ if any(a is None for a in answers):
237
+ raise gr.Error(f"Please answer all {len(DIMENSIONS)} questions before submitting.")
238
+ it = ITEMS[i]
239
+ row = {"timestamp": datetime.now().isoformat(timespec="seconds"), "annotator": name,
240
+ "video_id": it["video_id"], "chunk": it["chunk"], "object_id": it["object_id"],
241
+ "comment": (cmt or "").strip()}
242
+ row.update({d[0]: a for d, a in zip(DIMENSIONS, answers)})
243
+ append_row(row)
244
+ if i + 1 >= N:
245
+ return show(i, name) + [f"**Saved.** That was the last item — all {N} done. Thank you!"]
246
+ return show(i + 1, name) + [f"Saved `{it['object_id']}` → {RESP_CSV.name}"]
247
+
248
+ submit_btn.click(submit, [idx_state, name_state] + radios + [comment], outputs + [msg])
249
+
250
+ if __name__ == "__main__":
251
+ ap = argparse.ArgumentParser()
252
+ ap.add_argument("--port", type=int, default=7860)
253
+ ap.add_argument("--host", default="0.0.0.0")
254
+ ap.add_argument("--share", action="store_true")
255
+ a = ap.parse_args()
256
+ demo.launch(server_name=a.host, server_port=a.port, share=a.share, allowed_paths=[str(MEDIA)], show_error=True)
media/P03-20240216-185832/chunk_000/bag_of_kale_01/keyframe_000343.jpg ADDED
media/P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000208.jpg ADDED
media/P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000405.jpg ADDED
media/P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000456.jpg ADDED
media/P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000537.jpg ADDED
media/P03-20240216-185832/chunk_000/box_of_mushrooms_01/keyframe_000612.jpg ADDED
media/P03-20240216-185832/chunk_000/box_of_mushrooms_01/keyframe_000747.jpg ADDED
media/P03-20240216-185832/chunk_000/box_of_mushrooms_01/keyframe_000757.jpg ADDED
media/P03-20240216-185832/chunk_000/spring_onion_01/keyframe_000668.jpg ADDED
media/P03-20240216-185832/chunk_000/spring_onion_01/keyframe_000928.jpg ADDED
media/P03-20240216-185832/chunk_000/vegetable_01/keyframe_000483.jpg ADDED
media/P03-20240216-185832/chunk_000/vegetable_01/keyframe_000550.jpg ADDED
media/index.json ADDED
@@ -0,0 +1,1833 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "video_id": "P03-20240216-185832",
4
+ "chunk": "chunk_000",
5
+ "object_id": "bag_of_kale_01",
6
+ "window_sec": [
7
+ 0.0,
8
+ 30.0
9
+ ],
10
+ "clip": "P03-20240216-185832/chunk_000/bag_of_kale_01/clip.mp4",
11
+ "keyframes": [
12
+ {
13
+ "t": 11.433,
14
+ "frame": 343,
15
+ "path": "P03-20240216-185832/chunk_000/bag_of_kale_01/keyframe_000343.jpg",
16
+ "sam_score": 0.000965118408203125,
17
+ "iou_with_gt_box": 0.5354
18
+ }
19
+ ],
20
+ "annotation": {
21
+ "object": "bag_of_kale_01",
22
+ "category": "bag of kale",
23
+ "looks_like": "green plastic",
24
+ "now": {
25
+ "at": "P03_fridge.001",
26
+ "relation": "inside",
27
+ "since_sec": 11.43,
28
+ "contains": "kale"
29
+ },
30
+ "looked_at": true,
31
+ "gaze_before_contact_sec": 0.66667,
32
+ "history": [
33
+ "11.43s onward: inside P03_fridge.001"
34
+ ],
35
+ "moves": [],
36
+ "said": [
37
+ "with my left hand pick up bag of kale from the fridge bottom drawer.",
38
+ "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
39
+ "Place the bag of kale that I just took from the fridge on the table."
40
+ ],
41
+ "heard": [
42
+ "rustle (6.9-29.8s)"
43
+ ]
44
+ },
45
+ "events": {
46
+ "sound": [
47
+ {
48
+ "t0": 6.87,
49
+ "t1": 29.79,
50
+ "label": "rustle"
51
+ }
52
+ ],
53
+ "narration": [
54
+ {
55
+ "t0": 10.76,
56
+ "t1": 12.07,
57
+ "label": "with my left hand pick up bag of kale from the fridge bottom drawer.",
58
+ "id": "P03-20240216-185832-4"
59
+ },
60
+ {
61
+ "t0": 11.99,
62
+ "t1": 13.62,
63
+ "label": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
64
+ "id": "P03-20240216-185832-5"
65
+ },
66
+ {
67
+ "t0": 14.26,
68
+ "t1": 14.92,
69
+ "label": "Place the bag of kale that I just took from the fridge on the table.",
70
+ "id": "P03-20240216-185832-6"
71
+ }
72
+ ],
73
+ "speech": [],
74
+ "dwell": [
75
+ {
76
+ "t0": 10.017,
77
+ "t1": 11.517,
78
+ "label": "gaze dwell"
79
+ }
80
+ ]
81
+ },
82
+ "speech_layer_note": "HD-EPIC annotates zero speech-class sound events in this video and Whisper returned a known silence artifact, so no transcript is recorded. See audio/asr_validation.json.",
83
+ "crosscheck": [
84
+ {
85
+ "what": "object name",
86
+ "memory": "bag of kale",
87
+ "original": "bag of kale",
88
+ "status": "match",
89
+ "note": ""
90
+ },
91
+ {
92
+ "what": "observed interval",
93
+ "memory": "11.43\u201311.43s",
94
+ "original": "11.4\u201314.6s",
95
+ "status": "info",
96
+ "note": "HD-EPIC movement tracks overlapping the clip window"
97
+ },
98
+ {
99
+ "what": "location @ 11.4s",
100
+ "memory": "inside P03_fridge.001",
101
+ "original": "P03_fridge.001",
102
+ "status": "match",
103
+ "note": ""
104
+ },
105
+ {
106
+ "what": "bbox @ 11.4s",
107
+ "memory": [
108
+ 729,
109
+ 824,
110
+ 966,
111
+ 1018
112
+ ],
113
+ "original": [
114
+ 729,
115
+ 824,
116
+ 966,
117
+ 1018
118
+ ],
119
+ "status": "match",
120
+ "note": ""
121
+ },
122
+ {
123
+ "what": "narration",
124
+ "memory": "[10.8-12.1s] with my left hand pick up bag of kale from the fridge bottom drawer.",
125
+ "original": "[10.8-12.1s] with my left hand pick up bag of kale from the fridge bottom drawer.",
126
+ "status": "match",
127
+ "note": ""
128
+ },
129
+ {
130
+ "what": "narration",
131
+ "memory": "[12.0-13.6s] Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
132
+ "original": "[12.0-13.6s] Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
133
+ "status": "match",
134
+ "note": ""
135
+ },
136
+ {
137
+ "what": "narration",
138
+ "memory": "[14.3-14.9s] Place the bag of kale that I just took from the fridge on the table.",
139
+ "original": "[14.3-14.9s] Place the bag of kale that I just took from the fridge on the table.",
140
+ "status": "match",
141
+ "note": ""
142
+ },
143
+ {
144
+ "what": "sound",
145
+ "memory": "rustle [6.9-29.8s]",
146
+ "original": "rustle [6.9-29.8s]",
147
+ "status": "match",
148
+ "note": ""
149
+ },
150
+ {
151
+ "what": "speech in clip",
152
+ "memory": "0 ASR turns",
153
+ "original": "0 HD-EPIC speech sound events",
154
+ "status": "match",
155
+ "note": ""
156
+ },
157
+ {
158
+ "what": "gaze priming",
159
+ "memory": "looked_at=True, first_gaze=10.767s, gap=0.66667s",
160
+ "original": "frame 343: primed at frame 323, gap=0.66667s",
161
+ "status": "match",
162
+ "note": ""
163
+ }
164
+ ],
165
+ "raw_narrations_in_window": [
166
+ {
167
+ "t0": 4.25,
168
+ "t1": 6.62,
169
+ "text": "Open the fridge by pulling the door with my right hand.",
170
+ "id": "P03-20240216-185832-1",
171
+ "attached": false
172
+ },
173
+ {
174
+ "t0": 7.47,
175
+ "t1": 8.19,
176
+ "text": "Pick up bag of spring greens from the large shopping bag located on the floor.",
177
+ "id": "P03-20240216-185832-2",
178
+ "attached": false
179
+ },
180
+ {
181
+ "t0": 9.57,
182
+ "t1": 11.07,
183
+ "text": "with my left hand pull the fridge bottom drawer to open it",
184
+ "id": "P03-20240216-185832-3",
185
+ "attached": false
186
+ },
187
+ {
188
+ "t0": 10.76,
189
+ "t1": 12.07,
190
+ "text": "with my left hand pick up bag of kale from the fridge bottom drawer.",
191
+ "id": "P03-20240216-185832-4",
192
+ "attached": true
193
+ },
194
+ {
195
+ "t0": 11.99,
196
+ "t1": 13.62,
197
+ "text": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
198
+ "id": "P03-20240216-185832-5",
199
+ "attached": true
200
+ },
201
+ {
202
+ "t0": 14.26,
203
+ "t1": 14.92,
204
+ "text": "Place the bag of kale that I just took from the fridge on the table.",
205
+ "id": "P03-20240216-185832-6",
206
+ "attached": true
207
+ },
208
+ {
209
+ "t0": 15.54,
210
+ "t1": 15.99,
211
+ "text": "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
212
+ "id": "P03-20240216-185832-7",
213
+ "attached": false
214
+ },
215
+ {
216
+ "t0": 15.96,
217
+ "t1": 16.84,
218
+ "text": "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
219
+ "id": "P03-20240216-185832-8",
220
+ "attached": false
221
+ },
222
+ {
223
+ "t0": 16.94,
224
+ "t1": 17.98,
225
+ "text": "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
226
+ "id": "P03-20240216-185832-9",
227
+ "attached": false
228
+ },
229
+ {
230
+ "t0": 17.77,
231
+ "t1": 18.11,
232
+ "text": "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
233
+ "id": "P03-20240216-185832-10",
234
+ "attached": false
235
+ },
236
+ {
237
+ "t0": 18.6,
238
+ "t1": 19.36,
239
+ "text": "With my right hand, push the bottom free to draw to close it.",
240
+ "id": "P03-20240216-185832-11",
241
+ "attached": false
242
+ },
243
+ {
244
+ "t0": 19.99,
245
+ "t1": 21.89,
246
+ "text": "Pick up a box of mushrooms from the large shopping bag standing on the floor.",
247
+ "id": "P03-20240216-185832-12",
248
+ "attached": false
249
+ },
250
+ {
251
+ "t0": 22.41,
252
+ "t1": 23.09,
253
+ "text": "Pick up spring onion from the large shopping bag standing on the floor.",
254
+ "id": "P03-20240216-185832-13",
255
+ "attached": false
256
+ },
257
+ {
258
+ "t0": 23.85,
259
+ "t1": 24.94,
260
+ "text": "Put down the box of mushroom in the bottom shelf of the fridge, initially trying to put it to stack it on top of something else, then putting it down temporarily on the shelf.",
261
+ "id": "P03-20240216-185832-14",
262
+ "attached": false
263
+ },
264
+ {
265
+ "t0": 25.14,
266
+ "t1": 27.16,
267
+ "text": "Pick up another older box of mushroom from the bottom shelf of the fridge.",
268
+ "id": "P03-20240216-185832-15",
269
+ "attached": false
270
+ },
271
+ {
272
+ "t0": 27.34,
273
+ "t1": 29.53,
274
+ "text": "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
275
+ "id": "P03-20240216-185832-16",
276
+ "attached": false
277
+ },
278
+ {
279
+ "t0": 29.91,
280
+ "t1": 30.56,
281
+ "text": "I pull the fridge bottom drawer with my right hand to open it.",
282
+ "id": "P03-20240216-185832-17",
283
+ "attached": false
284
+ }
285
+ ],
286
+ "attention": {
287
+ "gaze_on_object": true,
288
+ "first_gaze_sec": 10.767,
289
+ "prime_gap_sec": 0.66667,
290
+ "dwell_intervals_sec": [
291
+ [
292
+ 10.017,
293
+ 11.517
294
+ ]
295
+ ],
296
+ "total_dwell_sec": 1.5,
297
+ "dist_to_cam_m": 0.705,
298
+ "source": "hd_epic_priming"
299
+ },
300
+ "lifecycle": {
301
+ "first_observed_sec": 11.43,
302
+ "last_observed_sec": 11.43,
303
+ "final_status": "active"
304
+ },
305
+ "confidence": 0.98,
306
+ "gaze_resid_deg": 3.894780803151101
307
+ },
308
+ {
309
+ "video_id": "P03-20240216-185832",
310
+ "chunk": "chunk_000",
311
+ "object_id": "bag_of_spring_greens_01",
312
+ "window_sec": [
313
+ 0.0,
314
+ 30.0
315
+ ],
316
+ "clip": "P03-20240216-185832/chunk_000/bag_of_spring_greens_01/clip.mp4",
317
+ "keyframes": [
318
+ {
319
+ "t": 6.933,
320
+ "frame": 208,
321
+ "path": "P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000208.jpg",
322
+ "sam_score": 1.7881393432617188e-05,
323
+ "iou_with_gt_box": 0.3948
324
+ },
325
+ {
326
+ "t": 13.5,
327
+ "frame": 405,
328
+ "path": "P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000405.jpg",
329
+ "sam_score": 0.00078582763671875,
330
+ "iou_with_gt_box": 0.6442
331
+ },
332
+ {
333
+ "t": 15.2,
334
+ "frame": 456,
335
+ "path": "P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000456.jpg",
336
+ "sam_score": 7.152557373046875e-05,
337
+ "iou_with_gt_box": 0.4708
338
+ },
339
+ {
340
+ "t": 17.9,
341
+ "frame": 537,
342
+ "path": "P03-20240216-185832/chunk_000/bag_of_spring_greens_01/keyframe_000537.jpg",
343
+ "sam_score": 0.000286102294921875,
344
+ "iou_with_gt_box": 0.4877
345
+ }
346
+ ],
347
+ "annotation": {
348
+ "object": "bag_of_spring_greens_01",
349
+ "category": "bag of spring greens",
350
+ "looks_like": "green plastic",
351
+ "now": {
352
+ "at": "P03_fridge.001",
353
+ "relation": "inside",
354
+ "since_sec": 13.5,
355
+ "contains": "spring greens"
356
+ },
357
+ "looked_at": true,
358
+ "gaze_before_contact_sec": 1.06667,
359
+ "history": [
360
+ "6.93-13.5s: on P03_floor.001",
361
+ "13.5s onward: inside P03_fridge.001"
362
+ ],
363
+ "moves": [
364
+ "6.93-13.5s: pick_up from P03_floor.001 to P03_fridge.001"
365
+ ],
366
+ "said": [
367
+ "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
368
+ "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
369
+ "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
370
+ "Pick up spring onion from the large shopping bag standing on the floor."
371
+ ],
372
+ "heard": [
373
+ "rustle (6.9-29.8s)",
374
+ "open / close (15.8-16.2s)",
375
+ "open / close (17.8-19.3s)"
376
+ ]
377
+ },
378
+ "events": {
379
+ "sound": [
380
+ {
381
+ "t0": 6.87,
382
+ "t1": 29.79,
383
+ "label": "rustle"
384
+ },
385
+ {
386
+ "t0": 9.97,
387
+ "t1": 11.02,
388
+ "label": "open / close"
389
+ },
390
+ {
391
+ "t0": 15.83,
392
+ "t1": 16.18,
393
+ "label": "open / close"
394
+ },
395
+ {
396
+ "t0": 17.77,
397
+ "t1": 19.3,
398
+ "label": "open / close"
399
+ }
400
+ ],
401
+ "narration": [
402
+ {
403
+ "t0": 11.99,
404
+ "t1": 13.62,
405
+ "label": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
406
+ "id": "P03-20240216-185832-5"
407
+ },
408
+ {
409
+ "t0": 15.54,
410
+ "t1": 15.99,
411
+ "label": "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
412
+ "id": "P03-20240216-185832-7"
413
+ },
414
+ {
415
+ "t0": 16.94,
416
+ "t1": 17.98,
417
+ "label": "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
418
+ "id": "P03-20240216-185832-9"
419
+ },
420
+ {
421
+ "t0": 22.41,
422
+ "t1": 23.09,
423
+ "label": "Pick up spring onion from the large shopping bag standing on the floor.",
424
+ "id": "P03-20240216-185832-13"
425
+ }
426
+ ],
427
+ "speech": [],
428
+ "dwell": [
429
+ {
430
+ "t0": 5.117,
431
+ "t1": 6.617,
432
+ "label": "gaze dwell"
433
+ },
434
+ {
435
+ "t0": 8.25,
436
+ "t1": 10.117,
437
+ "label": "gaze dwell"
438
+ }
439
+ ]
440
+ },
441
+ "speech_layer_note": "HD-EPIC annotates zero speech-class sound events in this video and Whisper returned a known silence artifact, so no transcript is recorded. See audio/asr_validation.json.",
442
+ "crosscheck": [
443
+ {
444
+ "what": "object name",
445
+ "memory": "bag of spring greens",
446
+ "original": "bag of spring greens",
447
+ "status": "match",
448
+ "note": ""
449
+ },
450
+ {
451
+ "what": "observed interval",
452
+ "memory": "6.93\u201317.9s",
453
+ "original": "7.0\u201313.5s, 15.2\u201317.9s",
454
+ "status": "info",
455
+ "note": "HD-EPIC movement tracks overlapping the clip window"
456
+ },
457
+ {
458
+ "what": "location @ 6.9s",
459
+ "memory": "on P03_floor.001",
460
+ "original": "P03_floor.001",
461
+ "status": "match",
462
+ "note": ""
463
+ },
464
+ {
465
+ "what": "bbox @ 6.9s",
466
+ "memory": [
467
+ 726,
468
+ 958,
469
+ 908,
470
+ 1113
471
+ ],
472
+ "original": [
473
+ 726,
474
+ 958,
475
+ 908,
476
+ 1113
477
+ ],
478
+ "status": "match",
479
+ "note": ""
480
+ },
481
+ {
482
+ "what": "location @ 13.5s",
483
+ "memory": "inside P03_fridge.001",
484
+ "original": "P03_fridge.001",
485
+ "status": "match",
486
+ "note": ""
487
+ },
488
+ {
489
+ "what": "bbox @ 13.5s",
490
+ "memory": [
491
+ 545,
492
+ 803,
493
+ 884,
494
+ 1126
495
+ ],
496
+ "original": [
497
+ 545,
498
+ 803,
499
+ 884,
500
+ 1126
501
+ ],
502
+ "status": "match",
503
+ "note": ""
504
+ },
505
+ {
506
+ "what": "location @ 15.2s",
507
+ "memory": "inside P03_fridge.001",
508
+ "original": "P03_fridge.001",
509
+ "status": "match",
510
+ "note": ""
511
+ },
512
+ {
513
+ "what": "bbox @ 15.2s",
514
+ "memory": [
515
+ 537,
516
+ 803,
517
+ 834,
518
+ 1097
519
+ ],
520
+ "original": [
521
+ 537,
522
+ 803,
523
+ 834,
524
+ 1097
525
+ ],
526
+ "status": "match",
527
+ "note": ""
528
+ },
529
+ {
530
+ "what": "location @ 17.9s",
531
+ "memory": "inside P03_fridge.001",
532
+ "original": "P03_fridge.001",
533
+ "status": "match",
534
+ "note": ""
535
+ },
536
+ {
537
+ "what": "bbox @ 17.9s",
538
+ "memory": [
539
+ 844,
540
+ 769,
541
+ 1094,
542
+ 1103
543
+ ],
544
+ "original": [
545
+ 844,
546
+ 769,
547
+ 1094,
548
+ 1103
549
+ ],
550
+ "status": "match",
551
+ "note": ""
552
+ },
553
+ {
554
+ "what": "narration",
555
+ "memory": "[12.0-13.6s] Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
556
+ "original": "[12.0-13.6s] Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
557
+ "status": "match",
558
+ "note": ""
559
+ },
560
+ {
561
+ "what": "narration",
562
+ "memory": "[15.5-16.0s] Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
563
+ "original": "[15.5-16.0s] Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
564
+ "status": "match",
565
+ "note": ""
566
+ },
567
+ {
568
+ "what": "narration",
569
+ "memory": "[16.9-18.0s] Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
570
+ "original": "[16.9-18.0s] Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
571
+ "status": "match",
572
+ "note": ""
573
+ },
574
+ {
575
+ "what": "narration",
576
+ "memory": "[22.4-23.1s] Pick up spring onion from the large shopping bag standing on the floor.",
577
+ "original": "[22.4-23.1s] Pick up spring onion from the large shopping bag standing on the floor.",
578
+ "status": "match",
579
+ "note": ""
580
+ },
581
+ {
582
+ "what": "narration not attached",
583
+ "memory": "(memory did not link this)",
584
+ "original": "[7.5-8.2s] Pick up bag of spring greens from the large shopping bag located on the floor.",
585
+ "status": "warn",
586
+ "note": "mentions the object name but the memory does not reference it"
587
+ },
588
+ {
589
+ "what": "sound",
590
+ "memory": "rustle [6.9-29.8s]",
591
+ "original": "rustle [6.9-29.8s]",
592
+ "status": "match",
593
+ "note": ""
594
+ },
595
+ {
596
+ "what": "sound",
597
+ "memory": "open / close [10.0-11.0s]",
598
+ "original": "open / close [10.0-11.0s]",
599
+ "status": "match",
600
+ "note": ""
601
+ },
602
+ {
603
+ "what": "sound",
604
+ "memory": "open / close [15.8-16.2s]",
605
+ "original": "open / close [15.8-16.2s]",
606
+ "status": "match",
607
+ "note": ""
608
+ },
609
+ {
610
+ "what": "sound",
611
+ "memory": "open / close [17.8-19.3s]",
612
+ "original": "open / close [17.8-19.3s]",
613
+ "status": "match",
614
+ "note": ""
615
+ },
616
+ {
617
+ "what": "speech in clip",
618
+ "memory": "0 ASR turns",
619
+ "original": "0 HD-EPIC speech sound events",
620
+ "status": "match",
621
+ "note": ""
622
+ },
623
+ {
624
+ "what": "gaze priming",
625
+ "memory": "looked_at=True, first_gaze=5.867s, gap=1.06667s",
626
+ "original": "frame 208: primed at frame 176, gap=1.06667s",
627
+ "status": "match",
628
+ "note": ""
629
+ }
630
+ ],
631
+ "raw_narrations_in_window": [
632
+ {
633
+ "t0": 4.25,
634
+ "t1": 6.62,
635
+ "text": "Open the fridge by pulling the door with my right hand.",
636
+ "id": "P03-20240216-185832-1",
637
+ "attached": false
638
+ },
639
+ {
640
+ "t0": 7.47,
641
+ "t1": 8.19,
642
+ "text": "Pick up bag of spring greens from the large shopping bag located on the floor.",
643
+ "id": "P03-20240216-185832-2",
644
+ "attached": false
645
+ },
646
+ {
647
+ "t0": 9.57,
648
+ "t1": 11.07,
649
+ "text": "with my left hand pull the fridge bottom drawer to open it",
650
+ "id": "P03-20240216-185832-3",
651
+ "attached": false
652
+ },
653
+ {
654
+ "t0": 10.76,
655
+ "t1": 12.07,
656
+ "text": "with my left hand pick up bag of kale from the fridge bottom drawer.",
657
+ "id": "P03-20240216-185832-4",
658
+ "attached": false
659
+ },
660
+ {
661
+ "t0": 11.99,
662
+ "t1": 13.62,
663
+ "text": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
664
+ "id": "P03-20240216-185832-5",
665
+ "attached": true
666
+ },
667
+ {
668
+ "t0": 14.26,
669
+ "t1": 14.92,
670
+ "text": "Place the bag of kale that I just took from the fridge on the table.",
671
+ "id": "P03-20240216-185832-6",
672
+ "attached": false
673
+ },
674
+ {
675
+ "t0": 15.54,
676
+ "t1": 15.99,
677
+ "text": "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
678
+ "id": "P03-20240216-185832-7",
679
+ "attached": true
680
+ },
681
+ {
682
+ "t0": 15.96,
683
+ "t1": 16.84,
684
+ "text": "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
685
+ "id": "P03-20240216-185832-8",
686
+ "attached": false
687
+ },
688
+ {
689
+ "t0": 16.94,
690
+ "t1": 17.98,
691
+ "text": "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
692
+ "id": "P03-20240216-185832-9",
693
+ "attached": true
694
+ },
695
+ {
696
+ "t0": 17.77,
697
+ "t1": 18.11,
698
+ "text": "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
699
+ "id": "P03-20240216-185832-10",
700
+ "attached": false
701
+ },
702
+ {
703
+ "t0": 18.6,
704
+ "t1": 19.36,
705
+ "text": "With my right hand, push the bottom free to draw to close it.",
706
+ "id": "P03-20240216-185832-11",
707
+ "attached": false
708
+ },
709
+ {
710
+ "t0": 19.99,
711
+ "t1": 21.89,
712
+ "text": "Pick up a box of mushrooms from the large shopping bag standing on the floor.",
713
+ "id": "P03-20240216-185832-12",
714
+ "attached": false
715
+ },
716
+ {
717
+ "t0": 22.41,
718
+ "t1": 23.09,
719
+ "text": "Pick up spring onion from the large shopping bag standing on the floor.",
720
+ "id": "P03-20240216-185832-13",
721
+ "attached": true
722
+ },
723
+ {
724
+ "t0": 23.85,
725
+ "t1": 24.94,
726
+ "text": "Put down the box of mushroom in the bottom shelf of the fridge, initially trying to put it to stack it on top of something else, then putting it down temporarily on the shelf.",
727
+ "id": "P03-20240216-185832-14",
728
+ "attached": false
729
+ },
730
+ {
731
+ "t0": 25.14,
732
+ "t1": 27.16,
733
+ "text": "Pick up another older box of mushroom from the bottom shelf of the fridge.",
734
+ "id": "P03-20240216-185832-15",
735
+ "attached": false
736
+ },
737
+ {
738
+ "t0": 27.34,
739
+ "t1": 29.53,
740
+ "text": "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
741
+ "id": "P03-20240216-185832-16",
742
+ "attached": false
743
+ },
744
+ {
745
+ "t0": 29.91,
746
+ "t1": 30.56,
747
+ "text": "I pull the fridge bottom drawer with my right hand to open it.",
748
+ "id": "P03-20240216-185832-17",
749
+ "attached": false
750
+ }
751
+ ],
752
+ "attention": {
753
+ "gaze_on_object": true,
754
+ "first_gaze_sec": 5.867,
755
+ "prime_gap_sec": 1.06667,
756
+ "dwell_intervals_sec": [
757
+ [
758
+ 5.117,
759
+ 6.617
760
+ ],
761
+ [
762
+ 8.25,
763
+ 10.117
764
+ ]
765
+ ],
766
+ "total_dwell_sec": 3.367,
767
+ "dist_to_cam_m": 0.977,
768
+ "source": "hd_epic_priming"
769
+ },
770
+ "lifecycle": {
771
+ "first_observed_sec": 6.93,
772
+ "last_observed_sec": 17.9,
773
+ "final_status": "active"
774
+ },
775
+ "confidence": 0.98,
776
+ "gaze_resid_deg": 3.894780803151101
777
+ },
778
+ {
779
+ "video_id": "P03-20240216-185832",
780
+ "chunk": "chunk_000",
781
+ "object_id": "box_of_mushrooms_01",
782
+ "window_sec": [
783
+ 0.0,
784
+ 30.0
785
+ ],
786
+ "clip": "P03-20240216-185832/chunk_000/box_of_mushrooms_01/clip.mp4",
787
+ "keyframes": [
788
+ {
789
+ "t": 20.4,
790
+ "frame": 612,
791
+ "path": "P03-20240216-185832/chunk_000/box_of_mushrooms_01/keyframe_000612.jpg",
792
+ "sam_score": 6.031990051269531e-05,
793
+ "iou_with_gt_box": 0.4994
794
+ },
795
+ {
796
+ "t": 24.9,
797
+ "frame": 747,
798
+ "path": "P03-20240216-185832/chunk_000/box_of_mushrooms_01/keyframe_000747.jpg",
799
+ "sam_score": 0.0001773834228515625,
800
+ "iou_with_gt_box": 0.5087
801
+ },
802
+ {
803
+ "t": 25.233,
804
+ "frame": 757,
805
+ "path": "P03-20240216-185832/chunk_000/box_of_mushrooms_01/keyframe_000757.jpg",
806
+ "sam_score": 5.602836608886719e-05,
807
+ "iou_with_gt_box": 0.5372
808
+ }
809
+ ],
810
+ "annotation": {
811
+ "object": "box_of_mushrooms_01",
812
+ "category": "box of mushrooms",
813
+ "looks_like": "brown cardboard",
814
+ "now": {
815
+ "at": "P03_fridge.001",
816
+ "relation": "inside",
817
+ "since_sec": 24.9,
818
+ "contains": "mushrooms"
819
+ },
820
+ "looked_at": true,
821
+ "gaze_before_contact_sec": 1.53333,
822
+ "history": [
823
+ "20.4-24.9s: held_by person_01",
824
+ "24.9s onward: inside P03_fridge.001"
825
+ ],
826
+ "moves": [
827
+ "20.4-24.9s: pick_up from person_01 to P03_fridge.001"
828
+ ],
829
+ "said": [
830
+ "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it."
831
+ ],
832
+ "heard": [
833
+ "rustle (6.9-29.8s)",
834
+ "metal / plastic collision (24.7-25.7s)"
835
+ ]
836
+ },
837
+ "events": {
838
+ "sound": [
839
+ {
840
+ "t0": 6.87,
841
+ "t1": 29.79,
842
+ "label": "rustle"
843
+ },
844
+ {
845
+ "t0": 24.74,
846
+ "t1": 25.73,
847
+ "label": "metal / plastic collision"
848
+ }
849
+ ],
850
+ "narration": [
851
+ {
852
+ "t0": 27.34,
853
+ "t1": 29.53,
854
+ "label": "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
855
+ "id": "P03-20240216-185832-16"
856
+ }
857
+ ],
858
+ "speech": [],
859
+ "dwell": [
860
+ {
861
+ "t0": 18.117,
862
+ "t1": 19.617,
863
+ "label": "gaze dwell"
864
+ },
865
+ {
866
+ "t0": 22.35,
867
+ "t1": 23.85,
868
+ "label": "gaze dwell"
869
+ }
870
+ ]
871
+ },
872
+ "speech_layer_note": "HD-EPIC annotates zero speech-class sound events in this video and Whisper returned a known silence artifact, so no transcript is recorded. See audio/asr_validation.json.",
873
+ "crosscheck": [
874
+ {
875
+ "what": "object name",
876
+ "memory": "box of mushrooms",
877
+ "original": "box of mushrooms",
878
+ "status": "match",
879
+ "note": ""
880
+ },
881
+ {
882
+ "what": "observed interval",
883
+ "memory": "20.4\u201325.23s",
884
+ "original": "20.4\u201324.9s, 25.2\u201329.4s",
885
+ "status": "info",
886
+ "note": "HD-EPIC movement tracks overlapping the clip window"
887
+ },
888
+ {
889
+ "what": "location @ 20.4s",
890
+ "memory": "held_by person_01",
891
+ "original": "mid-air",
892
+ "status": "match",
893
+ "note": "HD-EPIC 'mid-air' = held in hand"
894
+ },
895
+ {
896
+ "what": "bbox @ 20.4s",
897
+ "memory": [
898
+ 787,
899
+ 945,
900
+ 884,
901
+ 1076
902
+ ],
903
+ "original": [
904
+ 787,
905
+ 945,
906
+ 884,
907
+ 1076
908
+ ],
909
+ "status": "match",
910
+ "note": ""
911
+ },
912
+ {
913
+ "what": "location @ 24.9s",
914
+ "memory": "inside P03_fridge.001",
915
+ "original": "P03_fridge.001",
916
+ "status": "match",
917
+ "note": ""
918
+ },
919
+ {
920
+ "what": "bbox @ 24.9s",
921
+ "memory": [
922
+ 500,
923
+ 791,
924
+ 711,
925
+ 1016
926
+ ],
927
+ "original": [
928
+ 500,
929
+ 791,
930
+ 711,
931
+ 1016
932
+ ],
933
+ "status": "match",
934
+ "note": ""
935
+ },
936
+ {
937
+ "what": "location @ 25.2s",
938
+ "memory": "inside P03_fridge.001",
939
+ "original": "P03_fridge.001",
940
+ "status": "match",
941
+ "note": ""
942
+ },
943
+ {
944
+ "what": "bbox @ 25.2s",
945
+ "memory": [
946
+ 513,
947
+ 808,
948
+ 753,
949
+ 1082
950
+ ],
951
+ "original": [
952
+ 513,
953
+ 808,
954
+ 753,
955
+ 1082
956
+ ],
957
+ "status": "match",
958
+ "note": ""
959
+ },
960
+ {
961
+ "what": "narration",
962
+ "memory": "[27.3-29.5s] having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
963
+ "original": "[27.3-29.5s] having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
964
+ "status": "match",
965
+ "note": ""
966
+ },
967
+ {
968
+ "what": "narration not attached",
969
+ "memory": "(memory did not link this)",
970
+ "original": "[20.0-21.9s] Pick up a box of mushrooms from the large shopping bag standing on the floor.",
971
+ "status": "warn",
972
+ "note": "mentions the object name but the memory does not reference it"
973
+ },
974
+ {
975
+ "what": "sound",
976
+ "memory": "rustle [6.9-29.8s]",
977
+ "original": "rustle [6.9-29.8s]",
978
+ "status": "match",
979
+ "note": ""
980
+ },
981
+ {
982
+ "what": "sound",
983
+ "memory": "metal / plastic collision [24.7-25.7s]",
984
+ "original": "metal / plastic collision [24.7-25.7s]",
985
+ "status": "match",
986
+ "note": ""
987
+ },
988
+ {
989
+ "what": "speech in clip",
990
+ "memory": "0 ASR turns",
991
+ "original": "0 HD-EPIC speech sound events",
992
+ "status": "match",
993
+ "note": ""
994
+ },
995
+ {
996
+ "what": "gaze priming",
997
+ "memory": "looked_at=True, first_gaze=18.867s, gap=1.53333s",
998
+ "original": "frame 612: primed at frame 566, gap=1.53333s",
999
+ "status": "match",
1000
+ "note": ""
1001
+ }
1002
+ ],
1003
+ "raw_narrations_in_window": [
1004
+ {
1005
+ "t0": 4.25,
1006
+ "t1": 6.62,
1007
+ "text": "Open the fridge by pulling the door with my right hand.",
1008
+ "id": "P03-20240216-185832-1",
1009
+ "attached": false
1010
+ },
1011
+ {
1012
+ "t0": 7.47,
1013
+ "t1": 8.19,
1014
+ "text": "Pick up bag of spring greens from the large shopping bag located on the floor.",
1015
+ "id": "P03-20240216-185832-2",
1016
+ "attached": false
1017
+ },
1018
+ {
1019
+ "t0": 9.57,
1020
+ "t1": 11.07,
1021
+ "text": "with my left hand pull the fridge bottom drawer to open it",
1022
+ "id": "P03-20240216-185832-3",
1023
+ "attached": false
1024
+ },
1025
+ {
1026
+ "t0": 10.76,
1027
+ "t1": 12.07,
1028
+ "text": "with my left hand pick up bag of kale from the fridge bottom drawer.",
1029
+ "id": "P03-20240216-185832-4",
1030
+ "attached": false
1031
+ },
1032
+ {
1033
+ "t0": 11.99,
1034
+ "t1": 13.62,
1035
+ "text": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
1036
+ "id": "P03-20240216-185832-5",
1037
+ "attached": false
1038
+ },
1039
+ {
1040
+ "t0": 14.26,
1041
+ "t1": 14.92,
1042
+ "text": "Place the bag of kale that I just took from the fridge on the table.",
1043
+ "id": "P03-20240216-185832-6",
1044
+ "attached": false
1045
+ },
1046
+ {
1047
+ "t0": 15.54,
1048
+ "t1": 15.99,
1049
+ "text": "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
1050
+ "id": "P03-20240216-185832-7",
1051
+ "attached": false
1052
+ },
1053
+ {
1054
+ "t0": 15.96,
1055
+ "t1": 16.84,
1056
+ "text": "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1057
+ "id": "P03-20240216-185832-8",
1058
+ "attached": false
1059
+ },
1060
+ {
1061
+ "t0": 16.94,
1062
+ "t1": 17.98,
1063
+ "text": "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
1064
+ "id": "P03-20240216-185832-9",
1065
+ "attached": false
1066
+ },
1067
+ {
1068
+ "t0": 17.77,
1069
+ "t1": 18.11,
1070
+ "text": "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
1071
+ "id": "P03-20240216-185832-10",
1072
+ "attached": false
1073
+ },
1074
+ {
1075
+ "t0": 18.6,
1076
+ "t1": 19.36,
1077
+ "text": "With my right hand, push the bottom free to draw to close it.",
1078
+ "id": "P03-20240216-185832-11",
1079
+ "attached": false
1080
+ },
1081
+ {
1082
+ "t0": 19.99,
1083
+ "t1": 21.89,
1084
+ "text": "Pick up a box of mushrooms from the large shopping bag standing on the floor.",
1085
+ "id": "P03-20240216-185832-12",
1086
+ "attached": false
1087
+ },
1088
+ {
1089
+ "t0": 22.41,
1090
+ "t1": 23.09,
1091
+ "text": "Pick up spring onion from the large shopping bag standing on the floor.",
1092
+ "id": "P03-20240216-185832-13",
1093
+ "attached": false
1094
+ },
1095
+ {
1096
+ "t0": 23.85,
1097
+ "t1": 24.94,
1098
+ "text": "Put down the box of mushroom in the bottom shelf of the fridge, initially trying to put it to stack it on top of something else, then putting it down temporarily on the shelf.",
1099
+ "id": "P03-20240216-185832-14",
1100
+ "attached": false
1101
+ },
1102
+ {
1103
+ "t0": 25.14,
1104
+ "t1": 27.16,
1105
+ "text": "Pick up another older box of mushroom from the bottom shelf of the fridge.",
1106
+ "id": "P03-20240216-185832-15",
1107
+ "attached": false
1108
+ },
1109
+ {
1110
+ "t0": 27.34,
1111
+ "t1": 29.53,
1112
+ "text": "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
1113
+ "id": "P03-20240216-185832-16",
1114
+ "attached": true
1115
+ },
1116
+ {
1117
+ "t0": 29.91,
1118
+ "t1": 30.56,
1119
+ "text": "I pull the fridge bottom drawer with my right hand to open it.",
1120
+ "id": "P03-20240216-185832-17",
1121
+ "attached": false
1122
+ }
1123
+ ],
1124
+ "attention": {
1125
+ "gaze_on_object": true,
1126
+ "first_gaze_sec": 18.867,
1127
+ "prime_gap_sec": 1.53333,
1128
+ "dwell_intervals_sec": [
1129
+ [
1130
+ 18.117,
1131
+ 19.617
1132
+ ],
1133
+ [
1134
+ 22.35,
1135
+ 23.85
1136
+ ]
1137
+ ],
1138
+ "total_dwell_sec": 3.0,
1139
+ "dist_to_cam_m": 0.963,
1140
+ "source": "hd_epic_priming"
1141
+ },
1142
+ "lifecycle": {
1143
+ "first_observed_sec": 20.4,
1144
+ "last_observed_sec": 25.23,
1145
+ "final_status": "active"
1146
+ },
1147
+ "confidence": 0.98,
1148
+ "gaze_resid_deg": 3.894780803151101
1149
+ },
1150
+ {
1151
+ "video_id": "P03-20240216-185832",
1152
+ "chunk": "chunk_000",
1153
+ "object_id": "spring_onion_01",
1154
+ "window_sec": [
1155
+ 0.0,
1156
+ 30.0
1157
+ ],
1158
+ "clip": "P03-20240216-185832/chunk_000/spring_onion_01/clip.mp4",
1159
+ "keyframes": [
1160
+ {
1161
+ "t": 22.267,
1162
+ "frame": 668,
1163
+ "path": "P03-20240216-185832/chunk_000/spring_onion_01/keyframe_000668.jpg",
1164
+ "sam_score": 0.013671875,
1165
+ "iou_with_gt_box": 0.6081
1166
+ },
1167
+ {
1168
+ "t": 30.933,
1169
+ "frame": 928,
1170
+ "path": "P03-20240216-185832/chunk_000/spring_onion_01/keyframe_000928.jpg",
1171
+ "sam_score": 0.003448486328125,
1172
+ "iou_with_gt_box": 0.1618
1173
+ }
1174
+ ],
1175
+ "annotation": {
1176
+ "object": "spring_onion_01",
1177
+ "category": "spring onion",
1178
+ "looks_like": "green organic",
1179
+ "now": {
1180
+ "at": "P03_freezer.001",
1181
+ "relation": "inside",
1182
+ "since_sec": 30.93,
1183
+ "contains": "unknown"
1184
+ },
1185
+ "looked_at": true,
1186
+ "gaze_before_contact_sec": 1.76667,
1187
+ "history": [
1188
+ "22.27-30.93s: on P03_floor.001",
1189
+ "30.93s onward: inside P03_freezer.001"
1190
+ ],
1191
+ "moves": [
1192
+ "22.27-30.93s: pick_up from P03_floor.001 to P03_freezer.001"
1193
+ ],
1194
+ "said": [],
1195
+ "heard": []
1196
+ },
1197
+ "events": {
1198
+ "sound": [
1199
+ {
1200
+ "t0": 6.87,
1201
+ "t1": 29.79,
1202
+ "label": "rustle"
1203
+ },
1204
+ {
1205
+ "t0": 24.74,
1206
+ "t1": 25.73,
1207
+ "label": "metal / plastic collision"
1208
+ },
1209
+ {
1210
+ "t0": 29.73,
1211
+ "t1": 29.98,
1212
+ "label": "plastic-only collision"
1213
+ }
1214
+ ],
1215
+ "narration": [],
1216
+ "speech": [],
1217
+ "dwell": [
1218
+ {
1219
+ "t0": 18.117,
1220
+ "t1": 19.617,
1221
+ "label": "gaze dwell"
1222
+ },
1223
+ {
1224
+ "t0": 28.417,
1225
+ "t1": 29.917,
1226
+ "label": "gaze dwell"
1227
+ }
1228
+ ]
1229
+ },
1230
+ "speech_layer_note": "HD-EPIC annotates zero speech-class sound events in this video and Whisper returned a known silence artifact, so no transcript is recorded. See audio/asr_validation.json.",
1231
+ "crosscheck": [
1232
+ {
1233
+ "what": "object name",
1234
+ "memory": "spring onion",
1235
+ "original": "spring onion",
1236
+ "status": "match",
1237
+ "note": ""
1238
+ },
1239
+ {
1240
+ "what": "observed interval",
1241
+ "memory": "22.27\u201330.93s",
1242
+ "original": "22.3\u201330.9s",
1243
+ "status": "info",
1244
+ "note": "HD-EPIC movement tracks overlapping the clip window"
1245
+ },
1246
+ {
1247
+ "what": "location @ 22.3s",
1248
+ "memory": "None",
1249
+ "original": "P03_floor.001",
1250
+ "status": "mismatch",
1251
+ "note": ""
1252
+ },
1253
+ {
1254
+ "what": "bbox @ 22.3s",
1255
+ "memory": [
1256
+ 718,
1257
+ 821,
1258
+ 787,
1259
+ 921
1260
+ ],
1261
+ "original": [
1262
+ 718,
1263
+ 821,
1264
+ 787,
1265
+ 921
1266
+ ],
1267
+ "status": "match",
1268
+ "note": ""
1269
+ },
1270
+ {
1271
+ "what": "location @ 30.9s",
1272
+ "memory": "inside P03_freezer.001",
1273
+ "original": "P03_freezer.001",
1274
+ "status": "match",
1275
+ "note": ""
1276
+ },
1277
+ {
1278
+ "what": "bbox @ 30.9s",
1279
+ "memory": [
1280
+ 1055,
1281
+ 1003,
1282
+ 1297,
1283
+ 1134
1284
+ ],
1285
+ "original": [
1286
+ 1055,
1287
+ 1003,
1288
+ 1297,
1289
+ 1134
1290
+ ],
1291
+ "status": "match",
1292
+ "note": ""
1293
+ },
1294
+ {
1295
+ "what": "narration not attached",
1296
+ "memory": "(memory did not link this)",
1297
+ "original": "[22.4-23.1s] Pick up spring onion from the large shopping bag standing on the floor.",
1298
+ "status": "warn",
1299
+ "note": "mentions the object name but the memory does not reference it"
1300
+ },
1301
+ {
1302
+ "what": "sound",
1303
+ "memory": "rustle [6.9-29.8s]",
1304
+ "original": "rustle [6.9-29.8s]",
1305
+ "status": "match",
1306
+ "note": ""
1307
+ },
1308
+ {
1309
+ "what": "sound",
1310
+ "memory": "metal / plastic collision [24.7-25.7s]",
1311
+ "original": "metal / plastic collision [24.7-25.7s]",
1312
+ "status": "match",
1313
+ "note": ""
1314
+ },
1315
+ {
1316
+ "what": "sound",
1317
+ "memory": "plastic-only collision [29.7-30.0s]",
1318
+ "original": "plastic-only collision [29.7-30.0s]",
1319
+ "status": "match",
1320
+ "note": ""
1321
+ },
1322
+ {
1323
+ "what": "speech in clip",
1324
+ "memory": "0 ASR turns",
1325
+ "original": "0 HD-EPIC speech sound events",
1326
+ "status": "match",
1327
+ "note": ""
1328
+ },
1329
+ {
1330
+ "what": "gaze priming",
1331
+ "memory": "looked_at=True, first_gaze=18.867s, gap=1.76667s",
1332
+ "original": "frame 668: primed at frame 566, gap=3.4s",
1333
+ "status": "mismatch",
1334
+ "note": ""
1335
+ }
1336
+ ],
1337
+ "raw_narrations_in_window": [
1338
+ {
1339
+ "t0": 4.25,
1340
+ "t1": 6.62,
1341
+ "text": "Open the fridge by pulling the door with my right hand.",
1342
+ "id": "P03-20240216-185832-1",
1343
+ "attached": false
1344
+ },
1345
+ {
1346
+ "t0": 7.47,
1347
+ "t1": 8.19,
1348
+ "text": "Pick up bag of spring greens from the large shopping bag located on the floor.",
1349
+ "id": "P03-20240216-185832-2",
1350
+ "attached": false
1351
+ },
1352
+ {
1353
+ "t0": 9.57,
1354
+ "t1": 11.07,
1355
+ "text": "with my left hand pull the fridge bottom drawer to open it",
1356
+ "id": "P03-20240216-185832-3",
1357
+ "attached": false
1358
+ },
1359
+ {
1360
+ "t0": 10.76,
1361
+ "t1": 12.07,
1362
+ "text": "with my left hand pick up bag of kale from the fridge bottom drawer.",
1363
+ "id": "P03-20240216-185832-4",
1364
+ "attached": false
1365
+ },
1366
+ {
1367
+ "t0": 11.99,
1368
+ "t1": 13.62,
1369
+ "text": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
1370
+ "id": "P03-20240216-185832-5",
1371
+ "attached": false
1372
+ },
1373
+ {
1374
+ "t0": 14.26,
1375
+ "t1": 14.92,
1376
+ "text": "Place the bag of kale that I just took from the fridge on the table.",
1377
+ "id": "P03-20240216-185832-6",
1378
+ "attached": false
1379
+ },
1380
+ {
1381
+ "t0": 15.54,
1382
+ "t1": 15.99,
1383
+ "text": "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
1384
+ "id": "P03-20240216-185832-7",
1385
+ "attached": false
1386
+ },
1387
+ {
1388
+ "t0": 15.96,
1389
+ "t1": 16.84,
1390
+ "text": "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1391
+ "id": "P03-20240216-185832-8",
1392
+ "attached": false
1393
+ },
1394
+ {
1395
+ "t0": 16.94,
1396
+ "t1": 17.98,
1397
+ "text": "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
1398
+ "id": "P03-20240216-185832-9",
1399
+ "attached": false
1400
+ },
1401
+ {
1402
+ "t0": 17.77,
1403
+ "t1": 18.11,
1404
+ "text": "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
1405
+ "id": "P03-20240216-185832-10",
1406
+ "attached": false
1407
+ },
1408
+ {
1409
+ "t0": 18.6,
1410
+ "t1": 19.36,
1411
+ "text": "With my right hand, push the bottom free to draw to close it.",
1412
+ "id": "P03-20240216-185832-11",
1413
+ "attached": false
1414
+ },
1415
+ {
1416
+ "t0": 19.99,
1417
+ "t1": 21.89,
1418
+ "text": "Pick up a box of mushrooms from the large shopping bag standing on the floor.",
1419
+ "id": "P03-20240216-185832-12",
1420
+ "attached": false
1421
+ },
1422
+ {
1423
+ "t0": 22.41,
1424
+ "t1": 23.09,
1425
+ "text": "Pick up spring onion from the large shopping bag standing on the floor.",
1426
+ "id": "P03-20240216-185832-13",
1427
+ "attached": false
1428
+ },
1429
+ {
1430
+ "t0": 23.85,
1431
+ "t1": 24.94,
1432
+ "text": "Put down the box of mushroom in the bottom shelf of the fridge, initially trying to put it to stack it on top of something else, then putting it down temporarily on the shelf.",
1433
+ "id": "P03-20240216-185832-14",
1434
+ "attached": false
1435
+ },
1436
+ {
1437
+ "t0": 25.14,
1438
+ "t1": 27.16,
1439
+ "text": "Pick up another older box of mushroom from the bottom shelf of the fridge.",
1440
+ "id": "P03-20240216-185832-15",
1441
+ "attached": false
1442
+ },
1443
+ {
1444
+ "t0": 27.34,
1445
+ "t1": 29.53,
1446
+ "text": "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
1447
+ "id": "P03-20240216-185832-16",
1448
+ "attached": false
1449
+ },
1450
+ {
1451
+ "t0": 29.91,
1452
+ "t1": 30.56,
1453
+ "text": "I pull the fridge bottom drawer with my right hand to open it.",
1454
+ "id": "P03-20240216-185832-17",
1455
+ "attached": false
1456
+ }
1457
+ ],
1458
+ "attention": {
1459
+ "gaze_on_object": true,
1460
+ "first_gaze_sec": 18.867,
1461
+ "prime_gap_sec": 1.76667,
1462
+ "dwell_intervals_sec": [
1463
+ [
1464
+ 18.117,
1465
+ 19.617
1466
+ ],
1467
+ [
1468
+ 28.417,
1469
+ 29.917
1470
+ ]
1471
+ ],
1472
+ "total_dwell_sec": 3.0,
1473
+ "dist_to_cam_m": 1.059,
1474
+ "source": "hd_epic_priming"
1475
+ },
1476
+ "lifecycle": {
1477
+ "first_observed_sec": 22.27,
1478
+ "last_observed_sec": 30.93,
1479
+ "final_status": "active"
1480
+ },
1481
+ "confidence": 0.98,
1482
+ "gaze_resid_deg": 3.894780803151101
1483
+ },
1484
+ {
1485
+ "video_id": "P03-20240216-185832",
1486
+ "chunk": "chunk_000",
1487
+ "object_id": "vegetable_01",
1488
+ "window_sec": [
1489
+ 0.0,
1490
+ 30.0
1491
+ ],
1492
+ "clip": "P03-20240216-185832/chunk_000/vegetable_01/clip.mp4",
1493
+ "keyframes": [
1494
+ {
1495
+ "t": 16.1,
1496
+ "frame": 483,
1497
+ "path": "P03-20240216-185832/chunk_000/vegetable_01/keyframe_000483.jpg",
1498
+ "sam_score": 0.02880859375,
1499
+ "iou_with_gt_box": 0.3387
1500
+ },
1501
+ {
1502
+ "t": 18.333,
1503
+ "frame": 550,
1504
+ "path": "P03-20240216-185832/chunk_000/vegetable_01/keyframe_000550.jpg",
1505
+ "sam_score": 0.037841796875,
1506
+ "iou_with_gt_box": 0.4773
1507
+ }
1508
+ ],
1509
+ "annotation": {
1510
+ "object": "vegetable_01",
1511
+ "category": "vegetable",
1512
+ "looks_like": "green organic",
1513
+ "now": {
1514
+ "at": "P03_fridge.001",
1515
+ "relation": "inside",
1516
+ "since_sec": 16.1,
1517
+ "contains": "unknown"
1518
+ },
1519
+ "looked_at": true,
1520
+ "gaze_before_contact_sec": 4.03333,
1521
+ "history": [
1522
+ "16.1s onward: inside P03_fridge.001"
1523
+ ],
1524
+ "moves": [],
1525
+ "said": [
1526
+ "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1527
+ "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw."
1528
+ ],
1529
+ "heard": [
1530
+ "rustle (6.9-29.8s)",
1531
+ "open / close (15.8-16.2s)",
1532
+ "open / close (17.8-19.3s)"
1533
+ ]
1534
+ },
1535
+ "events": {
1536
+ "sound": [
1537
+ {
1538
+ "t0": 6.87,
1539
+ "t1": 29.79,
1540
+ "label": "rustle"
1541
+ },
1542
+ {
1543
+ "t0": 15.83,
1544
+ "t1": 16.18,
1545
+ "label": "open / close"
1546
+ },
1547
+ {
1548
+ "t0": 17.77,
1549
+ "t1": 19.3,
1550
+ "label": "open / close"
1551
+ }
1552
+ ],
1553
+ "narration": [
1554
+ {
1555
+ "t0": 15.96,
1556
+ "t1": 16.84,
1557
+ "label": "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1558
+ "id": "P03-20240216-185832-8"
1559
+ },
1560
+ {
1561
+ "t0": 17.77,
1562
+ "t1": 18.11,
1563
+ "label": "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
1564
+ "id": "P03-20240216-185832-10"
1565
+ }
1566
+ ],
1567
+ "speech": [],
1568
+ "dwell": [
1569
+ {
1570
+ "t0": 11.317,
1571
+ "t1": 12.817,
1572
+ "label": "gaze dwell"
1573
+ }
1574
+ ]
1575
+ },
1576
+ "speech_layer_note": "HD-EPIC annotates zero speech-class sound events in this video and Whisper returned a known silence artifact, so no transcript is recorded. See audio/asr_validation.json.",
1577
+ "crosscheck": [
1578
+ {
1579
+ "what": "object name",
1580
+ "memory": "vegetable",
1581
+ "original": "vegetable",
1582
+ "status": "match",
1583
+ "note": ""
1584
+ },
1585
+ {
1586
+ "what": "observed interval",
1587
+ "memory": "16.1\u201318.33s",
1588
+ "original": "16.1\u201318.3s",
1589
+ "status": "info",
1590
+ "note": "HD-EPIC movement tracks overlapping the clip window"
1591
+ },
1592
+ {
1593
+ "what": "location @ 16.1s",
1594
+ "memory": "inside P03_fridge.001",
1595
+ "original": "P03_fridge.001",
1596
+ "status": "match",
1597
+ "note": ""
1598
+ },
1599
+ {
1600
+ "what": "bbox @ 16.1s",
1601
+ "memory": [
1602
+ 774,
1603
+ 863,
1604
+ 840,
1605
+ 953
1606
+ ],
1607
+ "original": [
1608
+ 774,
1609
+ 863,
1610
+ 840,
1611
+ 953
1612
+ ],
1613
+ "status": "match",
1614
+ "note": ""
1615
+ },
1616
+ {
1617
+ "what": "location @ 18.3s",
1618
+ "memory": "inside P03_fridge.001",
1619
+ "original": "P03_fridge.001",
1620
+ "status": "match",
1621
+ "note": ""
1622
+ },
1623
+ {
1624
+ "what": "bbox @ 18.3s",
1625
+ "memory": [
1626
+ 974,
1627
+ 1029,
1628
+ 1103,
1629
+ 1137
1630
+ ],
1631
+ "original": [
1632
+ 974,
1633
+ 1029,
1634
+ 1103,
1635
+ 1137
1636
+ ],
1637
+ "status": "match",
1638
+ "note": ""
1639
+ },
1640
+ {
1641
+ "what": "narration",
1642
+ "memory": "[16.0-16.8s] With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1643
+ "original": "[16.0-16.8s] With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1644
+ "status": "match",
1645
+ "note": ""
1646
+ },
1647
+ {
1648
+ "what": "narration",
1649
+ "memory": "[17.8-18.1s] drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
1650
+ "original": "[17.8-18.1s] drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
1651
+ "status": "match",
1652
+ "note": ""
1653
+ },
1654
+ {
1655
+ "what": "sound",
1656
+ "memory": "rustle [6.9-29.8s]",
1657
+ "original": "rustle [6.9-29.8s]",
1658
+ "status": "match",
1659
+ "note": ""
1660
+ },
1661
+ {
1662
+ "what": "sound",
1663
+ "memory": "open / close [15.8-16.2s]",
1664
+ "original": "open / close [15.8-16.2s]",
1665
+ "status": "match",
1666
+ "note": ""
1667
+ },
1668
+ {
1669
+ "what": "sound",
1670
+ "memory": "open / close [17.8-19.3s]",
1671
+ "original": "open / close [17.8-19.3s]",
1672
+ "status": "match",
1673
+ "note": ""
1674
+ },
1675
+ {
1676
+ "what": "speech in clip",
1677
+ "memory": "0 ASR turns",
1678
+ "original": "0 HD-EPIC speech sound events",
1679
+ "status": "match",
1680
+ "note": ""
1681
+ },
1682
+ {
1683
+ "what": "gaze priming",
1684
+ "memory": "looked_at=True, first_gaze=12.067s, gap=4.03333s",
1685
+ "original": "frame 483: primed at frame 362, gap=4.03333s",
1686
+ "status": "match",
1687
+ "note": ""
1688
+ }
1689
+ ],
1690
+ "raw_narrations_in_window": [
1691
+ {
1692
+ "t0": 4.25,
1693
+ "t1": 6.62,
1694
+ "text": "Open the fridge by pulling the door with my right hand.",
1695
+ "id": "P03-20240216-185832-1",
1696
+ "attached": false
1697
+ },
1698
+ {
1699
+ "t0": 7.47,
1700
+ "t1": 8.19,
1701
+ "text": "Pick up bag of spring greens from the large shopping bag located on the floor.",
1702
+ "id": "P03-20240216-185832-2",
1703
+ "attached": false
1704
+ },
1705
+ {
1706
+ "t0": 9.57,
1707
+ "t1": 11.07,
1708
+ "text": "with my left hand pull the fridge bottom drawer to open it",
1709
+ "id": "P03-20240216-185832-3",
1710
+ "attached": false
1711
+ },
1712
+ {
1713
+ "t0": 10.76,
1714
+ "t1": 12.07,
1715
+ "text": "with my left hand pick up bag of kale from the fridge bottom drawer.",
1716
+ "id": "P03-20240216-185832-4",
1717
+ "attached": false
1718
+ },
1719
+ {
1720
+ "t0": 11.99,
1721
+ "t1": 13.62,
1722
+ "text": "Now that I moved the bag of kale out of the bottom drawer, place the bag of spring greens that I'm holding in my right hand into the fridge bottom drawer.",
1723
+ "id": "P03-20240216-185832-5",
1724
+ "attached": false
1725
+ },
1726
+ {
1727
+ "t0": 14.26,
1728
+ "t1": 14.92,
1729
+ "text": "Place the bag of kale that I just took from the fridge on the table.",
1730
+ "id": "P03-20240216-185832-6",
1731
+ "attached": false
1732
+ },
1733
+ {
1734
+ "t0": 15.54,
1735
+ "t1": 15.99,
1736
+ "text": "Grab the bag of spring greens from the bottom drawer of the fridge with both hands.",
1737
+ "id": "P03-20240216-185832-7",
1738
+ "attached": false
1739
+ },
1740
+ {
1741
+ "t0": 15.96,
1742
+ "t1": 16.84,
1743
+ "text": "With my right hand pick up vegetable wrapped in cling film from the bottom drawer of the fridge.",
1744
+ "id": "P03-20240216-185832-8",
1745
+ "attached": true
1746
+ },
1747
+ {
1748
+ "t0": 16.94,
1749
+ "t1": 17.98,
1750
+ "text": "Move the bag of spring greens back into the fridge bottom drawer with my left hand.",
1751
+ "id": "P03-20240216-185832-9",
1752
+ "attached": false
1753
+ },
1754
+ {
1755
+ "t0": 17.77,
1756
+ "t1": 18.11,
1757
+ "text": "drop the vegetable wrapped in cling film in the bottom right corner of the bottom free draw.",
1758
+ "id": "P03-20240216-185832-10",
1759
+ "attached": true
1760
+ },
1761
+ {
1762
+ "t0": 18.6,
1763
+ "t1": 19.36,
1764
+ "text": "With my right hand, push the bottom free to draw to close it.",
1765
+ "id": "P03-20240216-185832-11",
1766
+ "attached": false
1767
+ },
1768
+ {
1769
+ "t0": 19.99,
1770
+ "t1": 21.89,
1771
+ "text": "Pick up a box of mushrooms from the large shopping bag standing on the floor.",
1772
+ "id": "P03-20240216-185832-12",
1773
+ "attached": false
1774
+ },
1775
+ {
1776
+ "t0": 22.41,
1777
+ "t1": 23.09,
1778
+ "text": "Pick up spring onion from the large shopping bag standing on the floor.",
1779
+ "id": "P03-20240216-185832-13",
1780
+ "attached": false
1781
+ },
1782
+ {
1783
+ "t0": 23.85,
1784
+ "t1": 24.94,
1785
+ "text": "Put down the box of mushroom in the bottom shelf of the fridge, initially trying to put it to stack it on top of something else, then putting it down temporarily on the shelf.",
1786
+ "id": "P03-20240216-185832-14",
1787
+ "attached": false
1788
+ },
1789
+ {
1790
+ "t0": 25.14,
1791
+ "t1": 27.16,
1792
+ "text": "Pick up another older box of mushroom from the bottom shelf of the fridge.",
1793
+ "id": "P03-20240216-185832-15",
1794
+ "attached": false
1795
+ },
1796
+ {
1797
+ "t0": 27.34,
1798
+ "t1": 29.53,
1799
+ "text": "having realized that the best before date of the older box of mushrooms that I'm holding in my right hand is closer than the newer box of mushrooms that I'm holding in my left hand. Push the box of mushrooms in my left hand inside the bottom shelf of the fridge and stack the older box of mushrooms on top of it.",
1800
+ "id": "P03-20240216-185832-16",
1801
+ "attached": false
1802
+ },
1803
+ {
1804
+ "t0": 29.91,
1805
+ "t1": 30.56,
1806
+ "text": "I pull the fridge bottom drawer with my right hand to open it.",
1807
+ "id": "P03-20240216-185832-17",
1808
+ "attached": false
1809
+ }
1810
+ ],
1811
+ "attention": {
1812
+ "gaze_on_object": true,
1813
+ "first_gaze_sec": 12.067,
1814
+ "prime_gap_sec": 4.03333,
1815
+ "dwell_intervals_sec": [
1816
+ [
1817
+ 11.317,
1818
+ 12.817
1819
+ ]
1820
+ ],
1821
+ "total_dwell_sec": 1.5,
1822
+ "dist_to_cam_m": 0.643,
1823
+ "source": "hd_epic_priming"
1824
+ },
1825
+ "lifecycle": {
1826
+ "first_observed_sec": 16.1,
1827
+ "last_observed_sec": 18.33,
1828
+ "final_status": "active"
1829
+ },
1830
+ "confidence": 0.98,
1831
+ "gaze_resid_deg": 3.894780803151101
1832
+ }
1833
+ ]
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ gradio==6.29.0
2
+ filelock
3
+ huggingface_hub