OSSR-PID:使用路径采样和GCN在P& ID图纸中进行一次性符号识别
OSSR-PID: One-Shot Symbol Recognition in P&ID Sheets using Path Sampling and GCN
摘要:
管道和仪表图(P&ID)在一些制造业、石油和天然气企业中无处不在,用于表示工程原理图和设备布局。现在迫切需要从P& ID中提取和识别信息,而无需为每个新用例注释一组不同的符号。一种用于符号识别的鲁棒一次性学习方法,因此,本地化后再分类,将大大有助于实现这一目标。我们的方法通过沿着图像中的不同轮廓边界顺序地采样像素来工作。这些采样点形成路径,这些路径在原型线图中用于构建捕获轮廓结构的图。随后,将原型图馈送到动态图卷积神经网络(DGCNN)中,该DGCNN被训练成将图分类到给定的符号类中的一个。此外,我们附加了来自Resnet-34网络的嵌入,该网络在包含采样点的符号图像上训练,以使分类网络更加鲁棒。由于P&ID中的许多符号在结构上彼此非常相似,因此我们在DGCNN训练期间利用Arcface损失,这有助于通过产生高度区分的嵌入来最大化符号类的可分性。图像由连接在管道上的组件组成(直线)。在符号区域周围分离的采样点用于分类任务。建议的管道,命名为OSSR-PID,是快速的,并给出了出色的性能识别符号的合成数据集的100 P&ID图。我们还比较了我们的方法对以前的工作在现实世界的私人数据集的12 P&ID表,并获得可比/优越的结果。值得注意的是,它能够实现如此出色的性能,每个符号只使用一个原型示例。
英文摘要:
Piping and Instrumentation Diagrams (P&ID) are ubiquitous in several manufacturing, oil and gas enterprises for representing engineering schematics and equipment layout. There is an urgent need to extract and digitize information from P&IDs without the cost of annotating a varying set of symbols for each new use case. A robust one-shot learning approach for symbol recognition i.e., localization followed by classification, would therefore go a long way towards this goal. Our method works by sampling pixels sequentially along the different contour boundaries in the image. These sampled points form paths which are used in the prototypical line diagram to construct a graph that captures the structure of the contours. Subsequently, the prototypical graphs are fed into a Dynamic Graph Convolutional Neural Network (DGCNN) which is trained to classify graphs into one of the given symbol classes. Further, we append embeddings from a Resnet-34 network which is trained on symbol images containing sampled points to make the classification network more robust. Since, many symbols in P&ID are structurally very similar to each other, we utilize Arcface loss during DGCNN training which helps in maximizing symbol class separability by producing highly discriminative embeddings. The images consist of components attached on the pipeline (straight line). The sampled points segregated around the symbol regions are used for the classification task. The proposed pipeline, named OSSR-PID, is fast and gives outstanding performance for recognition of symbols on a synthetic dataset of 100 P&ID diagrams. We also compare our method against prior-work on a real-world private dataset of 12 P&ID sheets and obtain comparable/superior results. Remarkably, it is able to achieve such excellent performance using only one prototypical example per symbol.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。