bugraakdemir commited on
Commit
21a7589
·
verified ·
1 Parent(s): bc294fd

UI Elements v0.1

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. README.md +133 -0
  2. data/train/000b3db942709873.jpg +3 -0
  3. data/train/00183679e19b6cbf.jpg +3 -0
  4. data/train/003bb8018573391b.jpg +3 -0
  5. data/train/007098c70ef81556.jpg +3 -0
  6. data/train/00d67fc7f3483884.jpg +3 -0
  7. data/train/013b8ec28be4aecf.jpg +3 -0
  8. data/train/017d5bbfb1507b6a.jpg +3 -0
  9. data/train/01887dceeaccb613.jpg +3 -0
  10. data/train/01a334ab9a532970.jpg +3 -0
  11. data/train/029dd2a8bd7e509f.jpg +3 -0
  12. data/train/02b0cdfdc751b27f.jpg +3 -0
  13. data/train/02ca3c396fdab88f.jpg +3 -0
  14. data/train/034a950bbd10dc72.jpg +3 -0
  15. data/train/0372c3b91ccba0af.jpg +3 -0
  16. data/train/039c9559c966409d.jpg +3 -0
  17. data/train/03a4845e7f19232a.jpg +3 -0
  18. data/train/03aa124be9d73484.jpg +3 -0
  19. data/train/03b7ac8b9b80b8a8.jpg +3 -0
  20. data/train/044cab7fb06d5719.jpg +3 -0
  21. data/train/04560a00994fa876.jpg +3 -0
  22. data/train/04c89838e564e389.jpg +3 -0
  23. data/train/04dd84df9cd431fe.jpg +3 -0
  24. data/train/052ed9c3832b2e75.jpg +3 -0
  25. data/train/05b8623ecb33ccf3.jpg +3 -0
  26. data/train/05c3461ecda71fa6.jpg +3 -0
  27. data/train/060ad48697e6a6bf.jpg +3 -0
  28. data/train/060fe3e38288e03d.jpg +3 -0
  29. data/train/061b52fab7664ab3.jpg +3 -0
  30. data/train/061f681e39db40e4.jpg +3 -0
  31. data/train/06523b0627c6230e.jpg +3 -0
  32. data/train/0676a46ce8548b6f.jpg +3 -0
  33. data/train/068b1d9d411293dd.jpg +3 -0
  34. data/train/071296c7434ba305.jpg +3 -0
  35. data/train/0737572fe54fde1d.jpg +3 -0
  36. data/train/07983a5941c2b5a6.jpg +3 -0
  37. data/train/079c0c7cc9fceeef.jpg +3 -0
  38. data/train/07abb0ec69f1f103.jpg +3 -0
  39. data/train/07c4abe00feb92c3.jpg +3 -0
  40. data/train/07f84555f2e55024.jpg +3 -0
  41. data/train/083fad6c98b8c5a1.jpg +3 -0
  42. data/train/0851eaf11a4e0a9f.jpg +3 -0
  43. data/train/0861622b6898e1e1.jpg +3 -0
  44. data/train/086a3e678abcb5fa.jpg +3 -0
  45. data/train/088b6dbe748d9572.jpg +3 -0
  46. data/train/08fd1c059cfc62b7.jpg +3 -0
  47. data/train/0926f331a3fac164.jpg +3 -0
  48. data/train/09581d8a31352a98.jpg +3 -0
  49. data/train/0a5b1019c64fcb23.jpg +3 -0
  50. 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

  • SHA256: efafb73a1826cd07a93e726ef9e76426e6dcc64411923e5938206cea4bb45598
  • Pointer size: 130 Bytes
  • Size of remote file: 53.2 kB
data/train/00183679e19b6cbf.jpg ADDED

Git LFS Details

  • SHA256: c10308a284f55679a7f831e500d8d45bceb9da248e3261926b6f6d59e2d21a46
  • Pointer size: 130 Bytes
  • Size of remote file: 70.3 kB
data/train/003bb8018573391b.jpg ADDED

Git LFS Details

  • SHA256: add419574235eb106e81a8eb9fc397bcfa29476998df0a70d595df1e8e593a3a
  • Pointer size: 130 Bytes
  • Size of remote file: 53.4 kB
data/train/007098c70ef81556.jpg ADDED

Git LFS Details

  • SHA256: d646c7a03d39c1bb972e9cbdb61f51a3a17055fd4e46cce466278a32285049bb
  • Pointer size: 130 Bytes
  • Size of remote file: 35.2 kB
data/train/00d67fc7f3483884.jpg ADDED

Git LFS Details

  • SHA256: 980b9cbb950a680f9d73b1d02746e56b7c27c670701fbc93c783cc977ff514ee
  • Pointer size: 130 Bytes
  • Size of remote file: 77.4 kB
data/train/013b8ec28be4aecf.jpg ADDED

Git LFS Details

  • SHA256: 4642eed67baaa53bcd7e5109d04697d52648b3e263c6522bfb89f2bf950face9
  • Pointer size: 130 Bytes
  • Size of remote file: 55.6 kB
data/train/017d5bbfb1507b6a.jpg ADDED

Git LFS Details

  • SHA256: 83ded48d975633a3b20ee95b023bbf14322669869bbc56556b938465dca650fb
  • Pointer size: 131 Bytes
  • Size of remote file: 144 kB
data/train/01887dceeaccb613.jpg ADDED

Git LFS Details

  • SHA256: 04ebf243493f745cf84fd773974db3783336679ad6ee64c18f34f31a58a69378
  • Pointer size: 130 Bytes
  • Size of remote file: 49.8 kB
data/train/01a334ab9a532970.jpg ADDED

Git LFS Details

  • SHA256: 2047c0ee5e0658a5472352df1145e79c19c8a6f3c205e78c04b79fbbd999cf5f
  • Pointer size: 130 Bytes
  • Size of remote file: 36.4 kB
data/train/029dd2a8bd7e509f.jpg ADDED

Git LFS Details

  • SHA256: 84586ad03b1e46420bdb98d8048bc28b431171d539da5f945dce25a7da4f3c54
  • Pointer size: 130 Bytes
  • Size of remote file: 83.1 kB
data/train/02b0cdfdc751b27f.jpg ADDED

Git LFS Details

  • SHA256: c7e794c123cab6ee830564b55968f93c7eb50d7adbb4a38e8e21bc30a8107ea8
  • Pointer size: 130 Bytes
  • Size of remote file: 72.8 kB
data/train/02ca3c396fdab88f.jpg ADDED

Git LFS Details

  • SHA256: 8d4df9ac10586351c6d4764dda03025f49e8c0092a0d6e57c5e19ff564902d58
  • Pointer size: 131 Bytes
  • Size of remote file: 159 kB
data/train/034a950bbd10dc72.jpg ADDED

Git LFS Details

  • SHA256: 318ab280112a0ee54d530a8b1506086327a1754496a1e5cb5a24fde374675dfe
  • Pointer size: 131 Bytes
  • Size of remote file: 153 kB
data/train/0372c3b91ccba0af.jpg ADDED

Git LFS Details

  • SHA256: 5325b597cb3d0ce27d3f22ea15424c5836df7114bc848780408240b61fcc0477
  • Pointer size: 130 Bytes
  • Size of remote file: 91.2 kB
data/train/039c9559c966409d.jpg ADDED

Git LFS Details

  • SHA256: 7547129f922f4aa39ec356aec1f61edc117e3662fe19c65bc7883f9d0929a0ed
  • Pointer size: 130 Bytes
  • Size of remote file: 68.9 kB
data/train/03a4845e7f19232a.jpg ADDED

Git LFS Details

  • SHA256: b3af55d5d676071263f24c79e8ba57889d7573e0e7b1b59a785cb0355059895d
  • Pointer size: 130 Bytes
  • Size of remote file: 36.2 kB
data/train/03aa124be9d73484.jpg ADDED

Git LFS Details

  • SHA256: e167e88a20035180c3deb2422b40befdb10e586a07fc8bf0588f3d9e8407f2bc
  • Pointer size: 130 Bytes
  • Size of remote file: 47.4 kB
data/train/03b7ac8b9b80b8a8.jpg ADDED

Git LFS Details

  • SHA256: 9a230573088e5a3999b52e3934f06ecb4df1a6ec77cc1b1248b310bf2d5c7cd1
  • Pointer size: 130 Bytes
  • Size of remote file: 91.3 kB
data/train/044cab7fb06d5719.jpg ADDED

Git LFS Details

  • SHA256: aa0fcd8e8c0cd42f8cf35f4b9c5c60ddfd7262a01b643de113145358f8d98ee7
  • Pointer size: 131 Bytes
  • Size of remote file: 111 kB
data/train/04560a00994fa876.jpg ADDED

Git LFS Details

  • SHA256: bd1ef4e2f5e93a1bcb7df29a54d46e5c16a5af8fccae52e12526e3065b1faffd
  • Pointer size: 131 Bytes
  • Size of remote file: 141 kB
data/train/04c89838e564e389.jpg ADDED

Git LFS Details

  • SHA256: 6a922600978658cb29ce7fb3a15dc7ffcefd34c4f04940d193ed6007378e4340
  • Pointer size: 130 Bytes
  • Size of remote file: 80.8 kB
data/train/04dd84df9cd431fe.jpg ADDED

Git LFS Details

  • SHA256: 1a7889541770c1de06a8eeaab647786cd97d02ee2f83c5b8d176cb4a790aa5c1
  • Pointer size: 130 Bytes
  • Size of remote file: 37.1 kB
data/train/052ed9c3832b2e75.jpg ADDED

Git LFS Details

  • SHA256: 4977455f2374d2f9bab7f1034ebdffc7356c8cc81bcefaf0e700af8bc190f374
  • Pointer size: 131 Bytes
  • Size of remote file: 166 kB
data/train/05b8623ecb33ccf3.jpg ADDED

Git LFS Details

  • SHA256: be04856944c681887a3f5b2ca6b4e5a510bdf65a40754c2dc5158562a3b90cb7
  • Pointer size: 130 Bytes
  • Size of remote file: 69.8 kB
data/train/05c3461ecda71fa6.jpg ADDED

Git LFS Details

  • SHA256: bf9b11ac7e3cb4a629ee416421340ffae30f0fd667fb54e7025681e5253a3643
  • Pointer size: 130 Bytes
  • Size of remote file: 51.8 kB
data/train/060ad48697e6a6bf.jpg ADDED

Git LFS Details

  • SHA256: e0ee53f1928e408e0165ed1c1f6a16cccb87f585cc928f52e66cf3d4d00129c0
  • Pointer size: 130 Bytes
  • Size of remote file: 64.9 kB
data/train/060fe3e38288e03d.jpg ADDED

Git LFS Details

  • SHA256: 9c6360362b13ef0653a4817f11bd3648ebaabe187f882d0bcd158349f9c7b5d0
  • Pointer size: 130 Bytes
  • Size of remote file: 41.5 kB
data/train/061b52fab7664ab3.jpg ADDED

Git LFS Details

  • SHA256: f38fdf8969468bdf26f8aae93605aaaa9750b3a859df62ce5b1073ea99762b5b
  • Pointer size: 130 Bytes
  • Size of remote file: 48.8 kB
data/train/061f681e39db40e4.jpg ADDED

Git LFS Details

  • SHA256: 8a795b6e0d0ddf89d0a1cd0fb0cfbb92985e031c3e4b45166345bbde74e09a0e
  • Pointer size: 130 Bytes
  • Size of remote file: 68.7 kB
data/train/06523b0627c6230e.jpg ADDED

Git LFS Details

  • SHA256: 5e0ade0c147b824cddfe9692f0827f61a4626cbd85fd165fb7b61966a776e550
  • Pointer size: 130 Bytes
  • Size of remote file: 59.9 kB
data/train/0676a46ce8548b6f.jpg ADDED

Git LFS Details

  • SHA256: 7ada78b41ccc3a252b02b27471e097a7d021ee0bdbed0213f0bb562c21a72184
  • Pointer size: 131 Bytes
  • Size of remote file: 140 kB
data/train/068b1d9d411293dd.jpg ADDED

Git LFS Details

  • SHA256: 7bb928a4e040a440b7dd77c33decad154d4430e28fa28eed8fb6d254336bdef0
  • Pointer size: 131 Bytes
  • Size of remote file: 525 kB
data/train/071296c7434ba305.jpg ADDED

Git LFS Details

  • SHA256: a8fcff592353aea426a31cd662298f11ed5ac0d41300aec5befbcdb96d7fd3ca
  • Pointer size: 130 Bytes
  • Size of remote file: 59.6 kB
data/train/0737572fe54fde1d.jpg ADDED

Git LFS Details

  • SHA256: 9adc7bae0b3424a65c78d1d1650b2855386cdfc07e0d789efe183caca5a47673
  • Pointer size: 130 Bytes
  • Size of remote file: 80.4 kB
data/train/07983a5941c2b5a6.jpg ADDED

Git LFS Details

  • SHA256: 4e58f10796fb7d09470fe52b480ee5733f34169e88569643cdb2a3d9d490903d
  • Pointer size: 130 Bytes
  • Size of remote file: 89.4 kB
data/train/079c0c7cc9fceeef.jpg ADDED

Git LFS Details

  • SHA256: bcfe35f7a64e1a2bc0922a37fa732875977f845094d7ec3992319c4d760654a8
  • Pointer size: 130 Bytes
  • Size of remote file: 25.8 kB
data/train/07abb0ec69f1f103.jpg ADDED

Git LFS Details

  • SHA256: 947d0980d091cefe038b9b6072502181e343bde3137cd804c7a9e669698e06d0
  • Pointer size: 131 Bytes
  • Size of remote file: 110 kB
data/train/07c4abe00feb92c3.jpg ADDED

Git LFS Details

  • SHA256: d768f3f461915f8f818501ffd3411db578becf40c4307facc98b7507dd66d059
  • Pointer size: 131 Bytes
  • Size of remote file: 214 kB
data/train/07f84555f2e55024.jpg ADDED

Git LFS Details

  • SHA256: e26b22ab696cfd0bc85cb6f306e44ef045779808c8bc53464785ecd6d14928ce
  • Pointer size: 131 Bytes
  • Size of remote file: 198 kB
data/train/083fad6c98b8c5a1.jpg ADDED

Git LFS Details

  • SHA256: 34bc70903e3a884f54ed8a347db7fc2727af5088c8fb47c84048718911539b81
  • Pointer size: 131 Bytes
  • Size of remote file: 161 kB
data/train/0851eaf11a4e0a9f.jpg ADDED

Git LFS Details

  • SHA256: d17e5d5e35059eb1f490b2a1d085854afa59a2e9aab3d15a1a3227e9580eeda9
  • Pointer size: 130 Bytes
  • Size of remote file: 70.1 kB
data/train/0861622b6898e1e1.jpg ADDED

Git LFS Details

  • SHA256: 29292a195d110db469281076d46e10da67afbd1c8a643b60e77c241319f4f984
  • Pointer size: 130 Bytes
  • Size of remote file: 51.9 kB
data/train/086a3e678abcb5fa.jpg ADDED

Git LFS Details

  • SHA256: 56c4e4441fc046a9355a19d195777aaf84d37839707fc6e861b9cff27108708b
  • Pointer size: 130 Bytes
  • Size of remote file: 56.1 kB
data/train/088b6dbe748d9572.jpg ADDED

Git LFS Details

  • SHA256: c009453d3d6181288dd3cffd3d13e91724b578774deedb7e81146b9854e12ddc
  • Pointer size: 131 Bytes
  • Size of remote file: 225 kB
data/train/08fd1c059cfc62b7.jpg ADDED

Git LFS Details

  • SHA256: 5069a08ab1fc6ae90a6f814163ba19d9462e0529b7418a580a30f93a88c2276d
  • Pointer size: 131 Bytes
  • Size of remote file: 182 kB
data/train/0926f331a3fac164.jpg ADDED

Git LFS Details

  • SHA256: fb3e09d51e7e80657bf0432e2e72459683e7c974637dd24e6f0137061e0079fd
  • Pointer size: 131 Bytes
  • Size of remote file: 175 kB
data/train/09581d8a31352a98.jpg ADDED

Git LFS Details

  • SHA256: a3f3c978c755dea42e46741deee3786c6e30626d3bbc0bc32fa1c33941013c36
  • Pointer size: 130 Bytes
  • Size of remote file: 81.8 kB
data/train/0a5b1019c64fcb23.jpg ADDED

Git LFS Details

  • SHA256: cb0a809fb87e19e55e5211846e8aef7ad479d813d30658a55ad0e525b87568ea
  • Pointer size: 130 Bytes
  • Size of remote file: 54.1 kB
data/train/0a72bb2970518748.jpg ADDED

Git LFS Details

  • SHA256: 7a7b9deaca2069404f2430558a29ba2e9752cc3a916fd519bc8754de7e57073e
  • Pointer size: 130 Bytes
  • Size of remote file: 41.1 kB