File size: 3,925 Bytes
f3f0791
c9c483e
 
 
bd4b84c
 
c9c483e
bd4b84c
c9c483e
bd4b84c
c9c483e
bd4b84c
c9c483e
bd4b84c
c9c483e
f3f0791
cb9966b
 
 
c9c483e
68c0c64
cb9966b
 
68c0c64
 
cb9966b
 
 
 
 
 
 
 
 
 
 
 
 
c9c483e
ec38d00
c9c483e
ec38d00
 
 
c9c483e
ec38d00
c9c483e
 
 
ec38d00
c9c483e
 
ec38d00
c9c483e
 
 
 
 
 
ec38d00
 
c9c483e
ec38d00
c9c483e
969189e
 
c9c483e
 
969189e
ec38d00
c9c483e
 
 
ec38d00
 
c9c483e
 
ec38d00
c9c483e
cb9966b
e65abf1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
02065f3
 
 
e65abf1
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
---
license: mit
task_categories:
- image-to-3d
configs:
- config_name: doors
  data_files: doors/*.json
- config_name: stairs
  data_files: stairs/*/*.ply
- config_name: windows
  data_files: windows/*.json
- config_name: poses
  data_files: poses/*.json
- config_name: structures
  data_files: structures/*.obj
---

# HouseLayout3D: A Benchmark Dataset for 3D Layout Estimation in the Wild

[Paper](https://huggingface.co/papers/2512.02450) | [Project Page](https://houselayout3d.github.io) | [Code](https://github.com/HouseLayout3D/houselayout3d)

**HouseLayout3D** is a challenging benchmark dataset for **3D layout estimation in large-scale, multi-floor buildings**. It is built upon real-world building scans from [Matterport3D](https://niessner.github.io/Matterport/), and provides detailed annotations of structural elements across up to five floors and forty rooms per building. The dataset is designed to support research in scene understanding, indoor mapping, and robotics applications that require vectorized, object-free representations of indoor spaces.

<img src="visualization.jpg" alt="Visualization of HouseLayout3D Scenes" width="400"/>

## Why HouseLayout3D?

Most existing datasets and models for 3D layout estimation are tailored for small-scale, single-room scenes. These models, while effective on synthetic or room-scale data, fail to generalize to larger, multi-level buildings. HouseLayout3D addresses this gap by providing:

- **Real-world, complex architectural spaces**, including open-plan layouts, staircases, and multi-floor transitions with up to **5 floors** and **40+ rooms**.
- **Detailed structural annotations**, including walls, floors, ceilings, doors, windows, and stairs.

## What’s in the Dataset?

- Vectorized layout annotations of structures (ceilings, walls, floors) as 3D polygons.
- Annotations of windows and doors (including opening direction) as 3D rectangles.
- Annotations of stairs as 3D polygons.

## Sample Usage

Follow these steps to set up the environment, download the dataset, and visualize a scene.

### 1. Installation

First, clone the main repository and install dependencies:

```bash
conda create --name houselayout3d python=3.10 -y
conda activate houselayout3d

git clone https://github.com/HouseLayout3D/houselayout3d.git
cd houselayout3d
pip install -r requirements.txt

# Install Git LFS to download large files
# On Mac
brew install git-lfs
# On Linux
sudo apt-get install git-lfs
```

### 2. Download the Dataset

Download the HouseLayout3D dataset using `git lfs` from Hugging Face:

```bash
git lfs install # Ensure lfs is initialized
git clone https://huggingface.co/datasets/houselayout3d/HouseLayout3D data
```

### 3. Visualize a Scene

Navigate to the `houselayout3d` directory (where you cloned the code in step 1) and run the visualization script:

```bash
python visualize.py
python -m http.server 6008
```
Then open your browser and navigate to `http://localhost:6008` to view the visualizations.

## Data Structure
```text
HouseLayout3D/
β”œβ”€β”€ structures/
β”‚   β”œβ”€β”€ {scene}.obj
β”‚   β”‚   β†’ Base layout as a triangle mesh (without doors or windows)
β”‚   └── layouts_split_by_entity/
β”‚       └── {scene}/*.obj
β”‚           β†’ Individual wall / ceiling / floor entities (jointly compose the base layout)
β”œβ”€β”€ doors/
β”‚   └── {scene}.json
β”‚       β†’ Door annotations: each door is a list of 4 corners. The "normal" field indicates opening direction.
β”œβ”€β”€ windows/
β”‚   └── {scene}.json
β”‚       β†’ Window annotations: each window is a list of 4 corners.
β”œβ”€β”€ stairs/
β”‚   └── {scene}/*.ply
β”‚       β†’ Stair annotations as polygonal surfaces that follow the steps (steps themselves are part of the base layout)
β”œβ”€β”€ poses/
β”‚   └── {scene}.json
β”‚       β†’ The camera poses & intrinsics used for evaluation of the layout depth in nerfstudio format
```