dex-robot commited on
Commit
9ad11f8
·
verified ·
1 Parent(s): ead9c78

Upload README_en.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README_en.md +32 -15
README_en.md CHANGED
@@ -19,8 +19,9 @@ size_categories:
19
  CAP is a **human hand motion capture + dexterous manipulation demonstration** dataset. It records an operator performing the **cups ordering (`cups_order`)** task with the **right hand**. Data is captured with a DexCap-style pipeline and ships both **compressed trajectory HDF5 files** and **raw multi-view camera frames**, ready for motion retargeting, imitation learning, and hand-pose analysis.
20
 
21
  - Repo: `dex-robot/cap`
22
- - Main file: `cap.zip` (10,694,426,624 bytes ≈ 9.96 GiB)
23
- - Files: 18,940
 
24
  - Capture date: 2026-07-07
25
  - Task: cups ordering
26
  - Hand: right
@@ -37,9 +38,9 @@ CAP is a **human hand motion capture + dexterous manipulation demonstration** da
37
  | Recordings | 5 (16:46:34 / 16:54:35 / 16:56:54 / 16:59:04 / 17:01:24) |
38
  | Trajectory files | 5 × `.hdf5` (one per recording) |
39
  | Camera views | 6 (left hand / right hand / head stereo / head global RGB / head global depth) |
40
- | Image frames | 18,915 × `.png` + 5 × `.mp4` |
41
  | Other assets | 3 × `.json`, 6 × `.txt`, 5 × `.npy`, 1 × `.raw` |
42
- | Archive size | 10.7 GB (10,694,426,624 bytes) |
43
 
44
  ---
45
 
@@ -92,14 +93,14 @@ cap/
92
 
93
  | View directory | PNG frames | Video |
94
  | --- | --- | --- |
95
- | `head_global_depth_frames` | 5,567 | ✅ |
96
- | `right_hand_rgb_frames` | 3,091 | ✅ |
97
- | `head_zed_right_frames` | 2,631 | ✅ |
98
- | `left_hand_rgb_frames` | 2,565 | ✅ |
99
- | `head_zed_left_frames` | 2,548 | ✅ |
100
- | `head_global_rgb_frames` | 2,524 | ✅ |
101
 
102
- Frames are named `frame_%06d.png` (zero-based, contiguous) and align by index with the MP4 in the same view directory.
103
 
104
  ---
105
 
@@ -132,10 +133,17 @@ https://huggingface.co/datasets/dex-robot/cap/resolve/main/cap.zip
132
  ## 6. Extract & Verify
133
 
134
  ```bash
135
- # integrity check (no output errors = OK)
 
 
 
 
 
 
 
136
  unzip -t cap.zip
137
 
138
- # extract -> cap/
139
  unzip -q cap.zip
140
 
141
  du -sh cap
@@ -146,7 +154,7 @@ Expected:
146
  ```
147
  cap/
148
  ├── hdf5/ (5 .hdf5 files)
149
- └── raw_data/ (18,935 files)
150
  ```
151
 
152
  ---
@@ -217,10 +225,19 @@ pip install h5py opencv-python numpy
217
  `huggingface-cli download` resumes automatically — just re-run the same command. Add `--max-workers 1` for a more stable (slower) transfer.
218
 
219
  **Q: `unzip` says "End-of-central-directory signature not found"?**
220
- The download is incomplete / truncated. Check that the file size is exactly **10,694,426,624 bytes**; if not, re-download.
221
 
222
  **Q: I only need trajectories, not the 10 GB of images?**
223
  Currently only the full bundle is published. Open a Discussion if you need a split release.
224
 
225
  **Q: How do I align depth with RGB?**
226
  `*_frames` and the MP4 of the same view share frame indices (`frame_%06d`). Cross-view alignment: use the calibration JSON under `raw_data/.../observe/vision/`.
 
 
 
 
 
 
 
 
 
 
19
  CAP is a **human hand motion capture + dexterous manipulation demonstration** dataset. It records an operator performing the **cups ordering (`cups_order`)** task with the **right hand**. Data is captured with a DexCap-style pipeline and ships both **compressed trajectory HDF5 files** and **raw multi-view camera frames**, ready for motion retargeting, imitation learning, and hand-pose analysis.
20
 
21
  - Repo: `dex-robot/cap`
22
+ - Main file: `cap.zip` (10,697,737,890 bytes ≈ 9.96 GiB)
23
+ - Contents: 18,939 files + 24 directory entries
24
+ - SHA256: `f91c11ee1761822fa875d4783c1fd9388f6fa3f0fa3feeef6cd5c20775220c10`
25
  - Capture date: 2026-07-07
26
  - Task: cups ordering
27
  - Hand: right
 
38
  | Recordings | 5 (16:46:34 / 16:54:35 / 16:56:54 / 16:59:04 / 17:01:24) |
39
  | Trajectory files | 5 × `.hdf5` (one per recording) |
40
  | Camera views | 6 (left hand / right hand / head stereo / head global RGB / head global depth) |
41
+ | Image frames | 18,914 × `.png` + 5 × `.mp4` |
42
  | Other assets | 3 × `.json`, 6 × `.txt`, 5 × `.npy`, 1 × `.raw` |
43
+ | Archive size | 10.7 GB (10,697,737,890 bytes) |
44
 
45
  ---
46
 
 
93
 
94
  | View directory | PNG frames | Video |
95
  | --- | --- | --- |
96
+ | `head_global_depth_frames` | 5,565 | ✅ |
97
+ | `right_hand_rgb_frames` | 3,089 | ✅ |
98
+ | `head_zed_right_frames` | 2,629 | ✅ |
99
+ | `left_hand_rgb_frames` | 2,563 | ✅ |
100
+ | `head_zed_left_frames` | 2,546 | ✅ |
101
+ | `head_global_rgb_frames` | 2,522 | ✅ |
102
 
103
+ Frames are named `frame_%06d.png`, but the indices are **not strictly contiguous** (frames were dropped during capture). Always use the sorted filename order; do not assume `i` and `i+1` are adjacent.
104
 
105
  ---
106
 
 
133
  ## 6. Extract & Verify
134
 
135
  ```bash
136
+ # 1) size
137
+ stat -c %s cap.zip # expected: 10697737890
138
+
139
+ # 2) SHA256
140
+ sha256sum cap.zip
141
+ # f91c11ee1761822fa875d4783c1fd9388f6fa3f0fa3feeef6cd5c20775220c10
142
+
143
+ # 3) CRC check (all 18963 entries must report OK)
144
  unzip -t cap.zip
145
 
146
+ # 4) extract -> cap/
147
  unzip -q cap.zip
148
 
149
  du -sh cap
 
154
  ```
155
  cap/
156
  ├── hdf5/ (5 .hdf5 files)
157
+ └── raw_data/ (18,934 files)
158
  ```
159
 
160
  ---
 
225
  `huggingface-cli download` resumes automatically — just re-run the same command. Add `--max-workers 1` for a more stable (slower) transfer.
226
 
227
  **Q: `unzip` says "End-of-central-directory signature not found"?**
228
+ The download is incomplete / truncated. Check that the size is exactly **10,697,737,890 bytes** and the SHA256 matches; if not, re-download.
229
 
230
  **Q: I only need trajectories, not the 10 GB of images?**
231
  Currently only the full bundle is published. Open a Discussion if you need a split release.
232
 
233
  **Q: How do I align depth with RGB?**
234
  `*_frames` and the MP4 of the same view share frame indices (`frame_%06d`). Cross-view alignment: use the calibration JSON under `raw_data/.../observe/vision/`.
235
+
236
+ ---
237
+
238
+ ## 11. Known Limitations
239
+
240
+ 1. **Frame indices are not contiguous.** Each view's `frame_%06d.png` has gaps (frames dropped during capture) — e.g. `right_hand_rgb_frames` holds 3,089 frames with a max index of 3,746. Use sorted filename order; never infer the next frame as `i+1`.
241
+ 2. **Raw frames cover the first session only.** Of the 5 recordings, only `164634` ships full multi-view PNG / MP4; the other four provide HDF5 trajectories only.
242
+ 3. **HDF5 internal layout may evolve across capture versions.** Group / dataset names can differ between recordings — inspect the structure with `visititems` before reading arrays.
243
+ 4. The archive was recovered from an interrupted packing process and passes CRC verification for all 18,963 entries; one incomplete trailing PNG frame was dropped.