计算机科学 > 计算机视觉与模式识别
[提交于 2019年12月31日]
标题:Learning to Infer User Interface Attributes from Images
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We explore a new domain of learning to infer user interface attributes that helps developers automate the process of user interface implementation. Concretely, given an input image created by a designer, we learn to infer its implementation which when rendered, looks visually the same as the input image. To achieve this, we take a black box rendering engine and a set of attributes it supports (e.g., colors, border radius, shadow or text properties), use it to generate a suitable synthetic training dataset, and then train specialized neural models to predict each of the attribute values. To improve pixel-level accuracy, we additionally use imitation learning to train a neural policy that refines the predicted attribute values by learning to compute the similarity of the original and rendered images in their attribute space, rather than based on the difference of pixel values. We instantiate our approach to the task of inferring Android Button attribute values and achieve 92.5% accuracy on a dataset consisting of real-world Google Play Store applications.
提交历史
来自:Pavol Bielik[v1] 2019年12月31日 星期二 09:45:59 UTC