Datasets:
UI Elements v0.1
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- README.md +133 -0
- data/train/000b3db942709873.jpg +3 -0
- data/train/00183679e19b6cbf.jpg +3 -0
- data/train/003bb8018573391b.jpg +3 -0
- data/train/007098c70ef81556.jpg +3 -0
- data/train/00d67fc7f3483884.jpg +3 -0
- data/train/013b8ec28be4aecf.jpg +3 -0
- data/train/017d5bbfb1507b6a.jpg +3 -0
- data/train/01887dceeaccb613.jpg +3 -0
- data/train/01a334ab9a532970.jpg +3 -0
- data/train/029dd2a8bd7e509f.jpg +3 -0
- data/train/02b0cdfdc751b27f.jpg +3 -0
- data/train/02ca3c396fdab88f.jpg +3 -0
- data/train/034a950bbd10dc72.jpg +3 -0
- data/train/0372c3b91ccba0af.jpg +3 -0
- data/train/039c9559c966409d.jpg +3 -0
- data/train/03a4845e7f19232a.jpg +3 -0
- data/train/03aa124be9d73484.jpg +3 -0
- data/train/03b7ac8b9b80b8a8.jpg +3 -0
- data/train/044cab7fb06d5719.jpg +3 -0
- data/train/04560a00994fa876.jpg +3 -0
- data/train/04c89838e564e389.jpg +3 -0
- data/train/04dd84df9cd431fe.jpg +3 -0
- data/train/052ed9c3832b2e75.jpg +3 -0
- data/train/05b8623ecb33ccf3.jpg +3 -0
- data/train/05c3461ecda71fa6.jpg +3 -0
- data/train/060ad48697e6a6bf.jpg +3 -0
- data/train/060fe3e38288e03d.jpg +3 -0
- data/train/061b52fab7664ab3.jpg +3 -0
- data/train/061f681e39db40e4.jpg +3 -0
- data/train/06523b0627c6230e.jpg +3 -0
- data/train/0676a46ce8548b6f.jpg +3 -0
- data/train/068b1d9d411293dd.jpg +3 -0
- data/train/071296c7434ba305.jpg +3 -0
- data/train/0737572fe54fde1d.jpg +3 -0
- data/train/07983a5941c2b5a6.jpg +3 -0
- data/train/079c0c7cc9fceeef.jpg +3 -0
- data/train/07abb0ec69f1f103.jpg +3 -0
- data/train/07c4abe00feb92c3.jpg +3 -0
- data/train/07f84555f2e55024.jpg +3 -0
- data/train/083fad6c98b8c5a1.jpg +3 -0
- data/train/0851eaf11a4e0a9f.jpg +3 -0
- data/train/0861622b6898e1e1.jpg +3 -0
- data/train/086a3e678abcb5fa.jpg +3 -0
- data/train/088b6dbe748d9572.jpg +3 -0
- data/train/08fd1c059cfc62b7.jpg +3 -0
- data/train/0926f331a3fac164.jpg +3 -0
- data/train/09581d8a31352a98.jpg +3 -0
- data/train/0a5b1019c64fcb23.jpg +3 -0
- data/train/0a72bb2970518748.jpg +3 -0
README.md
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
license_name: annotations-cc-by-4.0-screenshots-research-only
|
| 4 |
+
language:
|
| 5 |
+
- en
|
| 6 |
+
- tr
|
| 7 |
+
task_categories:
|
| 8 |
+
- object-detection
|
| 9 |
+
tags:
|
| 10 |
+
- gui
|
| 11 |
+
- ui-element-detection
|
| 12 |
+
- screen-parsing
|
| 13 |
+
- computer-use
|
| 14 |
+
- screenshots
|
| 15 |
+
- yolo
|
| 16 |
+
size_categories:
|
| 17 |
+
- 1K<n<10K
|
| 18 |
+
pretty_name: UI Elements (Web + Desktop) v0.1
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# UI Elements (Web + Desktop) v0.1
|
| 22 |
+
|
| 23 |
+
Screenshots of real web pages, synthetic forms and Linux desktop apps. Each screenshot comes
|
| 24 |
+
with bounding boxes for its **interactive UI elements** and the **text on each element**.
|
| 25 |
+
|
| 26 |
+
You can use it for:
|
| 27 |
+
- training UI element detectors (YOLO, DETR, and similar),
|
| 28 |
+
- screen parsing and GUI grounding for computer-use agents,
|
| 29 |
+
- Set-of-Mark style pipelines,
|
| 30 |
+
- evaluating OCR on UI text.
|
| 31 |
+
|
| 32 |
+
**Every label was generated automatically. Nobody drew any boxes by hand.**
|
| 33 |
+
- **Web:** pages were rendered in headless Chromium and boxes were read from the live DOM.
|
| 34 |
+
Shadow DOM and iframes are included. Elements that are hidden, disabled or covered by
|
| 35 |
+
something else (modals, sticky headers) are skipped. robots.txt was respected.
|
| 36 |
+
- **Desktop:** Qt and GTK apps ran on an isolated virtual KWin (Wayland) display, and boxes
|
| 37 |
+
were read from the AT-SPI accessibility tree.
|
| 38 |
+
- **Synthetic forms:** random form pages styled with Bootstrap, Bulma, Pico, Water.css,
|
| 39 |
+
Simple.css and MVP.css. They add more checkbox, select and input examples.
|
| 40 |
+
|
| 41 |
+
Viewports range from phone (390×844) to 2560×1440, in light and dark color schemes. Page
|
| 42 |
+
language is English or Turkish.
|
| 43 |
+
|
| 44 |
+
## Contents
|
| 45 |
+
|
| 46 |
+
| Split | Screenshots |
|
| 47 |
+
|---|---|
|
| 48 |
+
| train | 1,245 |
|
| 49 |
+
| validation | 83 |
|
| 50 |
+
|
| 51 |
+
| Source | Screenshots |
|
| 52 |
+
|---|---|
|
| 53 |
+
| web | 651 |
|
| 54 |
+
| synthetic-form | 643 |
|
| 55 |
+
| desktop-kde | 34 |
|
| 56 |
+
|
| 57 |
+
The validation split holds different **websites** and **desktop apps** than train, so scores
|
| 58 |
+
measure generalization, not memorization.
|
| 59 |
+
|
| 60 |
+
### Classes (38,602 boxes)
|
| 61 |
+
|
| 62 |
+
| Class | Boxes |
|
| 63 |
+
|---|---|
|
| 64 |
+
| button | 6,104 |
|
| 65 |
+
| link | 20,895 |
|
| 66 |
+
| input | 2,458 |
|
| 67 |
+
| checkbox | 7,583 |
|
| 68 |
+
| select | 1,562 |
|
| 69 |
+
|
| 70 |
+
| id | class | covers |
|
| 71 |
+
|---|---|---|
|
| 72 |
+
| 0 | `button` | buttons, tabs, menu-bar entries, toolbar buttons, `<summary>`, `role=button/tab/menuitem` |
|
| 73 |
+
| 1 | `link` | links, and list or tree items in sidebars and file views |
|
| 74 |
+
| 2 | `input` | text fields, search boxes, textareas, spin boxes, contenteditable |
|
| 75 |
+
| 3 | `checkbox` | checkboxes, radio buttons, switches |
|
| 76 |
+
| 4 | `select` | dropdowns and combo boxes |
|
| 77 |
+
|
| 78 |
+
## Format
|
| 79 |
+
|
| 80 |
+
Hugging Face `imagefolder`: `data/{train,validation}/*.jpg` plus a `metadata.jsonl` file.
|
| 81 |
+
|
| 82 |
+
```json
|
| 83 |
+
{
|
| 84 |
+
"file_name": "0ebed0962cef1da5.jpg",
|
| 85 |
+
"width": 1366, "height": 768,
|
| 86 |
+
"source": "web",
|
| 87 |
+
"url": "https://getbootstrap.com/docs/5.3/examples/checkout/",
|
| 88 |
+
"color_scheme": "light",
|
| 89 |
+
"objects": {
|
| 90 |
+
"bbox": [[172, 358, 293, 38]],
|
| 91 |
+
"category": [2],
|
| 92 |
+
"text": ["Name on card"]
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
- `bbox` is `[x, y, width, height]` in pixels (COCO style).
|
| 98 |
+
- `text` is the element's accessible name or visible text. For inputs it is the value or
|
| 99 |
+
placeholder, and for selects the selected option. It can be an empty string.
|
| 100 |
+
|
| 101 |
+
```python
|
| 102 |
+
from datasets import load_dataset
|
| 103 |
+
ds = load_dataset("bugraakdemir/ui-elements")
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
`yolo/ui_elements_yolo.zip` holds the same data in Ultralytics YOLO format, including
|
| 107 |
+
`data.yaml`:
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
yolo detect train data=data.yaml model=yolo11n.pt imgsz=1280 epochs=100
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
Use a large `imgsz` (1280). UI elements are small, and at 640 many of them get lost.
|
| 114 |
+
|
| 115 |
+
## Known limitations
|
| 116 |
+
|
| 117 |
+
- This is a first version and it is small. Web pages dominate, and `link` is by far the most
|
| 118 |
+
common class. You may want to weight or oversample the rarer classes.
|
| 119 |
+
- There is no Windows or macOS UI yet. On the desktop side, only KDE/Qt apps and one GTK app
|
| 120 |
+
(pavucontrol) are included. Desktop windows are maximized and have no title bar.
|
| 121 |
+
- Labels come from the DOM and the accessibility tree, so they inherit those sources' mistakes:
|
| 122 |
+
- Custom widgets without proper roles are missed.
|
| 123 |
+
- Some elements are over-labeled, for example whole sidebar groups marked as links.
|
| 124 |
+
- There is no separate `icon` class. Clickable icons are labeled `button` or `link`.
|
| 125 |
+
|
| 126 |
+
## License
|
| 127 |
+
|
| 128 |
+
- **Annotations** (boxes, classes, texts, metadata): CC BY 4.0.
|
| 129 |
+
- **Screenshots of third-party websites:** the content in them belongs to the respective
|
| 130 |
+
site owners. They are included only for research and model training on UI understanding.
|
| 131 |
+
If you own a site that appears here and want it removed, open a discussion on this
|
| 132 |
+
repository and it will be taken out.
|
| 133 |
+
- **Synthetic forms and desktop screenshots:** made from open-source software.
|
data/train/000b3db942709873.jpg
ADDED
|
Git LFS Details
|
data/train/00183679e19b6cbf.jpg
ADDED
|
Git LFS Details
|
data/train/003bb8018573391b.jpg
ADDED
|
Git LFS Details
|
data/train/007098c70ef81556.jpg
ADDED
|
Git LFS Details
|
data/train/00d67fc7f3483884.jpg
ADDED
|
Git LFS Details
|
data/train/013b8ec28be4aecf.jpg
ADDED
|
Git LFS Details
|
data/train/017d5bbfb1507b6a.jpg
ADDED
|
Git LFS Details
|
data/train/01887dceeaccb613.jpg
ADDED
|
Git LFS Details
|
data/train/01a334ab9a532970.jpg
ADDED
|
Git LFS Details
|
data/train/029dd2a8bd7e509f.jpg
ADDED
|
Git LFS Details
|
data/train/02b0cdfdc751b27f.jpg
ADDED
|
Git LFS Details
|
data/train/02ca3c396fdab88f.jpg
ADDED
|
Git LFS Details
|
data/train/034a950bbd10dc72.jpg
ADDED
|
Git LFS Details
|
data/train/0372c3b91ccba0af.jpg
ADDED
|
Git LFS Details
|
data/train/039c9559c966409d.jpg
ADDED
|
Git LFS Details
|
data/train/03a4845e7f19232a.jpg
ADDED
|
Git LFS Details
|
data/train/03aa124be9d73484.jpg
ADDED
|
Git LFS Details
|
data/train/03b7ac8b9b80b8a8.jpg
ADDED
|
Git LFS Details
|
data/train/044cab7fb06d5719.jpg
ADDED
|
Git LFS Details
|
data/train/04560a00994fa876.jpg
ADDED
|
Git LFS Details
|
data/train/04c89838e564e389.jpg
ADDED
|
Git LFS Details
|
data/train/04dd84df9cd431fe.jpg
ADDED
|
Git LFS Details
|
data/train/052ed9c3832b2e75.jpg
ADDED
|
Git LFS Details
|
data/train/05b8623ecb33ccf3.jpg
ADDED
|
Git LFS Details
|
data/train/05c3461ecda71fa6.jpg
ADDED
|
Git LFS Details
|
data/train/060ad48697e6a6bf.jpg
ADDED
|
Git LFS Details
|
data/train/060fe3e38288e03d.jpg
ADDED
|
Git LFS Details
|
data/train/061b52fab7664ab3.jpg
ADDED
|
Git LFS Details
|
data/train/061f681e39db40e4.jpg
ADDED
|
Git LFS Details
|
data/train/06523b0627c6230e.jpg
ADDED
|
Git LFS Details
|
data/train/0676a46ce8548b6f.jpg
ADDED
|
Git LFS Details
|
data/train/068b1d9d411293dd.jpg
ADDED
|
Git LFS Details
|
data/train/071296c7434ba305.jpg
ADDED
|
Git LFS Details
|
data/train/0737572fe54fde1d.jpg
ADDED
|
Git LFS Details
|
data/train/07983a5941c2b5a6.jpg
ADDED
|
Git LFS Details
|
data/train/079c0c7cc9fceeef.jpg
ADDED
|
Git LFS Details
|
data/train/07abb0ec69f1f103.jpg
ADDED
|
Git LFS Details
|
data/train/07c4abe00feb92c3.jpg
ADDED
|
Git LFS Details
|
data/train/07f84555f2e55024.jpg
ADDED
|
Git LFS Details
|
data/train/083fad6c98b8c5a1.jpg
ADDED
|
Git LFS Details
|
data/train/0851eaf11a4e0a9f.jpg
ADDED
|
Git LFS Details
|
data/train/0861622b6898e1e1.jpg
ADDED
|
Git LFS Details
|
data/train/086a3e678abcb5fa.jpg
ADDED
|
Git LFS Details
|
data/train/088b6dbe748d9572.jpg
ADDED
|
Git LFS Details
|
data/train/08fd1c059cfc62b7.jpg
ADDED
|
Git LFS Details
|
data/train/0926f331a3fac164.jpg
ADDED
|
Git LFS Details
|
data/train/09581d8a31352a98.jpg
ADDED
|
Git LFS Details
|
data/train/0a5b1019c64fcb23.jpg
ADDED
|
Git LFS Details
|
data/train/0a72bb2970518748.jpg
ADDED
|
Git LFS Details
|