Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,86 +1,29 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
- machine-generated
|
| 4 |
language:
|
| 5 |
-
- en
|
| 6 |
-
|
| 7 |
-
- found
|
| 8 |
-
license:
|
| 9 |
-
- unknown
|
| 10 |
-
multilinguality:
|
| 11 |
-
- monolingual
|
| 12 |
pretty_name: CTXFont
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
size_categories:
|
| 14 |
-
- 1K<n<10K
|
| 15 |
source_datasets:
|
| 16 |
-
- original
|
| 17 |
task_categories:
|
| 18 |
-
- other
|
| 19 |
task_ids: []
|
| 20 |
-
tags:
|
| 21 |
-
- design
|
| 22 |
-
- typography
|
| 23 |
-
- font-prediction
|
| 24 |
-
- web-design
|
| 25 |
-
- graphic-design
|
| 26 |
-
- context-aware
|
| 27 |
-
dataset_info:
|
| 28 |
-
features:
|
| 29 |
-
- name: design_name
|
| 30 |
-
dtype: string
|
| 31 |
-
- name: design_image
|
| 32 |
-
dtype: image
|
| 33 |
-
- name: design_url
|
| 34 |
-
dtype: string
|
| 35 |
-
- name: awwward_url
|
| 36 |
-
dtype: string
|
| 37 |
-
- name: design_tags
|
| 38 |
-
sequence: uint8
|
| 39 |
-
length: 54
|
| 40 |
-
- name: text_content
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: html_tags
|
| 43 |
-
sequence: uint8
|
| 44 |
-
length: 10
|
| 45 |
-
- name: font_face
|
| 46 |
-
dtype: string
|
| 47 |
-
- name: font_size
|
| 48 |
-
dtype: float32
|
| 49 |
-
- name: font_color_r
|
| 50 |
-
dtype: uint8
|
| 51 |
-
- name: font_color_g
|
| 52 |
-
dtype: uint8
|
| 53 |
-
- name: font_color_b
|
| 54 |
-
dtype: uint8
|
| 55 |
-
- name: font_color_a
|
| 56 |
-
dtype: uint8
|
| 57 |
-
- name: font_face_embedding
|
| 58 |
-
sequence: float32
|
| 59 |
-
length: 40
|
| 60 |
-
- name: center_x
|
| 61 |
-
dtype: uint16
|
| 62 |
-
- name: center_y
|
| 63 |
-
dtype: uint16
|
| 64 |
-
- name: width
|
| 65 |
-
dtype: float32
|
| 66 |
-
- name: height
|
| 67 |
-
dtype: uint16
|
| 68 |
-
splits:
|
| 69 |
-
- name: train
|
| 70 |
-
num_bytes: 2913248621.584
|
| 71 |
-
num_examples: 4268
|
| 72 |
-
- name: test
|
| 73 |
-
num_bytes: 339172900.0
|
| 74 |
-
num_examples: 625
|
| 75 |
-
download_size: 707537622
|
| 76 |
-
dataset_size: 3252421521.584
|
| 77 |
-
configs:
|
| 78 |
-
- config_name: default
|
| 79 |
-
data_files:
|
| 80 |
-
- split: train
|
| 81 |
-
path: data/train-*
|
| 82 |
-
- split: test
|
| 83 |
-
path: data/test-*
|
| 84 |
---
|
| 85 |
|
| 86 |
# Dataset Card for CTXFont
|
|
@@ -130,7 +73,7 @@ configs:
|
|
| 130 |
|
| 131 |
### Dataset Summary
|
| 132 |
|
| 133 |
-
CTXFont (Context Font) is a dataset for studying font selection in the context of web design. It contains 1,065 professional web designs from awwwards.com with annotations for 4,893 text elements. Each text element is annotated with font properties including font face, color (RGBA), and size, along with contextual information such as HTML tags, design tags, and element positioning. The dataset includes 492 unique font faces and provides 40-dimensional font face embeddings learned using an autoencoder.
|
| 134 |
|
| 135 |
The dataset was created for the task of predicting font properties (face, color, size) that match a given web design context, enabling automatic font selection systems that consider the visual and semantic context of the design.
|
| 136 |
|
|
@@ -158,6 +101,7 @@ A typical example from the dataset:
|
|
| 158 |
```python
|
| 159 |
{
|
| 160 |
'design_name': '1003_2.png',
|
|
|
|
| 161 |
'design_url': 'http://example.com/design',
|
| 162 |
'awwward_url': 'https://www.awwwards.com/sites/...',
|
| 163 |
'design_tags': [1, 0, 0, ...], # 54-dimensional binary vector
|
|
@@ -180,6 +124,7 @@ A typical example from the dataset:
|
|
| 180 |
### Data Fields
|
| 181 |
|
| 182 |
- `design_name` (string): Filename of the web design screenshot (e.g., "1003_2.png")
|
|
|
|
| 183 |
- `design_url` (string): URL of the original website
|
| 184 |
- `awwward_url` (string): URL on awwwards.com
|
| 185 |
- `design_tags` (sequence of uint8): 54-dimensional binary vector representing design characteristics (e.g., "colorful", "minimalist")
|
|
|
|
| 1 |
---
|
| 2 |
+
# Core fields
|
|
|
|
| 3 |
language:
|
| 4 |
+
- en
|
| 5 |
+
license: unknown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
pretty_name: CTXFont
|
| 7 |
+
tags:
|
| 8 |
+
- design
|
| 9 |
+
- typography
|
| 10 |
+
- font-prediction
|
| 11 |
+
- web-design
|
| 12 |
+
- graphic-design
|
| 13 |
+
- context-aware
|
| 14 |
+
|
| 15 |
+
# Recommended fields
|
| 16 |
+
annotations_creators:
|
| 17 |
+
- machine-generated
|
| 18 |
+
language_creators:
|
| 19 |
+
- found
|
| 20 |
size_categories:
|
| 21 |
+
- 1K<n<10K
|
| 22 |
source_datasets:
|
| 23 |
+
- original
|
| 24 |
task_categories:
|
| 25 |
+
- other
|
| 26 |
task_ids: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
---
|
| 28 |
|
| 29 |
# Dataset Card for CTXFont
|
|
|
|
| 73 |
|
| 74 |
### Dataset Summary
|
| 75 |
|
| 76 |
+
CTXFont (Context Font) is a dataset for studying font selection in the context of web design. It contains 1,065 professional web designs from awwwards.com with annotations for 4,893 text elements. Each text element is annotated with font properties including font face, color (RGBA), and size, along with contextual information such as HTML tags, design tags, and element positioning. The dataset includes 492 unique font faces and provides 40-dimensional font face embeddings learned using an autoencoder. Web design screenshots are included at 768×1366 resolution.
|
| 77 |
|
| 78 |
The dataset was created for the task of predicting font properties (face, color, size) that match a given web design context, enabling automatic font selection systems that consider the visual and semantic context of the design.
|
| 79 |
|
|
|
|
| 101 |
```python
|
| 102 |
{
|
| 103 |
'design_name': '1003_2.png',
|
| 104 |
+
'design_image': <PIL.Image.Image image mode=RGB size=768x1366>,
|
| 105 |
'design_url': 'http://example.com/design',
|
| 106 |
'awwward_url': 'https://www.awwwards.com/sites/...',
|
| 107 |
'design_tags': [1, 0, 0, ...], # 54-dimensional binary vector
|
|
|
|
| 124 |
### Data Fields
|
| 125 |
|
| 126 |
- `design_name` (string): Filename of the web design screenshot (e.g., "1003_2.png")
|
| 127 |
+
- `design_image` (image): Screenshot of the web design at 768×1366 resolution (PNG format)
|
| 128 |
- `design_url` (string): URL of the original website
|
| 129 |
- `awwward_url` (string): URL on awwwards.com
|
| 130 |
- `design_tags` (sequence of uint8): 54-dimensional binary vector representing design characteristics (e.g., "colorful", "minimalist")
|