A Model for Automatic Code Generation from High Fidelity Graphical User Interface Mockups using Deep Learning Techniques

被引:0
|
作者
Samir, Michel [1 ]
Elsayed, Ahmed [1 ]
Marie, Mohamed I. [1 ]
机构
[1] Helwan Univ, Dept Informat Syst, Fac Comp & Artificial Intelligence, Cairo, Egypt
关键词
Code generation; graphical user interfaces; deep learning; computer vision; mockups;
D O I
10.14569/IJACSA.2024.0150369
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Graphical user interface (GUI) is the most prevalent type of user interfaces (UI) due to its visual nature, which allows direct manipulation and interaction with the software. Mockup-based design is a frequently used workflow for constructing GUI. In this workflow, the anticipated UI design process typically progresses through multiple steps, culminating in the creation of a higher fidelity mockup and subsequent implementation of that mockup into code. The design process involves repeating those multiple steps because of the ongoing changes in requirements, which can make the process tedious and necessitate modifications to the GUI code. Additionally, the process of implementing and converting a design into GUI code itself is laborious and time-consuming task that can prevent developers from dedicating the bulk of their time implementing the software's functionality and logic, making it a costly endeavor. Automating the code generation process using GUI design images can be a solution to mitigate these issues and allow more time to be allocated towards building the application's functionality. In this research paper, deep learning object detectors are employed to detect the predominant UI elements and their spatial arrangement in a high-fidelity UI mockup image. This approach generates an intermediate representation, including the layout hierarchy of the user interface leading to the automation of the front-end code generation process for the mockup. The proposed approach demonstrates its effectiveness through experimental results, achieving a recognition mean average precision (mAP) of 91.37% for atomic elements and 87.40% for container elements in the mockup image. Additionally, similarity metrics are employed to assess the visual resemblance between the generated mockups and the original ones.
引用
收藏
页码:677 / 691
页数:15
相关论文
共 50 条
  • [1] Artificial neural network model for automatic code generation in graphical interface applications
    Arenas-Varela, Daniel Esteban
    Munoz-Ordonez, Julian Fernando
    [J]. INGE CUC, 2023, 19 (01) : 37 - 46
  • [2] Code generation from a graphical user interface via attention-based encoder–decoder model
    Wen-Yin Chen
    Pavol Podstreleny
    Wen-Huang Cheng
    Yung-Yao Chen
    Kai-Lung Hua
    [J]. Multimedia Systems, 2022, 28 (1) : 121 - 130
  • [3] Automatic software code repair using deep learning techniques
    Abdollahpour, Mohammad Mahdi
    Ashtiani, Mehrdad
    Bakhshi, Fatemeh
    [J]. SOFTWARE QUALITY JOURNAL, 2024, 32 (02) : 361 - 390
  • [4] Automatic Software Code Repair Using Deep Learning Techniques
    Abdollahpour, Mohammad Mahdi
    Ashtiani, Mehrdad
    Bakhshi, Fatemeh
    [J]. SSRN, 2022,
  • [5] The automatic generation of a graphical dialogue model from Delphi source code
    Li, L
    Phillips, C
    Scogings, C
    [J]. COMPUTER HUMAN INTERACTION: PROCEEDINGS, 2004, 3101 : 221 - 230
  • [6] Code generation from a graphical user interface via attention-based encoder-decoder model
    Chen, Wen Yin
    Podstreleny, Pavol
    Cheng, Wen-Huang
    Chen, Yung-Yao
    Hua, Kai-Lung
    [J]. MULTIMEDIA SYSTEMS, 2022, 28 (01) : 121 - 130
  • [7] Automatic Generation of Graphical User Interface Prototypes from Unrestricted Natural Language Requirements
    Kolthoff, Kristian
    [J]. 34TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2019), 2019, : 1234 - 1237
  • [8] A Deep Learning Model Generation Method for Code Reuse and Automatic Machine Learning
    Lee, Keon Myung
    Hwang, Kyoung Soon
    Kim, Kwang Il
    Lee, Sang Hyun
    Park, Ki Sun
    [J]. PROCEEDINGS OF THE 2018 CONFERENCE ON RESEARCH IN ADAPTIVE AND CONVERGENT SYSTEMS (RACS 2018), 2018, : 47 - 52
  • [9] Techniques and Tools for the Automatic Generation of Optimal Test Data at Code, Model and Interface Level
    Pinte, Florin
    Oster, Norbert
    Saglietti, Francesca
    [J]. ICSE'08 PROCEEDINGS OF THE THIRTIETH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, 2008, : 927 - 928
  • [10] Automatic Code Generation with Business Logic by Capturing Attributes from User Interface via XML
    Rathod, Sunil D.
    [J]. 2016 INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONICS, AND OPTIMIZATION TECHNIQUES (ICEEOT), 2016, : 1480 - 1484