A novel code generator for graphical user interfaces

被引:1
|
作者
Cai B. [1 ,2 ]
Luo J. [1 ,2 ]
Feng Z. [1 ,2 ]
机构
[1] School of Cyber Science and Engineering, Wuhan University, Wuhan
[2] Key Laboratory of Aerospace Information Security and Trusted Computing, Ministry of Education, Wuhan
基金
中国国家自然科学基金;
关键词
D O I
10.1038/s41598-023-46500-6
中图分类号
学科分类号
摘要
Graphical user interfaces (GUIs) are widely used in human–computer interaction, providing a convenient interface for operation. Automating the conversion of GUI design images into source code can significantly reduce the coding workload for front-end developers. Detecting elements in GUI images is a key challenge in achieving automatic GUI code generation and is crucial for tasks such as GUI automation and testing. However, current state-of-the-art methods do not fully consider the unique characteristics of GUI images and elements, and they lack the required high localization accuracy, resulting in low detection accuracy for GUI element boxes. In this paper, we propose GUICG, an automatic GUI code generator that combines deep neural networks with image processing techniques to efficiently detect GUI elements from GUI images and generate front-end code. We empirically investigate various deep learning approaches and image processing methods for GUI component detection. Based on a comprehensive understanding of their performance and characteristics, we design GUICG by fusing image processing with a deep learning-based target detection model, achieving state-of-the-art performance. GUICG outperforms existing methods in accuracy and F1 score for component detection tasks, while producing human-readable code with a logical structure. Furthermore, we conduct an ablation study to quantitatively assess the impact of each key element in GUICG. © 2023, The Author(s).
引用
收藏
相关论文
共 50 条
  • [41] Graphical User Interfaces for Business Information Systems
    Ives, Blake
    MIS QUARTERLY, 1982, 6 (05) : 15 - 47
  • [42] A New Layout Method for Graphical User Interfaces
    Scoditti, Adriano
    Stuerzlinger, Wolfgang
    IEEE TIC-STH 09: 2009 IEEE TORONTO INTERNATIONAL CONFERENCE: SCIENCE AND TECHNOLOGY FOR HUMANITY, 2009, : 642 - 647
  • [43] Design of graphical user interfaces for LIMS systems
    Phillips, J.B.
    Price, G.
    Phillips, A.
    Brady, M.L.
    Scientific Computing and Instrumentation, 1999, 16 (09):
  • [44] Graphical User Interfaces of the Dark Energy Survey
    Eiting, Jacob
    Elliott, Ann
    Honscheid, Klaus
    Annis, Jim
    Buckley-Geer, Elizabeth J.
    Wester, William
    Haney, Michael
    Hanlon, William
    Karliner, Inga
    Thaler, Jon
    Meyer, Mark
    Bonati, Marco
    Schumacher, German
    Kuehn, Kyler W.
    Kuhlmann, Stephen E.
    Schalk, Terry
    Marshall, Stuart
    Roodman, Aaron J.
    SOFTWARE AND CYBERINFRASTRUCTURE FOR ASTRONOMY, 2010, 7740
  • [45] New ROOT Graphical User Interfaces for fitting
    Maline, D. Gonzalez
    Moneta, L.
    Antcheva, I.
    17TH INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS (CHEP09), 2010, 219
  • [46] Graphical user interfaces for heterogeneous distributed systems
    Brinkschulte, U
    Siormanolakis, M
    Vogelsang, H
    VISUAL DATA EXPLORATION AND ANALYSIS III, 1996, 2656 : 238 - 244
  • [47] ACTIVE OBJECTS IN THE CONSTRUCTION OF GRAPHICAL USER INTERFACES
    FIUME, E
    COMPUTERS & GRAPHICS, 1989, 13 (03) : 321 - 327
  • [48] Visualization of Climate Data from User Perspective: Evaluating User Experience in Graphical User Interfaces and Immersive Interfaces
    Fagundes, Vinicius
    Fernandes, Raul
    Santos, Carlos
    Tavares, Tatiana
    HUMAN INTERFACE AND THE MANAGEMENT OF INFORMATION: INFORMATION, KNOWLEDGE AND INTERACTION DESIGN, HCI INTERNATIONAL 2017, PT I, 2017, 10273 : 55 - 70
  • [49] Tcl/Tk in the development of user-extensible Graphical User Interfaces
    Skinner, JM
    LaBarca, RS
    Sweet, RM
    PROCEEDINGS OF THE FOURTH ANNUAL TCL/TK WORKSHOP, 1996, : 83 - 89
  • [50] End-User Composition of Graphical User Interfaces by Composite Pattern
    Vanderdonckt, Jean
    Grolaux, Donatien
    PROCEEDINGS OF THE ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS (EICS'19), 2019,