收稿日期: 2019-08-01
网络出版日期: 2019-11-13
Classic machine learning for image recognition in wall column construction drawings
Received date: 2019-08-01
Online published: 2019-11-13
提出了基于经典机器学习的、旨在利用计算机高效的识别图纸能力的、提高审图效率的施工图图像识别方法. 首先, 使用 $K$ 均值($K$-means)算法对墙柱施工图进行聚类, 在聚类基础上搜索局部边界并划分字符; 然后, 使用 $k$-邻近($k$-nearest neighbor, kNN)算法对字符进行识别, 得到墙柱施工图的墙柱名称和配筋信息. 此外, 提出了一种高效计算剪力墙施工图中墙柱面积的影射求和算法. 分别任意取 2 张墙柱施工图进行实验, 研究结果表明: 影射求和算法对墙柱施工图字符识别准确率分别达到 99.60% 和 99.40%, 对面积的识别误差率分别为 0.66% 和 0.34%, 可见该算法对墙柱施工图识别有较好的效果, 可以将墙柱施工图中的主要信息一次性输出为可编辑的文本格式, 具有一定的工程应用价值.
陶立, 朱杰江, 蔡洪浩 . 基于经典机器学习的墙柱施工图图像识别[J]. 上海大学学报(自然科学版), 2021 , 27(5) : 940 -949 . DOI: 10.12066/j.issn.1007-2861.2196
Drawing review is important in the engineering design field, and efficient and accurate drawing review is a direction for future development. In recent years, the field of artificial intelligence has developed rapidly. This paper proposes an image recognition method based on classic machine learning that aims to use a computer to identify drawings efficiently and improve the efficiency of drawing review. First, the $K$-means algorithm is used to cluster wall column construction drawings, and based on the clustering, the local boundaries are searched, and the characters are divided. Subsequently, the $k$-nearest neighbour (kNN) model is used to identify the characters, and the reinforcement information of the wall column construction drawings is obtained. In addition, this paper proposes the Shadow-Sum method, an algorithm that can efficiently calculate the wall column area in shear wall construction drawings. Experiments are performed by randomly taking two wall column construction drawings. The results reveal that the accuracy of character recognition for the two wall column construction drawings is 99.6% and 99.4%. The recognition error rates for the areas are 0.66% and 0.34%. Column construction drawing identification is beneficial because the main information in wall column construction drawings can be output as editable text, which has certain engineering application value.
| [1] | Bostik O, Klecka J. Recognition of CAPTCHA characters by supervised machine learning algorithms[J]. IFAC-PapersOnLine, 2018, 51(6): 208-213. |
| [2] | Dekhtiar J, Durupt A, Bricogne M, et al. Deep learning for big data applications in CAD and PLM-research review, opportunities and case study[J]. Computers in Industry, 2018, 100: 227-243. |
| [3] | Serrat J, Lumbreras F, López A M. Cost estimation of custom hoses from STL files and CAD drawings[J]. Computers in Industry, 2013, 64(3): 299-309. |
| [4] | Macqueen J. Some methods for classification and analysis of multivariate observations[C]// Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability. 1967: 281-297. |
| [5] | Cover T M, Hart P. Nearest neighbor pattern classification[J]. IEEE Transactions on Information Theory, 1967, 13(1): 21-27. |
| [6] | Xiao J. SVM and KNN ensemble learning for traffic incident detection[J]. Physica A: Statistical Mechanics and its Applications, 2019, 517: 29-35. |
| [7] | 中华人民共和国住房城乡建设部. 混凝土结构施工图平面整体表示方法制图规则和构造详图: 16G101-1, [S]. 北京: 中国计划出版社, 2016. |
| [7] | Ministry of Housing and Urban-Rural Development of the People's Republic of China. Drafting rules and construction details of concrete structure drawing plan overall representation: 16G101-1 [S]. Beijing: China Planning Press, 2016. |
| [8] | Maitre J, Bouchard K, Bédard L P. Mineral grains recognition using computer vision and machine learning[J]. Computers and Geosciences, 2019, 130: 84-93. |
| [9] | Khare V, Shivakumara P, Chan C S, et al. A novel character segmentation-reconstruction approach for license plate recognition[J]. Expert Systems with Applications, 2019, 131: 219-239. |
| [10] | Gou J, Qiu W, Yi Z, et al. Locality constrained representation-based $K$-nearest neighbor classification[J]. Knowledge-Based Systems, 2019, 167: 38-52. |
| [11] | 冯海林, 胡明越, 杨垠晖, 等. 基于树木整体图像和集成迁移学习的树种识别[J]. 农业机械学报, 2019, 50(8): 235-242; 279. |
| [11] | Feng H L, Hu M Y, Yang Y H, et al. Tree species recognition based on overall tree image and ensemble of transfer learning[J]. Transactions of the Chinese Society of Agricultural Machinery, 2019, 50(8): 235-242; 279. |
/
| 〈 |
|
〉 |