UI Layers Group Detector: Grouping UI Layers via Text Fusion and Box Attention

Abstract

Graphic User Interface (GUI) is facing great demand with the popularization and prosperity of mobile apps. Automatic UI code generation from UI design draft dramatically simplifies the development process. However, the nesting layer structure in the design draft affects the quality and usability of the generated code. Few existing GUI automated techniques detect and group the nested layers to improve the accessibility of generated code. In this paper, we proposed our UI Layers Group Detector as a vision-based method that automatically detects images (i.e., basic shapes and visual elements) and text layers that present the same semantic meanings. We propose two plug-in components, text fusion and box attention, that utilize text information from design drafts as a priori information for group localization. We construct a large-scale UI dataset for training and testing, and present a data augmentation approach to boost the detection performance. The experiment shows that the proposed method achieves a decent accuracy regarding layers grouping.

Publication
In Artificial Intelligence Second CAAI International Conference
肖树鸿
肖树鸿
2022级硕士生
陈云农
陈云农
2021级博士生
陈柳青
陈柳青
博士生导师

主要研究方向:智能设计,智能交互,设计大数据,创意设计,AR/VR,用户体验,Web前端/UI。