File size: 11,253 Bytes
bf58ec3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
annotations_creators:
- no-annotation
language:
- en
language_creators:
- found
license:
- other
multilinguality:
- monolingual
pretty_name: crello
size_categories:
- 1K<n<10K
source_datasets:
- original
tags:
- graphic design
- design templates
task_categories:
- unconditional-image-generation
task_ids: []
---

# Dataset Card for Crello

## Table of Contents
- [Dataset Card for Crello](#dataset-card-for-crello)
  - [Table of Contents](#table-of-contents)
  - [Dataset Description](#dataset-description)
    - [Dataset Summary](#dataset-summary)
    - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
    - [Languages](#languages)
  - [Dataset Structure](#dataset-structure)
    - [Data Instances](#data-instances)
    - [Data Fields](#data-fields)
    - [Data Splits](#data-splits)
  - [Dataset Creation](#dataset-creation)
    - [Curation Rationale](#curation-rationale)
    - [Source Data](#source-data)
      - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
      - [Who are the source language producers?](#who-are-the-source-language-producers)
    - [Personal and Sensitive Information](#personal-and-sensitive-information)
  - [Considerations for Using the Data](#considerations-for-using-the-data)
    - [Social Impact of Dataset](#social-impact-of-dataset)
    - [Discussion of Biases](#discussion-of-biases)
    - [Other Known Limitations](#other-known-limitations)
  - [Additional Information](#additional-information)
    - [Dataset Curators](#dataset-curators)
    - [Licensing Information](#licensing-information)
    - [Citation Information](#citation-information)
    - [Contributions](#contributions)

## Dataset Description

- **Homepage:** [CanvasVAE github](https://github.com/CyberAgentAILab/canvas-vae)
- **Repository:**
- **Paper:** [CanvasVAE: Learning to Generate Vector Graphic Documents](https://arxiv.org/abs/2108.01249)
- **Leaderboard:**
- **Point of Contact:** [Kota Yamaguchi](https://github.com/kyamagu)

### Dataset Summary

The Crello dataset is compiled for the study of vector graphic documents. The dataset contains document meta-data such as canvas size and pre-rendered elements such as images or text boxes. The original templates was collected from [crello.com](https://crello.com) (now [create.vista.com](https://create.vista.com/)) and converted to low-resolution format suitable for machine learning analysis.

### Supported Tasks and Leaderboards

[CanvasVAE](https://arxiv.org/abs/2108.01249) studies unsupervised document generation.

### Languages

Almost all design templates use English.

## Dataset Structure

### Data Instances

Each instance has scalar attributes (canvas) and sequence attributes (elements). Categorical values are stored as integer values. Check `ClassLabel` features of the dataset for the list of categorical labels.

```
{'id': '5bd1c85078e1194aa6186300',
 'length': 11,
 'group': 4,
 'format': 10,
 'canvas_width': 40,
 'canvas_height': 41,
 'category': 1,
 'type': [3, 3, 3, 3, 3, 3, 4, 1, 4, 4, 3],
 'left': [0.8712766170501709,
  0.42127659916877747,
  0.14468085765838623,
  0.8585106134414673,
  0.8819149136543274,
  0.043617021292448044,
  0.30696335434913635,
  0.0010638297535479069,
  0.7409376502037048,
  0.4813956916332245,
  0.30744680762290955],
 'top': [0.0,
  0.0,
  0.874365508556366,
  0.6967005133628845,
  0.6967005133628845,
  0.9060913920402527,
  0.8984156250953674,
  0.113832488656044,
  0.434346079826355,
  0.14983975887298584,
  0.05710659921169281],
 'width': [0.12989361584186554,
  0.2329787164926529,
  0.42127659916877747,
  0.0010638297535479069,
  0.0010638297535479069,
  0.20425531268119812,
  0.2213829755783081,
  0.5641489624977112,
  0.2148936241865158,
  0.2951063811779022,
  0.6446808576583862],
 'height': [1.0,
  0.5164974331855774,
  0.06598984450101852,
  0.24365481734275818,
  0.24365481734275818,
  0.0012690355069935322,
  0.026649747043848038,
  0.7272842526435852,
  0.2753807008266449,
  0.2842639684677124,
  0.7271573543548584],
 'opacity': [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0],
 'text': ['',
  '',
  '',
  '',
  '',
  '',
  'Powerful Ways',
  '',
  '11',
  'Powerful Ways\nTo Take Care\nOf  Your Skin\nIn Summer',
  ''],
 'font': [0, 0, 0, 0, 0, 0, 24, 0, 24, 189, 0],
 'font_size': [0.0,
  0.0,
  0.0,
  0.0,
  0.0,
  0.0,
  21.504981994628906,
  0.0,
  217.0,
  43.18538284301758,
  0.0],
 'text_align': [0, 0, 0, 0, 0, 0, 2, 0, 2, 2, 0],
 'angle': [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
 'color': [[236.0, 96.0, 104.0],
  [236.0, 96.0, 104.0],
  [29.0, 29.0, 27.0],
  [29.0, 29.0, 27.0],
  [29.0, 29.0, 27.0],
  [29.0, 29.0, 27.0],
  [0.0, 0.0, 1.0],
  [228.0, 148.0, 151.0],
  [0.0, 0.0, 1.0],
  [0.0, 0.0, 1.0],
  [29.0, 29.0, 27.0]],
 'image': [<PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>,
  <PIL.PngImagePlugin.PngImageFile image mode=RGBA size=256x256>]}
```

### Data Fields

**Context features (Canvas attributes)**

| Field         | Type   | Shape | Description                                                    |
| ------------- | ------ | ----- | -------------------------------------------------------------- |
| id            | string | ()    | Template ID from crello.com                                    |
| group         | string | ()    | Broad design group, such as social media posts or blog headers |
| format        | string | ()    | Detailed design format, such as Instagram post or postcard     |
| category      | string | ()    | Topic category of the design, such as holiday celebration      |
| canvas_width  | int64  | ()    | Canvas pixel width                                             |
| canvas_height | int64  | ()    | Canvas pixel height                                            |
| length        | int64  | ()    | Length of sequence features                                    |

**Sequence features (Element attributes)**

| Field       | Type    | Shape | Description                                                          |
| ----------- | ------- | ----- | -------------------------------------------------------------------- |
| type        | string  | ()    | Element type, such as vector shape, image, or text                   |
| left        | float32 | ()    | Element left position normalized to [0, 1] range w.r.t. canvas_width |
| top         | float32 | ()    | Element top position normalized to [0, 1] range w.r.t. canvas_height |
| width       | float32 | ()    | Element width normalized to [0, 1] range w.r.t. canvas_width         |
| height      | float32 | ()    | Element height normalized to [0, 1] range w.r.t. canvas_height       |
| color       | int64   | (3,)  | Extracted main RGB color of the element                              |
| opacity     | float32 | ()    | Opacity in [0, 1] range                                              |
| image_bytes | string  | ()    | Pre-rendered 256x256 preview of the element encoded in PNG format    |
| text        | string  | ()    | Text content in UTF-8 encoding for text element                      |
| font        | string  | ()    | Font family name for text element                                    |
| font_size   | float32 | ()    | Font size (height) in pixels                                         |
| text_align  | string  | ()    | Horizontal text alignment, left, center, right for text element      |
| angle       | float32 | ()    | Element rotation angle (radian) w.r.t. the center of the element     |

Note that the color and pre-rendered images are do not necessarily accurately
reproduce the original design templates.
The original template is accessible at the following URL if still available.

```
https://create.vista.com/artboard/?template=<template_id>
```

### Data Splits

The Crello dataset has 3 splits: train, validation, and test. The current split is generated such that the same title of the original template shows up in only in one split.

| Split     | Count |
| --------- | ----- |
| train     | 18659 |
| validaton | 2391  |
| test      | 2371  |


## Dataset Creation

### Curation Rationale

The Crello dataset is compiled for the general study of vector graphic documents, with the goal of producing a dataset that offers complete vector graphic information suitable for neural methodologies.

### Source Data

#### Initial Data Collection and Normalization

The dataset is initially scraped from the former `crello.com`, and pre-processed to

#### Who are the source language producers?

While [create.vista.com](https://create.vista.com/)) owns those templates, the templates seems to be originially created by certain group of design studios.

### Personal and Sensitive Information

The dataset does not contain any personal information about the creator, but may contain a picture of people in the design template.

## Considerations for Using the Data

### Social Impact of Dataset

This dataset was developed for advancing the general study of vector graphic documents, especially for generative systems of graphic design. Successful systems might enable automation of creative workflow that human designers get involved in.

### Discussion of Biases

The templates contained in the dataset reflect the biases appearing in the source data, which could present gender biases in specific design categories.

### Other Known Limitations

Due to the unknown data specification of the source data, the color and pre-rendered images do not necessarily accurately reproduce the original design templates. The original template is accessible at the following URL if still available.

    https://create.vista.com/artboard/?template=<template_id>

## Additional Information

### Dataset Curators

The Crello dataset was developed by Kota Yamaguchi.

### Licensing Information

The origin of the dataset is [create.vista.com](https://create.vista.com) (formally, `crello.com`).
The distributor ("We") do not own the copyrights of the original design templates.
By using Crello dataset, the user of this dataset ("You") must agree to the
[VistaCreate License Agreements](https://create.vista.com/faq/legal/licensing/license_agreements/).

The dataset is distributed under [CDLA-Permissive-2.0 license](https://cdla.dev/permissive-2-0/).

**Note**

We do not re-distribute the original files as we are not allowed by terms.

### Citation Information

    @article{yamaguchi2021canvasvae,
      title={CanvasVAE: Learning to Generate Vector Graphic Documents},
      author={Yamaguchi, Kota},
      journal={ICCV},
      year={2021}
    }

### Contributions

Thanks to [@kyamagu](https://github.com/kyamagu) for adding this dataset.