Datasets:
File size: 7,355 Bytes
76fce6c f801666 76fce6c 352669a 76fce6c 6059a94 76fce6c bb46900 76fce6c 3d3f1d2 76fce6c 352669a 76fce6c 352669a 76fce6c | 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 | ---
language:
- en
license: gpl
pretty_name: SceneNet RGB-D
task_categories:
- depth-estimation
- image-segmentation
tags:
- rgb-d
- synthetic
- indoor
- scene-understanding
- instance-segmentation
- camera-pose
- webdataset
- computer-vision
size_categories:
- 1M<n<10M
configs:
- config_name: default
data_files:
- split: train
path: data/train/*.tar
- split: validation
path: data/validation/*.tar
---
<h1 align="center">SceneNet RGB-D: Synthetic Indoor RGB-D Trajectories with Ground Truth</h1>
<p align="center"><video controls autoplay loop muted playsinline width="900" poster="https://huggingface.co/datasets/dronefreak/SceneNet-RGBD/resolve/main/assets/demo_banner_poster.jpg" src="https://huggingface.co/datasets/dronefreak/SceneNet-RGBD/resolve/main/assets/demo_banner.mp4"><img src="https://huggingface.co/datasets/dronefreak/SceneNet-RGBD/resolve/main/assets/demo_banner_poster.jpg" alt="Six SceneNet RGB-D validation trajectories (kitchen, bedroom, living room, bathroom, office) cycling through RGB, depth and instance segmentation" width="900"></video></p>





> **Unofficial redistribution of SceneNet RGB-D, repacked into viewer-ready WebDataset shards (one sample per frame: RGB + depth + instance mask + camera pose + instance classes).**
## Dataset Description
- **Homepage:** https://robotvault.bitbucket.io/scenenet-rgbd.html
- **Paper (ICCV 2017):** https://openaccess.thecvf.com/content_iccv_2017/html/McCormac_SceneNet_RGB-D_Can_ICCV_2017_paper.html
- **Parsing code:** https://github.com/jmccormac/pySceneNetRGBD
- **License:** GPL
## Disclaimer
This repository is **not** an official release of SceneNet RGB-D.
SceneNet RGB-D was created by John McCormac, Ankur Handa, Stefan Leutenegger and Andrew J. Davison at the Dyson Robotics Lab, Imperial College London, who retain all copyright and intellectual property rights. This repository does **not** claim ownership of any images, annotations, or metadata.
This repository exists because the original download links (`doc.ic.ac.uk/~bjm113/scenenet_data/`) no longer work (HTTP 404, checked November 2026), and to make the data browsable in the Hugging Face Dataset Viewer.
**Two-hop provenance.** The files were not downloaded from the original server. They come from the unmodified raw mirror [`haotongl/SceneNetRGBD`](https://huggingface.co/datasets/haotongl/SceneNetRGBD) (original tarballs and protobufs), which is credited here. The original release published no checksums, so byte-level identity with the original server cannot be verified.
---
# Dataset Overview
SceneNet RGB-D contains 5M photorealistic, rendered RGB-D images from over 15K camera trajectories through synthetic indoor layouts (bathrooms, bedrooms, kitchens, living rooms, offices), with random but physically simulated object placement, random lighting and textures. It provides pixel-perfect ground truth for depth, instance segmentation (and through it semantic segmentation), and camera pose. Frames are 320x240, sampled every 25 rendered frames (300 frames per trajectory).
---
# Changes from the Official Release
- Repacked the original `.tar.gz` archives into WebDataset `.tar` shards (~1 GB) with one sample per frame, so the Dataset Viewer and `datasets` show RGB, depth and instance mask side by side.
- Image bytes are **copied unchanged**: no re-encoding, resizing or filtering.
- Per-frame camera poses and instance-to-class maps are taken from the official protobufs and stored as JSON next to each frame. The full protobuf content (lights, object poses, ShapeNet hashes) is kept in `metadata/*-trajectories.jsonl`.
- Every frame listed in the protobuf was checked to have all three images; the repack stops on any mismatch.
- No frames, labels or splits were added, removed or changed.
---
# Dataset Structure
```text
dataset/
├── README.md
├── data/
│ ├── train/ train-NN-NNNNN.tar
│ └── validation/ validation-NNNNN.tar
└── metadata/
├── <shard prefix>-trajectories.jsonl full protobuf per trajectory
└── <shard prefix>-stats.json repack counts and checks
```
Each sample (key `<a>_<b>_<frame>`, e.g. `0_223_0025` = trajectory `0/223`, frame 25):
| File | Content |
|---|---|
| `rgb.jpg` | RGB photo, 320x240 |
| `depth.png` | 16-bit depth in millimetres |
| `instance.png` | 16-bit instance ids |
| `json` | `trajectory`, `frame_num`, `layout` (room type, model), `shutter_open` / `shutter_close` (`camera`, `lookat`, `timestamp`), `instances` (list of `id`, `wordnet_id`, `class`, `type`; `id` = pixel value in `instance.png`) |
Splits: **train** 16,865 trajectories / 5,059,500 frames (338 shards, from the 17 original `train_N` tarballs) · **validation** 1,000 trajectories / 300,000 frames (19 shards).
Shard names keep the source tarball: `train-NN-XXXXX.tar` comes from `train_NN.tar.gz`. Repack counts and checks per tarball are in `metadata/<prefix>-stats.json`. The `problems` entries in `train-13` to `train-16` are render log files (`info_new.log`) that the original tarballs contain inside some trajectory folders. They were skipped; every frame listed in the protobufs is present.
## Usage
```python
from datasets import load_dataset
ds = load_dataset("dronefreak/SceneNet-RGBD", split="train", streaming=True) # 5M frames: stream it
s = next(iter(ds))
rgb, depth, inst = s["rgb.jpg"], s["depth.png"], s["instance.png"]
classes = {i["id"]: i["class"] for i in s["json"]["instances"]}
```
---
# Dataset Sources
## Original Paper
**SceneNet RGB-D: Can 5M Synthetic Images Beat Generic ImageNet Pre-training on Indoor Segmentation?**
John McCormac, Ankur Handa, Stefan Leutenegger, Andrew J. Davison
IEEE International Conference on Computer Vision (ICCV), 2017.
## Citation
```bibtex
@inproceedings{McCormac:etal:ICCV2017,
author = {John McCormac and Ankur Handa and Stefan Leutenegger and Andrew J. Davison},
title = {SceneNet RGB-D: Can 5M Synthetic Images Beat Generic ImageNet Pre-training on Indoor Segmentation?},
booktitle = {ICCV},
year = {2017}
}
@article{McCormac:etal:arXiv2016,
author = {John McCormac and Ankur Handa and Stefan Leutenegger and Andrew J. Davison},
title = {SceneNet RGB-D: 5M Photorealistic Images of Synthetic Indoor Trajectories with Ground Truth},
journal = {arXiv},
year = {2016}
}
```
---
# License
The original project page states the license as **"GPL."**, without a version and without saying whether it covers the data, the code, or both. This redistribution follows that statement unchanged. The authors' official parsing code ([pySceneNetRGBD](https://github.com/jmccormac/pySceneNetRGBD)) is GPL-3.0. Scenes are rendered from third-party 3D assets whose own terms the original page does not mention; if you need certainty for your use case, contact the original authors.
|