Flashkernel commited on
Commit
1733236
·
verified ·
1 Parent(s): 82cd54f

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +95 -0
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - depth-estimation
4
+ tags:
5
+ - robotics
6
+ - 3d-reconstruction
7
+ - realsense
8
+ - multi-view
9
+ - stereo
10
+ - tabletop
11
+ size_categories:
12
+ - 1K<n<10K
13
+ ---
14
+
15
+ # RealSense Multi-Camera Tabletop
16
+
17
+ Synchronized multi-view RGB + stereo IR captures of a tabletop scene from **4 Intel RealSense
18
+ cameras**, recorded with fixed camera positions. Includes FoundationStereo depth for two scenes
19
+ and chessboard-derived extrinsics for merging the views into a single point cloud.
20
+
21
+ ## Layout
22
+
23
+ ```
24
+ scene_000NN/
25
+ ├── camera_poses.json # extrinsics, only in calibration scenes (see table)
26
+ └── <camera_serial>/
27
+ ├── rgb/00000.jpg ... 00119.jpg # 640x480 RGB
28
+ ├── left/00000.jpg ... 00119.jpg # 640x480 grayscale, left IR
29
+ ├── right/00000.jpg ... 00119.jpg # 640x480 grayscale, right IR
30
+ ├── stereo_depth/00000.npy # (480,640) float64, metres — FoundationStereo output
31
+ ├── stereo_aligned_depth/00000.npy # (480,640) uint16 — above, reprojected to the colour frame
32
+ └── meta_info.json # per-camera intrinsics + depth_scale
33
+ ```
34
+
35
+ Camera serials, identical across all scenes:
36
+ `234322305266`, `336222300744`, `336522303601`, `339522301222`
37
+
38
+ ## Contents
39
+
40
+ Every scene has all 4 cameras × 120 frames of `rgb`, `left`, and `right`. Depth and poses are
41
+ **not** uniform across scenes:
42
+
43
+ | scene | rgb/left/right | stereo_depth | stereo_aligned_depth | camera_poses.json | role |
44
+ |---|---|---|---|---|---|
45
+ | `scene_00001` | 120 | 120 | 120 | — | object |
46
+ | `scene_00002` | 120 | — | — | ✅ | chessboard calibration |
47
+ | `scene_00003` | 120 | — | — | — | object |
48
+ | `scene_00004` | 120 | — | — | — | object |
49
+ | `scene_00005` | 120 | 120 | 120 | — | object |
50
+ | `scene_00006` | 120 | — | — | ✅ | chessboard calibration |
51
+
52
+ Depth is a derived artifact: it is regenerated by running FoundationStereo on `left/` + `right/`,
53
+ so the four scenes without it can be filled in locally. Calibration scenes only ever need `rgb/`.
54
+
55
+ ## Conventions
56
+
57
+ **`meta_info.json`** — `depth_intrinsics` and `color_intrinsics` each carry a 9-element
58
+ `intrinsic_matrix` in **column-major** order, i.e. `[fx, 0, 0, 0, fy, 0, cx, cy, 1]`. To use it:
59
+
60
+ ```python
61
+ import json, numpy as np
62
+ m = json.load(open("scene_00001/234322305266/meta_info.json"))
63
+ K = np.array(m["color_intrinsics"]["intrinsic_matrix"]).reshape(3, 3).T
64
+ depth_scale = m["depth_scale"] # 0.001 -> uint16 units are millimetres
65
+ ```
66
+
67
+ **Depth units** — `stereo_depth/*.npy` is `float64` **metres**. `stereo_aligned_depth/*.npy` is
68
+ `uint16`; multiply by `depth_scale` (0.001) to get metres. Zero means no return.
69
+
70
+ **`camera_poses.json`** — maps each camera serial to `w2c` and `c2w`, both 4×4 row-major
71
+ homogeneous matrices, as produced by OpenCV chessboard pose estimation. `c2w` is the
72
+ inverse of `w2c`:
73
+
74
+ ```python
75
+ poses = json.load(open("scene_00002/camera_poses.json"))
76
+ c2w = np.array(poses["234322305266"]["c2w"]) # camera -> world
77
+ ```
78
+
79
+ ## Merging views
80
+
81
+ Poses come from a chessboard scene; geometry and colour come from an object scene. This is valid
82
+ **only because the cameras never moved between them** — pair an object scene with a calibration
83
+ scene captured in the same session, matching cameras by serial:
84
+
85
+ ```
86
+ object scene_00001 + poses from scene_00002
87
+ ```
88
+
89
+ Reproject each camera's `stereo_aligned_depth` with its `color_intrinsics`, transform by that
90
+ camera's `c2w`, and concatenate to get a single merged cloud.
91
+
92
+ ## Provenance
93
+
94
+ Captured and processed with the `realsense_multicam_tabletop` pipeline (RealSense capture →
95
+ FoundationStereo → depth-to-colour alignment → chessboard pose estimation → merge).