|
Download README.md from Inception3D/HABI-12K: direct link, hf CLI and curl.
- Browser
- Download file 3.68 kB
-
https://huggingface.co/datasets/Inception3D/HABI-12K/resolve/d2af7dcb4a412e4094de905ba3412da45e908181/README.md
- Command line
-
hf download hf://datasets/Inception3D/HABI-12K@d2af7dcb4a412e4094de905ba3412da45e908181/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/Inception3D/HABI-12K/resolve/d2af7dcb4a412e4094de905ba3412da45e908181/README.md
3.68 kB
| pretty_name: HABI-12K | |
| tags: | |
| - 3d | |
| - indoor-scenes | |
| - synthetic | |
| - panoramas | |
| - depth-estimation | |
| - novel-view-synthesis | |
| # HABI-12K | |
| HABI-12K is a synthetic dataset of indoor 3D environments. Across 12,081 scenes, it provides about 2.16 million equirectangular panoramas at 2048 × 1024 resolution. Each observation includes RGB, metric depth, world-space shading normals, and a camera pose sampled along a continuous trajectory. | |
| [Project page](https://sibo2rr.github.io/HABI-12K/) · [GitHub project repository](https://github.com/Inception3D/HABI-12K) · [Files and versions](https://huggingface.co/datasets/Inception3D/HABI-12K/tree/main) | |
| **Paper** · [arXiv](https://arxiv.org/abs/2611.37118) | |
| ## Dataset organization | |
| | Group | Scenes | Contents | | |
| | --- | ---: | --- | | |
| | `1K`–`12K` | 11,964 | Main dataset. Groups `1K`–`11K` contain 1,000 scenes each, and `12K` contains 964. | | |
| | `HABI-Bench` | 117 | Held-out benchmark scenes for camera estimation, depth prediction, and novel-view synthesis. | | |
| Use **Files and versions** to see which groups and scenes are available in the current revision. | |
| ## Download | |
| During the format migration, the file list shows which scenes already have | |
| `depth.h5`. Use the Hugging Face CLI to download an available scene. Replace | |
| `<scene_id>` with a directory name from the file list. | |
| ```bash | |
| python -m pip install -U huggingface_hub | |
| hf download Inception3D/HABI-12K --repo-type dataset \ | |
| --include '1K/<scene_id>/rgb.mkv' '1K/<scene_id>/normal.mkv' \ | |
| '1K/<scene_id>/transforms.json' '1K/<scene_id>/depth.h5' \ | |
| --local-dir HABI-12K | |
| ``` | |
| ## Scene files | |
| ```text | |
| <group>/<scene_id>/ | |
| ├── rgb.mkv | |
| ├── normal.mkv | |
| ├── transforms.json | |
| └── depth.h5 | |
| ``` | |
| | File | Format and interpretation | | |
| | --- | --- | | |
| | `rgb.mkv` | RGB panoramic frames in Matroska, encoded as HEVC with `libx265`, CRF 6, and `yuv444p10le`. | | |
| | `normal.mkv` | World-space shading normals encoded as RGB with the same video settings. Decode RGB8 vectors as `2 * rgb / 255 - 1` and normalize them on valid pixels. | | |
| | `transforms.json` | Frame indices, trajectory timestamps, projections, and poses. `camera_to_world_cv_m` maps the OpenCV camera frame (+X right, +Y down, +Z forward) into world coordinates in meters. Equirectangular frames have `intrinsic_matrix: null`. | | |
| | `depth.h5` | Lossless Zstandard-compressed HDF5 with byte shuffling. The `depth` dataset stores float16 ray distances in meters in `(frame, height, width)` order, with one frame per chunk. | | |
| The HDF5 frame index aligns with `frames[].index` and video display order. Use | |
| `frames[].timestamp_seconds` for trajectory timestamps. A depth value is valid | |
| when it is finite, positive, and below the camera's far clip distance. Depth | |
| values preserve the original EXR float16 `V` channel. | |
| ## Read depth frames | |
| Install `h5py` and `hdf5plugin` with `python -m pip install h5py hdf5plugin`. Import `hdf5plugin` to register the Zstandard filter, then open the scene's `depth.h5` | |
| and index the `depth` dataset to read one frame at a time. | |
| ```python | |
| from pathlib import Path | |
| import h5py | |
| import hdf5plugin | |
| scene = Path("HABI-12K/1K/<scene_id>") | |
| with h5py.File(scene / "depth.h5", "r") as file: | |
| depth = file["depth"] | |
| print(depth.shape, depth.dtype) | |
| first_frame_m = depth[0] | |
| ``` | |
| ## Citation | |
| ```bibtex | |
| @misc{wu2026habi12ksyntheticindoorworld, | |
| title = {HABI-12K: A Synthetic Indoor World Dataset}, | |
| author = {Sibo Wu and Xiaoqian Liang and Zidu Wang and Anpei Chen}, | |
| year = {2026}, | |
| eprint = {2611.37118}, | |
| archivePrefix = {arXiv}, | |
| primaryClass = {cs.CV}, | |
| url = {https://arxiv.org/abs/2611.37118}, | |
| } | |
| ``` | |