hishamstarpilot commited on
Commit
d73e872
·
verified ·
1 Parent(s): 62d7087

dataset card

Browse files
Files changed (1) hide show
  1. README.md +139 -0
README.md ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # handTrackingSample
2
+
3
+ Egocentric footage of people working with their hands, cut to the sections a human picked as
4
+ hand-tracked, with synchronised IMU and per-frame hand pose.
5
+
6
+ **149 episodes · 10.6 hours · 46 recordings · 27 cameras · 1920x1200 · stereo**
7
+
8
+ ---
9
+
10
+ ## What each episode contains
11
+
12
+ ```
13
+ <run>/<seg>/
14
+ left.mp4 1920x1200 H.265, white-balanced, lens-rectified, faces pixelated
15
+ right.mp4 the other eye of the stereo pair, same treatment
16
+ frames.csv frame_idx, ts_us <- the authoritative video clock
17
+ imu.csv ts_us, ax/ay/az (m/s2), gx/gy/gz (deg/s)
18
+ hands.jsonl per-frame hand + held-object boxes, and 21-joint hand pose
19
+ labels.json scene, task, job, environment, zone provenance
20
+ _stat.json processing record, including the exact anonymisation setting
21
+ ```
22
+
23
+ ## How the sections were chosen
24
+
25
+ A person reviewed the recordings and drew the hand-tracked ranges by hand. Those ranges -- not a
26
+ detector -- define the episodes here. An independent hand detector agrees with them: every curated
27
+ zone has hand detections in at least 52.9% of its frames, median 92.3%.
28
+
29
+ ---
30
+
31
+ ## Read this before you align anything
32
+
33
+ **Use `frames.csv`, never the container frame rate.** The mp4 carries a synthetic constant-rate
34
+ PTS. The true exposure clock differs from it by up to **135 ms across an episode** -- about four
35
+ frames. Anyone computing frame time as `index / fps` will drift out of sync with the IMU by the
36
+ end. `frames.csv` carries the real per-frame timestamp, on the same clock as `imu.csv`.
37
+
38
+ **`dt` is not uniform.** Recordings contain genuine dropped-frame gaps, up to about **0.5 s**.
39
+ Video and IMU stay locked to each other across them -- the sample-per-frame ratio is constant -- but
40
+ integrating gyro on an assumed fixed `dt` will accumulate error. Gaps are listed per episode in
41
+ `_stat.json`.
42
+
43
+ **`hands.jsonl` is sparse and keyed by `frame_idx`.** Not every frame has a row, and pose is
44
+ computed on a stride. Index by `frame_idx`; positional indexing will silently misalign.
45
+
46
+ ---
47
+
48
+ ## Anonymisation -- known limitation
49
+
50
+ Faces are detected with SCRFD-10G at a 960 letterbox, upright threshold 0.50, unioned with a
51
+ four-rotation pass at 0.65, and pixelated with an oval mask.
52
+
53
+ That setting was chosen on a **hand-labelled benchmark of 31 faces drawn from this same footage**,
54
+ where it catches **68% of them at a 2.7% false-positive rate**. The rotation pass is what makes it
55
+ work: head-mounted video puts faces at in-plane angles an upright detector scores near zero on --
56
+ two benchmark faces score 0.07 and 0.08 upright and 0.70 and 0.76 rotated.
57
+
58
+ **68% is an upper bound on what was caught, not a floor on what leaked.** The benchmark can only
59
+ contain faces some detector saw at all, so faces no model detected are absent from both the
60
+ numerator and the denominator. **Identifiable faces remain in this data.** Do not use it for face
61
+ recognition, re-identification, or any purpose requiring that individuals be unidentifiable.
62
+
63
+ ## Rectification
64
+
65
+ Each eye is undistorted with **its own camera's calibration** (intrinsics + 8-parameter rational
66
+ distortion), not a shared one -- the units are the same 116-degree optics but their coefficients
67
+ differ enough that a shared correction would be wrong.
68
+
69
+ Calibrations report stereo RMSE around 0.2-0.7 px and pass a live 128-sample check. The correction
70
+ is zero at the optical centre and grows with radius, reaching roughly 12-96 px at the frame edge
71
+ depending on the unit. One caveat: RMSE only measures fit where the calibration target sat, so
72
+ far-corner geometry is extrapolated rather than verified.
73
+
74
+ Only cameras with a calibration are included here. Every camera excluded for lacking one is on the
75
+ project's known-faulty list.
76
+
77
+ ## Hand pose
78
+
79
+ 21 3D joints per hand from **WiLoR** (ViT detector + MANO mesh head), run every 6 frames.
80
+ MediaPipe's landmarker was evaluated against WiLoR and EgoHOS on this footage and was not good
81
+ enough -- it is the same model family that came last of eight detectors on our face benchmark, and
82
+ head-mounted video is its weak case.
83
+
84
+ ```json
85
+ {"frame_idx": 120,
86
+ "pose": [{"kp2d": [[x,y], ...21], "kp3d": [[x,y,z], ...21],
87
+ "is_right": true, "box": [x1,y1,x2,y2]}]}
88
+ ```
89
+
90
+ `kp2d` is in frame pixels; `box` is WiLoR's own hand detection, so detection and articulation come
91
+ from the same model and always agree. `kp3d` is WiLoR's 3D joint prediction in its own metric
92
+ frame, not camera millimetres.
93
+
94
+ **Held-object boxes are not in this release.** The 100DOH pass that labels what a hand is *holding*
95
+ runs separately and was not applied here; `hands.jsonl` carries hand detection and pose only.
96
+
97
+ ## Scene and task spread
98
+
99
+ 149 episodes drawn from 46 recordings on 27 different cameras, across **13 top-level categories**:
100
+
101
+ | category | recordings |
102
+ |---|---|
103
+ | Creative Workshops | 8 |
104
+ | Repair Services | 6 |
105
+ | Printing and Design | 5 |
106
+ | Food and Beverage | 5 |
107
+ | Retail and Consumer Goods | 5 |
108
+ | Cleaning and Sanitation | 4 |
109
+ | Laboratory / Scientific | 3 |
110
+ | Automotive and Transport | 3 |
111
+ | Clothing and Fashion | 2 |
112
+ | Animal Care | 2 |
113
+ | Energy and Utilities | 1 |
114
+ | Industrial Manufacturing | 1 |
115
+ | Agriculture and Farming | 1 |
116
+
117
+ No category exceeds 8 of 46 recordings. Episodes were selected round-robin across cameras, so the
118
+ set spans the full camera fleet rather than over-sampling whichever recordings happened to be
119
+ longest.
120
+
121
+ ## How much of the footage carries a hand skeleton
122
+
123
+ Pose is computed every 6th frame. The share of those sampled frames that carry at least one hand
124
+ varies a lot by task, and is a property of the work, not a failure of the pipeline:
125
+
126
+ - typical episodes land around **60-95%**
127
+ - bench work with both hands in view sits at the top of that range
128
+ - **overhead work is the weak case** -- an electrician working at ceiling height gave 1.8%, because
129
+ the camera spends most of the episode pointed at bare wall, and when the hands do appear the
130
+ wearer is reaching UP, so the arms enter from the top of frame. WiLoR is trained mostly on hands
131
+ entering from below, and an inverted approach is its hard case.
132
+
133
+ Check `hands.jsonl` before assuming a given episode is densely annotated.
134
+
135
+ ## Provenance
136
+
137
+ Every episode records its source recording, the exact source frame range, the curated zone it came
138
+ from, and the anonymisation setting used, in `_stat.json`. Cut and rendered from raw with
139
+ `generateSample/run_sample.py`.