UI Layers Merger: Merging UI layers via Visual Learning and Boundary Prior
Chen, Yun-nong, Zhen, Yan-kun, Shi, Chu-ning, Li, Jia-zhi, Chen, Liu-qing, Li, Ze-jian, Sun, Ling-yun, Zhou, Ting-ting, Chang, Yan-fang
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Sep-3-2022
- Country:
- Asia
- China
- Beijing > Beijing (0.04)
- Zhejiang Province > Hangzhou (0.04)
- Japan > Honshū
- Kantō > Kanagawa Prefecture > Yokohama (0.04)
- China
- Europe
- France > Île-de-France
- Spain > Galicia
- Madrid (0.04)
- Sweden > Vaestra Goetaland
- Gothenburg (0.04)
- Switzerland > Zürich
- Zürich (0.14)
- United Kingdom > Scotland
- City of Glasgow > Glasgow (0.04)
- North America
- Canada
- British Columbia > Metro Vancouver Regional District
- Vancouver (0.04)
- Quebec
- Capitale-Nationale Region
- Quebec City (0.04)
- Québec (0.04)
- Montreal (0.04)
- Capitale-Nationale Region
- British Columbia > Metro Vancouver Regional District
- United States
- Hawaii > Honolulu County
- Honolulu (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Nebraska > Lancaster County
- Lincoln (0.04)
- Nevada > Clark County
- Las Vegas (0.04)
- Texas > Brazos County
- College Station (0.04)
- Utah > Salt Lake County
- Salt Lake City (0.04)
- Hawaii > Honolulu County
- Canada
- Oceania > Australia
- Asia
- Genre:
- Research Report > New Finding (0.94)
- Industry:
- Information Technology (0.46)
- Technology: