File size: 5,537 Bytes
c29cf04
 
 
 
 
 
 
 
 
 
355e311
 
 
3341f2f
 
 
 
 
c29cf04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3341f2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c29cf04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3341f2f
c29cf04
3341f2f
 
 
 
 
c29cf04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3341f2f
c29cf04
 
 
 
 
 
 
 
 
 
 
 
3341f2f
 
 
 
c29cf04
 
355e311
 
 
 
 
 
 
 
 
c29cf04
 
 
 
 
 
 
 
 
355e311
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
---
license: apache-2.0
task_categories:
- object-detection
- image-segmentation
size_categories:
- 10K<n<100K
---
# DeepFurniture Dataset

This dataset is introduced in our paper:
[Furnishing Your Room by What You See: An End-to-End Furniture Set Retrieval Framework with Rich Annotated Benchmark Dataset](https://arxiv.org/abs/1911.09299)

<img src="visualizations/overview.png" width="100%"/>

A large-scale dataset for furniture understanding, featuring **photo-realistic rendered indoor scenes** with **high-quality 3D furniture models**. The dataset contains about 24k indoor images, 170k furniture instances, and 20k unique furniture identities, all rendered by the leading industry-level rendering engines in [Kujiale](https://coohom.com).


## Key Features

- **Photo-Realistic Rendering**: All indoor scenes are rendered using professional rendering engines, providing realistic lighting, shadows, and textures
- **High-Quality 3D Models**: Each furniture identity is derived from a professional 3D model, ensuring accurate geometry and material representation
- **Rich Annotations**: Hierarchical annotations at image, instance, and identity levels


## Dataset Overview

DeepFurniture provides hierarchical annotations at three levels:
- **Image Level**: Professional rendered indoor scenes with scene category and depth map
- **Instance Level**: Bounding boxes and per-pixel masks for furniture instances in scenes
- **Identity Level**: High-quality rendered previews of 3D furniture models.

### Statistics
- Total scenes: ~24,000 photo-realistic rendered images
- Total furniture instances: ~170,000 annotated instances in scenes
- Unique furniture identities: ~20,000 3D models with preview renderings
- Categories: 11 furniture types
- Style tags: 11 different styles

## Dataset Visualization

You can view example visualizations of the dataset [here](visualizations/index.html). These examples show:
- Scene images with instance annotations
- Depth maps
- Furniture instance details

## Benchmarks

This dataset supports three main benchmarks:
1. Furniture Detection/Segmentation
2. Furniture Instance Retrieval 
3. Furniture Retrieval

For benchmark details and baselines, please refer to our paper.

## Dataset Structure

The dataset is organized in chunks for efficient distribution:

```
data/
├── scenes/           # Photo-realistic rendered indoor scenes
├── furnitures/       # High-quality 3D model preview renders
├── queries/          # Query instance images from scenes
└── metadata/         # Dataset information and indices
    ├── categories.json       # Furniture category definitions
    ├── styles.json          # Style tag definitions
    ├── dataset_info.json    # Dataset statistics and information
    ├── furnitures.jsonl     # Furniture metadata
    └── *_index.json        # Chunk index files
```

## Using the Dataset

### 1. Download and Extraction

```bash
# Clone the repository
git lfs install  # Make sure Git LFS is installed
git clone https://huggingface.co/datasets/byliu/DeepFurniture
```

[optional] Uncompress the dataset. The current dataset loader is only available for uncompressed assets. So, if you want to use the provided dataset loader, you'll need the ucnompress the dataset firstly.
The dataset loader for compressed assets is TBD.
```
cd DeepFurniture
bash uncompress_dataset.sh -s data -t uncompressed_data
```

### 2. Data Format

#### Scene Data
- **Image**: RGB images in JPG format
- **Depth**: Depth maps in PNG format
- **Annotation**: JSON files containing:
  ```json
  {
    "instances": [
      {
        "numberID": 1,
        "boundingBox": {
          "xMin": int,
          "xMax": int,
          "yMin": int,
          "yMax": int
        },
        "styleIDs": [int],
        "styleNames": [str],
        "segmentation": [int], # COCO format RLE encoding
        "identityID": int,
        "categoryID": int,
        "categoryName": str
      }
    ]
  }
  ```

#### Furniture Data
- Preview images of 3D models in JPG format
- Metadata in JSONL format containing category and style information

#### Query Data
- Cropped furniture instances from scenes
- Filename format: `[furnitureID]_[instanceIndex]_[sceneID].jpg`

### 3. Loading the Dataset

```python
from deepfurniture import DeepFurnitureDataset

# Initialize dataset
dataset = DeepFurnitureDataset("path/to/uncompressed_data")

# Access a scene
scene = dataset[0]
print(f"Scene ID: {scene['scene_id']}")
print(f"Number of instances: {len(scene['instances'])}")

# Access furniture instances
for instance in scene['instances']:
    print(f"Category: {instance['category_name']}")
    print(f"Style(s): {instance['style_names']}")
```

### 4. To visualize each indoor scene
```
python visualize_html.py --dataset ./uncompressed_data --scene_idx 101 --output scene_101.html
```



## License
Apache-2.0

## Acknowledgments

- Dataset created by [Kujiale](https://coohom.com)
- Rendered using the leading interior design platform in [Kujiale](https://coohom.com)
- Thanks to millions of designers and artists who contributed to the 3D models and designs

If you use this dataset, please cite:
```bibtex
@article{liu2024deepfurniture,
  title={Furnishing Your Room by What You See: An End-to-End Furniture Set Retrieval Framework with Rich Annotated Benchmark Dataset},
  author={Liu, Bingyuan and Zhang, Jiantao and Zhang, Xiaoting and Zhang, Wei and Yu, Chuanhui and Zhou, Yuan},
  journal={arXiv preprint arXiv:1911.09299},
  year={2020}
}
```