首页|期刊导航|数码设计|基于视觉理解的前端页面自动生成技术研究

基于视觉理解的前端页面自动生成技术研究OA

Research on Visual Understanding-Based Frontend Page Auto-Generation Technology

中文摘要英文摘要

针对前端页面自动生成实践中时间成本较高的问题,文章提出基于视觉理解的前端页面自动生成技术.技术通过融合计算机视觉与深度学习,构建包含可视化交互终端、智能配置中心、数据服务中间件、动态模板渲染引擎和视觉理解辅助生成单元的完整技术框架.研究采用Vision Transformer(ViT)进行GUI原型图的视觉特征编码,结合双向LSTM网络实现语义解码,最终通过自回归方式生成符合语法规范的前端代码.实验表明,在扩充至42个token词汇表的15,328样本数据集上,本技术平均生成时间仅为105.01ms,本研究为前端开发自动化提供了新的技术路径.

Addressing the high time cost in frontend page auto-generation practices,this study proposes a visual understanding-based frontend page auto-generation technology.By integrating computer vision and deep learning,the technology constructs a comprehensive technical framework comprising a visual interaction terminal,intelligent configuration center,data service middleware,dynamic template rendering engine,and visual understanding-assisted generation unit.Vision Transformer(ViT)is employed for visual feature encoding of GUI prototypes,combined with a bidirectional LSTM network for semantic decoding.Syntactically compliant front-end code is ultimately generated through autoregressive methods.Experimental results demonstrate that on a dataset of 15,328 samples expanded to a 42-token vocabulary,the average generation time is only 105.01ms.This research provides a novel technical pathway for front-end development automation.

陈勇杰

武汉生物工程学院,武汉 430415

信息技术与安全科学

视觉理解前端页面自动生成GUI原型图深度学习

visual understandingfront-end pagesautomated generationGUI prototypesdeep learning

《数码设计》 2025 (15)

26-28,3

武汉生物工程学院2024年第一批校级科研项目,融合注意力监测的在线教学分析系统设计与实现(项目编号:24ZKY147).

评论