JP7664693B2 - Drawing recognition device and drawing recognition program - Google Patents
Drawing recognition device and drawing recognition program Download PDFInfo
- Publication number
- JP7664693B2 JP7664693B2 JP2020167393A JP2020167393A JP7664693B2 JP 7664693 B2 JP7664693 B2 JP 7664693B2 JP 2020167393 A JP2020167393 A JP 2020167393A JP 2020167393 A JP2020167393 A JP 2020167393A JP 7664693 B2 JP7664693 B2 JP 7664693B2
- Authority
- JP
- Japan
- Prior art keywords
- symbol
- information
- unit
- drawing data
- attribute
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Image Analysis (AREA)
Description
本開示は、図面認識装置および図面認識プログラムに関するものである。 This disclosure relates to a drawing recognition device and a drawing recognition program.
文字または記号が混在する図面において、当該図面上に存在する文字または記号等を認識し、その対応関係を判定する図面認識技術が知られている。
例えば、特許文献1には、文字または記号が混在する図面データにおいて、個別に認識された文字がどの記号または配管に対応しているかの対応関係を、事前に用意された、文字と記号との間の相互の位置関係の配置知識をもとに判定する図面認識技術が開示されている。
2. Description of the Related Art Drawing recognition techniques are known that recognize characters or symbols present on a drawing containing a mixture of characters and symbols and determine their correspondence.
For example,
特許文献1に開示されているような従来技術では、図面認識を行うにあたり、文字と記号等の対応関係について判定するには、事前に配置知識が準備されていなければならないという課題があった。
In conventional technology such as that disclosed in
本開示は上記のような課題を解決するためになされたもので、配置知識を必要とすることなく、文字と記号との対応関係を判定することを可能とした図面認識装置を提供することを目的とする。 This disclosure has been made to solve the above problems, and aims to provide a drawing recognition device that is capable of determining the correspondence between characters and symbols without requiring knowledge of placement.
本開示に係る図面認識装置は、図面データを取得する図面取得部と、図面取得部が取得した図面データと、図面データを入力とし当該図面データ上のシンボル、属性、および、シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、図面取得部が取得した図面データにおける、シンボルの位置情報を含むシンボルに関する情報、図面取得部が取得した図面データにおける、属性の位置情報を含む属性に関する情報、および、図面取得部が取得した図面データにおける、接続線の位置情報を含む接続線に関する情報を認識する認識部と、認識部が認識した、シンボルに関する情報、属性に関する情報、および、接続線に関する情報に基づいて、図面取得部が取得した図面データにおけるシンボルと属性と他のシンボルとの対応関係を判定する判定部とを備え、判定部は、認識部が認識した、シンボル、属性、および、接続線に関する情報と、シンボルと当該シンボルと関連する属性が図面データ上でともに示される回数であらわされる、図面データ上にて示されるシンボルと属性の関連度、または、シンボルと当該シンボルの接続先となる接続先シンボルが図面データ上で接続されて示される回数であらわされる、シンボル同士の接続の関連度、に関する関連度情報とに基づいて、図面取得部が取得した図面データにおけるシンボルと属性と他のシンボルとの対応関係を判定するものである。 The drawing recognition device according to the present disclosure includes a drawing acquisition unit that acquires drawing data, a recognition unit that recognizes information about symbols, including position information of the symbols, information about attributes, including position information of the attributes, in the drawing data acquired by the drawing acquisition unit, and information about connection lines, including position information of the connection lines, in the drawing data acquired by the drawing acquisition unit, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols, and information about the symbols, attributes, and connection lines recognized by the recognition unit. and a determination unit which determines the correspondence between the symbols, attributes, and other symbols in the drawing data acquired by the drawing acquisition unit based on information regarding the symbols, attributes, and connection lines recognized by the recognition unit, and on the basis of association information regarding the degree of association between the symbols and attributes shown on the drawing data, which is represented by the number of times a symbol and an attribute related to the symbol are shown together on the drawing data, or on the degree of association between connections between symbols, which is represented by the number of times a symbol and a destination symbol to which the symbol is connected are shown connected on the drawing data .
本開示によれば、配置知識を必要とすることなく文字と記号との対応関係を判定することができる。 According to this disclosure, it is possible to determine the correspondence between characters and symbols without requiring placement knowledge.
以下、本開示の実施の形態について、図面を参照しながら詳細に説明する。
実施の形態1.
Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
図1は、実施の形態1に係る図面認識装置100の構成例を示す図である。
図面認識装置100は、操作入力装置200および表示装置300と接続される。
操作入力装置200は、例えば、キーボード201およびマウス202を備える。
表示装置300は、ディスプレイ301を備える。ディスプレイ301は、例えば、液晶ディスプレイまたは有機EL(Electro Luminescence)ディスプレイである。表示装置300は、操作入力装置200に搭載されていてもよい。
FIG. 1 is a diagram showing an example of a configuration of a
The
The
The
操作入力装置200は、図面認識装置100のユーザによる、図面認識装置100に対する操作を受け付ける。
例えば、ユーザは、操作入力装置200が備えるキーボード201またはマウス202を操作して、図面認識装置100に入力する情報を入力する。具体的には、ユーザは、キーボード201またはマウス202を操作して、例えば、イメージ図面1の一覧、または、図面特性情報2の一覧を表示装置300のディスプレイ301に表示させ、イメージ図面1および図面特性情報2を選択する。
The
For example, the user operates the
ここで、図2は、実施の形態1におけるイメージ図面1の一例のイメージを説明するための図である。
イメージ図面1は、例えば、図2に示すような回路図が印刷された紙の図面を、スキャナ等により電子化した図面データである。イメージ図面1は、例えば、図2に示すような回路図が印刷された紙の図面を、計算機上で作成した電子データであってもよい。イメージ図面1のフォーマットは、例えば、jpgまたはtiff形式等の画像フォーマット全般である。
実施の形態1では、一例として、イメージ図面1は、回路図を電子化した図面データとする。
Here, FIG. 2 is a diagram for explaining an example of an image of image drawing 1 in the first embodiment.
The
In the first embodiment, as an example, the
図3は、実施の形態1における図面特性情報2の一例のイメージを説明するための図である。
図面特性情報2は、イメージ図面1毎に設定される、当該イメージ図面1の特性に関する情報である。具体的には、図面特性情報2は、名称またはID等、イメージ図面1を特定可能な情報と、当該イメージ図面1の用途と、当該イメージ図面1が用いられる機種を対応付けた情報である。実施の形態1では、図面特性情報2は、例えば、名称またはID等、回路図を特定可能な情報と、当該回路図の用途と、当該回路図が用いられる機種を対応付けた情報である。
なお、ここでは、図面特性情報2はテキストデータとするが、これは一例に過ぎない。図面特性情報2は、図面と図面の特性とが関連付けられた情報となっていればよい。
FIG. 3 is a diagram for explaining an image of an example of drawing
The
In this embodiment, the
例えば、複数のイメージ図面1が、予め、図面認識装置100および操作入力装置200が参照可能な場所に備えられている図面記録部(図示省略)に格納されている。また、図面特性情報2は、予め、関連度記録部106(詳細は後述する)に格納されている。
ユーザは、例えば、キーボード201またはマウス202を操作して、図面認識装置100に対して、ディスプレイ301に、図面記録部に格納されている複数のイメージ図面1の一覧、および、関連度記録部106に格納されている図面特性情報2を表示させる。そして、ユーザは、例えば、キーボード201またはマウス202を操作して、表示させたイメージ図面1の一覧から所望のイメージ図面1を選択し、選択した当該イメージ図面1に対応する図面特性情報2を選択する。
操作入力装置200は、ユーザが選択したイメージ図面1および図面特性情報2を受け付ける。操作入力装置200が受け付けたイメージ図面1および図面特性情報2は、図面認識装置100に入力される。
For example, a plurality of
The user, for example, operates the
The
図面認識装置100は、操作入力装置200から入力されたイメージ図面1および図面特性情報2に基づいて、イメージ図面1の図面認識を行う。
なお、実施の形態1において、図面認識装置100が行う図面認識とは、イメージ図面1上において、1つ以上のシンボルに関する情報(以下「シンボル情報」という。)、当該シンボルに関連づけられた属性に関する情報(以下「属性情報」という。)、当該シンボル同士の接続線に関する情報(以下「接続線情報」という。)、および、シンボルと属性と接続線との対応関係を認識することをいう。
シンボル情報は、例えば、シンボルの数、各シンボルの位置情報、各シンボルの種別、および、各シンボルの確度の情報を含む。属性情報は、例えば、属性の数、各属性の位置情報、各属性の種別、および、各属性の確度の情報を含む。接続線情報は、接続線の数、各接続線の位置情報、各接続線の種別、および、各接続線の確度の情報を含む。なお、実施の形態1において、「確度」とは、確からしさの確率をいう。例えば、シンボルの確度とはシンボルらしさの確率をいい、属性の確度とは属性らしさの確率をいい、接続線の確度とは接続線らしさの確率をいう。
The
In addition, in
The symbol information includes, for example, the number of symbols, position information of each symbol, the type of each symbol, and information on the accuracy of each symbol. The attribute information includes, for example, the number of attributes, position information of each attribute, the type of each attribute, and information on the accuracy of each attribute. The connection line information includes, for example, the number of connection lines, position information of each connection line, the type of each connection line, and information on the accuracy of each connection line. Note that in the first embodiment, "accuracy" refers to the probability of accuracy. For example, the accuracy of a symbol refers to the probability that it is a symbol, the accuracy of an attribute refers to the probability that it is an attribute, and the accuracy of a connection line refers to the probability that it is a connection line.
実施の形態1において、イメージ図面1におけるシンボルとは、例えば、イメージ図面1上で示されている部品とする。また、イメージ図面1における属性とは、例えば、シンボルと関連付けられている、当該シンボルを特定するための文字とする。具体的には、実施の形態1において、属性とは、部品の器具番号または部品の名称等を示す文字とする。また、イメージ図面1における接続線とは、例えば、シンボル同士を接続する線とする。なお、実施の形態1では、接続線は、交点も含むものとする。
In the first embodiment, a symbol in the
図面認識装置100は、図面取得部101、認識部102、推論器格納部103、判定部104、部品記録部105、関連度記録部106、生成部107、比較部108、一致データ記録部109、不一致データ記録部110、および、図面表示部111を備える。
推論器格納部103は、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を格納している。
第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133は、イメージ図面1および図面特性情報2を入力として、イメージ図面1の図面認識を行った結果に関する情報を出力するよう学習済みのモデルとする。以下の実施の形態1において、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を、まとめて、単に「機械学習モデル」ともいう。
The drawing
The inference
The first
より詳細には、実施の形態1において、第1機械学習モデル131は、イメージ図面1および図面特性情報2を入力とし、イメージ図面1上のシンボル情報を認識した結果(以下「シンボル認識結果」という。)を出力する機械学習モデルである。すなわち、実施の形態1において、第1機械学習モデル131は、シンボル情報認識用の機械学習モデルである。
第2機械学習モデル132は、イメージ図面1および図面特性情報2を入力とし、イメージ図面1上のシンボルに関連付けられた属性情報を認識した結果(以下「属性認識結果」という。)を出力する機械学習モデルである。すなわち、実施の形態1において、第2機械学習モデル132は、属性情報認識用の機械学習モデルである。
第3機械学習モデル133は、イメージ図面1上のシンボル同士の接続線情報を認識した結果(以下「接続線認識結果」という。)を出力する機械学習モデルである。すなわち、実施の形態1において、第3機械学習モデル133は、接続線情報認識用の機械学習モデルである。
More specifically, in the first embodiment, the first
The second
The third
機械学習モデルは、学習装置400(後述の図14参照)が機械学習における学習を実行して生成する。学習装置400の詳細については、後述する。
The machine learning model is generated by the learning device 400 (see FIG. 14 described later) performing machine learning learning. Details of the
図面取得部101は、ユーザから操作入力装置200を介して入力されたイメージ図面1および図面特性情報2を取得する。
図面取得部101は、イメージ図面1に対して所定の処理を行い、推論データを生成する。
上述のとおり、図面認識装置100は、イメージ図面1を機械学習モデルに入力して、当該イメージ図面1の図面認識結果を得る。ここで、機械学習モデルの入力とする画像サイズには制限がある。具体的には、例えば、イメージ図面1が、画像サイズ1920×1080ピクセルのFHD(Full High Definition)である場合、機械学習モデルの入力とすることが可能な画像サイズの上限を超える。
そこで、図面取得部101は、取得したイメージ図面1を、例えば、224×224ピクセルのサイズ毎のデータになるよう分割し、分割したデータを推論データとする。イメージ図面1を分割する間隔は、上下左右に、224×224ピクセルのサイズに等間隔で分割すればよく、イメージ図面1を分割する際に重複する部分があってもよい。
なお、図面取得部101は、例えば、取得したイメージ図面1が、機械学習モデルの入力とすることが可能なサイズの制限内であれば、上述したような処理を行う必要はなく、取得したイメージ図面1を推論データとすればよい。
図面取得部101は、イメージ図面1に基づき生成した推論データ、および、取得した図面特性情報2を、認識部102に出力する。
The
The
As described above, the drawing
Therefore, the
In addition, for example, if the acquired image drawing 1 is within the size limit that allows it to be used as input to a machine learning model, the
The
なお、ここでは、上述したようなイメージ図面1の分割を図面取得部101が行うものとするが、これは一例に過ぎない。例えば、イメージ図面1の分割を、後述の認識部102が行うようにしてもよい。この場合、図面取得部101は、取得したイメージ図面1をそのまま後述の認識部102に出力し、後述の認識部102が、機械学習モデルを用いた推論を行う際に、必要に応じてイメージ図面1の分割を行う。
Note that, although it is assumed here that the division of image drawing 1 as described above is performed by drawing
認識部102は、図面取得部101から出力された推論データおよび図面特性情報2に基づき、推論器格納部103にて格納されている第1機械学習モデル131、第2機械学習モデル132、または、第3機械学習モデル133を用いた推論を行うことで、シンボル認識結果、属性認識結果、または、接続線認識結果を取得する。これにより、認識部102は、シンボル情報、属性情報、または、接続線情報を認識する。
認識部102は、推論結果、言い換えれば、シンボル認識結果、属性認識結果、または、接続線認識結果を判定部104に出力する。
The
The
ここで、図4は、実施の形態1に係る図面認識装置100が備える認識部102の詳細な構成例を示す図である。
なお、図4では、説明の簡単のため、図1にて示した図面認識装置100の構成例のうち、図面取得部101、認識部102、および、推論器格納部103のみ示している。
図4に示すように、認識部102は、シンボル認識部1021、属性情報認識部1022、および、接続線認識部1023を備える。
FIG. 4 is a diagram showing a detailed configuration example of the recognizing
For ease of explanation, FIG. 4 shows only the
As shown in FIG. 4, the
シンボル認識部1021は、図面取得部101から出力された推論データおよび図面特性情報2と、第1機械学習モデル131とに基づいて、シンボル認識結果を取得する。
具体的には、シンボル認識部1021は、推論データを解析して当該推論データから画像特徴量を抽出する。また、シンボル認識部1021は、図面特性情報2を解析して当該図面特性情報2から特徴量を抽出する。シンボル認識部1021は、図面特性情報2から、特徴量を、例えば、「家電」であれば「0」、「配電盤」であれば「1」、「車」であれば「2」のように、数値として抽出する。
シンボル認識部1021は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第1機械学習モデル131に入力して、シンボル認識結果を取得する。
実施の形態1において、シンボル認識部1021は、推論データおよび図面特性情報2と、第1機械学習モデル131とに基づき、シンボル認識結果として、推論データ上のシンボルの数、各シンボルの位置情報、各シンボルの種別、および、各シンボルの確度等を取得する。
シンボル認識部1021は、取得したシンボル認識結果を、判定部104に出力する。
The
Specifically, the
The
In
The
属性情報認識部1022は、図面取得部101から出力された推論データおよび図面特性情報2と、第2機械学習モデル132とに基づいて、属性認識結果を取得する。
具体的には、属性情報認識部1022は、推論データを解析して当該推論データから画像特徴量を抽出する。また、属性情報認識部1022は、図面特性情報2を解析して当該図面特性情報2から特徴量を抽出する。
属性情報認識部1022は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第2機械学習モデル132に入力して、属性認識結果を取得する。
実施の形態1において、属性情報認識部1022は、推論データおよび図面特性情報2と、第2機械学習モデル132とに基づき、属性認識結果として、推論データ上の属性の数、各属性の位置情報、各属性の種別、および、各属性の確度等を取得する。
属性情報認識部1022は、取得した属性認識結果を、判定部104に出力する。
The attribute
Specifically, the attribute
The attribute
In
The attribute
接続線認識部1023は、図面取得部101から出力された推論データおよび図面特性情報2と、第3機械学習モデル133とに基づいて、接続線認識結果を取得する。
具体的には、接続線認識部1023は、推論データを解析して当該推論データから画像特徴量を抽出する。また、接続線認識部1023は、図面特性情報2を解析して当該図面特性情報2から特徴量を抽出する。
接続線認識部1023は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第3機械学習モデル133に入力して、接続線認識結果を取得する。
実施の形態1において、接続線認識部1023は、推論データおよび図面特性情報2と、第3機械学習モデル133とに基づき、接続線認識結果として、推論データ上の接続線の数、各接続線の位置情報、各接続線の種別、および、各接続線の確度等を接続線認識結果として取得する。
接続線認識部1023は、取得した接続線認識結果を、判定部104に出力する。
The connection
Specifically, the connection
The connection
In
The connection
認識部102による、推論データと図面特性情報2と機械学習モデルとに基づく推論について、図5を用いて具体的に説明する。
図5は、実施の形態1において、シンボル認識部1021が取得したシンボル認識結果、属性情報認識部1022が取得した属性認識結果、および、接続線認識部1023が取得した接続線認識結果の一例のイメージを示す図である。図5Aは、シンボル認識結果、属性認識結果、および、接続線認識結果を、図面取得部101が取得したイメージ図面1にマッピングしたイメージを示しており、図5Bは、シンボル認識結果、属性認識結果、および、接続線認識結果の内容をテキストで示したイメージを示している。
The inference performed by the
5A and 5B are diagrams showing examples of the symbol recognition result acquired by the
なお、図5Aと図5Bとはリンクしている。具体的には、例えば、図5Aにて511,512,513で示すシンボルは、それぞれ、図5BにおけるシンボルNo.1の「リレー(a)」、シンボルNo.2の「リレー(b)」、シンボルNo.3の「ヒューズ」と対応している。また、例えば、図5Aにて521,522,523,524で示す属性は、それぞれ、図5Bにおける属性No.1の「30X004」、属性No.2の「30X003」、属性No.3の「FL3」、属性No.5の「62LCTX」と対応している。また、例えば、図5Aにて531,532,533,534で示す接続線は、図5Bにおける接続線No.2,5,6,7の接続線に対応している。 Note that Figure 5A and Figure 5B are linked. Specifically, for example, the symbols indicated by 511, 512, and 513 in Figure 5A correspond to the symbol No. 1 "relay (a)", the symbol No. 2 "relay (b)", and the symbol No. 3 "fuse" in Figure 5B, respectively. Also, for example, the attributes indicated by 521, 522, 523, and 524 in Figure 5A correspond to the attribute No. 1 "30X004", the attribute No. 2 "30X003", the attribute No. 3 "FL3", and the attribute No. 5 "62LCTX", respectively, in Figure 5B. Also, for example, the connection lines indicated by 531, 532, 533, and 534 in Figure 5A correspond to the connection lines No. 2, 5, 6, and 7 in Figure 5B.
イメージ図面1、言い換えれば、推論データ上のシンボル、属性、および、接続線は、イメージ図面1上において矩形領域にて認識される。
図5Aでは、認識されたシンボルを示す矩形領域、認識された属性を示す矩形領域、および、認識された接続線を示す矩形領域を、図面取得部101が取得したイメージ図面1にマッピングしたイメージを示している。
図5Bでは、例えば、シンボル認識結果には、シンボル名と、認識されたシンボルの位置情報とが含まれるものとしている。シンボルの位置は、イメージ図面1上においてシンボルを示す矩形領域の、X座標の最小値および最大値と、Y座標の最小値および最大値であらわされる。なお、図5Bにおいて示されている各座標は、図5Aにおいて、図上の左上を原点とした座標としている。
また、図5Bでは、例えば、属性認識結果には、属性、言い換えれば、文字と、認識された文字の位置情報とが含まれるものとしている。文字の位置は、イメージ図面1上において文字を示す矩形領域の、X座標の最小値および最大値と、Y座標の最小値および最大値であらわされる。
また、図5Bでは、例えば、接続線認識結果には、接続線の種別と、認識された接続線の位置情報とが含まれるものとしている。接続線の位置は、イメージ図面1上において接続線を示す矩形領域の、X座標の最小値および最大値と、Y座標の最小値および最大値であらわされる。
The symbols, attributes, and connection lines on the image drawing 1, in other words, the inference data, are recognized in rectangular areas on the image drawing 1.
Figure 5A shows an image in which a rectangular area indicating a recognized symbol, a rectangular area indicating a recognized attribute, and a rectangular area indicating a recognized connecting line are mapped onto image drawing 1 acquired by drawing
In Fig. 5B, for example, the symbol recognition result includes the symbol name and the position information of the recognized symbol. The position of the symbol is represented by the minimum and maximum values of the X coordinate and the minimum and maximum values of the Y coordinate of a rectangular area showing the symbol on the image drawing 1. Note that each coordinate shown in Fig. 5B is the coordinate with the upper left corner of the drawing as the origin in Fig. 5A.
5B, for example, the attribute recognition result includes the attribute, in other words, the character, and the position information of the recognized character. The position of the character is represented by the minimum and maximum values of the X coordinate and the minimum and maximum values of the Y coordinate of a rectangular area showing the character on the image drawing 1.
5B, for example, the connection line recognition result includes the type of the connection line and position information of the recognized connection line. The position of the connection line is represented by the minimum and maximum values of the X coordinate and the minimum and maximum values of the Y coordinate of a rectangular area showing the connection line on the image drawing 1.
なお、図5A、図5Bに示すシンボル認識結果、属性認識結果、および、接続線認識結果の内容は一例に過ぎない。シンボル認識結果、属性認識結果、または、接続線認識結果には、ID等、図5A、図5Bに示した情報以外の情報が含まれていてもよい。 Note that the contents of the symbol recognition results, attribute recognition results, and connection line recognition results shown in Figures 5A and 5B are merely examples. The symbol recognition results, attribute recognition results, and connection line recognition results may include information other than the information shown in Figures 5A and 5B, such as an ID.
図1の説明に戻る。
推論器格納部103は、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を格納する。
Returning to the explanation of FIG.
The inference
判定部104は、認識部102が出力したシンボル認識結果、属性認識結果、および、接続線認識結果と、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する。
また、判定部104は、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。不一致データ記録部110に格納されている不一致データの詳細については、後述する。
The
Furthermore, the
部品記録部105に格納されている部品情報、および、関連度記録部106に格納されている関連度情報について、説明する。
The part information stored in the
図6は、実施の形態1において、部品記録部105が格納している部品情報の内容のイメージの一例を説明するための図である。
部品情報は、イメージ図面1において示される部品に関する情報である。
具体的には、部品情報は、例えば、図6に示すように、部品の器具番号および部品コードが含まれる部品リストデータである。
なお、実施の形態1において、部品は、イメージ図面1上においてシンボルとして示される。
FIG. 6 is a diagram for explaining an example of an image of the contents of part information stored in
The part information is information relating to the part shown in the image drawing 1.
Specifically, the part information is, for example, part list data including the tool number and part code of the part, as shown in FIG.
In the first embodiment, the parts are shown as symbols on the image drawing 1.
図7は、実施の形態1において、関連度記録部106が格納している関連度情報の内容のイメージの一例を説明するための図である。
関連度情報は、例えば、ユーザによって、予め生成され、関連度記録部106に記録されている。ユーザは、例えば、イメージ図面1と図面特性情報2とに基づいて、関連度情報を予め生成しておく。実施の形態1において、関連度情報は、図7に示すように、シンボル-属性情報(図7において701で示す)、シンボル-接続情報(図7において702で示す)、用途関連度情報(図7において703,704で示す)、および、機種関連度情報(図7において705,706で示す)を含む。
FIG. 7 is a diagram for explaining an example of an image of the contents of the relevance information stored in
The relevance information is generated in advance by, for example, a user and recorded in the
シンボル-属性情報は、シンボル毎に、当該シンボルと、当該シンボルと関連する属性との関連度が定義された情報である。シンボル-属性情報において、シンボル毎に、関連する属性と、当該属性がイメージ図面1上でシンボルとともに示される回数とが対応付けられて定義されている。例えば、ユーザは、予め、学習フェーズにて使用する複数のイメージ図面1に基づいてシンボル-属性情報を生成している。シンボル-属性情報にて定義されている回数は、シンボル-属性情報の生成に用いられたイメージ図面1、言い換えれば、学習フェーズにおいて使用されるイメージ図面1上で、シンボルと関連付けられた属性が出現する回数を示す。
シンボル-属性情報において、シンボル、属性、および、シンボルと関連付けられた属性の出現頻度が対応付けられた情報には、それぞれ、IDが付与されている。
The symbol-attribute information is information that defines, for each symbol, the degree of association between the symbol and an attribute related to the symbol. In the symbol-attribute information, for each symbol, an associated attribute is defined in association with the number of times that attribute is shown together with the symbol on the image drawing 1. For example, a user generates symbol-attribute information in advance based on
In the symbol-attribute information, an ID is assigned to each of the information associating the symbol, the attribute, and the occurrence frequency of the attribute associated with the symbol.
シンボル-接続情報は、シンボル毎に、当該シンボルと、当該シンボルと接続される他のシンボルとの関連度が定義された情報である。シンボル-接続情報において、シンボル毎に、接続先となるシンボル(以下「接続先シンボル」という。)と、当該接続先シンボルがイメージ図面1上でシンボルと接続されて示される回数とが対応付けられて定義されている。例えば、ユーザは、予め、学習フェーズにて使用する複数のイメージ図面1に基づいてシンボル-接続情報を生成している。シンボル-接続情報にて定義されている回数は、シンボル-接続情報の生成に用いられたイメージ図面1、言い換えれば、学習フェーズにおいて使用されるイメージ図面1上で、接続先シンボルが出現する回数を示す。
シンボル-接続情報において、シンボル、接続先シンボル、および、接続先シンボルの出現頻度が対応付けられた情報には、それぞれ、IDが付与されている。
The symbol-connection information is information that defines, for each symbol, the degree of association between that symbol and other symbols connected to that symbol. In the symbol-connection information , for each symbol, a symbol that is a destination of connection (hereinafter referred to as a "destination symbol") and the number of times that the destination symbol is shown connected to the symbol on the image drawing 1 are defined in association with each other. For example, the user generates the symbol-connection information in advance based on
In the symbol-connection information, an ID is assigned to each of the pieces of information in which a symbol, a connected symbol, and the frequency of appearance of the connected symbol are associated with each other.
用途関連度情報は、シンボル-属性用途関連度情報(図7において703で示す)と、シンボル-接続用途関連度情報(図7において704で示す)を含む。
シンボル-属性用途関連度情報は、イメージ図面1が用いられる用途毎に、シンボルと属性との関連度が定義された情報である。より詳細には、シンボル-属性用途関連度情報は、イメージ図面1における、シンボル-属性情報にて定義されているシンボルと属性の組み合わせの出現頻度を、用途毎に分類した情報である。シンボル-属性用途関連度情報では、用途毎に、関連付けられたシンボルおよび属性を示す情報と、当該関連付けられたシンボルおよび属性の組み合わせが出現する回数が対応付けられている。
関連付けられたシンボルおよび属性を示す情報は、例えば、シンボル-属性情報におけるIDとする。すなわち、図7の703に示すシンボル-属性用途関連度情報では、「家電」の用途で用いられるイメージ図面1において、「リレー(a)」と「30X004」との組み合わせが、22回出現することを意味している。
例えば、ユーザは、予め、学習フェーズにて使用する複数のイメージ図面1と、生成したシンボル-属性情報とに基づいて、シンボル-属性用途関連度情報を生成している。なお、ユーザは、図3に示すような図面特性情報2に基づけば、イメージ図面1の用途を特定できる。
The usage association information includes symbol-attribute usage association information (indicated by 703 in FIG. 7) and symbol-connection usage association information (indicated by 704 in FIG. 7).
The symbol-attribute usage association information is information that defines the association between a symbol and an attribute for each purpose for which the image drawing 1 is used. More specifically, the symbol-attribute usage association information is information that classifies, for each purpose, the frequency of appearance of combinations of symbols and attributes defined in the symbol-attribute information in the image drawing 1. In the symbol-attribute usage association information, for each purpose, information indicating associated symbols and attributes is associated with the number of times the combination of the associated symbols and attributes appears.
The information indicating the associated symbol and attribute may be, for example, an ID in the symbol-attribute information. That is, the symbol-attribute use association information shown in 703 in Fig. 7 indicates that the combination of "relay (a)" and "30X004" appears 22 times in image drawing 1 used for the purpose of "home appliances."
For example, the user generates symbol-attribute use relevance information in advance based on
シンボル-接続用途関連度情報は、イメージ図面1が用いられる用途毎に、シンボルと接続先シンボルとの関連度が定義された情報である。より詳細には、シンボル-接続用途関連度情報は、イメージ図面1における、シンボル-接続情報にて定義されているシンボルと接続先シンボルの組み合わせの出現頻度を、用途毎に分類した情報である。シンボル-接続用途関連度情報では、用途毎に、関連付けられたシンボルおよび接続先シンボルを示す情報と、当該関連付けられたシンボルおよび接続先シンボルの組み合わせが出現する回数が対応付けられている。
関連付けられたシンボルおよび接続先シンボルを示す情報は、例えば、シンボル-接続情報におけるIDとする。すなわち、図7の704に示すシンボル-接続用途関連度情報では、「家電」の用途で用いられるイメージ図面1において、「リレー(a)」と「抵抗」との組み合わせが、5回出現することを意味している。
例えば、ユーザは、予め、学習フェーズにて使用する複数のイメージ図面1と、生成したシンボル-接続情報とに基づいて、シンボル-接続用途関連度情報を生成している。
The symbol-connection usage association information is information that defines the association between a symbol and a destination symbol for each purpose for which the image drawing 1 is used. More specifically, the symbol-connection usage association information is information that classifies, for each purpose, the frequency of occurrence of a combination of a symbol and a destination symbol defined in the symbol-connection information in the image drawing 1. In the symbol-connection usage association information, for each purpose, information indicating an associated symbol and a destination symbol is associated with the number of times the combination of the associated symbol and the destination symbol occurs.
The information indicating the associated symbol and the connected symbol may be, for example, an ID in the symbol-connection information. That is, the symbol-connection use association information shown in 704 in Fig. 7 indicates that the combination of "relay (a)" and "resistor" appears five times in image drawing 1 used for the purpose of "home appliances."
For example, the user generates symbol-connection usage relevance information in advance based on a plurality of
機種関連度情報は、シンボル-属性機種関連度情報(図7において705で示す)と、シンボル-接続機種関連度情報(図7において706で示す)を含む。
シンボル-属性機種関連度情報は、イメージ図面1が用いられる機器の機種毎に、シンボルと属性との関連度が定義された情報である。より詳細には、機種関連度情報は、イメージ図面1における、シンボル-属性情報にて定義されているシンボルと属性の組み合わせの出現頻度を、機種毎に分類した情報である。シンボル-属性機種関連度情報では、機種毎に、関連付けられたシンボルおよび属性を示す情報と、当該関連付けられたシンボルおよび属性の組み合わせが出現する回数が対応付けられている。
関連付けられたシンボルおよび属性を示す情報は、例えば、シンボル-属性情報におけるIDとする。すなわち、図7の705に示すシンボル-属性機種関連度情報では、機種「N-1001A」で用いられるイメージ図面1において、「リレー(a)」と「30X004」との組み合わせが、18回出現することを意味している。
例えば、ユーザは、予め、学習フェーズにて使用する複数のイメージ図面1と、生成したシンボル-属性情報とに基づいて、シンボル-属性機種関連度情報を生成している。なお、ユーザは、図3に示すような図面特性情報2に基づけば、イメージ図面1の機種を特定できる。
The model relevance information includes symbol-attribute model relevance information (indicated by 705 in FIG. 7) and symbol-connection model relevance information (indicated by 706 in FIG. 7).
The symbol-attribute model relevance information is information that defines the relevance between symbols and attributes for each model of equipment in which the image drawing 1 is used. More specifically, the model relevance information is information that classifies, for each model, the frequency of appearance of combinations of symbols and attributes defined in the symbol-attribute information in the image drawing 1. In the symbol-attribute model relevance information, for each model, information indicating associated symbols and attributes is associated with the number of times the combination of the associated symbol and attribute appears.
The information indicating the associated symbol and attribute is, for example, an ID in the symbol-attribute information. That is, in the symbol-attribute model association information shown in 705 in Fig. 7, it means that the combination of "relay (a)" and "30X004" appears 18 times in image drawing 1 used for model "N-1001A".
For example, the user generates symbol-attribute model relevance information in advance based on
シンボル-接続機種関連度情報は、イメージ図面1が用いられる機器の機種毎に、シンボルと接続先シンボルとの関連度が定義された情報である。より詳細には、シンボル-接続機種関連度情報は、イメージ図面1における、シンボル-接続情報にて定義されているシンボルと接続先シンボルの組み合わせの出現頻度を、機種毎に分類した情報である。シンボル-接続機種関連度情報では、用途毎に、関連付けられたシンボルおよび接続先シンボルを示す情報と、当該関連付けられたシンボルおよび接続先シンボルの組み合わせが出現する回数が対応付けられている。
関連付けられたシンボルおよび接続先シンボルを示す情報は、例えば、シンボル-接続情報におけるIDとする。すなわち、図7の706に示すシンボル-接続機種関連度情報では、機種「N-1001A」で用いられるイメージ図面1において、「リレー(a)」と「抵抗」との組み合わせが、15回出現することを意味している。
例えば、ユーザは、予め、学習フェーズにて使用する複数のイメージ図面1と、生成したシンボル-接続情報とに基づいて、シンボル-接続機種関連度情報を生成している。
The symbol-connection model relevance information is information that defines the relevance between a symbol and a destination symbol for each model of device in which the image drawing 1 is used. More specifically, the symbol-connection model relevance information is information that classifies, for each model, the frequency of appearance of combinations of symbols and destination symbols defined in the symbol-connection information in the image drawing 1. In the symbol-connection model relevance information, for each application, information indicating associated symbols and destination symbols is associated with the number of times that the combination of the associated symbol and destination symbol appears.
The information indicating the associated symbol and the connected symbol is, for example, an ID in the symbol-connection information. That is, the symbol-connection model association information shown in 706 in Fig. 7 indicates that the combination of "relay (a)" and "resistor" appears 15 times in image drawing 1 used for model "N-1001A".
For example, the user generates symbol-connection model relevance information in advance based on a plurality of
なお、関連度情報において、対応付けられている回数が多いほど、関連度が高いことをあらわす。
また、実施の形態1では、図7に示すように、関連度情報は、シンボル-属性情報、シンボル-接続情報、用途関連度情報、および、機種関連度情報とするが、関連度情報は、シンボル-属性情報、シンボル-接続情報、用途関連度情報、および、機種関連度情報の全てが含まれていることを必須としない。関連度情報は、シンボル-属性情報、シンボル-接続情報、用途関連度情報、または、機種関連度情報のうちの少なくとも1つ以上を含むものであればよい。
また、関連度情報は、シンボル-属性情報、シンボル-接続情報、用途関連度情報、または、機種関連度情報に限らず、イメージ図面1上にて示されるシンボル、属性、または、接続線の関連度に関する情報であればよい。例えば、関連度情報には、イメージ図面1における、シンボルと属性の組み合わせ、または、シンボルと接続先シンボルとの組み合わせの出現頻度を、イメージ図面1が主に使用される国または地域毎に分類した国地域関連度情報が含まれるようにしてもよい。
In the relevance information, the greater the number of times that something is associated, the higher the relevance.
7, the relevance information includes symbol-attribute information, symbol-connection information, use relevance information, and model relevance information, but it is not essential that the relevance information includes all of the symbol-attribute information, symbol-connection information, use relevance information, and model relevance information. The relevance information may include at least one of the symbol-attribute information, symbol-connection information, use relevance information, and model relevance information.
Furthermore, the relevance information is not limited to symbol-attribute information, symbol-connection information, use relevance information, or model relevance information, but may be information about the relevance of symbols, attributes, or connection lines shown on the image drawing 1. For example, the relevance information may include country/region relevance information that classifies the frequency of appearance of combinations of symbols and attributes, or combinations of symbols and connection destination symbols in the image drawing 1, by country or region where the image drawing 1 is mainly used.
判定部104の説明に戻り、判定部104による、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの判定について、図8を用いて具体的に説明する。
図8は、実施の形態1において、判定部104が、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する処理の具体例のイメージを示す説明図である。
なお、ここでは、例えば、認識部102から出力されたシンボル認識結果、属性認識結果、および、接続線認識結果は、図5に示すような内容であるものとし、図8に示す認識結果の内容は、図5に示す認識結果の内容と同じである。また、ここでは、例えば、部品記録部105に格納されている部品情報は、図6に示すような内容であるものとし、図8に示す部品情報の内容は、図6に示す部品情報の内容と同じである。
以下では、一例として、判定部104は、認識部102から出力されたシンボル認識結果、属性認識結果、および、接続線認識結果に基づいて、シンボル「リレー(a)」と「リレー(b)」の接続関係が正しく認識できているかを判定する例を挙げて、判定部104による判定処理を説明する。
Returning to the explanation of the
FIG. 8 is an explanatory diagram showing an image of a specific example of the process in which the
It should be noted that, for example, the symbol recognition result, attribute recognition result, and connection line recognition result output from the
In the following, as an example, the judgment process by the
判定部104は、まず、部品記録部105を参照し、部品情報と属性認識結果とを付き合わせ、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致するか否かを判定する。判定部104は、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致しなかった場合、当該属性を、属性認識結果から破棄する。
ここでは、便宜上、属性認識結果に含まれている「30X004」、「30X003」、「FL3」、「FL4」、および、「6LCTX57」は、全て部品情報で定義されている器具番号と一致するものとする。
The
Here, for convenience, it is assumed that "30X004,""30X003,""FL3,""FL4," and "6LCTX57" included in the attribute recognition results all match the tool numbers defined in the part information.
次に、判定部104は、シンボル認識結果、属性認識結果、または、接続線認識結果を参照し、各認識結果から、シンボルの位置を示す座標、属性の位置を示す座標、および、接続線の位置を示す座標に基づいて、シンボルと属性と接続線との間の関連付けを推測し、シンボルと属性と接続線との間の対応関係を仮判定する。
具体的には、例えば、判定部104は、シンボルと属性と接続線との距離を算出し、当該距離に応じて、上記関連付けを推測する。
例えば、判定部104は、シンボル認識結果においてNo.1の「リレー(a)」の位置を示す座標と、属性認識結果においてNo.1の「30X004」の位置を示す座標とに基づいて「リレー(a)」と「30X004」との距離を算出する。判定部104は、算出した距離が近いことから、「リレー(a)」と「30X004」とは関連付けられていると推測する。なお、実施の形態1において、判定部104は、シンボルと属性との距離、または、シンボルと接続線との距離を、例えば、認識結果における位置情報から矩形の中心位置を算出し、中心位置の差分ベクトルにて求める。判定部104は、例えば、算出した距離と予め設定された閾値(以下「距離判定用閾値」という。)との比較によって、算出した距離が近いか否かを判定すればよい。例えば、判定部104は、算出した距離が距離判定用閾値以下であれば、距離が近いと判定する。
判定部104は、例えば、位置情報から矩形が重なっているかを判定し、重なっている場合に近いと判定するようにしてもよい。
Next, the
Specifically, for example, the determining
For example, the
The determining
また、例えば、判定部104は、シンボル認識結果においてNo.1の「リレー(a)」の位置を示す座標と、接続線認識結果においてNo.2の接続線の位置を示す座標とに基づいて「リレー(a)」とNo.2の接続線との距離を算出する。判定部104は、算出した距離が近いことから、「リレー(a)」とNo.2の接続線とは関連付けられていると推測する。
また、例えば、判定部104は、接続線認識結果においてNo.2の接続線の位置を示す座標と、No.5の接続線の位置を示す座標と、No.6の接続線の位置を示す座標とから、No.2の接続線とNo.5の接続線との距離、および、No.5の接続線とNo.6の接続線との距離を判定する。判定部104は、算出した距離がそれぞれ近いことから、No.2の接続線とNo.5の接続線とNo.6の接続線は関連付けられていると推測する。
Also, for example, the
Also, for example, the
さらに、例えば、判定部104は、シンボル認識結果においてNo.2の「リレー(b)」の位置を示す座標と、接続線認識結果においてNo.7の接続線の位置を示す座標とに基づいて「リレー(b)」とNo.7の接続線との距離を算出する。判定部104は、算出した距離が近いことから、「リレー(b)」とNo.7の接続線とは関連付けられていると推測する。
また、例えば、判定部104は、シンボル認識結果においてNo.2の「リレー(b)」の位置を示す座標と、属性認識結果においてNo.2の「30X003」の位置を示す座標とに基づいて「リレー(b)」と「30X003」との距離を算出する。判定部104は、算出した距離が近いことから、「リレー(b)」と「30X003」とは関連付けられていると推測する。
Furthermore, for example, the
Also, for example, the
以上のように推測した結果から、判定部104は、「リレー(a)」は「30X004」であり、「リレー(b)」は「30X003」であって、「リレー(a)」と「リレー(b)」とは、No.2,5,6,7の接続線によって接続されているとの対応関係を仮判定する。
From the results of the above estimation, the
シンボルと属性と接続線との間の対応関係を仮判定すると、判定部104は、関連度記録部106に格納されている関連度情報を参照して、仮判定した対応関係に基づいて、シンボルと属性と接続線との対応関係が正しく判定できているか否かを判定する。具体的には、判定部104は、関連度記録部106に格納されている関連度情報と、予め設定されている閾値との比較によって、仮判定した対応関係が正しいか否かを判定する。
例えば、ここでは、上述のとおり、判定部104は、リレー(a)とリレー(b)とは接続されていると仮判定した。そこで、判定部104は、例えば、関連度情報のシンボル-接続情報を参照し、リレー(a)とリレー(b)とに対応付けられた回数と予め設定された閾値(以下「シンボル接続判定用閾値」という。)とを比較する。判定部104は、例えば、シンボル-接続情報にて定義されている回数がシンボル接続判定用閾値を超えている場合、リレー(a)とリレー(b)とは接続されているとの仮判定は正しい判定する。ここでは、例えば、シンボル接続判定用閾値は「10」であったとすると、シンボル-接続情報においてリレー(a)とリレー(b)とに対応付けられた回数は「25」であることから(図7の702参照)、判定部104は、リレー(a)とリレー(b)とは接続されていると判定する。すなわち、判定部104は、リレー(a)とリレー(b)が、正しい対応関係で認識されていると判定する。
When the correspondence relationships between the symbols, attributes, and connection lines are provisionally determined, the
For example, here, as described above, the
なお、判定部104は、関連度情報にて定義されている回数が予め設定されている閾値を超えていない場合、上述の例でいうと、リレー(a)とリレー(b)とに対応付けられた回数が、仮に、シンボル接続判定用閾値を超えていない場合は、認識部102から出力された各認識結果から、リレー(a)およびリレー(b)とが接続されていると仮判定した内容に関する情報を削除するようにしてもよい。ここでは、判定部104は、例えば、「リレー(a)」、「リレー(b)」、「30X004」、「30X003」、および、No.2,5,6,7の接続線の認識結果を削除するようにしてもよい。なお、これは一例に過ぎず、判定部104は、関連度情報にて定義されている回数が予め設定されている閾値を超えていない場合も、認識結果から、仮判定した情報を削除しないようにしてもよい。
The
判定部104は、例えば、シンボルと接続先シンボルとの関連について、シンボル-接続用途関連度情報(図7の704参照)で定義されている関連度は高いが、シンボル-接続情報(図7の702参照)に基づく関連が見つけられなかった場合は、シンボル-接続用途関連度情報に基づいて関連度が高いとされる、シンボルと接続先シンボルとの関連付けを行ってもよい。
具体例を挙げると、例えば、シンボル認識結果として、Aシンボル、Bシンボルが認識され、Cシンボルは認識されなかったとする。なお、AシンボルおよびCシンボルは、「家電」の用途で用いられるイメージ図面1において優先的に使用されるシンボルであり、Bシンボルは「配電盤」の用途で用いられるイメージ図面1において優先的に使用されるシンボルであるものとする。
また、関連度情報において、シンボル-接続情報には、AシンボルとCシンボルとの関連度が高く、AシンボルとBシンボルとの関連度は低い旨が定義されているとする。
この場合、判定部104は、認識部102から出力された認識結果に基づき、AシンボルとBシンボルとは接続されているとの対応関係を仮判定するが、関連度情報を参照した結果、AシンボルとBシンボルとは関連度が高くないと判定しなおすことになる。一方で、判定部104は、関連度情報に基づき、例えば、「家電」の用途において、AシンボルとCシンボルとの関連度が高いと判定できたとする。この場合、判定部104は、例えば、認識結果において、CシンボルをBシンボルと置き換えるようにしてもよい。
For example, when the degree of association between a symbol and a destination symbol defined in the symbol-connection usage association information (see 704 in FIG. 7) is high but no association based on the symbol-connection information (see 702 in FIG. 7) is found, the
As a specific example, suppose that the symbol recognition results show that symbols A and B are recognized, but not symbol C. Symbols A and C are symbols that are preferentially used in image drawing 1 used for the purpose of "home appliances," and symbol B is a symbol that is preferentially used in image drawing 1 used for the purpose of "switchboard."
In addition, in the association degree information, it is assumed that the symbol-connection information defines that the association degree between the A symbol and the C symbol is high, and the association degree between the A symbol and the B symbol is low.
In this case, the
また、判定部104は、例えば、シンボルと属性と接続線について、認識結果から対応関係を仮判定できなかった場合、関連度情報に基づいて、関連付けを行うようにしてもよい。具体例を挙げると、例えば、判定部104は、シンボル認識結果においてNo.3の「ヒューズ」の位置を示す座標と、属性認識結果においてNo.3の「FL3」の位置を示す座標とに基づいて、「ヒューズ」と「FL3」との距離を算出したとする。また、判定部104は、シンボル認識結果においてNo.3の「ヒューズ」の位置を示す座標と、属性認識結果においてNo.5の「62LCTX」の位置を示す座標とに基づいて、「ヒューズ」と「62LCTX」との距離を算出したとする。その結果、「ヒューズ」と「FL3」との距離と、「ヒューズ」と「62LCTX」との距離が同じであり、「FL3」と「62LCTX」のどちらが「ヒューズ」と関連付くか判定できなかったとする。この場合、例えば、判定部104は、関連度情報に基づき、「ヒューズ」と「62LCTX」、または、「FL3」と「62LCTX」のどちらの組み合わせのほうが関連度が高いか、言い換えれば、出現頻度が多いかによって、関連付けを行うようにしてもよい。
In addition, the
このように、判定部104は、例えば、シンボルと属性との関連付け、シンボルと接続先シンボルとの関連付け、イメージ図面1の用途、または、イメージ図面1が用いられる機種を加味して、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する。
また、判定部104は、認識結果から関連付けを行うことができなかったシンボルまたは属性について、関連度情報に基づいて、その関連付けを補完することもできる。
In this way, the
Furthermore, for symbols or attributes that could not be associated based on the recognition result, the determining
判定部104は、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの判定結果を、生成部107に出力する。
The
ここで、図9は、実施の形態1において、判定部104が出力する判定結果の一例のイメージを説明するための図である。
判定結果は、例えば、図9に示すように、シンボル、当該シンボルの位置、当該シンボルと関連付けた属性、属性の位置、当該シンボルの接続先シンボル、および、接続先シンボルの位置が対応付けられた情報(以下「関連判定結果情報」という。)が、シンボル毎に設定された情報である。なお、接続先シンボルが複数ある場合、関連判定結果情報には、複数の接続先シンボルが全て対応付けられる。また、関連判定結果情報において、シンボルの位置、属性の位置、および、接続先シンボルの位置は、例えば、シンボル、属性、および、接続先シンボルがそれぞれ認識された矩形の中心の、イメージ図面1上の座標であらわされるものとしている。
FIG. 9 is a diagram for explaining an image of an example of a determination result output by determining
The judgment result is information that is set for each symbol, for example as shown in Fig. 9, in which the symbol, the position of the symbol, the attribute associated with the symbol, the position of the attribute, the symbol's destination symbol, and the position of the destination symbol are associated with each other (hereinafter referred to as "associated judgment result information"). If there are multiple destination symbols, all of the multiple destination symbols are associated with the associated judgment result information. In addition, in the associated judgment result information, the position of the symbol, the position of the attribute, and the position of the destination symbol are represented by, for example, the coordinates on the image drawing 1 of the center of the rectangle in which the symbol, the attribute, and the destination symbol are recognized, respectively.
なお、判定部104は、制御部(図示省略)から、判定終了条件を満たしていない旨の通知を受けると、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。判定部104が行う再判定については、後述する。
When the
生成部107は、判定部104が出力した判定結果からイメージ図面1と同等の生成データ(以下「判定後イメージ図面データ」という。)を生成する。より詳細には、生成部107は、判定部104が出力した判定結果において設定されている各関連判定結果情報に基づいて、イメージ図面1を復元し、判定後イメージ図面データとする。判定後イメージ図面データ上では、各関連判定結果情報にて対応付けられているシンボル、属性、および、接続先シンボルが、各関連判定結果情報にて対応付けられている位置にて、示される。
生成部107は、生成した判定後イメージ図面データを比較部108に出力する。なお、生成部107は、判定後イメージ図面データとともに、判定部104が出力した判定結果をあわせて比較部108に出力する。
The generating
The generating
比較部108は、生成部107が出力した判定後イメージ図面と、図面取得部101が取得したイメージ図面1とを比較する。比較部108は、図面取得部101から、認識部102、判定部104、および、生成部107を介して、イメージ図面1を取得すればよい。
The
比較部108による、判定後イメージ図面とイメージ図面1との比較について、図10を用いて具体的に説明する。
比較部108は、判定後イメージ図面におけるシンボルおよび当該シンボルと対応付けられる属性毎に、判定後イメージ図面とイメージ図面1との比較を行う。なお、シンボルと属性とは、判定部104が出力した判定結果における関連判定結果情報にて対応付けられている。
具体的には、比較部108は、例えば、判定後イメージ図面とイメージ図面1とを比較し、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在するか否かを判定する。なお、この際、比較部108は、主にシンボルおよび属性を比較対象とし、接続線は比較対象外とする。
The comparison between the post-determination image drawing and image drawing 1 by the
The
Specifically, the
比較部108は、シンボルに対応付けられている属性を、判定部104が出力した判定結果から判定すればよい。具体例を挙げると、例えば、判定部104が出力した判定結果が図9に示すような内容であったとすると、比較部108は、(x,y)=(31,10)の位置の「30X004」の文字が対応付けられた、(x,y)=(30,18)の位置の「リレー(a)」が、イメージ図面1上に存在するか否かを判定する。
なお、比較部108は、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、イメージ図面1上においても同じ位置に存在するとの判定について、厳密に同じ位置であることを必須としない。例えば、比較部108は、判定後イメージ図面について、シンボルの位置を基準点(第1基準点)とし、当該第1基準点を中心として予め設定された範囲(第1範囲)を抽出する。第1範囲は、通常、認識部102によってシンボルが認識された矩形領域である。また、比較部108は、判定後イメージ図面について、シンボルと対応付けられている属性の位置を基準点(第2基準点)とし、当該第2基準点を中心として予め設定された範囲(第2範囲)を抽出する。第2範囲は、通常、認識部102によって属性が認識された矩形領域である。また、比較部108は、イメージ図面1について、判定後イメージ図面上のシンボルの位置に対応するイメージ図面1上の位置を基準点(第3基準点)とし、当該第3基準点を中心として予め設定された範囲(第3範囲)を抽出する。第3範囲は、第1範囲と同じ大きさとする。また、比較部108は、イメージ図面1について、判定後イメージ図面上の、シンボルに対応付けられている属性の位置に対応するイメージ図面1上の位置を基準点(第4基準点)とし、当該第4基準点を中心として予め設定された範囲(第4範囲)を抽出する。第4範囲は、第2範囲と同じ大きさとする。
そして、比較部108は、例えば、抽出した第1範囲の判定後イメージ図面と、抽出した第3範囲のイメージ図面1とを、テンプレートマッチングによって比較して、判定後イメージ図面とイメージ図面1との類似度(第1類似度)を算出する。また、比較部108は、例えば、抽出した第2範囲の判定後イメージ図面と、抽出した第4範囲のイメージ図面1とを、テンプレートマッチングによって比較して、判定後イメージ図面とイメージ図面1との類似度(第2類似度)を算出する。比較部108は、抽出した判定後イメージ図面とイメージ図面1について特徴量を比較して、判定後イメージ図面とイメージ図面1との類似度を算出してもよい。
比較部108は、算出した第1類似度および第2類似度が、それぞれ、予め設定された閾値(以下「類似度判定用閾値」という。)以上であるか否かによって、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在するか否かを判定する。
The
In addition, the
Then, the
The
比較部108は、例えば、算出した第1類似度および第2類似度がいずれも類似度判定用閾値以上である場合、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在すると判定する。言い換えれば、比較部108は、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性は、イメージ図面1上のシンボルと当該シンボルに対応付けられた属性と一致すると判定する。この場合、比較部108は、一致すると判定したシンボルに関する関連判定結果情報を、一致データとして、一致データ記録部109に記録する。
For example, when the calculated first similarity and second similarity are both equal to or greater than the similarity judgment threshold, the
一方、比較部108は、例えば、算出した第1類似度もしくは第2類似度のいずれか一方、または両方が類似度判定用閾値以上ではない場合、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在しないと判定する。言い換えれば、比較部108は、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性は、イメージ図面1上のシンボルと当該シンボルに対応付けられた属性と不一致であると判定する。この場合、比較部108は、不一致と判定したシンボルに関するシンボル認識結果と、不一致と判定したシンボルに対応付けられた属性に関する属性認識結果とを、不一致データとして、不一致データ記録部110に記録する。比較部108は、例えば、判定部104および生成部107を介して認識部102から認識結果(図5参照)を取得するようにし、取得した認識結果から、不一致と判定したシンボルに関するシンボル認識結果と、不一致と判定したシンボルに対応付けられた属性に関する属性認識結果とを抽出すればよい。
なお、比較部108は、不一致データを抽出する際、不一致と判定したシンボルと接続されている接続線についても不一致と判定し、当該接続線に関する接続線認識結果を、不一致データ記録部110に記録するようにする。
On the other hand, when either or both of the calculated first similarity or second similarity is not equal to or greater than the similarity judgment threshold, the
In addition, when extracting mismatched data, the
比較部108は、このような比較処理を、判定部104から出力された判定結果に含まれている全ての関連判定結果情報に対して行う。
The
ここで、図10は、実施の形態1において、比較部108が、生成部107が出力した判定後イメージ図面と、図面取得部101が取得したイメージ図面1とを比較する処理のイメージを示す説明図である。
なお、便宜上、図10は、図9の判定結果とは関係しておらず、単に、判定後イメージ図面とイメージ図面1との比較のイメージを説明するための図としている。
また、説明の簡単のため、図10において、イメージ図面1および判定後イメージ図面から、一致データと不一致データと含む領域を抜き出して拡大して示すようにしている。図10では、イメージ図面1から抜き出して拡大した領域を1001で示し、判定後イメージ図面から抜き出して拡大した領域を1002で示している。
例えば、1002に示す領域において示されている「88TBL1C」が対応付けられた「コイル」は、それぞれ、1001に示す領域の、1002に示す領域と対応する位置には存在しない。よって、比較部108は、「コイル」に関するシンボル認識結果と、「88TBL1C」に関する属性認識結果を、不一致データとして不一致データ記録部110に記録する。
Here, Figure 10 is an explanatory diagram showing an image of the process in which the
For the sake of convenience, FIG. 10 is not related to the determination result in FIG. 9, but is merely a diagram for explaining an image of a comparison between the post-determination image diagram and image diagram 1.
For ease of explanation, Fig. 10 shows areas including matched data and mismatched data extracted from image drawing 1 and the post-determination image drawing, enlarged. In Fig. 10, the area extracted from image drawing 1 and enlarged is indicated by 1001, and the area extracted from the post-determination image drawing and enlarged is indicated by 1002.
For example, "coil" associated with "88TBL1C" shown in the area indicated by 1002 does not exist in the area indicated by 1001 at a position corresponding to the area indicated by 1002. Therefore, the
なお、図面認識装置100は、予め設定された条件(以下「判定終了条件」という。)を満たすまで、判定部104による再判定、生成部107による判定後イメージ図面の生成、および、比較部108による比較処理を繰り返す。「判定終了条件」は、例えば、「予め設定された回数だけ判定処理を行ったこと」または「不一致データがなく、すべて一致データであると判定されたこと」である。「判定終了条件」は、ユーザによって適宜設定可能である。
具体的には、例えば、図面認識装置100の制御部が、比較部108が一致データまたは不一致データを記録すると、判定終了条件を満たしたか否かを判定する。判定終了条件を満たしていないと判定した場合、制御部は、判定終了条件を満たしていない旨を判定部104に通知する。判定部104は、比較部108からの、判定終了条件を満たしていない旨の通知を受けると、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。
なお、不一致データ記録部110に記録されている不一致データは、認識結果のうち、比較部108によって一致データと判定されたシンボルに関するシンボル認識結果、比較部108によって一致データと判定された属性に関する属性認識結果、および、比較部108によって一致データと判定された接続線に関する接続線認識結果が取り除かれている。そのため、判定部104は、再判定を行う際に、関連付けを行うシンボル、属性、または、接続線の範囲が狭まり、より正確に判定を行うことができる。
Drawing
Specifically, for example, when the
The mismatched data recorded in the mismatched
判定終了条件を満たしたと判定した場合、制御部は、判定終了条件を満たした旨を判定部104および図面表示部111に通知する。判定部104は、制御部からの、判定終了条件を満たした旨の通知を受けると、判定処理を終了する。すなわち、比較部108は、以降、比較処理を行わない。なお、ここでは、判定終了条件を満たすか否かの判定、および、当該判定結果に基づく通知を、図面認識装置100の制御部が行うものとするが、これは一例に過ぎない。例えば、判定部104または比較部108が、判定終了条件を満たすか否かの判定、および、当該判定結果に基づく通知を行うようにしてもよい。
When it is determined that the judgment end condition is satisfied, the control unit notifies the
一致データ記録部109は、比較部108が出力した一致データを記録する。
不一致データ記録部110は、比較部108が出力した不一致データを記録する。
The matched
The mismatched
図面表示部111は、一致データ記録部109に記録されている一致データを、表示装置300のディスプレイ301に表示する。
具体的には、図面表示部111は、例えば、CADアプリケーション等を用いて、一致データをCADデータに変換して表示装置300のディスプレイ301に表示する。
なお、図面表示部111は、上記判定終了条件を満たした時点で、一致データの表示を行う。
例えば、制御部は、上述のように、判定終了条件を満たすと、図面表示部111に対して、判定終了条件を満たした旨を通知する。図面表示部111は、比較部108から、判定終了条件を満たした旨の通知がされると、一致データ記録部109を参照して、一致データの表示を行う。
The drawing display unit 111 displays the matched data recorded in the matched
Specifically, the drawing display unit 111 converts the matched data into CAD data using, for example, a CAD application, and displays the CAD data on the
The drawing display unit 111 displays the matching data when the above-mentioned determination end condition is satisfied.
For example, as described above, when the determination end condition is satisfied, the control unit notifies the drawing display unit 111 that the determination end condition is satisfied. When the drawing display unit 111 is notified by the
実施の形態1に係る図面認識装置100の動作について説明する。
図11は、実施の形態1に係る図面認識装置100の動作を説明するためのフローチャートである。
The operation of drawing
FIG. 11 is a flowchart for explaining the operation of drawing
図面取得部101は、ユーザから操作入力装置200を介して入力されたイメージ図面1および図面特性情報2を取得する(ステップST1101)。図面取得部101は、イメージ図面1に対して所定の処理を行い、推論データを生成する。
図面取得部101は、イメージ図面1に基づき生成した推論データ、および、取得した図面特性情報2を、認識部102に出力する。
The
The
認識部102は、ステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2に基づき、推論器格納部103にて格納されている第1機械学習モデル131、第2機械学習モデル132、または、第3機械学習モデル133を用いた推論を行うことで、シンボル認識結果、属性認識結果、または、接続線認識結果を取得する。これにより、認識部102は、シンボル情報、属性情報、または、接続線情報を認識する(ステップST1102)。
認識部102は、推論結果、言い換えれば、シンボル認識結果、属性認識結果、または、接続線認識結果を判定部104に出力する。
The
The
ここで、図12は、図11のステップST1102にて認識部102が行う、推論の動作の詳細を説明するためのフローチャートである。
シンボル認識部1021は、図11のステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2と、第1機械学習モデル131とに基づいて、シンボル認識結果を取得する。
具体的には、シンボル認識部1021は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第1機械学習モデル131に入力して、シンボル認識結果を取得する(ステップST1201)。
シンボル認識部1021は、取得したシンボル認識結果を、判定部104に出力する。
FIG. 12 is a flowchart for explaining details of the inference operation performed by the
The
Specifically, the
The
属性情報認識部1022は、図11のステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2と、第2機械学習モデル132とに基づいて、属性認識結果を取得する。
具体的には、属性情報認識部1022は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第2機械学習モデル132に入力して、属性認識結果を取得する(ステップST1202)。
属性情報認識部1022は、取得した属性認識結果を、判定部104に出力する。
The attribute
Specifically, the attribute
The attribute
接続線認識部1023は、図11のステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2と、第3機械学習モデル133とに基づいて、接続線認識結果を取得する。
具体的には、接続線認識部1023は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第3機械学習モデル133に入力して、接続線認識結果を取得する(ステップST1203)。
接続線認識部1023は、取得した接続線認識結果を、判定部104に出力する。
The connection
Specifically, the connection
The connection
図11のフローチャートの説明に戻る。
判定部104は、認識部102が出力したシンボル認識結果、属性認識結果、または、接続線認識結果と、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する。
Returning to the explanation of the flowchart in FIG.
The
判定部104は、まず、部品記録部105を参照し、部品情報と属性認識結果とを付き合わせ、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致するか否かを判定する(ステップST1103)。判定部104は、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致しなかった場合、当該属性を、属性認識結果から破棄する。
The
次に、判定部104は、シンボル認識結果、属性認識結果、または、接続線認識結果を参照し、各認識結果から、シンボルの位置を示す座標、属性の位置を示す座標、および、接続線の位置を示す座標に基づいて、シンボルと属性と接続線との間の関連付けを推測し、シンボルと属性と接続線との間の対応関係を仮判定する。
そして、判定部104は、関連度記録部106に格納されている関連度情報を参照して、仮判定した対応関係に基づいて、シンボルと属性と接続線との対応関係が正しく判定できているか否かを判定する(ステップST1104)。
判定部104は、推論データにおけるシンボルと属性と接続線との対応関係が正しく判定できているか否かの判定結果を、生成部107に出力する。
Next, the
Then, the
The determining
生成部107は、ステップST1104にて判定部104が出力した判定結果から判定後イメージ図面データを生成する(ステップST1105)。
生成部107は、生成した判定後イメージ図面データを比較部108に出力する。
The
The generating
比較部108は、ステップST1105にて生成部107が出力した判定後イメージ図面と、ステップST1101にて図面取得部101が取得したイメージ図面1とを比較する(ステップST1106)。
具体的には、比較部108は、例えば、判定後イメージ図面とイメージ図面1とを比較し、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在するか否かを判定する。なお、この際、比較部108は、主にシンボルおよび属性を比較対象をとし、接続線は比較対象外とする。
The
Specifically, the
比較部108は、比較判定の結果、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性は、イメージ図面1上のシンボルと当該シンボルに対応付けられた属性と一致すると判定した場合(ステップST1106の“YES”の場合)、一致すると判定したシンボルに関する関連判定結果情報を、一致データとして一致データ記録部109に記録する(ステップST1107)。
If the
比較部108は、比較判定の結果、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性は、イメージ図面1上のシンボルと当該シンボルに対応付けられた属性と不一致であると判定した場合(ステップST1106の“NO”の場合)、不一致と判定したシンボルに関するシンボル認識結果と、不一致と判定したシンボルに対応付けられた属性に関する属性認識結果とを、不一致データとして不一致データ記録部110に記録する(ステップST1108)。
If the
図面認識装置100の制御部は、判定終了条件を満たしたか否かを判定する(ステップST1109)。
判定終了条件を満たしていないと判定した場合(ステップST1109の“NO”の場合)、制御部は、判定終了条件を満たしていない旨を判定部104に通知する。そして、図面認識装置100の動作はステップST1103に戻り、判定部104は、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。
The control unit of drawing
When it is determined that the judgment end condition is not satisfied (in the case of "NO" in step ST1109), the control unit notifies the
判定終了条件を満たしたと判定した場合(ステップST1109の“YES”の場合)、制御部は、判定終了条件を満たした旨を判定部104および図面表示部111に通知する。判定部104は、制御部からの、判定終了条件を満たした旨の通知を受けると、判定処理を終了する。すなわち、比較部108は、以降、比較処理を行わない。
図面表示部111は、ステップST1109にて制御部から判定終了条件を満たした旨が通知されると、一致データ記録部109に記録されている一致データを、表示装置300のディスプレイ301に表示する(ステップST1110)。
When it is determined that the judgment end condition is satisfied ("YES" in step ST1109), the control unit notifies the
When the control unit notifies the drawing display unit 111 in step ST1109 that the determination end condition has been satisfied, the drawing display unit 111 displays the matched data recorded in the matched
このように、図面認識装置100において、認識部102は、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を用いて、イメージ図面1に含まれる、1つ以上のシンボルに関するシンボル情報、シンボルに関連づけられた属性に関する属性情報、シンボル同士の接続線に関する接続線情報を認識することができる。
また、図面認識装置100において、判定部104は、認識部102から出力された認識結果(シンボル認識結果、属性認識結果、または、接続線認識結果)に基づき、部品情報、および、関連度情報との照合を行うことで、イメージ図面1におけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識されているか否かを総合的に判定し精度を向上させることができる。
さらに、図面認識装置100において、比較部108は、生成部107が生成した判定後イメージ図面データとイメージ図面1とで、シンボルおよび当該シンボルに対応付けられる属性を比較することで、当該シンボルまたは属性の認識の誤りを検出することができ、高い精度の認識結果を選択することができる。
In this way, in the drawing
Furthermore, in the drawing
Furthermore, in the drawing
なお、以上の実施の形態1では、図面認識装置100において、判定部104は、認識部102から出力された認識結果について、部品記録部105に格納されている部品情報、および、関連度記録部106に記録されている関連度情報の両方との照合を行うようにしたが、これは一例に過ぎない。判定部104は、部品情報または関連度情報のいずれか一方とのみ照合を行うようにしてもよいし、部品情報および関連度情報のいずれとも照合を行うことなく、認識結果の判定を行ってもよい。
部品情報および関連度情報のいずれとも照合を行わない場合、判定部104は、認識部102が認識した、シンボルに関する情報、属性に関する情報、および、接続線に関する情報に基づいて、イメージ図面1におけるシンボルと属性と他のシンボルとの対応関係を判定する。具体的には、例えば、判定部104は、シンボル認識結果、属性認識結果、または、接続線認識結果を参照し、各認識結果から、シンボルと属性と接続線との距離を算出し、算出した距離に応じて、シンボルと属性と接続線との間の対応関係を判定する。
ただし、判定部104は、部品情報または関連度情報と照合を行って認識結果の判定を行うことで、部品情報および関連度情報のいずれとも照合を行うことなく認識結果の判定をする場合よりも、より高い精度で、シンボルと属性と接続線との間の対応関係を判定することができる。
In the above-described first embodiment, in drawing
When no matching is performed with either the part information or the relevance information, the
However, by comparing the recognition result with part information or relevance information, the
さらに、認識部102が出力したシンボル認識結果、属性認識結果、もしくは、接続線認識結果を参照し各認識結果(図5参照)、または、判定部104が出力した判定結果(図9参照)に対して、ユーザが必要な認識結果または判定結果を選択可能なインタフェースを設けるようにしてもよい。
具体的には、例えば、図面認識装置100の表示制御部(図示省略)が、認識部102が出力した各認識結果、または、判定部104が出力した判定結果を、表示装置300のディスプレイ301に表示させるようにする。ユーザは、ディスプレイ301を確認することで、各認識結果または判定結果の内容を把握する。ユーザは、例えば、明らかに誤りがあるシンボル、属性、または、接続線等があれば、操作入力装置200のキーボード201またはマウス202を操作して、明らかに誤りがあるシンボル、属性、または、接続線等を削除する指示を入力する。図面認識装置100の制御部は、ユーザが入力した指示を受け付け、受け付けた指示に基づき、認識結果または判定結果から、シンボル、属性、または、接続線等に関する情報を削除する。
このように構成することで、図面認識装置100は、ユーザが必要としたシンボル、属性、または、接続線等に関する情報を選別するようにすることができる。
Furthermore, an interface may be provided that allows a user to select the required recognition result or judgment result by referring to the symbol recognition result, attribute recognition result, or connection line recognition result output by the recognition unit 102 (see FIG. 5 ) or the judgment result output by the judgment unit 104 (see FIG. 9 ).
Specifically, for example, a display control unit (not shown) of the drawing
With this configuration, the drawing
また、以上の実施の形態1では、推論器格納部103は、図面認識装置100に備えられるものとしたが、これは一例に過ぎない。推論器格納部103は、図面認識装置100の外部の、図面認識装置100が参照可能な場所に備えられるようにしてもよい。具体的には、例えば、通信ネットワーク上に配置された単数または複数のネットワークストレージ装置(図示省略)が推論器格納部103の機能を有するものとし、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を記憶するようにしてもよい。図面認識装置100は、上記ネットワークストレージ装置にアクセスする。これにより、外部のネットワークストレージ装置は第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を蓄積し、図面認識装置100の外部にデータベースを構築することができる。
In the
また、以上の実施の形態1では、部品記録部105、関連度記録部106、一致データ記録部109、および、不一致データ記録部110は、図面認識装置100に備えられるものとしたが、これは一例に過ぎない。部品記録部105、関連度記録部106、一致データ記録部109、および、不一致データ記録部110は、図面認識装置100の外部の、図面認識装置100が参照可能な場所に備えられるようにしてもよい。
In addition, in the
また、以上の実施の形態1では、図面認識装置100は、図面取得部101、認識部102、推論器格納部103、判定部104、部品記録部105、関連度記録部106、生成部107、比較部108、一致データ記録部109、不一致データ記録部110、および、図面表示部111を備えるものとしたが、これは一例に過ぎない。図面認識装置100は、少なくとも、図面取得部101と認識部102と判定部104を備えるようになっていればよい。この場合、例えば、生成部107、比較部108、および、図面表示部111は、図面認識装置100の外部の装置(図面生成装置。図示省略)に備えるようにし、図面認識装置100と図面生成装置とで図面生成システムを構成してもよい。なお、推論器格納部103、部品記録部105、一致データ記録部109、および、不一致データ記録部110は、例えば、図面認識装置100および図面生成装置が参照可能なサーバ等に備えられる。
In the
実施の形態1に係る図面認識装置100は、例えば、紙図面からのCADデータの復元、または、異なるCADシステムのためのCADデータの変換に用いられるのに適している。
具体的には、例えば、ユーザは、特定のCADシステムで作成された印刷物をイメージ図面1として図面認識装置100に入力する。図面認識装置100は、入力されたイメージ図面1上に存在するシンボル、属性、または、接続線を認識し、一致データを記録する。ユーザは、記録された一致データを上記特定のCADシステムに入力することで、印刷物をCADデータに復元でき、設計の改修または改良等に当該CADデータを再利用することができる。
また、ユーザは、例えば、異なるCADシステムのデータフォーマットへの変換プログラムを別途設けることで、上記一致データを他のCADシステムで使用するCADデータに変換することが可能となる。
このように、実施の形態1に係る図面認識装置100は、例えば、CADシステムにおいて、CADデータを復元するために用いられることにより、CADシステムにおけるCADデータの復元精度を向上することができる。
The drawing
Specifically, for example, a user inputs a printout created in a specific CAD system into the drawing
Furthermore, the user can convert the matched data into CAD data for use in another CAD system by, for example, separately providing a conversion program for converting the data into a data format for a different CAD system.
In this manner, the drawing
図13A,図13Bは、実施の形態1に係る図面認識装置100のハードウェア構成の一例を示す図である。
実施の形態1において、図面取得部101と、認識部102と、判定部104と、生成部107と、比較部108と、図面表示部111の機能は、処理回路1301により実現される。すなわち、図面認識装置100は、入力されたイメージ図面1上のシンボル等の認識を行うための処理回路1301を備える。
処理回路1301は、図13Aに示すように専用のハードウェアであっても、図13Bに示すようにメモリ1305に格納されるプログラムを実行するCPU(Central Processing Unit)1304であってもよい。
13A and 13B are diagrams illustrating an example of a hardware configuration of the drawing
In the first embodiment, the functions of the
The
処理回路1301が専用のハードウェアである場合、処理回路1301は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、またはこれらを組み合わせたものが該当する。
When the
処理回路1301がCPU1304の場合、図面取得部101と、認識部102と、判定部104と、生成部107と、比較部108と、図面表示部111の機能は、ソフトウェア、ファームウェア、または、ソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェアまたはファームウェアは、プログラムとして記述され、メモリ1305に記憶される。処理回路1301は、メモリ1305に記憶されたプログラムを読み出して実行することにより、図面取得部101と、認識部102と、判定部104と、生成部107と、比較部108と、図面表示部111の機能を実行する。すなわち、図面認識装置100は、処理回路1301により実行されるときに、上述の図11のステップST1101~ステップST1110、および、図12のステップST1201~ステップST1203が結果的に実行させることになるプログラムを格納するためのメモリ1305を備える。また、メモリ1305に記憶されたプログラムは、図面取得部101と、認識部102と、判定部104と、生成部107と、比較部108と、図面表示部111の手順または方法をコンピュータに実行させるものであるとも言える。ここで、メモリ1305とは、例えば、RAM、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read-Only Memory)等の、不揮発性もしくは揮発性の半導体メモリ、または、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD(Digital Versatile Disc)等が該当する。
When the
なお、図面取得部101と、認識部102と、判定部104と、生成部107と、比較部108と、図面表示部111の機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。例えば、図面取得部101については専用のハードウェアとしての処理回路1301でその機能を実現し、認識部102と、判定部104と、生成部107と、比較部108と、図面表示部111については処理回路1301がメモリ1305に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。
また、推論器格納部103、部品記録部105、関連度記録部106、一致データ記録部109、および、不一致データ記録部110は、例えば、HDDを使用する。なお、これは一例であって、推論器格納部103、部品記録部105、関連度記録部106、一致データ記録部109、および、不一致データ記録部110は、メモリ1305、SSD(Solid State Drive)、または、DVD等によって構成されるものであってもよい。
また、図面認識装置100は、操作入力装置200、または、表示装置300等の装置と、有線通信または無線通信を行う入力インタフェース装置1302および出力インタフェース装置1303を備える。
The functions of the
Also, for example, an HDD is used for the inference
The drawing
実施の形態1において、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133は、学習装置400(後述の図14参照)が機械学習における学習を実行して生成する。以下、学習装置400について説明する。
In the first embodiment, the first
図14は、実施の形態1に係る学習装置400の構成例を示す図である。
学習装置400は、ネットワークを介して図面認識装置100と接続される。
学習装置400は、入力されたイメージ図面1および図面特性情報2に基づき、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成する。なお、イメージ図面1は教師ラベルとともに入力される。学習装置400は、いわゆる教師あり学習により、ニューラルネットワークで構成された機械学習モデルを学習させる。教師ラベルは、イメージ図面1上におけるシンボル、属性、および、接続線を示す情報である。教師ラベルについて、例えば、シンボルに関する教師ラベルは、イメージ図面1上のシンボルの位置を示す座標と当該シンボルを特定可能な情報とが対応付けられたテキストデータである。シンボルの位置は、例えば、当該シンボルを矩形にて囲った際の当該矩形の四隅のイメージ図面1上の座標であらわされる。シンボルを特定可能な情報は、例えば、シンボルの名称でよい。属性に関する教師ラベル、および、接続線に関する教師ラベルも、シンボルに関する教師ラベルと同様、イメージ図面1上の属性または接続線の位置を示す座標と当該属性または接続線を特定可能な情報とが対応付けられたテキストデータである。なお、教師データは、予め、イメージ図面1毎に、例えば、ユーザによって生成される。
FIG. 14 is a diagram illustrating an example of a configuration of a
The
The
学習装置400は、生成した第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を、図面認識装置100の推論器格納部103に格納する。また、学習装置400は、入力された図面特性情報2を、関連度記録部106に格納する。なお、関連度記録部106には、予めユーザによって生成済みの関連度情報(図7参照)が格納されている。ユーザは、予め、イメージ図面1と図面特性情報2とに基づき関連度情報を生成しておく。学習装置400は、当該関連度情報とともに、図面特性情報2を、格納する。
なお、図14では、説明の簡単のため、図面認識装置100の構成部として、推論器格納部103および関連度記録部106のみを図示しているが、図面認識装置100の構成例は、図1を用いて説明した図面認識装置100の構成例と同じである。
The
In addition, in order to simplify the explanation, FIG. 14 illustrates only the inference
また、ここでは、図14に示すように、学習装置400は図面認識装置100とは別個の装置とし、図面認識装置100と接続されるものとするが、これは一例に過ぎない。学習装置400は、図面認識装置100に搭載されるようにしてもよい。
In addition, as shown in FIG. 14, the
学習装置400は、学習用データ取得部401、シンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404を備える。
The
学習用データ取得部401は、学習のためのデータ取得処理を行う。
具体的には、学習用データ取得部401は、教師ラベルが付与された複数のイメージ図面1と、当該イメージ図面1に対応する図面特性情報2とを取得する。教師ラベルは、例えば、上述したようなテキストデータである。学習用データ取得部401は、具体的には、複数のイメージ図面1と、イメージ図面1毎のテキストデータとを取得する。なお、教師ラベルが付与された複数のイメージ図面1と図面特性情報2とは、ユーザによって入力される。例えば、学習装置400は操作入力装置200(図1参照)と接続され、ユーザは、操作入力装置200から複数のイメージ図面1と図面特性情報2とを入力する。
The learning
Specifically, the learning
そして、学習用データ取得部401は、取得したイメージ図面1に基づき、学習用データを生成する。
具体的には、学習用データ取得部401は、まず、取得したイメージ図面1を、例えば、224×224ピクセルのサイズ毎のデータになるよう分割する。イメージ図面1を分割する間隔は、上下左右に、224×224ピクセルのサイズに等間隔で分割すればよく、イメージ図面1を分割する際に重複する部分があってもよい。なお、学習用データ取得部401は、例えば、取得したイメージ図面1が、機械学習モデルの入力とすることが可能なサイズの制限内であれば、上述したような処理を行う必要はない。
また、学習用データ取得部401は、取得した図面特性情報2を解析して当該図面特性情報2から特徴量を抽出する。学習用データ取得部401は、図面特性情報2から、特徴量を、例えば、「家電」であれば「0」、「配電盤」であれば「1」、「車」であれば「2」のように、数値として抽出する。
学習用データ取得部401は、教師ラベルが付与された、分割後のイメージ図面1と、図面特性情報2から抽出した特徴量とを含むデータを、学習用データとして生成する。
学習用データ取得部401は、生成した学習用データを、シンボルモデル生成部402、属性情報モデル生成部403、接続線モデル生成部404に出力する。
Then, the learning
Specifically, the learning
Furthermore, the learning
The learning
The learning
なお、ここでは、学習用データ取得部401が図面特性情報2の解析処理を行い、特徴量を抽出した上で、当該特徴量を学習用データに含めるようにしたが、これは一例に過ぎない。例えば、学習用データ取得部401は、教師ラベルが付与された、分割後のイメージ図面1と、図面特性情報2とを学習用データとしてもよい。この場合、後述のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404が、それぞれ、機械学習モデルを生成する際に、学習用データに含まれている図面特性情報2に対して、上述したような解析処理を行う。
また、上述したような、イメージ図面1の分割を、後述のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404が行うようにしてもよい。この場合、学習用データ取得部401は、取得したイメージ図面1をそのまま学習用データに含めるようにし、後述のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404が、それぞれ、機械学習モデルを生成する際に、イメージ図面1の分割を行う。
In this embodiment, the learning
Furthermore, the division of the image drawing 1 as described above may be performed by the symbol
また、学習用データ取得部401は、取得した図面特性情報2を関連度記録部106に格納する。上述のとおり、関連度記録部106には、予め、関連度情報が格納される。
なお、関連度記録部106には、関連度情報と図面特性情報2の他、シンボル、属性、または、接続線に係る種々の情報が格納されるようになっていてもよい。
Furthermore, the learning
In addition to the relevance information and the drawing
シンボルモデル生成部402は、学習用データ取得部401が出力した学習用データに基づいてシンボルの判定を学習し、イメージ図面1と図面特性情報2とを入力として、イメージ図面1上のシンボルの数、各シンボルの位置情報、各シンボルの種別、および、各シンボルの確度等に関する情報をシンボル認識結果として出力する第1機械学習モデル131を生成する。
実施の形態1において、シンボルモデル生成部402は、学習用データ取得部401が出力した学習用データを用いて、ニューラルネットワークの物体検出に関わる学習を行う。すなわち、画像特徴量を抽出し、分類、座標の修正を行うことで学習する。学習方法としては、SSD(Single Shot Detector)、YOLO(You only Look Once)等の周知の学習方法を用いればよい。
シンボルモデル生成部402は、生成した第1機械学習モデル131を、推論器格納部103に格納する。
The symbol
In the first embodiment, the symbol
The symbol
属性情報モデル生成部403は、学習用データ取得部401が出力した学習用データに基づいて属性の判定を学習し、イメージ図面1と図面特性情報2とを入力として、イメージ図面1上の属性の数、各属性の位置情報、各属性の種別、および、各属性の確度等に関する情報を属性認識結果として出力する第2機械学習モデル132を生成する。
実施の形態1において、属性情報モデル生成部403は、学習用データ取得部401が出力した学習用データを用いて、ニューラルネットワークの物体検出に関わる学習を行う。すなわち、画像特徴量を抽出し、分類、座標の修正を行うことで学習する。学習方法としては、VGSL(Variable-size Graph Specification Language)等の周知の学習方法を用いればよい。
属性情報モデル生成部403は、生成した第2機械学習モデル132を、推論器格納部103に格納する。
The attribute information
In the first embodiment, the attribute information
The attribute information
接続線モデル生成部404は、学習用データ取得部401が出力した学習用データに基づいて接続線の判定を学習し、イメージ図面1と図面特性情報2とを入力として、イメージ図面1上の接続線の数、各接続線の位置情報、各接続線の種別、および、各接続線の確度等に関する情報を接続線認識結果として出力する第3機械学習モデル133を生成する。
実施の形態1において、接続線モデル生成部404は、学習用データ取得部401が出力した学習用データを用いて、ニューラルネットワークの物体検出に関わる学習を行う。すなわち、画像特徴量を抽出し、分類、座標の修正を行うことで学習する。学習方法としては、SSD(Single Shot Detector)、YOLO(You only Look Once)等の周知の学習方法を用いればよい。
接続線モデル生成部404は、生成した第3機械学習モデル133を、推論器格納部103に格納する。
The connection line
In the first embodiment, the connection line
The connection line
実施の形態1に係る学習装置400の動作について説明する。
図15は、実施の形態1に係る学習装置400の動作について説明するためのフローチャートである。
The operation of
FIG. 15 is a flowchart for explaining the operation of
学習用データ取得部401は、学習のためのデータ取得処理を行う(ステップST1501)。
具体的には、学習用データ取得部401は、教師ラベルが付与された複数のイメージ図面1と、当該イメージ図面1に対応する図面特性情報2とを取得する。
そして、学習用データ取得部401は、取得したイメージ図面1に基づき、学習用データを生成する。学習用データ取得部401は、生成した学習用データを、シンボルモデル生成部402、属性情報モデル生成部403、接続線モデル生成部404に出力する。
また、学習用データ取得部401は、取得した図面特性情報2を関連度記録部106に格納する。
The learning
Specifically, the learning
Then, the learning
Furthermore, the learning
シンボルモデル生成部402は、ステップST1501にて学習用データ取得部401が出力した学習用データに基づいて、シンボルの判定を学習し、第1機械学習モデル131を生成する(ステップST1502)。
シンボルモデル生成部402は、生成した第1機械学習モデル131を、推論器格納部103に格納する。
The symbol
The symbol
属性情報モデル生成部403は、ステップST1501にて学習用データ取得部401が出力した学習用データに基づいて、属性の判定を学習し、第2機械学習モデル132を生成する(ステップST1503)。
属性情報モデル生成部403は、生成した第2機械学習モデル132を、推論器格納部103に格納する。
The attribute information
The attribute information
接続線モデル生成部404は、ステップST1501にて学習用データ取得部401が出力した学習用データに基づいて、接続線の判定を学習し、第3機械学習モデル133を生成する(ステップST1504)。
接続線モデル生成部404は、生成した第3機械学習モデル133を、推論器格納部103に格納する。
The connection line
The connection line
このように、学習装置400は、いわゆる教師あり学習により、複数のイメージ図面1と図面特性情報2とに基づいて、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成することができる。
In this way, the
学習装置400は、イメージ図面1と図面特性情報2とに基づいて、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成することで、図面特性情報2による重み付けを行うことができる。
例えば、図面特性情報2から抽出された特徴量が「家電」を示すものである場合、学習装置400は、機械学習モデルを学習させる際、「家電」に関するシンボル等を優先的に認識する。
このように、学習装置400は、イメージ図面1に加えて図面特性情報2を機械学習モデルの入力とすることで、イメージ図面1上のシンボル、属性、または、接続線に図面特性情報2に基づく重み付けを行うことができ、イメージ図面1の用途を加味した認識結果を出力する機械学習モデルを生成することができる。
The
For example, if the feature extracted from the drawing
In this way, by using the drawing
なお、以上の実施の形態1では、学習装置400は、複数のイメージ図面1と図面特性情報2とに基づいて機械学習モデルを生成することとしたが、学習装置400は、学習において、図面特性情報2を必須としない。この場合、学習装置400の学習用データ取得部401は、図面特性情報2を取得する必要はない。また、学習装置400のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404は、それぞれ、イメージ図面1に基づいて第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成する。
ただし、学習装置400は、図面特性情報2を用いて機械学習モデルを生成するようにすることで、図面特性情報2を用いず機械学習モデルを生成する場合と比べ、精度の高い機械学習モデルを生成することができる。
なお、学習装置400が学習において図面特性情報2を用いない場合、図面認識装置100は、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133に基づく推論を行う際、図面特性情報2を必要としない。
In the above first embodiment, the
However, by generating a machine learning model using drawing
In addition, if the
図16A,図16Bは、実施の形態1に係る学習装置400のハードウェア構成の一例を示す図である。
実施の形態1において、学習用データ取得部401と、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404の機能は、処理回路1601により実現される。すなわち、学習装置400は、イメージ図面1と図面特性情報2とに基づき、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成するための処理回路1601を備える。
処理回路1601は、図16Aに示すように専用のハードウェアであっても、図16Bに示すようにメモリ1605に格納されるプログラムを実行するCPU(Central Processing Unit)1604であってもよい。
16A and 16B are diagrams illustrating an example of a hardware configuration of the
In the first embodiment, the functions of the learning
The
処理回路1601が専用のハードウェアである場合、処理回路1601は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、またはこれらを組み合わせたものが該当する。
When the
処理回路1601がCPU1604の場合、学習用データ取得部401と、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404の機能は、ソフトウェア、ファームウェア、または、ソフトウェアとファームウェアとの組み合わせにより実現される。ソフトウェアまたはファームウェアは、プログラムとして記述され、メモリ1605に記憶される。処理回路1601は、メモリ1605に記憶されたプログラムを読み出して実行することにより、学習用データ取得部401と、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404の機能を実行する。すなわち、学習装置400は、処理回路1601により実行されるときに、上述の図15のステップST1501~ステップST1504が結果的に実行されることになるプログラムを格納するためのメモリ1605を備える。また、メモリ1605に記憶されたプログラムは、学習用データ取得部401と、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404の手順または方法をコンピュータに実行させるものであるとも言える。ここで、メモリ1605とは、例えば、RAM、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read-Only Memory)等の、不揮発性もしくは揮発性の半導体メモリ、または、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、DVD(Digital Versatile Disc)等が該当する。
When the
なお、学習用データ取得部401と、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404の機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。例えば、学習用データ取得部401については専用のハードウェアとしての処理回路1601でその機能を実現し、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404については処理回路1601がメモリ1605に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。
また、学習装置400は、図面認識装置100等の装置と、有線通信または無線通信を行う入力インタフェース装置1602および出力インタフェース装置1603を備える。
The functions of the learning
The
以上のように、実施の形態1の図面認識装置100は、図面データ(イメージ図面1)を取得する図面取得部101と、図面取得部101が取得した図面データと、図面データを入力とし当該図面データ上のシンボル、属性、および、シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、図面取得部101が取得した図面データにおけるシンボルに関する情報、図面取得部101が取得した前記図面データにおける属性に関する情報、および、図面取得部101が取得した図面データにおける接続線に関する情報を認識する認識部102と、認識部102が認識した、シンボルに関する情報、属性に関する情報、および、接続線に関する情報に基づいて、図面取得部101が取得した図面データにおけるシンボルと属性と他のシンボルとの対応関係を判定する判定部104を備えるように構成した。そのため、図面認識装置100は、配置知識を必要とすることなく文字と記号との対応関係を判定することができる。
As described above, the drawing
なお、本開示は、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 Note that this disclosure allows for modification of any of the components of the embodiments, or omission of any of the components of the embodiments.
1 イメージ図面、2 図面特性情報、100 図面認識装置、101 図面取得部、102 認識部、1021 シンボル認識部、1022 属性情報認識部、1023 接続線認識部、103 推論器格納部、131 第1機械学習モデル、132 第2機械学習モデル、133 第3機械学習モデル、104 判定部、105 部品記録部、106 関連度記録部、107 生成部、108 比較部、109 一致データ記録部、110 不一致データ記録部、111 図面表示部、200 操作入力装置、201 キーボード、202 マウス、300 表示装置、301 ディスプレイ、400 学習装置、401 学習用データ取得部、402 シンボルモデル生成部、403 属性情報モデル生成部、404 接続線モデル生成部、1301,1601 処理回路、1302,1602 入力インタフェース装置、1303,1603 出力インタフェース装置、1304,1604 CPU、1305,1605 メモリ。 1 Image drawing, 2 Drawing characteristic information, 100 Drawing recognition device, 101 Drawing acquisition unit, 102 Recognition unit, 1021 Symbol recognition unit, 1022 Attribute information recognition unit, 1023 Connection line recognition unit, 103 Inference device storage unit, 131 First machine learning model, 132 Second machine learning model, 133 Third machine learning model, 104 Judgment unit, 105 Part recording unit, 106 Association degree recording unit, 107 Generation unit, 108 Comparison unit, 109 Matching data recording unit, 110 Mismatching data recording unit, 111 Drawing display unit, 200 Operation input device, 201 Keyboard, 202 Mouse, 300 Display device, 301 Display, 400 Learning device, 401 Learning data acquisition unit, 402 Symbol model generation unit, 403 Attribute information model generation unit, 404 Connection line model generation unit, 1301, 1601 Processing circuit, 1302, 1602 input interface device, 1303, 1603 output interface device, 1304, 1604 CPU, 1305, 1605 memory.
Claims (23)
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上のシンボル、属性、および、前記シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける、前記シンボルの位置情報を含む前記シンボルに関する情報、前記図面取得部が取得した前記図面データにおける、前記属性の位置情報を含む前記属性に関する情報、および、前記図面取得部が取得した前記図面データにおける、前記接続線の位置情報を含む前記接続線に関する情報を認識する認識部と、
前記認識部が認識した、前記シンボルに関する情報、前記属性に関する情報、および、前記接続線に関する情報に基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する判定部とを備え、
前記判定部は、
前記認識部が認識した、前記シンボル、前記属性、および、前記接続線に関する情報と、前記シンボルと当該シンボルと関連する前記属性が前記図面データ上でともに示される回数であらわされる、前記図面データ上にて示される前記シンボルと前記属性の関連度、または、前記シンボルと当該シンボルの接続先となる接続先シンボルが前記図面データ上で接続されて示される回数であらわされる、前記シンボル同士の接続の関連度、に関する関連度情報とに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する
ことを特徴とする図面認識装置。 A drawing acquisition unit that acquires drawing data;
a recognition unit that recognizes, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as an input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols on the drawing data, information related to the symbols in the drawing data acquired by the drawing acquisition unit, including position information of the symbols, information related to the attributes in the drawing data acquired by the drawing acquisition unit, including position information of the attributes, and information related to the connection lines in the drawing data acquired by the drawing acquisition unit, including position information of the connection lines;
a determination unit that determines a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit, based on the information about the symbol, the information about the attribute, and the information about the connection line recognized by the recognition unit ,
The determination unit is
Based on information on the symbol, the attribute, and the connection line recognized by the recognition unit, and on the degree of association between the symbol and the attribute shown on the drawing data, which is represented by the number of times the symbol and the attribute related to the symbol are shown together on the drawing data, or on the degree of association between the symbols, which is represented by the number of times the symbol and the connection destination symbol to which the symbol is connected are shown connected on the drawing data, the corresponding relationship between the symbol, the attribute, and other symbols in the drawing data acquired by the drawing acquisition unit is determined.
A drawing recognition device characterized by the above .
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上の前記シンボルに関するシンボル認識結果を出力する第1機械学習モデル、前記図面データを入力とし当該図面データ上において前記属性に関する属性認識結果を出力する第2機械学習モデル、および、前記図面データを入力とし当該図面データ上において前記シンボル同士を接続する前記接続線に関する接続線認識結果を出力する第3機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項1記載の図面認識装置。 The recognition unit is
The drawing recognition device of claim 1, characterized in that it recognizes information regarding the symbols, information regarding the attributes, and information regarding the connection lines connecting the symbols in the drawing data acquired by the drawing acquisition unit based on the drawing data acquired by the drawing acquisition unit, a first machine learning model that takes the drawing data as input and outputs a symbol recognition result regarding the symbols on the drawing data, a second machine learning model that takes the drawing data as input and outputs an attribute recognition result regarding the attributes on the drawing data, and a third machine learning model that takes the drawing data as input and outputs a connection line recognition result regarding the connection lines connecting the symbols on the drawing data.
前記図面取得部が取得した前記図面データと、前記図面データの特性に関する図面特性情報と、前記機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項1記載の図面認識装置。 The recognition unit is
The drawing recognition device according to claim 1, characterized in that it recognizes information about the symbols, information about the attributes, and information about the connection lines connecting the symbols in the drawing data acquired by the drawing acquisition unit based on the drawing data acquired by the drawing acquisition unit, drawing characteristic information related to the characteristics of the drawing data, and the machine learning model.
前記図面取得部が取得した前記図面データと、前記図面データの特性に関する図面特性情報と、前記機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項2記載の図面認識装置。 The recognition unit is
The drawing recognition device according to claim 2, characterized in that it recognizes information about the symbols, information about the attributes, and information about the connection lines connecting the symbols in the drawing data acquired by the drawing acquisition unit based on the drawing data acquired by the drawing acquisition unit, drawing characteristic information related to the characteristics of the drawing data , and the machine learning model.
前記シンボル毎に、前記シンボルと、前記属性との関連度が定義されたシンボル-属性情報、前記シンボル毎に、前記シンボルと、前記シンボルと接続される他のシンボルとの関連度が定義されたシンボル-接続情報、前記図面取得部が取得した前記図面データが用いられる用途毎に、前記シンボルと前記属性との関連度および前記シンボルと他のシンボルとの関連度が定義された用途関連度情報、または、前記図面取得部が取得した前記図面データが用いられる機器の機種毎に、前記シンボルと前記属性との関連度および前記シンボルと他のシンボルとの関連度が定義された機種関連度情報のうちの少なくとも1つを含む
ことを特徴とする請求項1記載の図面認識装置。 The relevance information is
2. The drawing recognition device according to claim 1, further comprising at least one of: symbol-attribute information in which a degree of association between the symbol and the attribute is defined for each of the symbols; symbol-connection information in which a degree of association between the symbol and other symbols connected to the symbol is defined for each of the symbols; usage relevance information in which a degree of association between the symbol and the attribute and a degree of association between the symbol and other symbols are defined for each usage in which the drawing data acquired by the drawing acquisition unit is used; and model relevance information in which a degree of association between the symbol and the attribute and a degree of association between the symbol and other symbols are defined for each model of equipment in which the drawing data acquired by the drawing acquisition unit is used.
を備えた請求項1から請求項5のうちのいずれか1項記載の図面認識装置。 6. The drawing recognition device according to claim 1, further comprising: a generation unit that generates a post-determination image drawing data based on a result of the determination by the determination unit of the correspondence relationship between the symbol, the attribute, and another symbol in the drawing data.
を備えた請求項6記載の図面認識装置。 7. The drawing recognition device according to claim 6, further comprising a comparison unit which calculates a similarity between the determined image drawing data generated by the generation unit and the drawing data acquired by the drawing acquisition unit, and records the determined image drawing data as matching data when the similarity is high, and records the determined image drawing data as non-matching data when the similarity is low.
前記比較部が記録した前記不一致データに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を再判定する
ことを特徴とする請求項7記載の図面認識装置。 The determination unit is
8. The drawing recognition device according to claim 7, further comprising: a step of re-determining a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit based on the mismatch data recorded by the comparison unit.
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上のシンボル、属性、および、前記シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける、前記シンボルの位置情報を含む前記シンボルに関する情報、前記図面取得部が取得した前記図面データにおける、前記属性の位置情報を含む前記属性に関する情報、および、前記図面取得部が取得した前記図面データにおける、前記接続線の位置情報を含む前記接続線に関する情報を認識する認識部と、
前記認識部が認識した、前記シンボルに関する情報、前記属性に関する情報、および、前記接続線に関する情報に基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する判定部とを備え、
前記判定部は、
前記認識部が認識した、前記シンボル、前記属性、および、前記接続線に関する情報と、前記図面データ上にて示される前記シンボルと前記属性の関連度、または、前記シンボル同士の接続の関連度に関する関連度情報とに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定し、
前記関連度情報は、
前記シンボル毎に、前記シンボルと、前記属性との関連度が定義されたシンボル-属性情報、前記シンボル毎に、前記シンボルと、前記シンボルと接続される他のシンボルとの関連度が定義されたシンボル-接続情報、前記図面取得部が取得した前記図面データが用いられる用途毎に、前記シンボルと前記属性との関連度および前記シンボルと他のシンボルとの関連度が定義された用途関連度情報、または、前記図面取得部が取得した前記図面データが用いられる機器の機種毎に、前記シンボルと前記属性との関連度および前記シンボルと他のシンボルとの関連度が定義された機種関連度情報のうちの少なくとも1つを含む
ことを特徴とする図面認識装置。 A drawing acquisition unit that acquires drawing data;
a recognition unit that recognizes, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as an input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols on the drawing data, information related to the symbols in the drawing data acquired by the drawing acquisition unit, including position information of the symbols, information related to the attributes in the drawing data acquired by the drawing acquisition unit, including position information of the attributes, and information related to the connection lines in the drawing data acquired by the drawing acquisition unit, including position information of the connection lines;
a determination unit that determines a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit, based on the information about the symbol, the information about the attribute, and the information about the connection line recognized by the recognition unit ,
The determination unit is
determining a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit based on information related to the symbol, the attribute, and the connection line recognized by the recognition unit, and on a degree of association between the symbol and the attribute shown on the drawing data, or on a degree of association between the connections between the symbols;
The relevance information is
The data includes at least one of symbol-attribute information in which a degree of association between the symbol and the attribute is defined for each symbol, symbol-connection information in which a degree of association between the symbol and other symbols connected to the symbol is defined for each symbol, usage association information in which a degree of association between the symbol and the attribute and a degree of association between the symbol and other symbols are defined for each usage in which the drawing data acquired by the drawing acquisition unit is used, and model association information in which a degree of association between the symbol and the attribute and a degree of association between the symbol and other symbols are defined for each model of equipment in which the drawing data acquired by the drawing acquisition unit is used.
A drawing recognition device characterized by the above .
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上の前記シンボルに関するシンボル認識結果を出力する第1機械学習モデル、前記図面データを入力とし当該図面データ上において前記属性に関する属性認識結果を出力する第2機械学習モデル、および、前記図面データを入力とし当該図面データ上において前記シンボル同士を接続する前記接続線に関する接続線認識結果を出力する第3機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項9記載の図面認識装置。 The recognition unit is
The drawing recognition device of claim 9, characterized in that it recognizes information regarding the symbol, information regarding the attribute, and information regarding the connection line connecting the symbols in the drawing data acquired by the drawing acquisition unit based on the drawing data acquired by the drawing acquisition unit, a first machine learning model that takes the drawing data as input and outputs a symbol recognition result regarding the symbol on the drawing data, a second machine learning model that takes the drawing data as input and outputs an attribute recognition result regarding the attribute on the drawing data, and a third machine learning model that takes the drawing data as input and outputs a connection line recognition result regarding the connection line connecting the symbols on the drawing data .
前記図面取得部が取得した前記図面データと、前記図面データの特性に関する図面特性情報と、前記機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項9記載の図面認識装置。 The recognition unit is
The drawing recognition device according to claim 9, characterized in that it recognizes information about the symbols, information about the attributes, and information about the connection lines connecting the symbols in the drawing data acquired by the drawing acquisition unit based on the drawing data acquired by the drawing acquisition unit, drawing characteristic information related to the characteristics of the drawing data , and the machine learning model.
を備えた請求項9から請求項11のうちのいずれか1項記載の図面認識装置。 12. The drawing recognition device according to claim 9 , further comprising: a generation unit configured to generate determined image drawing data based on a result of the determination made by the determination unit regarding the correspondence relationship between the symbol , the attribute, and another symbol in the drawing data.
を備えた請求項12記載の図面認識装置。 13. The drawing recognition device according to claim 12, further comprising a comparison unit that calculates a similarity between the determined image drawing data generated by the generation unit and the drawing data acquired by the drawing acquisition unit, and records the determined image drawing data as matching data when the similarity is high, and records the determined image drawing data as non-matching data when the similarity is low .
前記比較部が記録した前記不一致データに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を再判定する
ことを特徴とする請求項13記載の図面認識装置。 The determination unit is
14. The drawing recognition device according to claim 13 , further comprising: a step of re-determining a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit based on the mismatch data recorded by the comparison unit.
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上のシンボル、属性、および、前記シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける、前記シンボルの位置情報を含む前記シンボルに関する情報、前記図面取得部が取得した前記図面データにおける、前記属性の位置情報を含む前記属性に関する情報、および、前記図面取得部が取得した前記図面データにおける、前記接続線の位置情報を含む前記接続線に関する情報を認識する認識部と、
前記認識部が認識した、前記シンボルに関する情報、前記属性に関する情報、および、前記接続線に関する情報に基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する判定部と、
前記判定部が判定した、前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係の判定結果に基づいて、判定後イメージ図面データを生成する生成部と、
前記生成部が生成した前記判定後イメージ図面データと前記図面取得部が取得した前記図面データとの比較によって、前記判定後イメージ図面データと前記図面データとの類似度を算出し、前記類似度が高い場合は一致データとして記録し、前記類似度が低い場合は不一致データとして記録する比較部
を備えた図面認識装置。 A drawing acquisition unit that acquires drawing data;
a recognition unit that recognizes, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as an input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols on the drawing data, information related to the symbols in the drawing data acquired by the drawing acquisition unit, including position information of the symbols, information related to the attributes in the drawing data acquired by the drawing acquisition unit, including position information of the attributes, and information related to the connection lines in the drawing data acquired by the drawing acquisition unit, including position information of the connection lines;
a determination unit that determines a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit, based on the information about the symbol, the information about the attribute, and the information about the connection line recognized by the recognition unit ;
a generating unit that generates determined image drawing data based on a result of the determination by the determining unit of the correspondence relationship between the symbol, the attribute, and another symbol in the drawing data;
a comparison unit that calculates a similarity between the determined image drawing data generated by the generation unit and the drawing data acquired by the drawing acquisition unit, and records the similarity as matched data when the similarity is high, and records the similarity as non-matched data when the similarity is low.
A drawing recognition device equipped with the above.
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上の前記シンボルに関するシンボル認識結果を出力する第1機械学習モデル、前記図面データを入力とし当該図面データ上において前記属性に関する属性認識結果を出力する第2機械学習モデル、および、前記図面データを入力とし当該図面データ上において前記シンボル同士を接続する前記接続線に関する接続線認識結果を出力する第3機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項15記載の図面認識装置。 The recognition unit is
The drawing recognition device of claim 15, characterized in that it recognizes information regarding the symbol, information regarding the attribute, and information regarding the connection line connecting the symbols in the drawing data acquired by the drawing acquisition unit based on the drawing data acquired by the drawing acquisition unit, a first machine learning model that takes the drawing data as input and outputs a symbol recognition result regarding the symbol on the drawing data, a second machine learning model that takes the drawing data as input and outputs an attribute recognition result regarding the attribute on the drawing data, and a third machine learning model that takes the drawing data as input and outputs a connection line recognition result regarding the connection line connecting the symbols on the drawing data.
前記図面取得部が取得した前記図面データと、前記図面データの特性に関する図面特性情報と、前記機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項15記載の図面認識装置。 The recognition unit is
The drawing recognition device according to claim 15, characterized in that, based on the drawing data acquired by the drawing acquisition unit, drawing characteristic information relating to characteristics of the drawing data, and the machine learning model, the device recognizes information regarding the symbols, information regarding the attributes, and information regarding the connection lines connecting the symbols in the drawing data acquired by the drawing acquisition unit.
前記認識部が認識した、前記シンボル、前記属性、および、前記接続線に関する情報と、前記図面データ上にて示される前記シンボルと前記属性の関連度、または、前記シンボル同士の接続の関連度に関する関連度情報とに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する
ことを特徴とする請求項15から請求項17のうちのいずれか1項記載の図面認識装置。 The determination unit is
18. The drawing recognition device according to claim 15, further comprising: a determining unit that determines a correspondence between the symbol, the attribute, and other symbols in the drawing data acquired by the drawing acquisition unit based on information regarding the symbol, the attribute, and the connection line recognized by the recognition unit, and based on a degree of association between the symbol and the attribute shown on the drawing data, or on a degree of association between the connections between the symbols.
前記比較部が記録した前記不一致データに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を再判定する
ことを特徴とする請求項15記載の図面認識装置。 The determination unit is
16. The drawing recognition device according to claim 15 , further comprising: a step of re-determining a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit based on the mismatch data recorded by the comparison unit.
図面データを取得する図面取得部と、
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上のシンボル、属性、および、前記シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける、前記シンボルの位置情報を含む前記シンボルに関する情報、前記図面取得部が取得した前記図面データにおける、前記属性の位置情報を含む前記属性に関する情報、および、前記図面取得部が取得した前記図面データにおける、前記接続線の位置情報を含む前記接続線に関する情報を認識する認識部と、
前記認識部が認識した、前記シンボルに関する情報、前記属性に関する情報、および、前記接続線に関する情報に基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する判定部として機能させるためのプログラムであって、
前記判定部は、
前記認識部が認識した、前記シンボル、前記属性、および、前記接続線に関する情報と、前記シンボルと当該シンボルと関連する前記属性が前記図面データ上でともに示される回数であらわされる、前記図面データ上にて示される前記シンボルと前記属性の関連度、または、前記シンボルと当該シンボルの接続先となる接続先シンボルが前記図面データ上で接続されて示される回数であらわされる、前記シンボル同士の接続の関連度に関する関連度情報とに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する
ことを特徴とする図面認識プログラム。 Computer,
A drawing acquisition unit that acquires drawing data;
a recognition unit that recognizes, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as an input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols on the drawing data, information related to the symbols in the drawing data acquired by the drawing acquisition unit, including position information of the symbols, information related to the attributes in the drawing data acquired by the drawing acquisition unit, including position information of the attributes, and information related to the connection lines in the drawing data acquired by the drawing acquisition unit, including position information of the connection lines;
a program for causing the program to function as a determination unit that determines a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit, based on information about the symbol, information about the attribute, and information about the connection line recognized by the recognition unit, the program comprising:
The determination unit is
Based on information on the symbol, the attribute, and the connection line recognized by the recognition unit, and on a degree of association between the symbol and the attribute shown on the drawing data, which is represented by the number of times the symbol and the attribute related to the symbol are shown together on the drawing data, or on a degree of association between the symbols, which is represented by the number of times the symbol and a destination symbol to which the symbol is connected are shown connected on the drawing data, the corresponding relationship between the symbol, the attribute, and other symbols in the drawing data acquired by the drawing acquisition unit is determined.
A drawing recognition program comprising :
図面データを取得する図面取得部と、A drawing acquisition unit that acquires drawing data;
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上のシンボル、属性、および、前記シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける、前記シンボルの位置情報を含む前記シンボルに関する情報、前記図面取得部が取得した前記図面データにおける、前記属性の位置情報を含む前記属性に関する情報、および、前記図面取得部が取得した前記図面データにおける、前記接続線の位置情報を含む前記接続線に関する情報を認識する認識部と、a recognition unit that recognizes, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as an input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols on the drawing data, information related to the symbols in the drawing data acquired by the drawing acquisition unit, including position information of the symbols, information related to the attributes in the drawing data acquired by the drawing acquisition unit, including position information of the attributes, and information related to the connection lines in the drawing data acquired by the drawing acquisition unit, including position information of the connection lines;
前記認識部が認識した、前記シンボルに関する情報、前記属性に関する情報、および、前記接続線に関する情報に基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する判定部として機能させるためのプログラムであって、a program for causing the program to function as a determination unit that determines a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit, based on information about the symbol, information about the attribute, and information about the connection line recognized by the recognition unit, the program comprising:
前記判定部は、The determination unit is
前記認識部が認識した、前記シンボル、前記属性、および、前記接続線に関する情報と、前記図面データ上にて示される前記シンボルと前記属性の関連度、または、前記シンボル同士の接続の関連度に関する関連度情報とに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定し、determining a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit based on information related to the symbol, the attribute, and the connection line recognized by the recognition unit, and on a degree of association between the symbol and the attribute shown on the drawing data, or on a degree of association between the connections between the symbols;
前記関連度情報は、The relevance information is
前記シンボル毎に、前記シンボルと、前記属性との関連度が定義されたシンボル-属性情報、前記シンボル毎に、前記シンボルと、前記シンボルと接続される他のシンボルとの関連度が定義されたシンボル-接続情報、前記図面取得部が取得した前記図面データが用いられる用途毎に、前記シンボルと前記属性との関連度および前記シンボルと他のシンボルとの関連度が定義された用途関連度情報、または、前記図面取得部が取得した前記図面データが用いられる機器の機種毎に、前記シンボルと前記属性との関連度および前記シンボルと他のシンボルとの関連度が定義された機種関連度情報のうちの少なくとも1つを含むThe data includes at least one of symbol-attribute information in which a degree of association between the symbol and the attribute is defined for each symbol, symbol-connection information in which a degree of association between the symbol and other symbols connected to the symbol is defined for each symbol, usage association information in which a degree of association between the symbol and the attribute and a degree of association between the symbol and other symbols are defined for each usage in which the drawing data acquired by the drawing acquisition unit is used, and model association information in which a degree of association between the symbol and the attribute and a degree of association between the symbol and other symbols are defined for each model of equipment in which the drawing data acquired by the drawing acquisition unit is used.
ことを特徴とする図面認識プログラム。A drawing recognition program comprising:
図面データを取得する図面取得部と、A drawing acquisition unit that acquires drawing data;
前記図面取得部が取得した前記図面データと、前記図面データを入力とし当該図面データ上のシンボル、属性、および、前記シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける、前記シンボルの位置情報を含む前記シンボルに関する情報、前記図面取得部が取得した前記図面データにおける、前記属性の位置情報を含む前記属性に関する情報、および、前記図面取得部が取得した前記図面データにおける、前記接続線の位置情報を含む前記接続線に関する情報を認識する認識部と、a recognition unit that recognizes, based on the drawing data acquired by the drawing acquisition unit and a machine learning model that receives the drawing data as an input and outputs recognition results related to symbols, attributes, and connection lines connecting the symbols on the drawing data, information related to the symbols in the drawing data acquired by the drawing acquisition unit, including position information of the symbols, information related to the attributes in the drawing data acquired by the drawing acquisition unit, including position information of the attributes, and information related to the connection lines in the drawing data acquired by the drawing acquisition unit, including position information of the connection lines;
前記認識部が認識した、前記シンボルに関する情報、前記属性に関する情報、および、前記接続線に関する情報に基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定する判定部と、a determination unit that determines a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit, based on the information about the symbol, the information about the attribute, and the information about the connection line recognized by the recognition unit;
前記判定部が判定した、前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係の判定結果に基づいて、判定後イメージ図面データを生成する生成部と、a generating unit that generates determined image drawing data based on a result of the determination by the determining unit of the correspondence relationship between the symbol, the attribute, and another symbol in the drawing data;
前記生成部が生成した前記判定後イメージ図面データと前記図面取得部が取得した前記図面データとの比較によって、前記判定後イメージ図面データと前記図面データとの類似度を算出し、前記類似度が高い場合は一致データとして記録し、前記類似度が低い場合は不一致データとして記録する比較部a comparison unit that calculates a similarity between the determined image drawing data generated by the generation unit and the drawing data acquired by the drawing acquisition unit, and records the similarity as matched data when the similarity is high, and records the similarity as non-matched data when the similarity is low.
として機能させるための図面認識プログラム。A drawing recognition program to function as a.
前記比較部が記録した前記不一致データに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を再判定するBased on the mismatch data recorded by the comparison unit, a correspondence relationship between the symbol, the attribute, and another symbol in the drawing data acquired by the drawing acquisition unit is re-determined.
ことを特徴とする請求項22記載の図面認識プログラム。23. The drawing recognition program according to claim 22.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020167393A JP7664693B2 (en) | 2020-10-02 | 2020-10-02 | Drawing recognition device and drawing recognition program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020167393A JP7664693B2 (en) | 2020-10-02 | 2020-10-02 | Drawing recognition device and drawing recognition program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022059670A JP2022059670A (en) | 2022-04-14 |
| JP7664693B2 true JP7664693B2 (en) | 2025-04-18 |
Family
ID=81124983
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020167393A Active JP7664693B2 (en) | 2020-10-02 | 2020-10-02 | Drawing recognition device and drawing recognition program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7664693B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117315708A (en) * | 2023-10-31 | 2023-12-29 | 中铁二十四局集团有限公司 | An engineering drawing attribute parameter matching method based on image detection |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004259076A (en) | 2003-02-27 | 2004-09-16 | Hitachi Ltd | Image recognition method and apparatus |
| JP2006227824A (en) | 2005-02-16 | 2006-08-31 | Hitachi Ltd | Drawing recognition method and apparatus |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2749020B2 (en) * | 1991-11-14 | 1998-05-13 | 日立ソフトウエアエンジニアリング株式会社 | Diagram recognition system |
| JPH07234937A (en) * | 1994-02-23 | 1995-09-05 | Nippon Telegr & Teleph Corp <Ntt> | Drawing recognition method and drawing recognition system |
-
2020
- 2020-10-02 JP JP2020167393A patent/JP7664693B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2004259076A (en) | 2003-02-27 | 2004-09-16 | Hitachi Ltd | Image recognition method and apparatus |
| JP2006227824A (en) | 2005-02-16 | 2006-08-31 | Hitachi Ltd | Drawing recognition method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022059670A (en) | 2022-04-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11551134B2 (en) | Information processing apparatus, information processing method, and storage medium | |
| RU2641225C2 (en) | Method of detecting necessity of standard learning for verification of recognized text | |
| JP2005242579A (en) | Document processing apparatus, document processing method, and document processing program | |
| JP7562292B2 (en) | Information processing device, server, system, information processing method, and program | |
| JPWO2014068770A1 (en) | Data extraction method, data extraction device and program thereof | |
| CN114868192A (en) | Information processing apparatus, information processing method, and program | |
| CN113841156B (en) | Control method and device based on image recognition | |
| JP7664693B2 (en) | Drawing recognition device and drawing recognition program | |
| JP6784273B2 (en) | Image processing equipment, image processing methods and programs | |
| CN113420848A (en) | Neural network model training method and device and gesture recognition method and device | |
| US20260064765A1 (en) | Drawing search device, drawing database construction device, drawing search system, drawing search method, and recording medium | |
| US20200320409A1 (en) | Model creation supporting method and model creation supporting system | |
| JP2015005100A (en) | Information processor, template generation method, and program | |
| Bonilla-Rivas et al. | Adapting YOLO to recognition of real numbers in 7-segment digits | |
| US20240193918A1 (en) | Techniques for automated component classification | |
| KR102632771B1 (en) | System and method for extracting data of catalog image | |
| JP2020119206A (en) | Information processor and program | |
| US20230237823A1 (en) | Information processing apparatus, information processing method, and computer program | |
| CN117475265A (en) | Teaching device, teaching method and storage medium | |
| JP5051174B2 (en) | Form dictionary generation device, form identification device, form dictionary generation method, and program | |
| JP7854839B2 (en) | Drawing recognition device and drawing recognition program | |
| US20130080137A1 (en) | Conversion method and system | |
| JP6003677B2 (en) | Image processing apparatus and image processing program | |
| JP2021149737A (en) | Running-style character recognition system, running-style character recognition method, creation method of data set, and program | |
| CN116740112B (en) | Numbering method, positioning method, device, equipment and medium for UI (user interface) element |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230828 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240515 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240528 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240711 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241015 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241202 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250311 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250408 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7664693 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |