egnch commited on
Commit
a1964d3
·
verified ·
1 Parent(s): 6243549

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -25
README.md CHANGED
@@ -5,12 +5,11 @@ task_categories:
5
  tags:
6
  - ui
7
  - user-interface
8
- - synthetic
9
  - web-design
10
  - gui
11
- pretty_name: Synthetic UI Dataset
12
  size_categories:
13
- - 1K<n<10K
14
  dataset_info:
15
  features:
16
  - name: image
@@ -31,31 +30,30 @@ dataset_info:
31
  '5': text
32
  splits:
33
  - name: train
34
- num_examples: 4500
35
- - name: val
36
- num_examples: 500
37
  configs:
38
  - config_name: default
39
  data_files:
40
  - split: train
41
- path: data/train-*
42
  - split: validation
43
- path: data/val/*
44
  language:
45
  - ru
46
  - en
47
  ---
48
 
49
- # Synthetic UI Dataset
50
 
51
  ## Dataset Description
52
 
53
- This dataset contains synthetically generated images of User Interfaces designed for object detection tasks. It includes diverse layouts and styles to robustly train models on identifying common web elements across various screen sizes.
54
 
55
- - **Total Images:** 5000
56
- - **Viewport Range:** 375px to 1920px
57
  - **Task:** Object Detection
58
- - **Source:** Synthetic Generation
59
 
60
  ## Dataset Structure
61
 
@@ -74,18 +72,15 @@ The dataset is split into training and validation sets with a **90/10 ratio**:
74
 
75
  | Split | Percentage | Number of Images |
76
  | :--- | :--- | :--- |
77
- | **Train** | 90% | ~4,500 |
78
- | **Validation** | 10% | ~500 |
79
-
80
- ### Resolution & Diversity
81
- The images cover a wide range of viewport widths to simulate real-world usage scenarios, ranging from **375px** (mobile devices) up to **1920px** (desktop monitors).
82
 
83
  ## Usage
84
 
85
  ```python
86
  from datasets import load_dataset
87
 
88
- dataset = load_dataset("egnch/synthetic-ui")
89
 
90
  # Example: View the first training example
91
  print(dataset["train"][0])
@@ -97,12 +92,12 @@ print(dataset["train"][0])
97
 
98
  | Class Label | Description | Count | Distribution (Approx.) |
99
  | ----- | ----- | ----- | ----- |
100
- | **text** | Text content blocks, paragraphs, labels | 29720 | 40% |
101
- | **button** | Buttons of various styles | 16563 | 20% |
102
- | **header** | Visual headers and highlights | 12047 | 15% |
103
- | **image** | Visual content, avatars, banners | 7857 | 15% |
104
- | **input** | Input fields, text areas, dropdowns | 4295 | 5% |
105
- | **checkbox** | Checkboxes, radio buttons, switches | 2574 | 5% |
106
 
107
  ### Licensing
108
 
 
5
  tags:
6
  - ui
7
  - user-interface
 
8
  - web-design
9
  - gui
10
+ pretty_name: Web UI Dataset
11
  size_categories:
12
+ - n<1K
13
  dataset_info:
14
  features:
15
  - name: image
 
30
  '5': text
31
  splits:
32
  - name: train
33
+ num_examples: 185
34
+ - name: validation
35
+ num_examples: 45
36
  configs:
37
  - config_name: default
38
  data_files:
39
  - split: train
40
+ path: train/*
41
  - split: validation
42
+ path: val/*
43
  language:
44
  - ru
45
  - en
46
  ---
47
 
48
+ # Web UI Dataset
49
 
50
  ## Dataset Description
51
 
52
+ This dataset consists of real-world screenshots of web user interfaces, annotated for object detection. It is designed to be used in pair with the [Synthetic UI Dataset](https://huggingface.co/datasets/egnch/synthetic-ui) for fine-tuning and model validation.
53
 
54
+ - **Total Images:** 250
 
55
  - **Task:** Object Detection
56
+ - **Source:** Annotation of websites screenshots
57
 
58
  ## Dataset Structure
59
 
 
72
 
73
  | Split | Percentage | Number of Images |
74
  | :--- | :--- | :--- |
75
+ | **Train** | 80% | 185 |
76
+ | **Validation** | 20% | 45 |
 
 
 
77
 
78
  ## Usage
79
 
80
  ```python
81
  from datasets import load_dataset
82
 
83
+ dataset = load_dataset("egnch/real-ui")
84
 
85
  # Example: View the first training example
86
  print(dataset["train"][0])
 
92
 
93
  | Class Label | Description | Count | Distribution (Approx.) |
94
  | ----- | ----- | ----- | ----- |
95
+ | **text** | Text content blocks, paragraphs, labels | 2938 | ~50% |
96
+ | **button** | Buttons of various styles | 955 | ~15% |
97
+ | **image** | Visual content, avatars, banners | 508 | ~10% |
98
+ | **header** | Visual headers and highlights | 446 | ~10% |
99
+ | **input** | Input fields, text areas, dropdowns | 431 | ~10% |
100
+ | **checkbox** | Checkboxes, radio buttons, switches | 263 | ~5% |
101
 
102
  ### Licensing
103