Graphical interface control image recognition method and device for interface sketch
The invention discloses a graphical interface control image recognition method and device for an interface sketch. The method comprises the following steps: preprocessing an input image; carrying outrecursive segmentation on a preprocessed image; identifying an edge rectangular frame for each segmen...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a graphical interface control image recognition method and device for an interface sketch. The method comprises the following steps: preprocessing an input image; carrying outrecursive segmentation on a preprocessed image; identifying an edge rectangular frame for each segmented image; identifying a primitive identifier in the edge rectangular frame; recognizing various types of controls according to the control types corresponding to the primitive identifiers, determining the positions of the controls on the interface according to the positions of the edge rectangularframes, forming a control layout tree used for representing hierarchical layout between the controls in combination with the recursive hierarchical relationship, and therefore designers can conveniently conduct interface layout design.
本发明公开了一种界面草图的图形界面控件图像识别的方法和装置。该方法对输入的图像进行预处理后,通过对预处理后的图像进行递归分割,对各分割后的图像识别边缘矩形框,然后识别边缘矩形框内的图元标识,根据图元标识对应的控件种类识别出各种类型的控件,并根据边缘矩形框的位置确定该控件在界面上的位置,结合递归的层次关系组成用以表示控件间的层次布局的控件布局树,从而便于设计人员进行界面布局设计 |
---|