Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

UI Layers Merger: Merging UI layers via Visual Learning and Boundary Prior (2206.13389v3)

Published 18 Jun 2022 in cs.CV and cs.AI

Abstract: With the fast-growing GUI development workload in the Internet industry, some work on intelligent methods attempted to generate maintainable front-end code from UI screenshots. It can be more suitable for utilizing UI design drafts that contain UI metadata. However, fragmented layers inevitably appear in the UI design drafts which greatly reduces the quality of code generation. None of the existing GUI automated techniques detects and merges the fragmented layers to improve the accessibility of generated code. In this paper, we propose UI Layers Merger (UILM), a vision-based method, which can automatically detect and merge fragmented layers into UI components. Our UILM contains Merging Area Detector (MAD) and a layers merging algorithm. MAD incorporates the boundary prior knowledge to accurately detect the boundaries of UI components. Then, the layers merging algorithm can search out the associated layers within the components' boundaries and merge them into a whole part. We present a dynamic data augmentation approach to boost the performance of MAD. We also construct a large-scale UI dataset for training the MAD and testing the performance of UILM. The experiment shows that the proposed method outperforms the best baseline regarding merging area detection and achieves a decent accuracy regarding layers merging.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (9)
  1. Yun-nong Chen (1 paper)
  2. Yan-kun Zhen (1 paper)
  3. Chu-ning Shi (1 paper)
  4. Jia-zhi Li (1 paper)
  5. Liu-qing Chen (1 paper)
  6. Ze-jian Li (1 paper)
  7. Ling-yun Sun (1 paper)
  8. Ting-ting Zhou (1 paper)
  9. Yan-fang Chang (1 paper)
Citations (4)