Catalog / Vision
NYU Depth V2 (2012)
1,449 indoor photos from a Kinect, each with a depth map and a class for every pixel.
Why it matters
The Microsoft Kinect (2010) made depth sensing cheap, and NYU Depth V2 used it to record homes, offices and stores in three US cities. It became the benchmark for predicting depth from a single photo: from Eigen et al. (2014), the first deep network for the task, to MiDaS, DPT and Depth Anything, nearly every depth paper reports its error on NYU. Its labels also made it a standard test for indoor segmentation and for multi-task models that predict depth, classes and surface orientation at once.
Get the data
# pip install -U huggingface_hub
hf download tanganke/nyuv2 --repo-type dataset \
--local-dir nyu-depth-v2from datasets import load_dataset # pip install datasets
ds = load_dataset("tanganke/nyuv2")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/tanganke/nyuv2@~parquet/default/train/*.parquet")
print(df.shape)A community copy of the standard 795/654 split, resized to 288×384 with 13 classes and surface normals (from the MTAN multi-task benchmark). Images, depth and labels are raw arrays. The original 640×480 data, with 894 class names, is a MATLAB file on the NYU site.
- Year
- 2012
- Creators
- Nathan Silberman, Derek Hoiem, Pushmeet Kohli, Rob Fergus (NYU, UIUC, Microsoft Research)
- Task
- Monocular depth estimation and indoor scene segmentation
- Size
- 1,449 labeled RGB-D images (464 scenes), plus 407,024 unlabeled video frames
- Splits
- train 795 · test 654
- Input
- 640×480 indoor photo (288×384 in this copy)
- Labels
- Depth in meters per pixel, a class per pixel (894 raw names, usually grouped into 13 or 40), surface normals
- License
- No explicit license; distributed by NYU for research
- Paper
- Indoor Segmentation and Support Inference from RGBD Images
Samples

near 1.2 mfar 3.4 mno reading
bed 24%objects 21%wall 20%window 10%floor 2%furniture 1%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 1.1 mfar 2.2 mno reading
furniture 62%window 12%wall 11%objects 6%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 0.9 mfar 3.8 mno reading
sofa 31%wall 22%window 19%objects 10%table 8%floor 6%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 1.9 mfar 7.0 mno reading
wall 19%floor 17%bed 15%chair 15%furniture 14%picture 6%objects 5%books <1%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 1.3 mfar 5.3 mno reading
furniture 33%wall 27%floor 18%picture 8%chair 5%objects 2%table <1%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 1.2 mfar 6.1 mno reading
objects 37%floor 24%furniture 13%chair 8%picture 5%wall 4%table 3%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 0.7 mfar 4.1 mno reading
bed 30%wall 17%table 14%objects 12%window 7%floor 7%picture 4%chair 2%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.

near 1.2 mfar 5.3 mno reading
floor 30%bed 27%wall 17%sofa 6%picture 2%objects 2%furniture <1%
Color shows which way each surface faces (its direction x, y, z as red, green, blue), so floors, walls and tabletops each get their own color.
What one record actually looks like (raw JSON, row 30)
{
"depth": {
"height": 288,
"max": 3.381,
"min": 1.242,
"src": "samples/nyu-depth-v2/30-depth.png",
"width": 384
},
"image": {
"height": 288,
"src": "samples/nyu-depth-v2/30-image.jpg",
"width": 384
},
"normal": {
"height": 288,
"src": "samples/nyu-depth-v2/30-normal.png",
"width": 384
},
"segmentation": {
"classes": {
"0": 0.2384,
"4": 0.0182,
"5": 0.0129,
"6": 0.2096,
"11": 0.199,
"12": 0.098
},
"height": 288,
"src": "samples/nyu-depth-v2/30-segmentation.png",
"width": 384
}
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-08 from tanganke/nyuv2 at revision b367b8b
Worth knowing
- The Kinect gives no reading on shiny, dark or far surfaces and at object edges. In the labeled set these holes were filled by colorization (Levin et al.), so the depth maps look smoother than raw sensor data.
- The standard split is by scene, so test rooms never appear in training.
- Depth is scored as RMSE in meters and as δ<1.25, the share of pixels within a factor of 1.25 of the true depth. Modern models pass 98%.
- The surface normals are computed from the depth. Colors encode the direction a surface faces (x, y, z mapped to red, green, blue).
- Hover over a photo to read the depth and class under the pointer.
Related datasets
- Make3D: 2008, outdoor photos with laser depth from Stanfordmake3d.cs.cornell.edu ↗
- NYU Depth V1: 2011, 64 scenes, the first versioncs.nyu.edu ↗
- KITTI: 2012, outdoor driving depth from a laser scannerHugging Face ↗KITTI on this site →
- SUN RGB-D: 2015, 10,335 RGB-D images including NYU'srgbd.cs.princeton.edu ↗
- ScanNet: 2017, 1,513 3D scans of 707 indoor spacesscan-net.org ↗
- Cityscapes: 2016, outdoor segmentation, with stereo depthHugging Face ↗Cityscapes on this site →
- ADE20K: 2017, everyday indoor and outdoor scenes labeled pixel by pixelHugging Face ↗ADE20K on this site →
Landmark papers
- Depth Map Prediction from a Single Image using a Multi-Scale Deep Network (2014)
- Fully Convolutional Networks for Semantic Segmentation (FCN) (2014)FCN on this site →
- Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer (MiDaS) (2019)
- Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning (BYOL) (2020)BYOL on this site →
- Vision Transformers for Dense Prediction (DPT) (2021)
- DINOv2: Learning Robust Visual Features without Supervision (DINOv2) (2023)DINOv2 on this site →
- Depth Anything: Unleashing the Power of Large-Scale Unlabeled Data (2024)