首页> 外文期刊>Journal of software: evolution and process >image2emmet: Automatic code generation from web user interface image
【24h】

image2emmet: Automatic code generation from web user interface image

机译:image2emmet:从Web用户界面图像中生成自动代码

获取原文
获取原文并翻译 | 示例
           

摘要

Web development usually follows with analyzing the functionality, designing the userinterface (UI) prototype, implementing the UI by front-end (FE) developers andimplementing the REpresentational State Transfer (RESTful) application programminginterface (API) by back-end (BE) programmers. Unfortunately, web development is atedious, cumbersome, and time-consuming task, which makes it a challenge for theFE programmers to work in an efficient way. In this paper, we propose an approach,image2emmet, to assist FE programmers in implementing the UI. First, we collectHyperText Markup Language, Cascading Style Sheets (HTML-CSS) dataset in anautomatic and efficient way. The HTML-CSS dataset used for model training consistsof HTML-CSS code and its display images. Second, the faster region-basedconvolutional neural network (CNN) (R-CNN) is utilized to detect the UI component.Finally, we build a model combining CNN and long short-term memory (LSTM) totransform the UI component into the HTML-CSS code. The empirical studydemonstrates that image2emmet can achieve a precision of 80% on the UIcomponent detection and 60% on the transformation of UI component into HTMLCSScode.
机译:Web开发通常在分析功能,设计用户的情况下接口(UI)原型,由前端(FE)开发人员实现UI和实施代表状态转移(RESTful)应用程序编程接口(API)由后端(是)程序员。不幸的是,Web开发是一个乏味,繁琐,耗时的任务,这使其成为挑战FE程序员以有效的方式工作。在本文中,我们提出了一种方法,image2emmet,帮助FE程序员实现UI。首先,我们收集超文本标记语言,级联样式表(HTML-CSS)数据集自动高效的方式。用于模型培训的HTML-CSS数据集包括HTML-CSS代码及其显示图像。其次,基于速度较快卷积神经网络(CNN)(R-CNN)用于检测UI分量。最后,我们构建了CNN和长短短期内存(LSTM)的模型将UI组件转换为HTML-CSS代码。实证研究展示Image2emmet可以在UI上实现80%的精度组件检测和60%的UI组件转换为HTMLCSS代码。

著录项

  • 来源
    《Journal of software: evolution and process》 |2021年第8期|e2369.1-e2369.21|共21页
  • 作者单位

    School of Information Engineering YangzhouUniversity Yangzhou China;

    School of Information Engineering YangzhouUniversity Yangzhou China State Key Laboratory for Novel SoftwareTechnology Nanjing University Nanjing China;

    School of Information Engineering YangzhouUniversity Yangzhou China State Key Laboratory for Novel SoftwareTechnology Nanjing University Nanjing China;

    School of Information Engineering YangzhouUniversity Yangzhou China State Key Laboratory for Novel SoftwareTechnology Nanjing University Nanjing China;

    School of Computer Science and Engineering Beihang University Beijing China;

    Aviation Service Research Center Air ForceLogistics University Xuzhou Jiangsu China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    code generation; HTML-CSS code; UI component; web development;

    机译:代码;HTML-CSS代码;UI组件;Web开发;

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号