Add dataset card
Browse files
README.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: structured3d-research-only
|
| 4 |
+
task_categories:
|
| 5 |
+
- depth-estimation
|
| 6 |
+
- image-to-3d
|
| 7 |
+
tags:
|
| 8 |
+
- 3d
|
| 9 |
+
- depth
|
| 10 |
+
- posed-rgbd
|
| 11 |
+
- indoor-scenes
|
| 12 |
+
- synthetic
|
| 13 |
+
- structured3d
|
| 14 |
+
pretty_name: Structured3D Subset (3DVLM)
|
| 15 |
+
size_categories:
|
| 16 |
+
- 1K<n<10K
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Structured3D Subset (3DVLM)
|
| 20 |
+
|
| 21 |
+
A small, fast-to-download slice of the Structured3D synthetic indoor dataset,
|
| 22 |
+
converted to a uniform posed-RGB-D format for quick model test-runs. This is a
|
| 23 |
+
**subset** of the full set: **100 scenes** (randomly sampled, seed 0) from
|
| 24 |
+
collection `00`, using the pre-rendered **`full`** (furnished) perspective views.
|
| 25 |
+
Across the 100 scenes there are **2,198 frames** (3–49 per scene).
|
| 26 |
+
|
| 27 |
+
These are photorealistic synthetic renders with **perfect dense ground-truth
|
| 28 |
+
depth** and exact camera poses — no reconstruction or pseudo-labelling involved.
|
| 29 |
+
|
| 30 |
+
## Contents
|
| 31 |
+
|
| 32 |
+
100 scenes, one `.tar` each under `structured3d/`. Each tar extracts to a scene
|
| 33 |
+
directory:
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
scene_00000/
|
| 37 |
+
├── images/ # frame_000000.jpg … (N RGB frames, 720×1280)
|
| 38 |
+
├── depth.npy # (N, 720, 1280) float32
|
| 39 |
+
├── valid_mask.npy # (N, 720, 1280) bool — True where depth is valid
|
| 40 |
+
├── extrinsics.npy # (N, 4, 4) float32 — world→camera (w2c)
|
| 41 |
+
├── intrinsics.npy # (N, 3, 3) float32 — pinhole K (per-frame)
|
| 42 |
+
└── meta.json # scene_id, frame_ids, image_size, is_single_image
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
`N` varies per scene (3–49 frames). The first axis of every array is the frame,
|
| 46 |
+
in the same order as `meta.json`'s `frame_ids` and the sorted `images/` files.
|
| 47 |
+
|
| 48 |
+
> **Note — independent captures.** Each frame is a separate perspective view at a
|
| 49 |
+
> distinct room/camera position, **not** a video trajectory. `meta.json` sets
|
| 50 |
+
> `is_single_image: true`; do **not** assume cross-frame overlap or temporal
|
| 51 |
+
> continuity within a scene.
|
| 52 |
+
|
| 53 |
+
## Conventions
|
| 54 |
+
|
| 55 |
+
- **Coordinate frame:** OpenCV (x-right, y-down, z-forward). `extrinsics` is the
|
| 56 |
+
**world→camera (w2c)** matrix; invert it for camera→world.
|
| 57 |
+
- **Depth:** projective **z-depth in metres** (distance along the camera z-axis,
|
| 58 |
+
not Euclidean ray length). Decoded from the source 16-bit mm depth (`÷1000`);
|
| 59 |
+
invalid pixels (source value `0`) are zeroed — use `valid_mask` to ignore them.
|
| 60 |
+
- **Intrinsics:** **per-frame** pinhole `K`, reconstructed from each frame's
|
| 61 |
+
horizontal/vertical field of view (separate `fx`/`fy`, principal point centred).
|
| 62 |
+
Image size is 720×1280 (H×W).
|
| 63 |
+
|
| 64 |
+
## Quick start
|
| 65 |
+
|
| 66 |
+
```python
|
| 67 |
+
import tarfile, json, numpy as np
|
| 68 |
+
from huggingface_hub import hf_hub_download
|
| 69 |
+
|
| 70 |
+
p = hf_hub_download("helioom/3dvlm-structured3d_subset", "structured3d/scene_00000.tar", repo_type="dataset")
|
| 71 |
+
tarfile.open(p).extractall("structured3d/")
|
| 72 |
+
|
| 73 |
+
meta = json.load(open("structured3d/scene_00000/meta.json"))
|
| 74 |
+
depth = np.load("structured3d/scene_00000/depth.npy") # (N, 720, 1280)
|
| 75 |
+
K = np.load("structured3d/scene_00000/intrinsics.npy") # (N, 3, 3)
|
| 76 |
+
w2c = np.load("structured3d/scene_00000/extrinsics.npy") # (N, 4, 4)
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## License
|
| 80 |
+
|
| 81 |
+
Built on [Structured3D](https://github.com/bertjiazheng/Structured3D), released for
|
| 82 |
+
**research use only** under its original data agreement; the same terms apply to
|
| 83 |
+
this derived subset. Please cite the original Structured3D paper if you use this data.
|