yxma commited on
Commit
73dd91d
·
verified ·
1 Parent(s): 30958d8

SOURCES: clarify RTM timestamp-based frame picker

Browse files
Files changed (1) hide show
  1. SOURCES.md +15 -7
SOURCES.md CHANGED
@@ -301,13 +301,21 @@ containing a list of 256 short video clips (`sensor_video[].bytes`,
301
  MP4-encoded), plus per-touch position, gel-frame pose, and timestamps.
302
 
303
  **How we processed it.**
304
- 1. For each touch video clip, decoded with OpenCV and kept the **middle
305
- frame** (near peak contact, where the imprint is most informative).
306
- 2. No empty-frame filtering needed every middle frame is by
307
- construction at peak contact.
308
- 3. No dedupe each touch is a unique digit at a unique position.
309
- 4. Per-row metadata: `digit_class` (0–9), `episode` (which of the 600
310
- physical digit objects), `obj_name="digit_<N>"`.
 
 
 
 
 
 
 
 
311
 
312
  Kept rate: **153,600 raw → 153,600** (100%).
313
 
 
301
  MP4-encoded), plus per-touch position, gel-frame pose, and timestamps.
302
 
303
  **How we processed it.**
304
+ 1. For each touch video clip, used the upstream **`touch_start_time_rel`
305
+ and `touch_end_time_rel` timestamps** to locate the actual contact
306
+ window (typically ~6 frames near the end of a 60–73-frame clip), then
307
+ picked the frame at the *middle of the contact window*. A naive
308
+ "middle-of-video" picker selects the gel *before* the touch starts
309
+ we tried that first and the resulting samples were all blank gel, so
310
+ the timestamp-aware picker was necessary.
311
+ 2. Fallback to "frame with maximum central-region std" when timestamps
312
+ are missing or stale.
313
+ 3. No empty-frame filtering needed — every picked frame is at peak
314
+ contact by construction.
315
+ 4. No dedupe — each touch is a unique digit at a unique position.
316
+ 5. Per-row metadata: `digit_class` (0–9), `episode` (which of the 600
317
+ physical digit objects), `obj_name="digit_<N>"`, `frame_idx` (the
318
+ selected frame index within the source video).
319
 
320
  Kept rate: **153,600 raw → 153,600** (100%).
321