发明名称 Computing device, storage medium and method for processing dimension numbers using the computing device
摘要 A method for processing dimension numbers using a computing device, a first template of a dimension frame and a plurality of second templates of dimension numbers 0-9, and a numerical text data of each second template are established. A plurality of block objects are obtained by grouping all discontinuous line segments in the engineering drawing. All frame objects in the engineering drawing are obtained by matching each of the block objects with the first template. One or more remainder objects in each bounding box are obtained, and grouped to obtain one or more number objects in each of the frame objects. A matched second template of each of the number objects is obtained by matching each of the number objects with each of the second templates. The number objects in each of the frame objects are replaced by corresponding numerical text data.
申请公布号 US8909504(B2) 申请公布日期 2014.12.09
申请号 US201213433380 申请日期 2012.03.29
申请人 Hong Fu Jin Precision Industry (ShenZhen) Co., Ltd.;Hon Hai Precision Industry Co., Ltd. 发明人 Chang Chih-Kuang;Wu Xin-Yuan;Rao Jin-Gang
分类号 G06T19/00;G06K9/00;G06F17/50 主分类号 G06T19/00
代理机构 Novak Druce Connolly Bove + Quigg LLP 代理人 Novak Druce Connolly Bove + Quigg LLP
主权项 1. A computer-implemented method for processing dimension numbers using a computing device, the method comprising: (a) loading an engineering drawing of a workpiece from a storage system of the computing device, and reading discontinuous data of a selected dimension frame and dimension numbers comprising 0 to 9 in the engineering drawing; (b) establishing a first template of the selected dimension frame and a plurality of second templates of the dimension numbers according to the discontinuous data, and establishing a numerical text data of each of the second templates; (c) obtaining a plurality of block objects by grouping all discontinuous line segments in the engineering drawing; (d) obtaining all frame objects in the engineering drawing by matching each of the block objects with the first template; (e) calculating a bounding box of each of the frame objects, and obtaining the discontinuous line segments in each bounding box except the discontinuous line segments of each of the frame objects corresponding to the bounding box as one or more remainder objects in each bounding box, the one or more remainder objects representing the discontinuous data of one or more dimension numbers in each of the frame objects; (f) obtaining one or more number objects in each of the frame objects by grouping the one or more remainder objects in each bounding box; (g) obtaining a matched second template of each of the number objects by matching each of the number objects with each of the second templates; and (h) replacing the one or more number objects in each of the frame objects by corresponding numerical text data, according to the matched second template of each of the number objects and the numerical text data of each of the second templates.
地址 Shenzhen CN
您可能感兴趣的专利