File size: 8,926 Bytes
b8cf5bf
49cf78f
 
 
 
 
 
 
4b72273
49cf78f
 
 
 
 
 
 
 
 
 
 
 
f62a961
 
 
 
 
 
 
 
 
 
4b72273
f62a961
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
446858b
f62a961
 
 
 
 
 
 
 
 
446858b
f62a961
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4b72273
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
859e07f
 
 
 
 
 
 
 
 
 
 
 
 
 
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
---
annotations_creators:
- expert-generated
language: []
language_creators: []
license:
- cc-by-nc-4.0
multilinguality: []
pretty_name: 'TD02: Urban Surface Texture Photos'
size_categories:
- n<1K
source_datasets:
- original
tags:
- texture-synthesis
- photography
- non-infringing
task_categories:
- unconditional-image-generation
task_ids: []
viewer: false
---


_The Dataset Teaser is now enabled instead! Isn't this better?_

![preview of all texture sets](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/teaser.webp)


# TD 02: Urban Surface Textures

This dataset contains multi-photo texture captures in outdoor urban scenes — many focusing on the ground and the others are walls.  Each set has different photos that showcase texture variety, making them ideal for training a domain-specific image generator!

Overall information about this dataset:

* **Format** — JPEG-XL, lossless RGB
* **Resolution** — 4032 × 2268
* **Device** — mobile camera
* **Technique** — hand-held
* **Orientation** — landscape
* **Author**: Alex J. Champandard
* **Configurations**: 4K, 2K (default), 1K

To load the medium- and high-resolution images of the dataset, you'll need to install `jxlpy` from [PyPI](https://pypi.org/project/jxlpy/) with `pip install jxlpy`:

```python
# Recommended use, JXL at high-quality.
from jxlpy import JXLImagePlugin
from datasets import load_dataset
d = load_dataset('texturedesign/td02_urban-surface-textures', 'JXL@4K', num_proc=4)

print(len(d['train']), len(d['test']))
```

The lowest-resolution images are available as PNG with a regular installation of `pillow`:

```python
# Alternative use, PNG at low-quality.
from datasets import load_dataset
d = load_dataset('texturedesign/td02_urban-surface-textures', 'PNG@1K', num_proc=4)

# EXAMPLE: Discard all other sets except Set #1.
dataset = dataset.filter(lambda s: s['set'] == 1)
# EXAMPLE: Only keep images with index 0 and 2.
dataset = dataset.select([0, 2])
```

Use built-in dataset `filter()` and `select()` to narrow down the loaded dataset for training, or to ease with development.


## Set #1: Interlocked Paving with Mulch

![preview of the files in Set #1](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set01.webp)

* **Description**:
  - grey H-shaped tiles interlocked together as the base
  - brown mulch made of woodchips on top
  - diffuse lighting, cloudy day
* **Number of Photos**:
    - 18 train
    - 5 test
* **Size**: 222 Mb


## Set #2: Outdoor Parking Area

![preview of the files in Set #2](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set02.webp)

* **Description**:
    - diamond shape concrete floor tiles
    - grass growing in the middle part
    - sunny day, shadows and sunlight
* **Number of Photos**:
    - 19 train
    - 6 test
* **Size**: 270 Mb


## Set #3: Red Brick Wall Cliché

![preview of the files in Set #3](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set03.webp)

* **Description**:
    - red brick wall with dark grey mortar
    - signs of weathering and black splashes
    - cloudy day, diffuse lighting
* **Number of Photos**:
    - 10 train
    - 4 test
* **Size**: 100 Mb


## Set #4: Not Asphalt, Sparkling Bitumen

![preview of the files in Set #4](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set04.webp)

* **Description**:
    - asphalt with sparkeling gravel sticking out
    - sunny day, strong light from right
* **Number of Photos**:
    - 5 train
    - 2 test
* **Size**: 65 Mb


## Set #5: Under The Dallage? Oui.

![preview of the files in Set #5](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set05.webp)

* **Description**:
    - grey floor tiles of different square and rectangular shape
    - cloudy day, diffuse lighting
* **Number of Photos**:
    - 11 train
    - 4 test
* **Size**: 103 Mb


## Set #6: Cracked Road and Scattered Gravel

![preview of the files in Set #6](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set06.webp)

* **Description**:
    - asphalt road with cracks at varying scales
    - occasionally gravel scattered around
    - sunny day, varied lighting and soft shadows
* **Number of Photos**:
    - 27 train
    - 7 test
* **Size**: 281 Mb


## Set #7: Funky Grey/Red Brick Wall

![preview of the files in Set #7](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set07.webp)

* **Description**:
    - red brick wall with grey mortar
    - cool weathering patterns on the bricks, cement marks
    - diffuse light from above
* **Number of Photos**:
    - 6 train
    - 2 test
* **Size**: 52 Mb


## Set #8: Corrugated Metal Wall

![preview of the files in Set #6](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set08.webp)

* **Description**:
    - corrugated metal wall used on a construction site
    - no significant effects from lighting
* **Number of Photos**:
    - 6 train
    - 2 test
* **Size**: 37 Mb


## Set #9: Colorful Aligned Paving Stones

![preview of the files in Set #9](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set09.webp)

* **Description**:
    - square or rectangular pavement stones with rounded corners
    - variety of different colors, dark gaps between
    - neutral lighting in the shade
* **Number of Photos**:
    - 5 train
    - 1 test
* **Size**: 46 Mb


## Set #10: Fancy Footpath Concrete

![preview of the files in Set #10](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set10.webp)

* **Description**:
    - fancy-looking concrete path in the park
    - long straight gaps between the tiles
    - strong sunlight from the left side
* **Number of Photos**:
    - 11 train
    - 4 test
* **Size**: 137 Mb


## Set #11: Asphalt Slowly Turning Green

![preview of the files in Set #11](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set11.webp)

* **Description**:
    - dirty asphalt with darker patches
    - cloudy day, diffuse lighting
* **Number of Photos**:
    - 9 train
    - 2 test
* **Size**: 95 Mb


## Set #12: Clay Tiles on Old Patio

![preview of the files in Set #12](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set12.webp)

* **Description**:
    - clay tiles in grey cement
    - drops of white dirt and rusty patches
    - diffuse lighting in the shade
* **Number of Photos**:
    - 8 train
    - 2 test
* **Size**: 64.6 Mb


## Set #13: Brown Shed Wooden Planks

![preview of the files in Set #13](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set13.webp)

* **Description**:
    - beige wooden planks with dark knots
    - outside wall of a brown shed
    - diffuse lighting in the shade
* **Number of Photos**:
    - 5 train
    - 1 test
* **Size**: 31.5 Mb


## Set #14: Hexagonal Plastic Grid for White Gravel

![preview of the files in Set #14](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set14.webp)

* **Description**:
    - plastic grid, both white and black, with hexagonal tiles
    - white decorative gravel within the alcoves
    - areas mostly in the shade and more with the sun
* **Number of Photos**:
    - 8 train
    - 2 test
* **Size**: 87.5 Mb


## Set #15: Blue-Painted Wooden Shutters

![preview of the files in Set #15](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set15.webp)

* **Description**:
    - blue-painted outdoor shutters made of wood
    - weathered paint that's cracking and new-looking parts
    - metal bars partly rusty, some well preserved
    - diffuse lighting in the shade
* **Number of Photos**:
    - 10 train
    - 2 test
* **Size**: 42.7 Mb


## Set #16: Weathered Sand-Blasted Concrete Wall

![preview of the files in Set #16](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set16.webp)

* **Description**:
    - concrete wall with a sand-blasted texture
    - weathering that includes mold, water stains, broken concrete
    - diffuse lighting in the shade
* **Number of Photos**:
    - 10 train
    - 2 test
* **Size**: 112.2 Mb


## Set #17: Dirty & Dusty Square Stone Paving

![preview of the files in Set #17](https://huggingface.co/datasets/texturedesign/td02_urban-surface-textures/resolve/main/docs/set17.webp)

* **Description**:
    - staggered grey square stone paving, light cement
    - dirt and dust on the surface, weathering
    - diffuse lighting on a cloudy day
* **Number of Photos**:
    - 14 train
    - 4 test
* **Size**: 118.3 Mb