English

Automatic code generation from sketches of mobile applications in end-user development using Deep Learning

Human-Computer Interaction 2021-03-11 v1 Artificial Intelligence Software Engineering

Abstract

A common need for mobile application development by end-users or in computing education is to transform a sketch of a user interface into wireframe code using App Inventor, a popular block-based programming environment. As this task is challenging and time-consuming, we present the Sketch2aia approach that automates this process. Sketch2aia employs deep learning to detect the most frequent user interface components and their position on a hand-drawn sketch creating an intermediate representation of the user interface and then automatically generates the App Inventor code of the wireframe. The approach achieves an average user interface component classification accuracy of 87,72% and results of a preliminary user evaluation indicate that it generates wireframes that closely mirror the sketches in terms of visual similarity. The approach has been implemented as a web tool and can be used to support the end-user development of mobile applications effectively and efficiently as well as the teaching of user interface design in K-12.

Keywords

Cite

@article{arxiv.2103.05704,
  title  = {Automatic code generation from sketches of mobile applications in end-user development using Deep Learning},
  author = {Daniel Baulé and Christiane Gresse von Wangenheim and Aldo von Wangenheim and Jean C. R. Hauck and Edson C. Vargas Júnior},
  journal= {arXiv preprint arXiv:2103.05704},
  year   = {2021}
}

Comments

18 pages

R2 v1 2026-06-23T23:56:12.988Z