File size: 9,112 Bytes
d03d465
 
 
 
 
 
 
 
 
d2ce48d
 
d03d465
 
 
 
 
 
d2ce48d
d03d465
d2ce48d
 
 
 
 
 
d03d465
 
 
 
 
d2ce48d
 
 
 
 
 
 
 
 
d03d465
 
 
 
d2ce48d
 
 
 
d03d465
 
 
 
 
 
 
 
 
d2ce48d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d03d465
 
 
 
 
 
 
 
 
 
 
 
 
d2ce48d
d03d465
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d2ce48d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d03d465
d2ce48d
d03d465
 
d2ce48d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d03d465
 
 
 
 
 
 
 
 
 
 
 
 
d2ce48d
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
---
pretty_name: Robohand multi-view RGB-D hand capture
tags:
  - rgb-d
  - depth
  - multi-view
  - hand
  - realsense
  - data-glove
  - surgical-skills
  - suturing
size_categories:
  - n<1K
---

# Robohand multi-view RGB-D hand capture

Raw sessions recorded with [Robohand](https://github.com/Ever2after/robohand). The dataset has two parts:

- **2026-11-17 sessions.** Three Intel RealSense D405 cameras (colour + colour-aligned depth) on a shared host clock. One session also has a MANUS data glove.
- **2026-11-20 surgical-skill sessions.** The same three D405s plus four 4K RGB webcams (OBSBOT Tiny 2 Lite). There are 36 takes of three tasks on a silicone suture pad, filed by task.

The ChArUco extrinsic calibrations used for the multi-camera point cloud are included.

The data is the unprocessed output of the capture tool. There are no annotations beyond the task folders, and no train/test split.

## Layout

```
calibration.json                     # calibration that was active at the end of the last session
recordings/
  <YYYYMMDD_HHMMSS_us>/              # 2026-11-17 sessions (D405 only)
  01_suturing/<session>/             # 2026-11-20, task 1: needle suturing (바늘 봉합)
  02_incision/<session>/             # 2026-11-20, task 2: scalpel incision (절개)
  03_needle_holder/<session>/        # 2026-11-20, task 3: needle-holder handling (니들홀더 결합)

<session>/
  session.json                       # devices, intrinsics, per-track stats, webcam stats, timing notes
  calibration.json                   # (2026-11-20) copy of the calibration active at record start
  d405{,_2,_3}_color.mp4             # H.264, 640x480, 30 fps timeline
  d405{,_2,_3}_depth.mp4             # colourised depth preview (lossy, display only)
  d405{,_2,_3}_depth_raw.mkv         # lossless FFV1 uint16 depth, aligned to the colour image
  d405{,_2,_3}_*_timestamps.csv      # per-output-frame host timestamps and repeat flags
  rgb4k_{1..4}.mkv                   # (2026-11-20) 3840x2160 MJPEG, the camera's own JPEGs, untouched
  rgb4k_{1..4}_timestamps.csv        # (2026-11-20) per-frame host / device timestamps
  *_encoder.log                      # ffmpeg logs (2026-11-17 only; empty logs are omitted)
  manus.jsonl                        # (one 2026-11-17 session) MANUS glove data
calibrations/
  checkerboard_<timestamp>/          # one ChArUco extrinsic calibration run
    calibration.json                 # result: per-camera T_board_from_camera, board size, residuals
    calibration_previous.json        # the calibration it replaced
    highres/frame_XXX/               # captured colour + depth (.png / .npy) per camera
    overlays/                        # detection overlays
  depth_scale_<timestamp>/           # board-scale fit against D405 depth (earlier board estimate)
```

## 2026-11-20 surgical-skill sessions

One operator, seated, working on a silicone suture pad placed on the ChArUco board. Each task was recorded
as about ten consecutive takes. The task labels come from the operator's instruction and a visual check
of every take.

| Task | Folder | Takes | Duration per take | What happens |
|---|---|---|---|---|
| 1. Needle suturing (바늘 봉합) | `recordings/01_suturing` | 12 | 25–46 s (first take 113 s) | Needle holder + forceps, a stitch through the pad |
| 2. Incision (절개) | `recordings/02_incision` | 13 | 5–9 s | Scalpel cut along a line on the pad (pad rotated 90°) |
| 3. Needle-holder handling (니들홀더 결합) | `recordings/03_needle_holder` | 11 | 7–12 s | Needle holder + forceps working together on the needle |

| Folder | Sessions |
|---|---|
| `01_suturing` | 20261120_131200_031491, 131401_475082, 131436_383395, 131521_681330, 131555_988990, 131635_896989, 131709_828736, 131743_182533, 131813_212182, 131924_237058, 132000_853526, 132040_378256 |
| `02_incision` | 20261120_132315_763254, 132331_273600, 132340_885499, 132349_263904, 132357_256319, 132403_860588, 132411_355751, 132419_118078, 132425_900062, 132434_890579, 132441_838439, 132448_103399, 132501_787405 |
| `03_needle_holder` | 20261120_132604_217436, 132619_652182, 132631_612320, 132646_622626, 132701_658489, 132715_878807, 132726_847798, 132741_881376, 132753_407323, 132804_141430, 132814_944405 |

All 36 takes were recorded with the same camera placement and the calibration `checkerboard_20261120_130857`.
A copy of it is in every session folder.

**Cameras.**

- 3 × D405 at 640x480, 15 fps capture, written to a 30 fps timeline.
- 4 × 4K webcam at 3840x2160, requested at 30 fps. The webcams record their native frame timing, with no repeats.
  - `rgb4k_1` and `rgb4k_2` run at 30 fps.
  - `rgb4k_3` and `rgb4k_4` run at about 21 and 24 fps. They shared a USB controller during capture.

**Webcam poses are not included.** The calibration contains extrinsics for the three D405s only. The webcams had no lens (intrinsic) calibration yet, so they are listed under `failed_cameras` in `calibration.json`. Use the webcam videos as additional 2D views.

## 2026-11-17 sessions

All sessions: 3 x D405 at 640x480, 15 fps capture, written to a 30 fps timeline (frames repeated when
no new sample arrived; see `repeated_frames` in `session.json`).

| Session | Duration | Extra streams | Calibration in use (inferred from timestamps) |
|---|---|---|---|
| 20261117_134147_822622 | 24 s | - | checkerboard_20261116_222942 |
| 20261117_141513_950731 | 103 s | - | checkerboard_20261117_140852 |
| 20261117_142147_402231 | 102 s | - | checkerboard_20261117_142035 |
| 20261117_143224_555777 | 95 s | - | checkerboard_20261117_142035 |
| 20261117_143843_991204 | 137 s | MANUS glove (both hands) | checkerboard_20261117_142035 |
| 20261117_144553_427534 | 26 s | - | checkerboard_20261117_144446 |

These sessions do not record which calibration was active. The last column is the most recent calibration
written before the session started.

## Formats

**Depth.** `*_depth_raw.mkv` holds uint16 frames (FFV1, `gray16le`). Metric depth in metres is
`value * devices[camera_key].depth_scale_m` (1e-4 for the D405). The values `0` and `65535` mean
no depth. Depth is aligned to the colour camera, so use the `color_intrinsics` from `session.json` for both.

```python
import imageio_ffmpeg, numpy as np
reader = imageio_ffmpeg.read_frames("d405_depth_raw.mkv", pix_fmt="gray16le")
meta = next(reader)
depth = np.frombuffer(next(reader), np.uint16).reshape(480, 640)   # first frame
```

**4K webcams** (`rgb4k_N.mkv`). MJPEG in Matroska. Each packet is the JPEG the camera sent, copied without re-encoding. Packet timestamps are milliseconds on the session clock. `rgb4k_N_timestamps.csv` has these columns:
- `frame`
- `t_host_s`: host arrival time, seconds from `start_monotonic_s`
- `t_device_s`: DirectShow timestamp
- `bytes`

`session.json > webcams > cameras` lists the frame count, mean fps and device info.

```python
import av
with av.open("rgb4k_1.mkv") as container:
    for frame in container.decode(video=0):
        image = frame.to_ndarray(format="bgr24")    # 2160x3840x3
```

**Timing.** Every stream uses the host `time.monotonic()` clock. `start_monotonic_s` in `session.json` is the
zero point. The cameras are not hardware-synchronised. Each 30 fps D405 output frame carries the newest sample
available at that time.

**MANUS glove** (`manus.jsonl`).
- The first line is a header (`"type": "header"`). It defines:
  - the ergonomics angle names
  - the skeleton node tree (`skeleton_nodes`: id, parent, finger chain and joint for each hand)
  - the array layouts
- Each following line has:
  - a `stream`:
    - `ergonomics`: 40 joint angles in degrees
    - `skeleton`: 25 nodes as `[id, px, py, pz, qw, qx, qy, qz]`
    - `raw`: sensor and IMU poses
  - a `gloves` list
  - `t_host_s`, relative to `start_monotonic_s`
  - `publish_utc_ms`: the MANUS Core publish time, 1 ms resolution
- Coordinates follow the MANUS VUH convention: X from the viewer, Z up, right-handed, metres.
- The glove IDs map to left/right in `session.json > manus > glove_sides`.

**Calibration.** The board is ChArUco, 7 x 5 squares, `DICT_6X6_250`, with marker = square x 18/25.
The board frame has X along the columns, Y opposite to the rows and Z up, in metres. Each camera has
`T_board_from_camera` (4x4) and `T_camera_from_board`. Cameras are matched by `serial`.

## Loading with Robohand

```
git clone https://github.com/Ever2after/robohand && cd robohand && setup.cmd
set ROBOHAND_DATA=<path to this dataset>
"Depth Replay 3D.cmd"
```

The replay tool overlays the three D405 point clouds in the board frame. For the glove session it also draws the hand skeleton.

**Opening a session.** The tool's session list shows `recordings/<session>` only. Open a take inside a task folder with the folder picker.

**Which calibration is used.** The tool uses the calibration that was in effect at record time:
- 2026-11-20 sessions have their own `calibration.json` copy, and the tool uses it.
- 2026-11-17 sessions have no copy. The tool picks the newest `calibrations/*/calibration.json` created before the session started (see the 2026-11-17 table).