File size: 3,260 Bytes
96c702f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: cc0-1.0
task_categories:
- image-retrieval
- image-classification
language:
- en
tags:
- hotel-identification
- image-retrieval
- visual-place-recognition
- object-centric-retrieval
pretty_name: OpenHotels
size_categories:
- 100K<n<1M
---

# OpenHotels

OpenHotels is a large-scale hotel image retrieval benchmark built from hotel-room imagery and associated hotel metadata. The dataset is designed for hotel-scale retrieval: given a query image, a system must retrieve the matching hotel from a large gallery containing both true matching classes and many distractor hotel classes.

## Dataset Structure

The release contains image files under `images/` and four metadata files:

```text
images/
  gallery/
  test_non_object/
  test_object/
metadata_gallery.json
metadata_test_non_object.json
metadata_test_object.json
metadata_hotels.json
```

The benchmark has three image subsets:

- `gallery`: searchable reference images for all hotel classes, including distractor-only hotels.
- `test_non_object`: held-out room-view query images.
- `test_object`: held-out object-centric query images.

## Statistics

| Subset | Hotels | Images |
| --- | ---: | ---: |
| Gallery | 41,027 | 253,597 |
| Test Non-Object | 15,982 | 62,706 |
| Test Object | 4,707 | 54,842 |

The gallery contains 140,247 non-object room-view images and 113,350 object-centric images. Across both test subsets there are 15,982 unique hotel classes; the gallery includes 25,045 distractor hotel classes that do not appear in either test subset.

## Metadata Schema

### `metadata_gallery.json`

Each row describes one gallery image.

```json
{
  "path": "images/gallery/23297/0011.jpg",
  "hotel_id": "23297",
  "room": "244",
  "timestamp": "2024-12-27T04:20:21",
  "is_object": false,
  "view_type": "bedroom"
}
```

If `is_object` is `true`, the row contains `object_type`. If `is_object` is `false`, the row contains `view_type`.

### `metadata_test_non_object.json`

Each row describes one non-object query image.

```json
{
  "path": "images/test_non_object/000000.jpg",
  "hotel_id": "03875",
  "room": "405",
  "timestamp": "2016-06-25T06:13:23",
  "view_type": "bedroom"
}
```

### `metadata_test_object.json`

Each row describes one object-centric query image.

```json
{
  "path": "images/test_object/000000.jpg",
  "hotel_id": "03875",
  "room": "425",
  "timestamp": "2021-07-28T09:43:57",
  "object_type": "nightstand"
}
```

### `metadata_hotels.json`

Each row describes one hotel class.

```json
{
  "hotel_id": "00000",
  "name": "Extended Stay America - Fairbanks - Old Airport Way",
  "lat": 64.83538,
  "lng": -147.8233,
  "date_added": "2015-06-25T21:34:48",
  "in_gallery": true,
  "in_test_non_object": false,
  "in_test_object": false
}
```

## Evaluation Protocol

Use the gallery as the retrieval database. Evaluate the two query subsets separately:

- Test Non-Object evaluates retrieval from room-level query images.
- Test Object evaluates retrieval from object-centric query images.

For each query, rank gallery images or aggregate ranked images to hotel-level predictions, then score retrieval against the query `hotel_id`. The standard metrics are Recall@K for `K in {1, 5, 10, 100}`.

## Citation

TODO: Add the paper citation when available.