arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.08930cs.CVcs.LGeess.IV
收藏

Sketch2Code:使用深度神经网络实时的将草图转换为UI

Sketch2Code: Transformation of Sketches to UI in Real-time Using Deep Neural Network

Vanita Jain, Piyush Agrawal, Subham Banga, Rishabh Kapoor, Shashwat Gulyani

摘要:

用户界面(UI)原型设计是应用程序开发早期阶段的必要步骤。将图形用户界面(UI)的草图转换为编码的UI应用程序是UI设计人员执行的一项乏味但耗时的任务。一个自动化的系统,可以取代人类的努力,直接实现UI设计将大大加快这一过程。提出这样一个系统的作品主要集中在使用UI线框作为输入,而不是手绘草图。在本文中,我们提出了一种新的方法,其中我们采用了一个深度神经网络,该网络在我们的自定义草图数据库上进行训练,以检测输入草图中的UI元素。检测草图中的对象是一项特殊的视觉识别任务,需要我们的深度神经网络模型试图提供的特定解决方案。网络的输出是一个独立于平台的UI表示对象。UI表示对象是键值对的字典,用于表示识别的UI元素及其属性。我们的UI解析器进一步使用它,它为不同的平台创建代码。固有的平台独立性允许模型通过单一训练为多个平台创建UI原型。这种两步方法不需要两个训练模型,比其他方法更好地提供了具有良好准确性的时间效率结果(平均时间:129 ms)。

英文摘要:

User Interface (UI) prototyping is a necessary step in the early stages of application development. Transforming sketches of a Graphical User Interface (UI) into a coded UI application is an uninspired but time-consuming task performed by a UI designer. An automated system that can replace human efforts for straightforward implementation of UI designs will greatly speed up this procedure. The works that propose such a system primarily focus on using UI wireframes as input rather than hand-drawn sketches. In this paper, we put forward a novel approach wherein we employ a Deep Neural Network that is trained on our custom database of such sketches to detect UI elements in the input sketch. Detection of objects in sketches is a peculiar visual recognition task that requires a specific solution that our deep neural network model attempts to provide. The output from the network is a platform-independent UI representation object. The UI representation object is a dictionary of key-value pairs to represent the UI elements recognized along with their properties. This is further consumed by our UI parser which creates code for different platforms. The intrinsic platform-independence allows the model to create a UI prototype for multiple platforms with single training. This two-step approach without the need for two trained models improves over other methods giving time-efficient results (average time: 129 ms) with good accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑