Dataset Viewer
Auto-converted to Parquet Duplicate
x1
int64
0
2.1k
y1
int64
0
1.2k
x2
int64
31
2.54k
y2
int64
13
1.28k
width
int64
13
2.54k
height
int64
12
1.2k
class
stringclasses
17 values
307
534
1,597
1,080
1,290
546
main
2
382
1,904
532
1,902
150
banner
464
61
1,446
320
982
259
complementary
291
384
1,194
410
903
26
navigation
396
498
1,084
534
688
36
navigation
1,398
429
1,569
477
171
48
navigation
1,568
432
1,599
476
31
44
search
1,462
499
1,603
535
141
36
navigation
572
547
1,326
655
754
108
region
313
552
466
588
153
36
contentinfo
1,399
440
1,459
469
60
29
generic-button
1,464
434
1,566
472
102
38
generic-button
289
1
1,617
1,080
1,328
1,079
main
1,412
60
1,593
96
181
36
generic-button
1,243
988
1,287
1,035
44
47
generic-button
1,189
517
1,618
885
429
368
complementary
801
57
1,153
164
352
107
region
794
169
1,111
212
317
43
region
813
232
1,140
300
327
68
region
321
421
573
487
252
66
region
609
416
852
490
243
74
region
885
422
1,148
492
263
70
region
313
776
620
916
307
140
region
339
969
590
1,011
251
42
region
338
1,024
602
1,069
264
45
region
338
934
402
949
64
15
region
708
966
777
993
69
27
region
698
999
1,088
1,050
390
51
region
709
1,059
1,050
1,080
341
21
region
1,221
900
1,399
932
178
32
region
1,221
928
1,574
969
353
41
region
1,272
109
1,560
156
288
47
region
1,278
172
1,572
202
294
30
region
1,279
224
1,564
267
285
43
region
1,274
283
1,552
331
278
48
region
1,275
354
1,570
396
295
42
region
1,269
411
1,560
458
291
47
region
1,472
459
1,588
494
116
35
generic-button
1,210
62
1,297
94
87
32
region
684
883
1,171
960
487
77
region
327
63
787
373
460
310
image
326
547
627
747
301
200
image
694
546
1,152
854
458
308
image
982
855
1,160
876
178
21
contentinfo
495
751
628
766
133
15
contentinfo
1,220
1,059
1,357
1,080
137
21
contentinfo
1,212
111
1,263
135
51
24
contentinfo
1,220
176
1,264
198
44
22
contentinfo
1,222
217
1,268
244
46
27
contentinfo
1,218
285
1,269
312
51
27
contentinfo
643
374
790
396
147
22
contentinfo
1,220
348
1,270
381
50
33
contentinfo
1,221
415
1,267
436
46
21
contentinfo
289
31
1,188
514
899
483
navigation
1,188
31
1,616
514
428
483
navigation
289
513
661
1,080
372
567
navigation
660
512
1,189
1,080
529
568
navigation
1,189
884
1,616
1,080
427
196
navigation
0
0
1,906
55
1,906
55
banner
0
56
1,904
1,080
1,904
1,024
main
1,366
1,030
1,549
1,070
183
40
contentinfo
352
962
1,134
1,014
782
52
contentinfo
345
531
1,538
934
1,193
403
navigation
600
9
1,306
44
706
35
navigation
1,363
6
1,561
49
198
43
navigation
344
6
396
46
52
40
navigation
416
9
454
44
38
35
search
1,372
10
1,452
42
80
32
generic-button
1,470
10
1,552
43
82
33
generic-button
355
9
390
42
35
33
generic-button
358
398
489
446
131
48
generic-button
348
249
591
306
243
57
region
355
332
686
375
331
43
region
0
91
1,904
1,080
1,904
989
main
0
0
1,903
87
1,903
87
banner
352
57
1,060
86
708
29
navigation
345
4
400
54
55
50
navigation
1,365
2
1,558
55
193
53
navigation
339
675
1,521
1,077
1,182
402
navigation
352
9
396
44
44
35
generic-button
1,370
8
1,454
46
84
38
generic-button
1,470
14
1,551
45
81
31
generic-button
409
10
463
48
54
38
search
380
134
918
230
538
96
region
576
271
766
296
190
25
region
357
330
736
420
379
90
region
357
440
801
516
444
76
region
379
834
511
859
132
25
region
361
680
657
726
296
46
region
772
837
902
861
130
24
region
1,166
838
1,345
861
179
23
region
1,161
922
1,512
997
351
75
region
770
924
1,118
996
348
72
region
372
924
736
972
364
48
region
381
882
517
916
136
34
region
768
878
906
914
138
36
region
1,166
882
1,300
915
134
33
region
364
537
530
582
166
45
generic-button
381
1,016
463
1,059
82
43
generic-button
488
1,024
612
1,052
124
28
generic-button
End of preview. Expand in Data Studio

WebUI-COCO-876: Annotated Webpage Screenshots for UI Region & Landmark Detection

Short description

876 desktop webpage screenshots annotated with COCO bounding boxes over ARIA-style landmark regions and common UI components (cookie dialogs, popovers, captcha, buttons, etc.)

Dataset details

  • Modality: image (webpage screenshots)
  • Annotation format: COCO-style JSON (bounding boxes + class IDs, optional semantic attributes)
  • Number of images: 876
  • Label taxonomy: ARIA landmark–inspired regions + UI-specific roles (see Label set below)
  • Languages (in-page text): multilingual, reflecting the source domains (primarily English/Czech/Spanish/French/German/Portuguese)

Supported tasks

This dataset is intended primarily for:

  • Object detection of semantic webpage regions and UI components (bounding boxes).
  • Downstream uses include web layout parsing, UI understanding, and accessibility-oriented landmark detection.

Repository contents

The dataset is organized into splits with images and per-image JSONs, plus merged COCO files per split:

├── annotations/
│ ├── train_annotations.json
│ ├── val_annotations.json
│ └── test_annotations.json
├── train/
│ ├── *.png
│ └── annotations/
│ └── *.json
├── val/
│ ├── *.png
│ └── annotations/
│ └── *.json
├── test/
│ ├── *.png
│ └── annotations/
│ └── *.json
└── split_info.txt
  • train/, val/, test/ contain PNG screenshots named like 123.png.
  • train/annotations/, val/annotations/, test/annotations/ contain per-image annotation JSON files named like 123.json.
  • annotations/*_annotations.json are the merged COCO annotation files for each split.
  • split_info.txt documents how the split was produced (and/or which IDs belong to which split).

Annotation format

Annotations are stored in COCO-style JSON. Each annotation contains:

  • bbox (x, y, width, height)
  • category_id (class ID)
  • (optional) additional semantic attributes, where applicable

Annotators were instructed to label UI components at semantically meaningful granularity:

  • Composite widgets (e.g., dialogs) are treated as containers
  • Controls (e.g., buttons) are labeled as individual entities

Label set (categories)

All classes included in this dataset:

  • main
  • navigation
  • image
  • contentinfo
  • region
  • generic-button
  • banner
  • complementary
  • preferences-button
  • popover
  • close-button
  • search
  • cookie-dialog
  • accept-button
  • reject-button
  • form
  • captcha

Dataset creation

Collection methodology

The dataset was constructed to capture the visual and semantic structure of real-world webpages.

Screenshots were collected using a custom automation pipeline built atop nodriver (a wrapper for the Chrome DevTools Protocol), enabling fine-grained control over headless browser instances and pixel-accurate rendering.

Key collection details:

  • Each session launched Chromium with Skia rendering to ensure consistent visual fidelity.
  • Cookie consent modals and overlays were programmatically dismissed using text-based heuristics and synthetic clicks.
  • Domain-specific handlers were used to bypass obstructive UI (e.g., paywalls/popups) and ensure content visibility.
  • Full-page capture used a scroll-and-stitch approach:
    • Incremental scrolling with overlapping screenshots
    • Pinned headers/footers detected via pixel similarity to crop/align slices
    • Pages were optionally stitched offline or stored as individual tiles
  • Request interception modified headers (e.g., User-Agent, Referer) and handled retry/abort logic to reduce failures on dynamic pages and bot protections.
  • Screenshots were saved in timestamped directories per crawl session.

Source domains

Webpages were collected from a curated set of high-traffic international media domains to ensure diverse regional styles and layouts, including:

  • Bloomberg
  • Centrum
  • El Cronista
  • Financial Times
  • Folha de S.Paulo
  • Frankfurter Allgemeine Zeitung (Germany)
  • Handelsblatt
  • iRozhlas
  • La Nación
  • La Tribune
  • Les Echos
  • Lidovky
  • Novinky
  • Seznam
  • Seznam Zprávy
  • The Business Times
  • The Straits Times
  • The Wall Street Journal
  • Wikipedia

Quality control

Annotation consistency was validated through:

  • Automated heuristics (shape validation, area bounds, basic sanity checks)
  • Manual review

Dataset metrics and diversity

Element distribution and imbalance

The dataset exhibits a long-tail class distribution:

  • The most common class, region, occurs > 9000 times.
  • Rare classes such as captcha and reject-button appear < 25 times.

This reflects real-world UI patterns: structural regions dominate the page, while edge-case elements are sparse.

Elements per image

  • Mean labeled elements per image: 33.6
  • Some images contain > 100 labeled elements
  • Most images include ~7–11 unique UI types, indicating moderate layout diversity

Bounding box shape statistics

Bounding boxes cover a broad range of shapes. Most elements are horizontally elongated (wider than tall), consistent with common UI layouts (headers, toolbars, banners). The aspect ratio distribution is skewed toward wide and very wide elements.

Elements can be grouped by aspect ratio into:

  • very tall
  • tall
  • square-ish
  • wide
  • very wide

Most elements fall into the very wide category.

Spatial layout patterns

UI elements are not uniformly distributed across the screen:

  • concentration along typical layout bands (headers, sidebars, central content)
  • clustering patterns consistent with real-world desktop webpage layouts

Intended use

This dataset is intended for research and development in:

  • UI element detection on real-world webpages
  • webpage semantic region detection (ARIA-style landmarks)
  • layout analysis and structured understanding of web interfaces

Limitations

  • Long-tail imbalance: rare UI elements (e.g., captcha, reject-button) have few examples.
  • Domain coverage: the dataset focuses on a curated set of high-traffic media/information sites and may not generalize to all web genres (e-commerce, web apps, dashboards, etc.).
  • Visual-only labels: annotations are based on screenshots. They do not include DOM structure or computed accessibility tree.

Legal and ethical considerations

  • Screenshots contain content rendered from third-party websites. Ensure your dataset license and terms are compatible with redistribution of rendered pages and any embedded media.
  • The crawling pipeline included logic to dismiss overlays and bypass obstructive UI to capture visible content. Users should consider whether this affects allowed redistribution and use.
  • The dataset may include incidental personal data if present on captured pages (e.g., author names, user prompts, etc.). Review and redact if needed.

License

The dataset is released under Creative Commons Attribution 4.0 International (CC BY 4.0).

Citation

If you use this dataset, please cite:

@dataset{webui_coco_876,
  title     = {WebUI-COCO-876: Annotated Webpage Screenshots for UI Region and Landmark Detection},
  author    = {Lukáš Jílek},
  year      = {2026},
  url       = {https://huggingface.co/datasets/jileklu/WebUI-COCO-876}
}

## Contact
For questions, issues, or takedown requests, please contact:
Name: Lukáš Jílek
Email: jileklu2@fit.cvut.cz
Affiliation: Faculty of Information Technology, Czech Technical University in Prague
Downloads last month
363