军事知识服务平台
基于图结构的二维工程图纸结构化解析与智能检索
Structural analysis and intelligent retrieval of two-dimensional engineering drawings based on graph structure
摘要 工程图纸是机械设计与制造的核心技术文档,其信息的自动化提取与智能检索对提升设计效率,实现智能制造具有重要意义.针对传统人工提取方式效率低下、易出错,以及基于元数据的检索方式无法支持基于几何特征和工程约束的语义查询等问题,提出一种基于知识图谱的工程图纸智能检索方法.该方法采用三阶段渐进式框架实现图纸信息的精确提取:第一阶段利用YOLOv8实例分割模型将图纸划分为视图、剖面图、表格和技术要求四个异构区域,mAP50达到95.12%;第二阶段基于Faster R-CNN目标检测模型对视图中的线性尺寸、公差尺寸、几何公差、表面粗糙度等24类细粒度尺寸信息进行精确检测与分类,精确率和召回率分别达到93.7%和84.9%;第三阶段通过领域微调的PaddleOCR模型实现专业符号与文字的高精度识别,相比通用模型提升12.3个百分点.在信息提取基础上,提出基于 DBSCAN(density-based spatial clustering of applications with noise)空间聚类的特征识别方法,将邻近的尺寸标注归为同一特征并推断特征类型,为每张图纸构建特征关联图,建模特征-尺寸归属、基准约束、表面质量约束等核心工程语义关系,并将全部图纸的特征关联图聚合为统一的工程图纸知识库.基于大语言模型设计的智能检索系统实现了自然语言查询到Cypher图查询的自动转换,支持基于几何特征和工程约束的精确检索.
Abstract:
Engineering drawings are the core technical documents in mechanical design and manufacturing.The auto-matic extraction and intelligent retrieval of information from these drawings are of great significance for improving design efficiency and achieving intelligent manufacturing.Addressing the issues of low efficiency and prone to errors in the traditional manual extraction method,as well as the inability of metadata-based retrieval methods to support semantic queries based on geometric features and engineering constraints,an intelligent retrieval method for engi-neering drawings based on knowledge graphs was proposed,which used a three-stage progressive framework to a-chieve precise extraction of drawing information.In the first stage,the YOLOv8 instance segmentation model was used to divide the drawing into four heterogeneous regions:views,sectional views,tables,and technical require-ments,with an mAP50 of 95.12%;the Faster R-CNN object detection model was used to accurately detect and classify 24 types of fine-grained size information such as linear dimensions,tolerance dimensions,geometric toler-ances,and surface roughness in the second stage,with precision and recall rates of 93.7%and 84.9%respectively;the third stage used the PaddleOCR model with domain fine-tuning to achieve high-precision recognition of profes-sional symbols and text,with an improvement of 12.3 percentage points compared to the general model.Based on the information extraction,a feature recognition method was proposed based on Density-based Spatial Clustering of Applications with Noise(DBSCAN)spatial clustering,grouping adjacent dimension annotations into the same fea-ture and inferring the feature type,constructing a feature relation graph for each drawing to model core engineering semantic relationships such as feature-size attribution,reference constraints,and surface quality constraints,and aggregating all feature relation graphs into a unified engineering drawing knowledge base.An intelligent retrieval system designed based on a large language model realized the automatic conversion from natural language queries to Cypher graph queries,supporting precise retrieval based on geometric features and engineering constraints.
刊 名 计算机集成制造系统 ISTICEIPKU
年,卷(期): 2026, 32(10)
分类号: TB23 TP391.3
机标分类号: TP391 U270.2 TM351
在线出版日期: 2026年11月18日