Add dataset card and animated banner

#2
README.md CHANGED
@@ -1,4 +1,23 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  dataset_info:
3
  features:
4
  - name: image
@@ -40,3 +59,114 @@ configs:
40
  - split: test
41
  path: data/test-*
42
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ language:
3
+ - en
4
+ license: other
5
+ size_categories:
6
+ - 1K<n<10K
7
+ task_categories:
8
+ - depth-estimation
9
+ - image-segmentation
10
+ pretty_name: NYU Depth v2 (labeled)
11
+ license_name: nyu-depth-v2-no-license-specified
12
+ license_link: https://cs.nyu.edu/~fergus/datasets/nyu_depth_v2.html
13
+ tags:
14
+ - rgb-d
15
+ - indoor
16
+ - kinect
17
+ - semantic-segmentation
18
+ - instance-segmentation
19
+ - monocular-depth
20
+ - computer-vision
21
  dataset_info:
22
  features:
23
  - name: image
 
59
  - split: test
60
  path: data/test-*
61
  ---
62
+
63
+ <h1 align="center">NYU Depth v2: Densely Labeled Indoor RGB-D Frames</h1>
64
+
65
+ <p align="center"><video controls autoplay loop muted playsinline width="900" poster="https://huggingface.co/datasets/dronefreak/NYUv2/resolve/main/assets/demo_banner_poster.jpg" src="https://huggingface.co/datasets/dronefreak/NYUv2/resolve/main/assets/demo_banner.mp4"><img src="https://huggingface.co/datasets/dronefreak/NYUv2/resolve/main/assets/demo_banner_poster.jpg" alt="NYU Depth v2 test frames from six scene types cycling through RGB, depth and 40-class segmentation" width="900"></video></p>
66
+
67
+ ![Task](https://img.shields.io/badge/Task-Depth%20%7C%20Segmentation-blue?style=flat-square)
68
+ ![Dataset](https://img.shields.io/badge/Dataset-NYU%20Depth%20v2-0aa1a7?style=flat-square)
69
+ ![Format](https://img.shields.io/badge/Format-Parquet-orange?style=flat-square)
70
+ ![Classes](https://img.shields.io/badge/Classes-894%20%7C%2040%20%7C%2013-success?style=flat-square)
71
+ ![Splits](https://img.shields.io/badge/Splits-Train%20%7C%20Test-blueviolet?style=flat-square)
72
+ ![License](https://img.shields.io/badge/License-Not%20specified-lightgrey?style=flat-square)
73
+
74
+ > **Unofficial redistribution of the NYU Depth v2 labeled subset (1,449 frames) as viewer-ready Parquet: RGB, filled and raw depth, the original 894-class labels, the standard 40- and 13-class labels, instance masks, and scene names, with the official 795 / 654 split.**
75
+
76
+ ## Dataset Description
77
+
78
+ - **Homepage:** https://cs.nyu.edu/~fergus/datasets/nyu_depth_v2.html
79
+ - **Paper (ECCV 2012):** https://cs.nyu.edu/~fergus/datasets/indoor_seg_support.pdf
80
+ - **40/13-class mappings:** https://github.com/ankurhanda/nyuv2-meta-data
81
+ - **License:** Not specified by the authors
82
+
83
+ ## Disclaimer
84
+
85
+ This repository is **not** an official release of NYU Depth v2.
86
+
87
+ NYU Depth v2 was created by Nathan Silberman, Derek Hoiem, Pushmeet Kohli and Rob Fergus (New York University), who retain all copyright and intellectual property rights. This repository does **not** claim ownership of any images, annotations, or metadata.
88
+
89
+ **No license was specified by the original authors.** The project page only asks users to cite the paper below. This copy is an unofficial redistribution for research purposes, with full attribution. **If you are an author or rights holder and want this repository removed or changed, please open a discussion on this repository and it will be addressed promptly.**
90
+
91
+ The 40-class mapping (Gupta et al., CVPR 2013) and 13-class mapping (as used by Couprie et al. and SceneNet) are taken from Ankur Handa's [nyuv2-meta-data](https://github.com/ankurhanda/nyuv2-meta-data) (no license specified).
92
+
93
+ ---
94
+
95
+ # Dataset Overview
96
+
97
+ NYU Depth v2 contains video sequences of 464 indoor scenes recorded with a Microsoft Kinect in three US cities. The labeled subset (this repository) has 1,449 RGB-D frames (640x480) with dense per-pixel labels and instance masks. It is one of the most widely used benchmarks for monocular depth estimation and indoor semantic segmentation.
98
+
99
+ ---
100
+
101
+ # Changes from the Official Release
102
+
103
+ - Converted the official `nyu_depth_v2_labeled.mat` (MATLAB v7.3) into Parquet (one row per frame), so the Dataset Viewer and `datasets` work without MATLAB or `h5py`.
104
+ - **Depth** (`depth`, `raw_depth`): stored as 16-bit PNG in **millimetres** (`round(meters * 1000)`), so the maximum quantization error is 0.5 mm. Divide by 1000 to get meters.
105
+ - **Labels**: `label894` is the official label map, unchanged (16-bit PNG). `label40` and `label13` are derived from it with the standard mappings. Both were checked during the build against Handa's published versions on **all 1,449 frames**: the 40-class maps match `labels40.mat` exactly (0 differing pixels), and the 13-class maps match his PNGs 100%.
106
+ - Official 795 / 654 train/test split from `splits.mat`.
107
+ - Not included: the raw video sequences (~428 GB), accelerometer data, and the toolbox.
108
+ - No images were added, removed, or modified. No labels were changed.
109
+
110
+ ---
111
+
112
+ # Dataset Structure
113
+
114
+ | Column | Content |
115
+ |---|---|
116
+ | `image` | RGB, 640x480 PNG |
117
+ | `depth` | filled (in-painted) depth, 16-bit PNG, millimetres |
118
+ | `raw_depth` | raw Kinect depth (with holes = 0), 16-bit PNG, millimetres |
119
+ | `label894` | original class labels, 0 = unlabeled, 1..894 (names in the official `.mat`) |
120
+ | `label40` | 40-class labels (0 = unlabeled), Gupta et al. mapping |
121
+ | `label13` | 13-class labels (0 = unlabeled) |
122
+ | `instance` | instance ids within each class |
123
+ | `index` | 1-based frame index in the official `.mat` |
124
+ | `scene` | scene name, e.g. `kitchen_0023` |
125
+ | `scene_type` | scene category, e.g. `kitchen` |
126
+ | `raw_rgb_filename` | matching frame in the raw video dump |
127
+
128
+ Splits: **train** 795 &middot; **test** 654 (1,449 total).
129
+
130
+ Many depth benchmarks evaluate on the valid region `[45:471, 41:601]` (rows, columns), which excludes the projection border.
131
+
132
+ ### Classes
133
+
134
+ **40-class** (`label40`, 1..40): wall, floor, cabinet, bed, chair, sofa, table, door, window, bookshelf, picture, counter, blinds, desk, shelves, curtain, dresser, pillow, mirror, floor mat, clothes, ceiling, books, refridgerator, television, paper, towel, shower curtain, box, whiteboard, person, night stand, toilet, sink, lamp, bathtub, bag, otherstructure, otherfurniture, otherprop
135
+
136
+ **13-class** (`label13`, 1..13): bed, books, ceiling, chair, floor, furniture, objects, picture, sofa, table, tv, wall, window
137
+
138
+ ## Usage
139
+
140
+ ```python
141
+ import numpy as np
142
+ from datasets import load_dataset
143
+
144
+ ds = load_dataset("dronefreak/NYUv2")
145
+ row = ds["train"][0]
146
+ rgb = row["image"]
147
+ depth_m = np.asarray(row["depth"], dtype=np.float32) / 1000.0 # meters
148
+ labels40 = np.asarray(row["label40"])
149
+ ```
150
+
151
+ ---
152
+
153
+ # Dataset Sources
154
+
155
+ ## Citation
156
+
157
+ ```bibtex
158
+ @inproceedings{silberman2012indoor,
159
+ title = {Indoor Segmentation and Support Inference from RGBD Images},
160
+ author = {Silberman, Nathan and Hoiem, Derek and Kohli, Pushmeet and Fergus, Rob},
161
+ booktitle = {ECCV},
162
+ year = {2012}
163
+ }
164
+ ```
165
+
166
+ If you use the 40-class labels, also cite: Gupta, Arbelaez, Malik, *Perceptual Organization and Recognition of Indoor Scenes from RGB-D Images*, CVPR 2013.
167
+
168
+ ---
169
+
170
+ # License
171
+
172
+ The original authors have **not specified a license** for NYU Depth v2; the project page only requires citation of the paper above. This repository therefore uses `license: other` and redistributes the data unofficially for research purposes, with attribution. Users are responsible for ensuring their use complies with any terms the original authors may set. Rights holders can request removal by opening a discussion on this repository.
assets/demo_banner.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d86db7913cda8584fc94afe7227a6a188324b012b149833aee2c0a56e5d8f1b
3
+ size 744796
assets/demo_banner_poster.jpg ADDED

Git LFS Details

  • SHA256: ee76c01aa7c1980e63555abf37551325843fc168cbb54f5744da8eae22dc29bf
  • Pointer size: 131 Bytes
  • Size of remote file: 176 kB