CVAIJun 18, 2022

UI Layers Merger: Merging UI layers via Visual Learning and Boundary Prior

arXiv:2206.13389v37 citationsh-index: 13
Originality Incremental advance
AI Analysis

This addresses a specific issue in GUI development for front-end engineers, offering an incremental improvement over existing automated techniques.

The paper tackles the problem of fragmented layers in UI design drafts, which reduces code generation quality, by proposing UI Layers Merger (UILM) to automatically detect and merge these layers into components, achieving outperformance in detection and decent accuracy in merging compared to baselines.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes