Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7664693B2 - Drawing recognition device and drawing recognition program - Google Patents
[go: Go Back, main page]

JP7664693B2 - Drawing recognition device and drawing recognition program - Google Patents

Drawing recognition device and drawing recognition program Download PDF

Info

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
Application number
JP2020167393A
Other languages
Japanese (ja)
Other versions
JP2022059670A (en
Inventor
利久 鈴木
芳美 守屋
勇 宗野
健二 大磯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Engineering Co Ltd
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Engineering Co Ltd
Mitsubishi Electric Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Engineering Co Ltd, Mitsubishi Electric Corp filed Critical Mitsubishi Electric Engineering Co Ltd
Priority to JP2020167393A priority Critical patent/JP7664693B2/en
Publication of JP2022059670A publication Critical patent/JP2022059670A/en
Application granted granted Critical
Publication of JP7664693B2 publication Critical patent/JP7664693B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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, Patent Document 1 discloses a drawing recognition technology that, in drawing data containing a mixture of characters and symbols, determines the correspondence between which individually recognized characters correspond to which symbol or pipe, based on previously prepared placement knowledge of the relative positions between characters and symbols.

特開2004-234424号公報JP 2004-234424 A

特許文献1に開示されているような従来技術では、図面認識を行うにあたり、文字と記号等の対応関係について判定するには、事前に配置知識が準備されていなければならないという課題があった。 In conventional technology such as that disclosed in Patent Document 1, there was an issue that in order to perform drawing recognition and determine the correspondence between characters, symbols, etc., placement knowledge had to be prepared in advance.

本開示は上記のような課題を解決するためになされたもので、配置知識を必要とすることなく、文字と記号との対応関係を判定することを可能とした図面認識装置を提供することを目的とする。 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に係る図面認識装置の構成例を示す図である。1 is a diagram illustrating an example of a configuration of a drawing recognition device according to a first embodiment; 実施の形態1におけるイメージ図面の一例のイメージを説明するための図である。FIG. 13 is a diagram for explaining an example of an image drawing in embodiment 1. 実施の形態1における図面特性情報の一例のイメージを説明するための図である。11 is a diagram for explaining an example of drawing characteristic information in embodiment 1. FIG. 実施の形態1に係る図面認識装置が備える認識部の詳細な構成例を示す図である。2 is a diagram illustrating a detailed configuration example of a recognition unit included in the drawing recognition device according to the first embodiment; FIG. 実施の形態1において、シンボル認識部が取得したシンボル認識結果、属性情報認識部が取得した属性認識結果、および、接続線認識部が取得した接続線認識結果の一例のイメージを示す図であって、図5Aは、シンボル認識結果、属性認識結果、および、接続線認識結果を、図面取得部が取得したイメージ図面にマッピングしたイメージを示しており、図5Bは、シンボル認識結果、属性認識結果、および、接続線認識結果の内容をテキストで示したイメージを示している。FIG. 5A shows an example image of the symbol recognition result acquired by the symbol recognition unit, the attribute recognition result acquired by the attribute information recognition unit, and the connection line recognition result acquired by the connection line recognition unit in embodiment 1, where FIG. 5A shows an image in which the symbol recognition result, attribute recognition result, and connection line recognition result are mapped onto an image drawing acquired by the drawing acquisition unit, and FIG. 5B shows an image in which the contents of the symbol recognition result, attribute recognition result, and connection line recognition result are displayed in text. 実施の形態1において、部品記録部が格納している部品情報の内容のイメージの一例を説明するための図である。4 is a diagram for explaining an example of an image of the contents of part information stored in a part recording unit in the first embodiment. FIG. 実施の形態1において、関連度記録部が格納している関連度情報の内容のイメージの一例を説明するための図である。10 is a diagram for explaining an example of an image of the contents of relevance information stored in a relevance recording unit in the first embodiment. FIG. 実施の形態1において、判定部が、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する処理の具体例のイメージを示す説明図である。11 is an explanatory diagram showing an image of a specific example of a process in which a judgment unit in embodiment 1 comprehensively judges whether symbols, attributes, and connections between symbols in inference data have been correctly recognized. FIG. 実施の形態1において、判定部が出力する判定結果の一例のイメージを説明するための図である。10 is a diagram for explaining an image of an example of a determination result output by a determination unit in the first embodiment. FIG. 実施の形態1において、比較部が、生成部が出力した判定後イメージ図面と、図面取得部が取得したイメージ図面とを比較する処理の具体例のイメージを示す説明図である。13 is an explanatory diagram showing an image of a specific example of a process in which a comparison unit compares a post-determination image drawing output by a generation unit with an image drawing acquired by a drawing acquisition unit in embodiment 1. FIG. 実施の形態1に係る図面認識装置の動作を説明するためのフローチャートである。4 is a flowchart for explaining an operation of the drawing recognition device according to the first embodiment; 図11のステップST1102にて認識部が行う、推論の動作の詳細を説明するためのフローチャートである。12 is a flowchart for explaining details of the inference operation performed by the recognition unit in step ST1102 of FIG. 11. 図13A,図13Bは、実施の形態1に係る図面認識装置のハードウェア構成の一例を示す図である。13A and 13B are diagrams illustrating an example of a hardware configuration of the drawing recognition device according to the first embodiment. 実施の形態1に係る学習装置の構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of a learning device according to the first embodiment. 実施の形態1に係る学習装置の動作について説明するためのフローチャートである。4 is a flowchart for explaining the operation of the learning device according to the first embodiment. 図16A,図16Bは、実施の形態1に係る学習装置400のハードウェア構成の一例を示す図である。16A and 16B are diagrams illustrating an example of a hardware configuration of the learning device 400 according to the first embodiment.

以下、本開示の実施の形態について、図面を参照しながら詳細に説明する。
実施の形態1.
Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
Embodiment 1.

図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 drawing recognition apparatus 100 according to the first embodiment.
The drawing recognition device 100 is connected to an operation input device 200 and a display device 300 .
The operation input device 200 includes, for example, a keyboard 201 and a mouse 202 .
The display device 300 includes a display 301. The display 301 is, for example, a liquid crystal display or an organic EL (Electro Luminescence) display. The display device 300 may be mounted on the operation input device 200.

操作入力装置200は、図面認識装置100のユーザによる、図面認識装置100に対する操作を受け付ける。
例えば、ユーザは、操作入力装置200が備えるキーボード201またはマウス202を操作して、図面認識装置100に入力する情報を入力する。具体的には、ユーザは、キーボード201またはマウス202を操作して、例えば、イメージ図面1の一覧、または、図面特性情報2の一覧を表示装置300のディスプレイ301に表示させ、イメージ図面1および図面特性情報2を選択する。
The operation input device 200 accepts operations for the drawing recognition device 100 by a user of the drawing recognition device 100 .
For example, the user operates the keyboard 201 or the mouse 202 provided in the operation input device 200 to input information to be input to the drawing recognition device 100. Specifically, the user operates the keyboard 201 or the mouse 202 to display, for example, a list of image drawings 1 or a list of drawing characteristic information 2 on the display 301 of the display device 300, and selects the image drawing 1 and the drawing characteristic information 2.

ここで、図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 image drawing 1 is, for example, drawing data obtained by digitizing a paper drawing on which a circuit diagram as shown in Fig. 2 is printed, using a scanner or the like. The image drawing 1 may also be, for example, electronic data created on a computer from a paper drawing on which a circuit diagram as shown in Fig. 2 is printed. The format of the image drawing 1 is, for example, any general image format such as jpg or tiff format.
In the first embodiment, as an example, the image drawing 1 is assumed to be drawing data obtained by digitizing a circuit diagram.

図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 characteristic information 2 in the first embodiment.
The drawing characteristic information 2 is information about the characteristics of the image drawing 1, which is set for each image drawing 1. Specifically, the drawing characteristic information 2 is information that associates information capable of identifying the image drawing 1, such as a name or ID, with the purpose of the image drawing 1, and a model in which the image drawing 1 is used. In the first embodiment, the drawing characteristic information 2 is information that associates information capable of identifying a circuit diagram, such as a name or ID, with the purpose of the circuit diagram, and a model in which the circuit diagram is used.
In this embodiment, the drawing characteristic information 2 is text data, but this is merely an example. The drawing characteristic information 2 may be information that associates a drawing with a characteristic of the drawing.

例えば、複数のイメージ図面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 image drawings 1 are stored in advance in a drawing recording unit (not shown) provided at a location that can be referenced by the drawing recognition device 100 and the operation input device 200. Also, drawing characteristic information 2 is stored in advance in a relevance recording unit 106 (details of which will be described later).
The user, for example, operates the keyboard 201 or the mouse 202 to cause the drawing recognition device 100 to display on the display 301 a list of a plurality of image drawings 1 stored in the drawing recording unit and the drawing characteristic information 2 stored in the relevance recording unit 106. Then, the user, for example, operates the keyboard 201 or the mouse 202 to select a desired image drawing 1 from the displayed list of image drawings 1, and selects the drawing characteristic information 2 corresponding to the selected image drawing 1.
The operation input device 200 receives the image drawing 1 selected by the user and the drawing characteristic information 2. The image drawing 1 and the drawing characteristic information 2 received by the operation input device 200 are input to the drawing recognition device 100.

図面認識装置100は、操作入力装置200から入力されたイメージ図面1および図面特性情報2に基づいて、イメージ図面1の図面認識を行う。
なお、実施の形態1において、図面認識装置100が行う図面認識とは、イメージ図面1上において、1つ以上のシンボルに関する情報(以下「シンボル情報」という。)、当該シンボルに関連づけられた属性に関する情報(以下「属性情報」という。)、当該シンボル同士の接続線に関する情報(以下「接続線情報」という。)、および、シンボルと属性と接続線との対応関係を認識することをいう。
シンボル情報は、例えば、シンボルの数、各シンボルの位置情報、各シンボルの種別、および、各シンボルの確度の情報を含む。属性情報は、例えば、属性の数、各属性の位置情報、各属性の種別、および、各属性の確度の情報を含む。接続線情報は、接続線の数、各接続線の位置情報、各接続線の種別、および、各接続線の確度の情報を含む。なお、実施の形態1において、「確度」とは、確からしさの確率をいう。例えば、シンボルの確度とはシンボルらしさの確率をいい、属性の確度とは属性らしさの確率をいい、接続線の確度とは接続線らしさの確率をいう。
The drawing recognition device 100 performs drawing recognition of the image drawing 1 based on the image drawing 1 and drawing characteristic information 2 input from the operation input device 200 .
In addition, in embodiment 1, drawing recognition performed by the drawing recognition device 100 refers to recognizing information on one or more symbols (hereinafter referred to as "symbol information"), information on attributes associated with the symbols (hereinafter referred to as "attribute information"), information on connecting lines between the symbols (hereinafter referred to as "connecting line information"), and the correspondence between symbols, attributes, and connecting lines on the image drawing 1.
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 image drawing 1 is, for example, a part shown on the image drawing 1. Also, an attribute in the image drawing 1 is, for example, a character associated with a symbol and used to identify the symbol. Specifically, in the first embodiment, an attribute is a character indicating the tool number of a part or the name of a part. Also, a connection line in the image drawing 1 is, for example, a line connecting symbols. Note that in the first embodiment, the connection line also includes an intersection.

図面認識装置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 recognition device 100 comprises a drawing acquisition unit 101, a recognition unit 102, an inference unit storage unit 103, a judgment unit 104, a part recording unit 105, an association degree recording unit 106, a generation unit 107, a comparison unit 108, a matching data recording unit 109, an unmatched data recording unit 110, and a drawing display unit 111.
The inference unit storage unit 103 stores a first machine learning model 131, a second machine learning model 132, and a third machine learning model 133.
The first machine learning model 131, the second machine learning model 132, and the third machine learning model 133 are models that have been trained to input the image drawing 1 and the drawing characteristic information 2, and output information relating to the result of drawing recognition of the image drawing 1. In the following first embodiment, the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133 are also collectively referred to simply as "machine learning models."

より詳細には、実施の形態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 machine learning model 131 is a machine learning model that receives an image drawing 1 and drawing characteristic information 2 as input, and outputs a result of recognizing symbol information on the image drawing 1 (hereinafter referred to as a "symbol recognition result"). That is, in the first embodiment, the first machine learning model 131 is a machine learning model for recognizing symbol information.
The second machine learning model 132 is a machine learning model that receives as input the image drawing 1 and drawing characteristic information 2, and outputs a result of recognizing attribute information associated with a symbol on the image drawing 1 (hereinafter referred to as an "attribute recognition result"). That is, in the first embodiment, the second machine learning model 132 is a machine learning model for recognizing attribute information.
The third machine learning model 133 is a machine learning model that outputs a result of recognizing connection line information between symbols on the image drawing 1 (hereinafter referred to as a "connection line recognition result"). That is, in the first embodiment, the third machine learning model 133 is a machine learning model for recognizing connection line information.

機械学習モデルは、学習装置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 learning device 400 will be described later.

図面取得部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 drawing acquisition unit 101 acquires the image drawing 1 and drawing characteristic information 2 inputted by the user via the operation input device 200 .
The drawing acquisition unit 101 performs a predetermined process on the image drawing 1 to generate inference data.
As described above, the drawing recognition device 100 inputs the image drawing 1 into a machine learning model to obtain a drawing recognition result for the image drawing 1. Here, there is a limit to the image size that is input to the machine learning model. Specifically, for example, if the image drawing 1 is a full high definition (FHD) image size of 1920×1080 pixels, this exceeds the upper limit of the image size that can be input to the machine learning model.
Therefore, the drawing acquisition unit 101 divides the acquired image drawing 1 into data of, for example, 224×224 pixels each, and the divided data is used as inference data. The intervals at which the image drawing 1 is divided may be equal intervals of 224×224 pixels in the top, bottom, left, and right directions, and overlapping parts may be included when the image drawing 1 is divided.
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 drawing acquisition unit 101 does not need to perform the processing described above, and can simply use the acquired image drawing 1 as inference data.
The drawing acquisition unit 101 outputs the inference data generated based on the image drawing 1 and the acquired drawing characteristic information 2 to the recognition unit 102 .

なお、ここでは、上述したようなイメージ図面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 acquisition unit 101, this is merely one example. For example, the division of image drawing 1 may be performed by recognition unit 102, which will be described later. In this case, drawing acquisition unit 101 outputs the acquired image drawing 1 as is to recognition unit 102, which will be described later, and when performing inference using a machine learning model, recognition unit 102, which will be described later, divides image drawing 1 as necessary.

認識部102は、図面取得部101から出力された推論データおよび図面特性情報2に基づき、推論器格納部103にて格納されている第1機械学習モデル131、第2機械学習モデル132、または、第3機械学習モデル133を用いた推論を行うことで、シンボル認識結果、属性認識結果、または、接続線認識結果を取得する。これにより、認識部102は、シンボル情報、属性情報、または、接続線情報を認識する。
認識部102は、推論結果、言い換えれば、シンボル認識結果、属性認識結果、または、接続線認識結果を判定部104に出力する。
The recognition unit 102 acquires a symbol recognition result, an attribute recognition result, or a connection line recognition result by performing inference using the first machine learning model 131, the second machine learning model 132, or the third machine learning model 133 stored in the inference device storage unit 103, based on the inference data and the drawing characteristic information 2 output from the drawing acquisition unit 101. In this way, the recognition unit 102 recognizes symbol information, attribute information, or connection line information.
The recognition unit 102 outputs the inference result, in other words, the symbol recognition result, the attribute recognition result, or the connection line recognition result, to the determination unit 104 .

ここで、図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 unit 102 included in the drawing recognizing apparatus 100 according to the first embodiment.
For ease of explanation, FIG. 4 shows only the drawing acquisition unit 101, the recognition unit 102, and the inference unit storage unit 103 of the configuration example of the drawing recognition device 100 shown in FIG.
As shown in FIG. 4, the recognition unit 102 includes a symbol recognition unit 1021 , an attribute information recognition unit 1022 , and a connection line recognition unit 1023 .

シンボル認識部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 symbol recognition unit 1021 acquires a symbol recognition result based on the inference data and drawing characteristic information 2 output from the drawing acquisition unit 101 and the first machine learning model 131.
Specifically, the symbol recognition unit 1021 analyzes the inference data and extracts image features from the inference data. Also, the symbol recognition unit 1021 analyzes the drawing characteristic information 2 and extracts features from the drawing characteristic information 2. The symbol recognition unit 1021 extracts features from the drawing characteristic information 2 as numerical values, such as "0" for "home appliance,""1" for "distribution board," and "2" for "car."
The symbol recognition unit 1021 inputs the image features extracted from the inference data and the features extracted from the drawing characteristic information 2 to the first machine learning model 131 to obtain a symbol recognition result.
In embodiment 1, the symbol recognition unit 1021 obtains, based on the inference data and drawing characteristic information 2, and the first machine learning model 131, the number of symbols in the inference data, position information of each symbol, the type of each symbol, and the accuracy of each symbol, as symbol recognition results.
The symbol recognition unit 1021 outputs the obtained symbol recognition result to the determination unit 104 .

属性情報認識部1022は、図面取得部101から出力された推論データおよび図面特性情報2と、第2機械学習モデル132とに基づいて、属性認識結果を取得する。
具体的には、属性情報認識部1022は、推論データを解析して当該推論データから画像特徴量を抽出する。また、属性情報認識部1022は、図面特性情報2を解析して当該図面特性情報2から特徴量を抽出する。
属性情報認識部1022は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第2機械学習モデル132に入力して、属性認識結果を取得する。
実施の形態1において、属性情報認識部1022は、推論データおよび図面特性情報2と、第2機械学習モデル132とに基づき、属性認識結果として、推論データ上の属性の数、各属性の位置情報、各属性の種別、および、各属性の確度等を取得する。
属性情報認識部1022は、取得した属性認識結果を、判定部104に出力する。
The attribute information recognition unit 1022 acquires an attribute recognition result based on the inference data and drawing characteristic information 2 output from the drawing acquisition unit 101 and the second machine learning model 132.
Specifically, the attribute information recognition unit 1022 analyzes the inference data and extracts image feature quantities from the inference data. The attribute information recognition unit 1022 also analyzes the drawing characteristic information 2 and extracts feature quantities from the drawing characteristic information 2.
The attribute information recognition unit 1022 inputs the image features extracted from the inference data and the features extracted from the drawing characteristic information 2 to the second machine learning model 132 to obtain attribute recognition results.
In embodiment 1, the attribute information recognition unit 1022 obtains, based on the inference data and drawing characteristic information 2, and the second machine learning model 132, the number of attributes in the inference data, the position information of each attribute, the type of each attribute, and the accuracy of each attribute, as attribute recognition results.
The attribute information recognition unit 1022 outputs the acquired attribute recognition result to the determination unit 104 .

接続線認識部1023は、図面取得部101から出力された推論データおよび図面特性情報2と、第3機械学習モデル133とに基づいて、接続線認識結果を取得する。
具体的には、接続線認識部1023は、推論データを解析して当該推論データから画像特徴量を抽出する。また、接続線認識部1023は、図面特性情報2を解析して当該図面特性情報2から特徴量を抽出する。
接続線認識部1023は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第3機械学習モデル133に入力して、接続線認識結果を取得する。
実施の形態1において、接続線認識部1023は、推論データおよび図面特性情報2と、第3機械学習モデル133とに基づき、接続線認識結果として、推論データ上の接続線の数、各接続線の位置情報、各接続線の種別、および、各接続線の確度等を接続線認識結果として取得する。
接続線認識部1023は、取得した接続線認識結果を、判定部104に出力する。
The connection line recognition unit 1023 acquires a connection line recognition result based on the inference data and drawing characteristic information 2 output from the drawing acquisition unit 101 and the third machine learning model 133.
Specifically, the connection line recognition unit 1023 analyzes the inference data and extracts image features from the inference data. The connection line recognition unit 1023 also analyzes the drawing characteristic information 2 and extracts features from the drawing characteristic information 2.
The connection line recognition unit 1023 inputs the image features extracted from the inference data and the features extracted from the drawing characteristic information 2 to the third machine learning model 133 to obtain a connection line recognition result.
In embodiment 1, based on the inference data and drawing characteristic information 2, and the third machine learning model 133, the connection line recognition unit 1023 acquires, as connection line recognition results, the number of connection lines in the inference data, position information of each connection line, the type of each connection line, and the accuracy of each connection line, etc.
The connection line recognition unit 1023 outputs the acquired connection line recognition result to the determination unit 104 .

認識部102による、推論データと図面特性情報2と機械学習モデルとに基づく推論について、図5を用いて具体的に説明する。
図5は、実施の形態1において、シンボル認識部1021が取得したシンボル認識結果、属性情報認識部1022が取得した属性認識結果、および、接続線認識部1023が取得した接続線認識結果の一例のイメージを示す図である。図5Aは、シンボル認識結果、属性認識結果、および、接続線認識結果を、図面取得部101が取得したイメージ図面1にマッピングしたイメージを示しており、図5Bは、シンボル認識結果、属性認識結果、および、接続線認識結果の内容をテキストで示したイメージを示している。
The inference performed by the recognition unit 102 based on the inference data, the drawing characteristic information 2, and the machine learning model will be specifically described with reference to FIG.
5A and 5B are diagrams showing examples of the symbol recognition result acquired by the symbol recognition unit 1021, the attribute recognition result acquired by the attribute information recognition unit 1022, and the connection line recognition result acquired by the connection line recognition unit 1023 in the first embodiment. Fig. 5A shows an image in which the symbol recognition result, the attribute recognition result, and the connection line recognition result are mapped onto the image drawing 1 acquired by the drawing acquisition unit 101, and Fig. 5B shows an image in which the contents of the symbol recognition result, the attribute recognition result, and the connection line recognition result are displayed in text form.

なお、図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 acquisition unit 101.
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 unit storage unit 103 stores a first machine learning model 131, a second machine learning model 132, and a third machine learning model 133.

判定部104は、認識部102が出力したシンボル認識結果、属性認識結果、および、接続線認識結果と、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する。
また、判定部104は、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。不一致データ記録部110に格納されている不一致データの詳細については、後述する。
The judgment unit 104 judges the correspondence between the symbols, attributes, and other symbols in the inference data based on the symbol recognition results, attribute recognition results, and connection line recognition results output by the recognition unit 102, the part information stored in the part recording unit 105, and the relevance information stored in the relevance recording unit 106, and makes a comprehensive judgment as to whether the symbols, attributes, and connections between symbols have been correctly recognized.
Furthermore, the determination unit 104 determines the correspondence between the symbols, attributes, and other symbols in the inference data based on the mismatch data stored in the mismatch data recording unit 110, the part information stored in the part recording unit 105, and the relevance information stored in the relevance recording unit 106, and re-determines whether the symbols, attributes, and connections between the symbols have been correctly recognized. Details of the mismatch data stored in the mismatch data recording unit 110 will be described later.

部品記録部105に格納されている部品情報、および、関連度記録部106に格納されている関連度情報について、説明する。 The part information stored in the part recording unit 105 and the relevance information stored in the relevance recording unit 106 will be explained.

図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 part recording unit 105 in the first embodiment.
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 relevance recording unit 106 in the first embodiment.
The relevance information is generated in advance by, for example, a user and recorded in the relevance recording unit 106. The user generates the relevance information in advance, for example, based on the image drawing 1 and the drawing characteristic information 2. In the first embodiment, the relevance information includes, as shown in Fig. 7, symbol-attribute information (indicated by 701 in Fig. 7), symbol-connection information (indicated by 702 in Fig. 7), usage relevance information (indicated by 703 and 704 in Fig. 7), and model relevance information (indicated by 705 and 706 in Fig. 7).

シンボル-属性情報は、シンボル毎に、当該シンボルと、当該シンボルと関連する属性との関連度が定義された情報である。シンボル-属性情報において、シンボル毎に、関連する属性と、当該属性がイメージ図面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 multiple image drawings 1 to be used in the learning phase. The number of times defined in the symbol-attribute information indicates the number of times that the attribute associated with the symbol appears on the image drawing 1 used to generate the symbol-attribute information, in other words, on the image drawing 1 to be used in the learning phase.
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 multiple image drawings 1 to be used in the learning phase. The number of times defined in the symbol-connection information indicates the number of times that the destination symbol appears on the image drawing 1 used to generate the symbol-connection information, in other words, on the image drawing 1 to be used in the learning phase.
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 multiple image drawings 1 to be used in the learning phase and the generated symbol-attribute information. The user can specify the use of the image drawings 1 based on the drawing characteristic information 2 as shown in FIG.

シンボル-接続用途関連度情報は、イメージ図面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 image drawings 1 used in the learning phase and the generated symbol-connection information.

機種関連度情報は、シンボル-属性機種関連度情報(図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 multiple image drawings 1 used in the learning phase and the generated symbol-attribute information. The user can identify the model of the image drawing 1 based on the drawing characteristic information 2 as shown in FIG.

シンボル-接続機種関連度情報は、イメージ図面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 image drawings 1 used in the learning phase and the generated symbol-connection information.

なお、関連度情報において、対応付けられている回数が多いほど、関連度が高いことをあらわす。
また、実施の形態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 determination unit 104, the determination by the determination unit 104 as to whether or not the symbols, attributes, and connections between symbols in the inference data have been correctly recognized will be specifically described with reference to FIG.
FIG. 8 is an explanatory diagram showing an image of a specific example of the process in which the judgment unit 104 in embodiment 1 comprehensively judges whether the symbols, attributes, and connections between symbols in the inference data have been correctly recognized.
It should be noted that, for example, the symbol recognition result, attribute recognition result, and connection line recognition result output from the recognition unit 102 have contents as shown in Fig. 5, and the contents of the recognition result shown in Fig. 8 are the same as the contents of the recognition result shown in Fig. 5. Also, for example, it should be noted that the parts information stored in the parts recording unit 105 has contents as shown in Fig. 6, and the contents of the parts information shown in Fig. 8 are the same as the contents of the parts information shown in Fig. 6.
In the following, as an example, the judgment process by the judgment unit 104 will be explained using an example in which the judgment unit 104 judges whether the connection relationship between the symbols “relay (a)” and “relay (b)” has been correctly recognized based on the symbol recognition result, attribute recognition result, and connection line recognition result output from the recognition unit 102.

判定部104は、まず、部品記録部105を参照し、部品情報と属性認識結果とを付き合わせ、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致するか否かを判定する。判定部104は、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致しなかった場合、当該属性を、属性認識結果から破棄する。
ここでは、便宜上、属性認識結果に含まれている「30X004」、「30X003」、「FL3」、「FL4」、および、「6LCTX57」は、全て部品情報で定義されている器具番号と一致するものとする。
The determination unit 104 first refers to the part recording unit 105, compares the part information with the attribute recognition result, and determines whether or not an attribute included in the attribute recognition result matches the tool number defined in the part information. If an attribute included in the attribute recognition result does not match the tool number defined in the part information, the determination unit 104 discards the attribute from the attribute recognition result.
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 determination unit 104 refers to the symbol recognition result, the attribute recognition result, or the connection line recognition result, and infers the association between the symbol, the attribute, and the connection line based on the coordinates indicating the position of the symbol, the coordinates indicating the position of the attribute, and the coordinates indicating the position of the connection line from each recognition result, and tentatively determines the correspondence between the symbol, the attribute, and the connection line.
Specifically, for example, the determining unit 104 calculates the distance between the symbol, the attribute, and the connection line, and infers the association based on the calculated distance.
For example, the determination unit 104 calculates the distance between "relay (a)" and "30X004" based on the coordinates indicating the position of "relay (a)" No. 1 in the symbol recognition result and the coordinates indicating the position of "30X004" No. 1 in the attribute recognition result. Since the calculated distance is close, the determination unit 104 infers that "relay (a)" and "30X004" are associated with each other. Note that in the first embodiment, the determination unit 104 calculates the distance between the symbol and the attribute, or the distance between the symbol and the connection line, for example, by calculating the center position of a rectangle from the position information in the recognition result and obtaining a difference vector of the center position. For example, the determination unit 104 may determine whether the calculated distance is close or not by comparing the calculated distance with a preset threshold value (hereinafter referred to as "distance determination threshold value"). For example, the determination unit 104 determines that the distance is close if the calculated distance is equal to or less than the distance determination threshold value.
The determining unit 104 may determine, for example, from the position information, whether the rectangles overlap, and determine that they are likely to overlap.

また、例えば、判定部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 determination unit 104 calculates the distance between "relay (a)" and the connection line No. 2 based on the coordinates indicating the position of "relay (a)" No. 1 in the symbol recognition result and the coordinates indicating the position of the connection line No. 2 in the connection line recognition result. Since the calculated distance is close, the determination unit 104 infers that "relay (a)" and the connection line No. 2 are associated with each other.
Also, for example, the determination unit 104 determines the distance between the No. 2 connection line and the No. 5 connection line, and the distance between the No. 5 connection line and the No. 6 connection line, based on the coordinates indicating the position of the No. 2 connection line, the coordinates indicating the position of the No. 5 connection line, and the coordinates indicating the position of the No. 6 connection line in the connection line recognition result. Since the calculated distances are close to each other, the determination unit 104 infers that the No. 2 connection line, the No. 5 connection line, and the No. 6 connection line are associated with each other.

さらに、例えば、判定部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 determination unit 104 calculates the distance between "relay (b)" and the connection line No. 7 based on the coordinates indicating the position of "relay (b)" No. 2 in the symbol recognition result and the coordinates indicating the position of the connection line No. 7 in the connection line recognition result. Since the calculated distance is close, the determination unit 104 infers that "relay (b)" and the connection line No. 7 are associated with each other.
Also, for example, the determination unit 104 calculates the distance between "relay (b)" and "30X003" based on the coordinates indicating the position of "relay (b)" No. 2 in the symbol recognition result and the coordinates indicating the position of "30X003" No. 2 in the attribute recognition result. Since the calculated distance is close, the determination unit 104 infers that "relay (b)" and "30X003" are associated with each other.

以上のように推測した結果から、判定部104は、「リレー(a)」は「30X004」であり、「リレー(b)」は「30X003」であって、「リレー(a)」と「リレー(b)」とは、No.2,5,6,7の接続線によって接続されているとの対応関係を仮判定する。 From the results of the above estimation, the determination unit 104 provisionally determines that "relay (a)" is "30X004", "relay (b)" is "30X003", and "relay (a)" and "relay (b)" are connected by connection lines No. 2, 5, 6, and 7.

シンボルと属性と接続線との間の対応関係を仮判定すると、判定部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 determination unit 104 refers to the relevance information stored in the relevance recording unit 106 and determines whether the correspondence relationships between the symbols, attributes, and connection lines have been correctly determined based on the provisionally determined correspondence relationships. Specifically, the determination unit 104 determines whether the provisionally determined correspondence relationships are correct by comparing the relevance information stored in the relevance recording unit 106 with a preset threshold value.
For example, here, as described above, the judgment unit 104 provisionally judges that the relay (a) and the relay (b) are connected. Therefore, the judgment unit 104, for example, refers to the symbol-connection information of the relevance information, and compares the number of times that the relay (a) and the relay (b) are associated with each other with a preset threshold (hereinafter referred to as the "threshold for symbol connection judgment"). For example, if the number of times defined in the symbol-connection information exceeds the threshold for symbol connection judgment, the judgment unit 104 judges that the provisional judgment that the relay (a) and the relay (b) are connected is correct. Here, for example, if the threshold for symbol connection judgment is "10", the number of times that the relay (a) and the relay (b) are associated with each other in the symbol-connection information is "25" (see 702 in FIG. 7), so the judgment unit 104 judges that the relay (a) and the relay (b) are connected. In other words, the judgment unit 104 judges that the relay (a) and the relay (b) are recognized in a correct correspondence relationship.

なお、判定部104は、関連度情報にて定義されている回数が予め設定されている閾値を超えていない場合、上述の例でいうと、リレー(a)とリレー(b)とに対応付けられた回数が、仮に、シンボル接続判定用閾値を超えていない場合は、認識部102から出力された各認識結果から、リレー(a)およびリレー(b)とが接続されていると仮判定した内容に関する情報を削除するようにしてもよい。ここでは、判定部104は、例えば、「リレー(a)」、「リレー(b)」、「30X004」、「30X003」、および、No.2,5,6,7の接続線の認識結果を削除するようにしてもよい。なお、これは一例に過ぎず、判定部104は、関連度情報にて定義されている回数が予め設定されている閾値を超えていない場合も、認識結果から、仮判定した情報を削除しないようにしてもよい。 The determination unit 104 may delete information on the provisional determination that relay (a) and relay (b) are connected from each recognition result output from the recognition unit 102 when the number of times defined in the relevance information does not exceed a preset threshold, for example, when the number of times associated with relay (a) and relay (b) does not exceed the symbol connection determination threshold. Here, the determination unit 104 may delete, for example, the recognition results of "relay (a)", "relay (b)", "30X004", "30X003", and connection lines No. 2, 5, 6, and 7. Note that this is merely an example, and the determination unit 104 may not delete the provisionally determined information from the recognition result even when the number of times defined in the relevance information does not exceed a preset threshold.

判定部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 determination unit 104 may associate the symbol with the destination symbol that is considered to have a high degree of association based on the symbol-connection usage association information.
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 determination unit 104 provisionally determines that the A symbol and the B symbol are connected based on the recognition result output from the recognition unit 102, but as a result of referring to the relevance information, the determination unit 104 re-determines that the A symbol and the B symbol are not highly related. On the other hand, the determination unit 104 may determine that the A symbol and the C symbol are highly related, for example, in the application of "home appliances", based on the relevance information. In this case, the determination unit 104 may replace the C symbol with the B symbol in the recognition result, for example.

また、判定部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 determination unit 104 may associate the symbols, attributes, and connecting lines based on the relevance information when the determination unit 104 is unable to provisionally determine the correspondence relationship from the recognition result, for example. As a specific example, the determination unit 104 calculates the distance between "Fuse" and "FL3" based on the coordinates indicating the position of "Fuse" No. 3 in the symbol recognition result and the coordinates indicating the position of "FL3" No. 3 in the attribute recognition result. In addition, the determination unit 104 calculates the distance between "Fuse" and "62LCTX" based on the coordinates indicating the position of "Fuse" No. 3 in the symbol recognition result and the coordinates indicating the position of "62LCTX" No. 5 in the attribute recognition result. As a result, the distance between "Fuse" and "FL3" and the distance between "Fuse" and "62LCTX" are the same, and it is not possible to determine which of "FL3" and "62LCTX" is associated with "Fuse". In this case, for example, the determination unit 104 may perform the association based on the relevance information, depending on which combination has a higher relevance, "Fuse" and "62LCTX" or "FL3" and "62LCTX", in other words, which combination appears more frequently.

このように、判定部104は、例えば、シンボルと属性との関連付け、シンボルと接続先シンボルとの関連付け、イメージ図面1の用途、または、イメージ図面1が用いられる機種を加味して、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する。
また、判定部104は、認識結果から関連付けを行うことができなかったシンボルまたは属性について、関連度情報に基づいて、その関連付けを補完することもできる。
In this way, the judgment unit 104 judges the correspondence between symbols, attributes, and other symbols in the inference data, taking into account, for example, the association between symbols and attributes, the association between symbols and connected symbols, the purpose of image drawing 1, or the model in which image drawing 1 is used, and makes a comprehensive judgment as to whether the symbols, attributes, and connections between symbols have been correctly recognized.
Furthermore, for symbols or attributes that could not be associated based on the recognition result, the determining unit 104 can complement the association based on the association degree information.

判定部104は、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの判定結果を、生成部107に出力する。 The determination unit 104 outputs the determination result as to whether or not the symbols, attributes, and connections between symbols in the inference data have been correctly recognized to the generation unit 107.

ここで、図9は、実施の形態1において、判定部104が出力する判定結果の一例のイメージを説明するための図である。
判定結果は、例えば、図9に示すように、シンボル、当該シンボルの位置、当該シンボルと関連付けた属性、属性の位置、当該シンボルの接続先シンボル、および、接続先シンボルの位置が対応付けられた情報(以下「関連判定結果情報」という。)が、シンボル毎に設定された情報である。なお、接続先シンボルが複数ある場合、関連判定結果情報には、複数の接続先シンボルが全て対応付けられる。また、関連判定結果情報において、シンボルの位置、属性の位置、および、接続先シンボルの位置は、例えば、シンボル、属性、および、接続先シンボルがそれぞれ認識された矩形の中心の、イメージ図面1上の座標であらわされるものとしている。
FIG. 9 is a diagram for explaining an image of an example of a determination result output by determining unit 104 in the first embodiment.
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 determination unit 104 receives a notification from the control unit (not shown) that the determination end condition has not been satisfied, the determination unit 104 re-determines whether the symbols, attributes, and connections between symbols in the inference data have been correctly recognized, based on the mismatch data stored in the mismatch data recording unit 110, the part information stored in the part recording unit 105, and the relevance information stored in the relevance recording unit 106. The re-determination performed by the determination unit 104 will be described later.

生成部107は、判定部104が出力した判定結果からイメージ図面1と同等の生成データ(以下「判定後イメージ図面データ」という。)を生成する。より詳細には、生成部107は、判定部104が出力した判定結果において設定されている各関連判定結果情報に基づいて、イメージ図面1を復元し、判定後イメージ図面データとする。判定後イメージ図面データ上では、各関連判定結果情報にて対応付けられているシンボル、属性、および、接続先シンボルが、各関連判定結果情報にて対応付けられている位置にて、示される。
生成部107は、生成した判定後イメージ図面データを比較部108に出力する。なお、生成部107は、判定後イメージ図面データとともに、判定部104が出力した判定結果をあわせて比較部108に出力する。
The generating unit 107 generates generated data equivalent to the image drawing 1 (hereinafter referred to as "determined image drawing data") from the determination result output by the determining unit 104. More specifically, the generating unit 107 restores the image drawing 1 based on each piece of related determination result information set in the determination result output by the determining unit 104, and generates the post-determined image drawing data. In the post-determined image drawing data, the symbols, attributes, and connection destination symbols associated in each piece of related determination result information are shown at the positions associated in each piece of related determination result information.
The generating unit 107 outputs the generated post-determination image drawing data to the comparing unit 108. The generating unit 107 outputs the determination result output by the determining unit 104 to the comparing unit 108 together with the post-determination image drawing data.

比較部108は、生成部107が出力した判定後イメージ図面と、図面取得部101が取得したイメージ図面1とを比較する。比較部108は、図面取得部101から、認識部102、判定部104、および、生成部107を介して、イメージ図面1を取得すればよい。 The comparison unit 108 compares the post-judgment image drawing output by the generation unit 107 with the image drawing 1 acquired by the drawing acquisition unit 101. The comparison unit 108 may acquire the image drawing 1 from the drawing acquisition unit 101 via the recognition unit 102, the judgment unit 104, and the generation unit 107.

比較部108による、判定後イメージ図面とイメージ図面1との比較について、図10を用いて具体的に説明する。
比較部108は、判定後イメージ図面におけるシンボルおよび当該シンボルと対応付けられる属性毎に、判定後イメージ図面とイメージ図面1との比較を行う。なお、シンボルと属性とは、判定部104が出力した判定結果における関連判定結果情報にて対応付けられている。
具体的には、比較部108は、例えば、判定後イメージ図面とイメージ図面1とを比較し、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在するか否かを判定する。なお、この際、比較部108は、主にシンボルおよび属性を比較対象とし、接続線は比較対象外とする。
The comparison between the post-determination image drawing and image drawing 1 by the comparison unit 108 will be specifically described with reference to FIG.
The comparison unit 108 compares the post-determination image drawing with the image drawing 1 for each symbol in the post-determination image drawing and each attribute associated with the symbol. Note that the symbol and the attribute are associated with each other by the related determination result information in the determination result output by the determination unit 104.
Specifically, the comparison unit 108 compares, for example, the post-determination image drawing with the image drawing 1, and determines whether or not the symbols on the post-determination image drawing and the attributes associated with the symbols are also present at the same positions on the image drawing 1. Note that, at this time, the comparison unit 108 mainly compares the symbols and attributes, and excludes the connection lines.

比較部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 comparison unit 108 may determine the attribute associated with the symbol from the determination result output by the determination unit 104. As a specific example, if the determination result output by the determination unit 104 is as shown in Fig. 9, the comparison unit 108 determines whether or not "relay (a)" at the position (x, y) = (30, 18) associated with the characters "30X004" at the position (x, y) = (31, 10) exists on the image drawing 1.
In addition, the comparison unit 108 does not necessarily require that the symbol on the judged image drawing and the attribute associated with the symbol are in the same position on the image drawing 1. For example, the comparison unit 108 extracts a range (first range) set in advance around the first reference point, with respect to the judged image drawing, as a reference point (first reference point). The first range is usually a rectangular area in which the symbol is recognized by the recognition unit 102. In addition, the comparison unit 108 extracts a range (second range) set in advance around the second reference point, with respect to the judged image drawing, as a reference point (second reference point). The second range is usually a rectangular area in which the attribute is recognized by the recognition unit 102. In addition, the comparison unit 108 extracts a range (third range) set in advance around the third reference point, with respect to the image drawing 1, as a reference point (third reference point). The third range is the same size as the first range. The comparison unit 108 also sets a position on the image drawing 1 that corresponds to the position of the attribute associated with the symbol on the determined image drawing as a reference point (fourth reference point), and extracts a preset range (fourth range) centered on the fourth reference point. The fourth range is the same size as the second range.
Then, the comparison unit 108 compares, for example, the extracted post-judgment image drawing of the first range with the extracted image drawing 1 of the third range by template matching, and calculates the similarity (first similarity) between the post-judgment image drawing and the image drawing 1. Also, the comparison unit 108 compares, for example, the extracted post-judgment image drawing of the second range with the extracted image drawing 1 of the fourth range by template matching, and calculates the similarity (second similarity) between the post-judgment image drawing and the image drawing 1. The comparison unit 108 may compare the feature amounts of the extracted post-judgment image drawing and the image drawing 1, and calculate the similarity between the post-judgment image drawing and the image drawing 1.
The comparison unit 108 determines whether or not the symbol on the post-determination image drawing and the attribute associated with the symbol are also present in the same position on the image drawing 1, depending on whether the calculated first similarity and second similarity are equal to or greater than a predetermined threshold value (hereinafter referred to as the "similarity determination threshold value").

比較部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 comparison unit 108 judges that the symbol on the post-judgment image drawing and the attribute associated with the symbol are also present at the same position on the image drawing 1. In other words, the comparison unit 108 judges that the symbol on the post-judgment image drawing and the attribute associated with the symbol match the symbol on the image drawing 1 and the attribute associated with the symbol. In this case, the comparison unit 108 records the related judgment result information regarding the symbol judged to match as match data in the match data recording unit 109.

一方、比較部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 comparison unit 108 judges that the symbol on the judged image drawing and the attribute associated with the symbol do not exist at the same position on the image drawing 1. In other words, the comparison unit 108 judges that the symbol on the judged image drawing and the attribute associated with the symbol do not match the symbol on the image drawing 1 and the attribute associated with the symbol. In this case, the comparison unit 108 records the symbol recognition result for the symbol judged to be mismatched and the attribute recognition result for the attribute associated with the symbol judged to be mismatched in the mismatch data recording unit 110. For example, the comparison unit 108 may acquire the recognition result (see FIG. 5 ) from the recognition unit 102 via the judgment unit 104 and the generation unit 107, and extract the symbol recognition result for the symbol judged to be mismatched and the attribute recognition result for the attribute associated with the symbol judged to be mismatched from the acquired recognition result.
In addition, when extracting mismatched data, the comparison unit 108 also determines that the connection lines connected to the symbols determined to be mismatched are also mismatched, and records the connection line recognition results for those connection lines in the mismatched data recording unit 110.

比較部108は、このような比較処理を、判定部104から出力された判定結果に含まれている全ての関連判定結果情報に対して行う。 The comparison unit 108 performs this comparison process on all related judgment result information included in the judgment result output from the judgment unit 104.

ここで、図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 comparison unit 108 compares the post-judgment image drawing output by the generation unit 107 with the image drawing 1 acquired by the drawing acquisition unit 101 in embodiment 1.
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 comparison unit 108 records the symbol recognition result for "coil" and the attribute recognition result for "88TBL1C" in the mismatch data recording unit 110 as mismatch data.

なお、図面認識装置100は、予め設定された条件(以下「判定終了条件」という。)を満たすまで、判定部104による再判定、生成部107による判定後イメージ図面の生成、および、比較部108による比較処理を繰り返す。「判定終了条件」は、例えば、「予め設定された回数だけ判定処理を行ったこと」または「不一致データがなく、すべて一致データであると判定されたこと」である。「判定終了条件」は、ユーザによって適宜設定可能である。
具体的には、例えば、図面認識装置100の制御部が、比較部108が一致データまたは不一致データを記録すると、判定終了条件を満たしたか否かを判定する。判定終了条件を満たしていないと判定した場合、制御部は、判定終了条件を満たしていない旨を判定部104に通知する。判定部104は、比較部108からの、判定終了条件を満たしていない旨の通知を受けると、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。
なお、不一致データ記録部110に記録されている不一致データは、認識結果のうち、比較部108によって一致データと判定されたシンボルに関するシンボル認識結果、比較部108によって一致データと判定された属性に関する属性認識結果、および、比較部108によって一致データと判定された接続線に関する接続線認識結果が取り除かれている。そのため、判定部104は、再判定を行う際に、関連付けを行うシンボル、属性、または、接続線の範囲が狭まり、より正確に判定を行うことができる。
Drawing recognition device 100 repeats re-determination by determination unit 104, generation of a post-determination image drawing by generation unit 107, and comparison processing by comparison unit 108 until a preset condition (hereinafter referred to as a "determination end condition") is satisfied. The "determination end condition" is, for example, "determination processing has been performed a preset number of times" or "there is no mismatching data and it has been determined that all data is matching." The "determination end condition" can be appropriately set by the user.
Specifically, for example, when the comparison unit 108 records match data or mismatch data, the control unit of the drawing recognition device 100 determines whether or not the judgment termination condition is satisfied. If it is determined that the judgment termination condition is not satisfied, the control unit notifies the judgment unit 104 that the judgment termination condition is not satisfied. When the judgment unit 104 receives the notification from the comparison unit 108 that the judgment termination condition is not satisfied, the judgment unit 104 re-determines whether or not the symbols, attributes, and connections between symbols in the inference data have been correctly recognized, based on the mismatch data stored in the mismatch data recording unit 110, the part information stored in the part recording unit 105, and the relevance information stored in the relevance recording unit 106.
The mismatched data recorded in the mismatched data recording unit 110 is obtained by removing, from the recognition results, the symbol recognition results for the symbols determined to be matching data by the comparing unit 108, the attribute recognition results for the attributes determined to be matching data by the comparing unit 108, and the connection line recognition results for the connection lines determined to be matching data by the comparing unit 108. Therefore, when the determining unit 104 performs re-determination, the range of symbols, attributes, or connecting lines to be associated is narrowed, and the determining unit 104 can perform a more accurate determination.

判定終了条件を満たしたと判定した場合、制御部は、判定終了条件を満たした旨を判定部104および図面表示部111に通知する。判定部104は、制御部からの、判定終了条件を満たした旨の通知を受けると、判定処理を終了する。すなわち、比較部108は、以降、比較処理を行わない。なお、ここでは、判定終了条件を満たすか否かの判定、および、当該判定結果に基づく通知を、図面認識装置100の制御部が行うものとするが、これは一例に過ぎない。例えば、判定部104または比較部108が、判定終了条件を満たすか否かの判定、および、当該判定結果に基づく通知を行うようにしてもよい。 When it is determined that the judgment end condition is satisfied, the control unit notifies the judgment unit 104 and the drawing display unit 111 that the judgment end condition is satisfied. When the judgment unit 104 receives notification from the control unit that the judgment end condition is satisfied, it ends the judgment process. In other words, the comparison unit 108 does not perform comparison processing thereafter. Note that here, it is assumed that the control unit of the drawing recognition device 100 determines whether or not the judgment end condition is satisfied and notifies based on the judgment result, but this is merely one example. For example, the judgment unit 104 or the comparison unit 108 may determine whether or not the judgment end condition is satisfied and notify based on the judgment result.

一致データ記録部109は、比較部108が出力した一致データを記録する。
不一致データ記録部110は、比較部108が出力した不一致データを記録する。
The matched data recording unit 109 records the matched data output by the comparison unit 108 .
The mismatched data recording section 110 records the mismatched data output by the comparison section 108 .

図面表示部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 data recording unit 109 on the display 301 of the display device 300 .
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 display 301 of the display device 300 .
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 comparison unit 108 that the determination end condition is satisfied, the drawing display unit 111 refers to the matched data recording unit 109 and displays the matched data.

実施の形態1に係る図面認識装置100の動作について説明する。
図11は、実施の形態1に係る図面認識装置100の動作を説明するためのフローチャートである。
The operation of drawing recognition apparatus 100 according to the first embodiment will be described.
FIG. 11 is a flowchart for explaining the operation of drawing recognition apparatus 100 according to the first embodiment.

図面取得部101は、ユーザから操作入力装置200を介して入力されたイメージ図面1および図面特性情報2を取得する(ステップST1101)。図面取得部101は、イメージ図面1に対して所定の処理を行い、推論データを生成する。
図面取得部101は、イメージ図面1に基づき生成した推論データ、および、取得した図面特性情報2を、認識部102に出力する。
The drawing acquisition unit 101 acquires the image drawing 1 and the drawing characteristic information 2 inputted by the user via the operation input device 200 (step ST1101). The drawing acquisition unit 101 performs a predetermined process on the image drawing 1 to generate inference data.
The drawing acquisition unit 101 outputs the inference data generated based on the image drawing 1 and the acquired drawing characteristic information 2 to the recognition unit 102 .

認識部102は、ステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2に基づき、推論器格納部103にて格納されている第1機械学習モデル131、第2機械学習モデル132、または、第3機械学習モデル133を用いた推論を行うことで、シンボル認識結果、属性認識結果、または、接続線認識結果を取得する。これにより、認識部102は、シンボル情報、属性情報、または、接続線情報を認識する(ステップST1102)。
認識部102は、推論結果、言い換えれば、シンボル認識結果、属性認識結果、または、接続線認識結果を判定部104に出力する。
The recognition unit 102 acquires a symbol recognition result, an attribute recognition result, or a connection line recognition result by performing inference using the first machine learning model 131, the second machine learning model 132, or the third machine learning model 133 stored in the inference device storage unit 103 based on the inference data and the drawing characteristic information 2 output from the drawing acquisition unit 101 in step ST1101. As a result, the recognition unit 102 recognizes the symbol information, the attribute information, or the connection line information (step ST1102).
The recognition unit 102 outputs the inference result, in other words, the symbol recognition result, the attribute recognition result, or the connection line recognition result, to the determination unit 104 .

ここで、図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 recognition unit 102 in step ST1102 in FIG.
The symbol recognition unit 1021 acquires a symbol recognition result based on the inference data and drawing characteristic information 2 output from the drawing acquisition unit 101 in step ST1101 of FIG.
Specifically, the symbol recognition unit 1021 inputs the image features extracted from the inference data and the features extracted from the drawing characteristic information 2 into the first machine learning model 131 to obtain the symbol recognition result (step ST1201).
The symbol recognition unit 1021 outputs the obtained symbol recognition result to the determination unit 104 .

属性情報認識部1022は、図11のステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2と、第2機械学習モデル132とに基づいて、属性認識結果を取得する。
具体的には、属性情報認識部1022は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第2機械学習モデル132に入力して、属性認識結果を取得する(ステップST1202)。
属性情報認識部1022は、取得した属性認識結果を、判定部104に出力する。
The attribute information recognition unit 1022 acquires an attribute recognition result based on the inference data and drawing characteristic information 2 output from the drawing acquisition unit 101 in step ST1101 of FIG. 11 and the second machine learning model 132.
Specifically, the attribute information recognition unit 1022 inputs the image features extracted from the inference data and the features extracted from the drawing characteristic information 2 into the second machine learning model 132 to obtain the attribute recognition results (step ST1202).
The attribute information recognition unit 1022 outputs the acquired attribute recognition result to the determination unit 104 .

接続線認識部1023は、図11のステップST1101にて図面取得部101から出力された推論データおよび図面特性情報2と、第3機械学習モデル133とに基づいて、接続線認識結果を取得する。
具体的には、接続線認識部1023は、推論データから抽出した画像特徴量と図面特性情報2から抽出した特徴量とを第3機械学習モデル133に入力して、接続線認識結果を取得する(ステップST1203)。
接続線認識部1023は、取得した接続線認識結果を、判定部104に出力する。
The connection line recognition unit 1023 acquires a connection line recognition result based on the inference data and drawing characteristic information 2 output from the drawing acquisition unit 101 in step ST1101 of FIG. 11 and the third machine learning model 133.
Specifically, the connection line recognition unit 1023 inputs the image features extracted from the inference data and the features extracted from the drawing characteristic information 2 into the third machine learning model 133 to obtain the connection line recognition results (step ST1203).
The connection line recognition unit 1023 outputs the acquired connection line recognition result to the determination unit 104 .

図11のフローチャートの説明に戻る。
判定部104は、認識部102が出力したシンボル認識結果、属性認識結果、または、接続線認識結果と、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識できているか否かを総合的に判定する。
Returning to the explanation of the flowchart in FIG.
The judgment unit 104 judges the correspondence between the symbols, attributes, and other symbols in the inference data based on the symbol recognition result, attribute recognition result, or connection line recognition result output by the recognition unit 102, the part information stored in the part recording unit 105, and the relevance information stored in the relevance recording unit 106, and makes a comprehensive judgment as to whether the symbols, attributes, and connections between symbols have been correctly recognized.

判定部104は、まず、部品記録部105を参照し、部品情報と属性認識結果とを付き合わせ、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致するか否かを判定する(ステップST1103)。判定部104は、属性認識結果に含まれている属性が、部品情報で定義されている器具番号と一致しなかった場合、当該属性を、属性認識結果から破棄する。 The determination unit 104 first refers to the part recording unit 105, compares the part information with the attribute recognition result, and determines whether or not the attribute included in the attribute recognition result matches the fixture number defined in the part information (step ST1103). If the attribute included in the attribute recognition result does not match the fixture number defined in the part information, the determination unit 104 discards the attribute from the attribute recognition result.

次に、判定部104は、シンボル認識結果、属性認識結果、または、接続線認識結果を参照し、各認識結果から、シンボルの位置を示す座標、属性の位置を示す座標、および、接続線の位置を示す座標に基づいて、シンボルと属性と接続線との間の関連付けを推測し、シンボルと属性と接続線との間の対応関係を仮判定する。
そして、判定部104は、関連度記録部106に格納されている関連度情報を参照して、仮判定した対応関係に基づいて、シンボルと属性と接続線との対応関係が正しく判定できているか否かを判定する(ステップST1104)。
判定部104は、推論データにおけるシンボルと属性と接続線との対応関係が正しく判定できているか否かの判定結果を、生成部107に出力する。
Next, the determination unit 104 refers to the symbol recognition result, the attribute recognition result, or the connection line recognition result, and infers the association between the symbol, the attribute, and the connection line based on the coordinates indicating the position of the symbol, the coordinates indicating the position of the attribute, and the coordinates indicating the position of the connection line from each recognition result, and tentatively determines the correspondence between the symbol, the attribute, and the connection line.
Then, the judgment unit 104 refers to the relevance information stored in the relevance recording unit 106 and judges, based on the provisionally determined correspondence, whether or not the correspondence between the symbol, the attribute, and the connection line has been correctly determined (step ST1104).
The determining unit 104 outputs to the generating unit 107 a determination result as to whether or not the correspondence between the symbols, attributes, and connection lines in the inference data has been correctly determined.

生成部107は、ステップST1104にて判定部104が出力した判定結果から判定後イメージ図面データを生成する(ステップST1105)。
生成部107は、生成した判定後イメージ図面データを比較部108に出力する。
The generating section 107 generates post-determination image drawing data from the determination result output by the determining section 104 in step ST1104 (step ST1105).
The generating unit 107 outputs the generated post-determination image drawing data to the comparing unit 108 .

比較部108は、ステップST1105にて生成部107が出力した判定後イメージ図面と、ステップST1101にて図面取得部101が取得したイメージ図面1とを比較する(ステップST1106)。
具体的には、比較部108は、例えば、判定後イメージ図面とイメージ図面1とを比較し、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性が、それぞれ、イメージ図面1上においても同じ位置に存在するか否かを判定する。なお、この際、比較部108は、主にシンボルおよび属性を比較対象をとし、接続線は比較対象外とする。
The comparison section 108 compares the post-determination image drawing output by the generation section 107 in step ST1105 with the image drawing 1 acquired by the drawing acquisition section 101 in step ST1101 (step ST1106).
Specifically, the comparison unit 108 compares, for example, the post-determination image drawing with the image drawing 1, and determines whether or not the symbols on the post-determination image drawing and the attributes associated with the symbols are also present at the same positions on the image drawing 1. Note that, at this time, the comparison unit 108 mainly compares the symbols and attributes, and excludes the connection lines from the comparison.

比較部108は、比較判定の結果、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性は、イメージ図面1上のシンボルと当該シンボルに対応付けられた属性と一致すると判定した場合(ステップST1106の“YES”の場合)、一致すると判定したシンボルに関する関連判定結果情報を、一致データとして一致データ記録部109に記録する(ステップST1107)。 If the comparison unit 108 determines, as a result of the comparison judgment, that the symbol on the judged image drawing and the attribute associated with the symbol match the symbol on the image drawing 1 and the attribute associated with the symbol (if "YES" in step ST1106), it records the related judgment result information regarding the symbol that has been judged to match as match data in the match data recording unit 109 (step ST1107).

比較部108は、比較判定の結果、判定後イメージ図面上のシンボルと当該シンボルに対応付けられた属性は、イメージ図面1上のシンボルと当該シンボルに対応付けられた属性と不一致であると判定した場合(ステップST1106の“NO”の場合)、不一致と判定したシンボルに関するシンボル認識結果と、不一致と判定したシンボルに対応付けられた属性に関する属性認識結果とを、不一致データとして不一致データ記録部110に記録する(ステップST1108)。 If the comparison unit 108 determines, as a result of the comparison, that the symbol on the post-determination image drawing and the attribute associated with that symbol are inconsistent with the symbol on the image drawing 1 and the attribute associated with that symbol (if "NO" in step ST1106), it records the symbol recognition result for the symbol determined to be inconsistent and the attribute recognition result for the attribute associated with the symbol determined to be inconsistent as inconsistent data in the inconsistent data recording unit 110 (step ST1108).

図面認識装置100の制御部は、判定終了条件を満たしたか否かを判定する(ステップST1109)。
判定終了条件を満たしていないと判定した場合(ステップST1109の“NO”の場合)、制御部は、判定終了条件を満たしていない旨を判定部104に通知する。そして、図面認識装置100の動作はステップST1103に戻り、判定部104は、不一致データ記録部110に格納されている不一致データと、部品記録部105に格納されている部品情報と、関連度記録部106に格納されている関連度情報とに基づき、推論データにおけるシンボル、属性、および、シンボル同士の接続が正しく認識できているか否かの再判定を行う。
The control unit of drawing recognition apparatus 100 judges whether or not a judgment end condition is satisfied (step ST1109).
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 judgment unit 104 that the judgment end condition is not satisfied. Then, the operation of the drawing recognition device 100 returns to step ST1103, and the judgment unit 104 re-determines whether or not the symbols, attributes, and connections between symbols in the inference data are correctly recognized based on the mismatch data stored in the mismatch data recording unit 110, the part information stored in the part recording unit 105, and the relevance information stored in the relevance recording unit 106.

判定終了条件を満たしたと判定した場合(ステップ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 judgment unit 104 and the drawing display unit 111 that the judgment end condition is satisfied. When the judgment unit 104 receives the notification from the control unit that the judgment end condition is satisfied, the judgment process is terminated. That is, the comparison unit 108 does not perform the comparison process thereafter.
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 data recording unit 109 on the display 301 of the display device 300 (step ST1110).

このように、図面認識装置100において、認識部102は、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を用いて、イメージ図面1に含まれる、1つ以上のシンボルに関するシンボル情報、シンボルに関連づけられた属性に関する属性情報、シンボル同士の接続線に関する接続線情報を認識することができる。
また、図面認識装置100において、判定部104は、認識部102から出力された認識結果(シンボル認識結果、属性認識結果、または、接続線認識結果)に基づき、部品情報、および、関連度情報との照合を行うことで、イメージ図面1におけるシンボルと属性と他のシンボルとの対応関係を判定し、シンボル、属性、および、シンボル同士の接続が正しく認識されているか否かを総合的に判定し精度を向上させることができる。
さらに、図面認識装置100において、比較部108は、生成部107が生成した判定後イメージ図面データとイメージ図面1とで、シンボルおよび当該シンボルに対応付けられる属性を比較することで、当該シンボルまたは属性の認識の誤りを検出することができ、高い精度の認識結果を選択することができる。
In this way, in the drawing recognition device 100, the recognition unit 102 can use the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133 to recognize symbol information regarding one or more symbols contained in the image drawing 1, attribute information regarding attributes associated with the symbols, and connection line information regarding the connection lines between the symbols.
Furthermore, in the drawing recognition device 100, the judgment unit 104 compares the recognition result (symbol recognition result, attribute recognition result, or connection line recognition result) output from the recognition unit 102 with part information and relevance information to determine the correspondence between the symbols, attributes, and other symbols in the image drawing 1, and makes a comprehensive judgment as to whether the symbols, attributes, and connections between the symbols have been correctly recognized, thereby improving accuracy.
Furthermore, in the drawing recognition device 100, the comparison unit 108 compares the symbols and attributes associated with the symbols between the post-judgment image drawing data generated by the generation unit 107 and the image drawing 1, thereby detecting errors in the recognition of the symbols or attributes and enabling the selection of a recognition result with high accuracy.

なお、以上の実施の形態1では、図面認識装置100において、判定部104は、認識部102から出力された認識結果について、部品記録部105に格納されている部品情報、および、関連度記録部106に記録されている関連度情報の両方との照合を行うようにしたが、これは一例に過ぎない。判定部104は、部品情報または関連度情報のいずれか一方とのみ照合を行うようにしてもよいし、部品情報および関連度情報のいずれとも照合を行うことなく、認識結果の判定を行ってもよい。
部品情報および関連度情報のいずれとも照合を行わない場合、判定部104は、認識部102が認識した、シンボルに関する情報、属性に関する情報、および、接続線に関する情報に基づいて、イメージ図面1におけるシンボルと属性と他のシンボルとの対応関係を判定する。具体的には、例えば、判定部104は、シンボル認識結果、属性認識結果、または、接続線認識結果を参照し、各認識結果から、シンボルと属性と接続線との距離を算出し、算出した距離に応じて、シンボルと属性と接続線との間の対応関係を判定する。
ただし、判定部104は、部品情報または関連度情報と照合を行って認識結果の判定を行うことで、部品情報および関連度情報のいずれとも照合を行うことなく認識結果の判定をする場合よりも、より高い精度で、シンボルと属性と接続線との間の対応関係を判定することができる。
In the above-described first embodiment, in drawing recognition apparatus 100, determination unit 104 compares the recognition result output from recognition unit 102 with both the part information stored in part recording unit 105 and the relevance information recorded in relevance recording unit 106, but this is merely an example. Determination unit 104 may compare only with either the part information or the relevance information, or may determine the recognition result without comparing with either the part information or the relevance information.
When no matching is performed with either the part information or the relevance information, the determination unit 104 determines the correspondence between the symbol, the attribute, and other symbols in the image drawing 1 based on the information on the symbol, the information on the attribute, and the information on the connection line recognized by the recognition unit 102. Specifically, for example, the determination unit 104 refers to the symbol recognition result, the attribute recognition result, or the connection line recognition result, calculates the distance between the symbol, the attribute, and the connection line from each recognition result, and determines the correspondence between the symbol, the attribute, and the connection line according to the calculated distance.
However, by comparing the recognition result with part information or relevance information, the determination unit 104 can determine the correspondence between symbols, attributes, and connecting lines with higher accuracy than when the recognition result is determined without comparing with either the part information or the relevance information.

さらに、認識部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 recognition device 100 causes each recognition result output by the recognition unit 102 or the judgment result output by the judgment unit 104 to be displayed on the display 301 of the display device 300. The user understands the contents of each recognition result or judgment result by checking the display 301. For example, if there is a clearly erroneous symbol, attribute, connection line, etc., the user operates the keyboard 201 or mouse 202 of the operation input device 200 to input an instruction to delete the clearly erroneous symbol, attribute, connection line, etc. The control unit of the drawing recognition device 100 accepts the instruction input by the user and deletes information about the symbol, attribute, connection line, etc. from the recognition result or judgment result based on the accepted instruction.
With this configuration, the drawing recognition device 100 can select information related to symbols, attributes, connection lines, or the like that is required by the user.

また、以上の実施の形態1では、推論器格納部103は、図面認識装置100に備えられるものとしたが、これは一例に過ぎない。推論器格納部103は、図面認識装置100の外部の、図面認識装置100が参照可能な場所に備えられるようにしてもよい。具体的には、例えば、通信ネットワーク上に配置された単数または複数のネットワークストレージ装置(図示省略)が推論器格納部103の機能を有するものとし、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を記憶するようにしてもよい。図面認識装置100は、上記ネットワークストレージ装置にアクセスする。これにより、外部のネットワークストレージ装置は第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を蓄積し、図面認識装置100の外部にデータベースを構築することができる。 In the above embodiment 1, the inference unit storage unit 103 is provided in the drawing recognition device 100, but this is merely an example. The inference unit storage unit 103 may be provided in a location outside the drawing recognition device 100 that can be referenced by the drawing recognition device 100. Specifically, for example, a single or multiple network storage devices (not shown) arranged on a communication network may have the function of the inference unit storage unit 103 and store the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133. The drawing recognition device 100 accesses the network storage device. As a result, the external network storage device can accumulate the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133, and a database can be constructed outside the drawing recognition device 100.

また、以上の実施の形態1では、部品記録部105、関連度記録部106、一致データ記録部109、および、不一致データ記録部110は、図面認識装置100に備えられるものとしたが、これは一例に過ぎない。部品記録部105、関連度記録部106、一致データ記録部109、および、不一致データ記録部110は、図面認識装置100の外部の、図面認識装置100が参照可能な場所に備えられるようにしてもよい。 In addition, in the above embodiment 1, the part recording unit 105, the relevance recording unit 106, the matching data recording unit 109, and the mismatching data recording unit 110 are provided in the drawing recognition device 100, but this is merely one example. The part recording unit 105, the relevance recording unit 106, the matching data recording unit 109, and the mismatching data recording unit 110 may be provided in a location outside the drawing recognition device 100 that can be referenced by the drawing recognition device 100.

また、以上の実施の形態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 above embodiment 1, the drawing recognition device 100 is provided with the drawing acquisition unit 101, the recognition unit 102, the inference device storage unit 103, the judgment unit 104, the part recording unit 105, the relevance recording unit 106, the generation unit 107, the comparison unit 108, the matched data recording unit 109, the mismatched data recording unit 110, and the drawing display unit 111, but this is merely an example. The drawing recognition device 100 is required to have at least the drawing acquisition unit 101, the recognition unit 102, and the judgment unit 104. In this case, for example, the generation unit 107, the comparison unit 108, and the drawing display unit 111 may be provided in a device (a drawing generation device, not shown) external to the drawing recognition device 100, and the drawing generation system may be configured by the drawing recognition device 100 and the drawing generation device. The inference unit storage unit 103, the part recording unit 105, the matching data recording unit 109, and the mismatching data recording unit 110 are provided, for example, in a server that can be referenced by the drawing recognition device 100 and the drawing generation device.

実施の形態1に係る図面認識装置100は、例えば、紙図面からのCADデータの復元、または、異なるCADシステムのためのCADデータの変換に用いられるのに適している。
具体的には、例えば、ユーザは、特定のCADシステムで作成された印刷物をイメージ図面1として図面認識装置100に入力する。図面認識装置100は、入力されたイメージ図面1上に存在するシンボル、属性、または、接続線を認識し、一致データを記録する。ユーザは、記録された一致データを上記特定のCADシステムに入力することで、印刷物をCADデータに復元でき、設計の改修または改良等に当該CADデータを再利用することができる。
また、ユーザは、例えば、異なるCADシステムのデータフォーマットへの変換プログラムを別途設けることで、上記一致データを他のCADシステムで使用するCADデータに変換することが可能となる。
このように、実施の形態1に係る図面認識装置100は、例えば、CADシステムにおいて、CADデータを復元するために用いられることにより、CADシステムにおけるCADデータの復元精度を向上することができる。
The drawing recognition apparatus 100 according to the first embodiment is suitable for use in, for example, restoring CAD data from a paper drawing, or converting CAD data for a different CAD system.
Specifically, for example, a user inputs a printout created in a specific CAD system into the drawing recognition device 100 as an image drawing 1. The drawing recognition device 100 recognizes symbols, attributes, or connection lines present on the input image drawing 1, and records the matching data. By inputting the recorded matching data into the specific CAD system, the user can restore the printout to CAD data, and can reuse the CAD data for design revision or improvement, etc.
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 recognition apparatus 100 according to the first embodiment can improve the accuracy of restoring CAD data in a CAD system by being used to restore CAD data in the CAD system, for example.

図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 recognition apparatus 100 according to the first embodiment.
In the first embodiment, the functions of the drawing acquisition unit 101, the recognition unit 102, the determination unit 104, the generation unit 107, the comparison unit 108, and the drawing display unit 111 are realized by a processing circuit 1301. That is, the drawing recognition device 100 includes the processing circuit 1301 for recognizing symbols and the like on the input image drawing 1.
The processing circuit 1301 may be dedicated hardware as shown in FIG. 13A, or may be a CPU (Central Processing Unit) 1304 that executes a program stored in a memory 1305 as shown in FIG. 13B.

処理回路1301が専用のハードウェアである場合、処理回路1301は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、またはこれらを組み合わせたものが該当する。 When the processing circuit 1301 is dedicated hardware, the processing circuit 1301 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination of these.

処理回路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 processing circuit 1301 is a CPU 1304, the functions of the drawing acquisition unit 101, the recognition unit 102, the judgment unit 104, the generation unit 107, the comparison unit 108, and the drawing display unit 111 are realized by software, firmware, or a combination of software and firmware. The software or firmware is described as a program and stored in the memory 1305. The processing circuit 1301 executes the functions of the drawing acquisition unit 101, the recognition unit 102, the judgment unit 104, the generation unit 107, the comparison unit 108, and the drawing display unit 111 by reading and executing the program stored in the memory 1305. That is, the drawing recognition device 100 includes a memory 1305 for storing a program that, when executed by the processing circuit 1301, results in the execution of steps ST1101 to ST1110 in FIG. 11 and steps ST1201 to ST1203 in FIG. 12. In addition, it can be said that the program stored in memory 1305 causes the computer to execute the procedures or methods of the drawing acquisition unit 101, the recognition unit 102, the judgment unit 104, the generation unit 107, the comparison unit 108, and the drawing display unit 111. Here, memory 1305 may be, for example, a non-volatile or volatile semiconductor memory such as a RAM, a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), or an EEPROM (Electrically Erasable Programmable Read-Only Memory), or a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD (Digital Versatile Disc).

なお、図面取得部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 drawing acquisition unit 101, the recognition unit 102, the determination unit 104, the generation unit 107, the comparison unit 108, and the drawing display unit 111 may be partially realized by dedicated hardware and partially realized by software or firmware. For example, the function of the drawing acquisition unit 101 may be realized by a processing circuit 1301 as dedicated hardware, and the functions of the recognition unit 102, the determination unit 104, the generation unit 107, the comparison unit 108, and the drawing display unit 111 may be realized by the processing circuit 1301 reading out and executing a program stored in a memory 1305.
Also, for example, an HDD is used for the inference unit storage unit 103, the part recording unit 105, the relevance recording unit 106, the matching data recording unit 109, and the mismatching data recording unit 110. Note that this is just one example, and the inference unit storage unit 103, the part recording unit 105, the relevance recording unit 106, the matching data recording unit 109, and the mismatching data recording unit 110 may be configured with the memory 1305, an SSD (Solid State Drive), a DVD, or the like.
The drawing recognition apparatus 100 also includes an input interface device 1302 and an output interface device 1303 that perform wired or wireless communication with devices such as the operation input device 200 or the display device 300 .

実施の形態1において、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133は、学習装置400(後述の図14参照)が機械学習における学習を実行して生成する。以下、学習装置400について説明する。 In the first embodiment, the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133 are generated by the learning device 400 (see FIG. 14 described later) performing learning in machine learning. The learning device 400 will be described below.

図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 learning device 400 according to the first embodiment.
The learning device 400 is connected to the drawing recognition device 100 via a network.
The learning device 400 generates a first machine learning model 131, a second machine learning model 132, and a third machine learning model 133 based on the input image drawing 1 and drawing characteristic information 2. The image drawing 1 is input together with a teacher label. The learning device 400 trains a machine learning model composed of a neural network by so-called supervised learning. The teacher label is information indicating a symbol, an attribute, and a connection line on the image drawing 1. Regarding the teacher label, for example, the teacher label regarding a symbol is text data in which coordinates indicating the position of the symbol on the image drawing 1 are associated with information that can identify the symbol. The position of the symbol is represented, for example, by the coordinates on the image drawing 1 of the four corners of the rectangle when the symbol is surrounded by the rectangle. The information that can identify the symbol may be, for example, the name of the symbol. The teacher label regarding the attribute and the teacher label regarding the connection line are also text data in which coordinates indicating the position of the attribute or connection line on the image drawing 1 are associated with information that can identify the attribute or connection line, similar to the teacher label regarding the symbol. The training data is generated in advance for each image drawing 1, for example, by a user.

学習装置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 learning device 400 stores the generated first machine learning model 131, second machine learning model 132, and third machine learning model 133 in the inference device storage unit 103 of the drawing recognition device 100. The learning device 400 also stores the input drawing characteristic information 2 in the relevance recording unit 106. Note that the relevance recording unit 106 stores relevance information (see FIG. 7) that has been generated in advance by the user. The user generates relevance information in advance based on the image drawing 1 and the drawing characteristic information 2. The learning device 400 stores the drawing characteristic information 2 together with the relevance information.
In addition, in order to simplify the explanation, FIG. 14 illustrates only the inference device storage unit 103 and the relevance recording unit 106 as components of the drawing recognition device 100, but the configuration example of the drawing recognition device 100 is the same as the configuration example of the drawing recognition device 100 described using FIG. 1.

また、ここでは、図14に示すように、学習装置400は図面認識装置100とは別個の装置とし、図面認識装置100と接続されるものとするが、これは一例に過ぎない。学習装置400は、図面認識装置100に搭載されるようにしてもよい。 In addition, as shown in FIG. 14, the learning device 400 is a separate device from the drawing recognition device 100 and is connected to the drawing recognition device 100, but this is merely an example. The learning device 400 may be mounted on the drawing recognition device 100.

学習装置400は、学習用データ取得部401、シンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404を備える。 The learning device 400 includes a learning data acquisition unit 401, a symbol model generation unit 402, an attribute information model generation unit 403, and a connection line model generation unit 404.

学習用データ取得部401は、学習のためのデータ取得処理を行う。
具体的には、学習用データ取得部401は、教師ラベルが付与された複数のイメージ図面1と、当該イメージ図面1に対応する図面特性情報2とを取得する。教師ラベルは、例えば、上述したようなテキストデータである。学習用データ取得部401は、具体的には、複数のイメージ図面1と、イメージ図面1毎のテキストデータとを取得する。なお、教師ラベルが付与された複数のイメージ図面1と図面特性情報2とは、ユーザによって入力される。例えば、学習装置400は操作入力装置200(図1参照)と接続され、ユーザは、操作入力装置200から複数のイメージ図面1と図面特性情報2とを入力する。
The learning data acquisition unit 401 performs data acquisition processing for learning.
Specifically, the learning data acquisition unit 401 acquires a plurality of image drawings 1 to which teacher labels have been assigned, and drawing characteristic information 2 corresponding to the image drawings 1. The teacher labels are, for example, text data as described above. Specifically, the learning data acquisition unit 401 acquires a plurality of image drawings 1 and text data for each image drawing 1. The plurality of image drawings 1 to which teacher labels have been assigned and the drawing characteristic information 2 are input by a user. For example, the learning device 400 is connected to the operation input device 200 (see FIG. 1), and the user inputs the plurality of image drawings 1 and the drawing characteristic information 2 from the operation input device 200.

そして、学習用データ取得部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 data acquisition unit 401 generates learning data based on the acquired image drawing 1.
Specifically, the learning data acquisition unit 401 first divides the acquired image drawing 1 into data of, for example, 224×224 pixels each. The image drawing 1 may be divided at equal intervals of 224×224 pixels in the vertical and horizontal directions, and overlapping portions may be included when the image drawing 1 is divided. Note that the learning data acquisition unit 401 does not need to perform the above-described processing if, for example, the acquired image drawing 1 is within the size limit that can be used as an input for a machine learning model.
Furthermore, the learning data acquisition unit 401 analyzes the acquired drawing characteristic information 2 and extracts feature amounts from the drawing characteristic information 2. The learning data acquisition unit 401 extracts feature amounts from the drawing characteristic information 2 as numerical values, such as "0" for "home appliance", "1" for "distribution board", and "2" for "car".
The learning data acquisition unit 401 generates, as learning data, data including the divided image drawing 1 to which teacher labels have been added and feature amounts extracted from the drawing characteristic information 2.
The learning data acquisition unit 401 outputs the generated learning data to the symbol model generation unit 402 , the attribute information model generation unit 403 , and the connection line model generation unit 404 .

なお、ここでは、学習用データ取得部401が図面特性情報2の解析処理を行い、特徴量を抽出した上で、当該特徴量を学習用データに含めるようにしたが、これは一例に過ぎない。例えば、学習用データ取得部401は、教師ラベルが付与された、分割後のイメージ図面1と、図面特性情報2とを学習用データとしてもよい。この場合、後述のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404が、それぞれ、機械学習モデルを生成する際に、学習用データに含まれている図面特性情報2に対して、上述したような解析処理を行う。
また、上述したような、イメージ図面1の分割を、後述のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404が行うようにしてもよい。この場合、学習用データ取得部401は、取得したイメージ図面1をそのまま学習用データに含めるようにし、後述のシンボルモデル生成部402、属性情報モデル生成部403、および、接続線モデル生成部404が、それぞれ、機械学習モデルを生成する際に、イメージ図面1の分割を行う。
In this embodiment, the learning data acquisition unit 401 performs an analysis process on the drawing characteristic information 2, extracts features, and includes the features in the learning data, but this is merely an example. For example, the learning data acquisition unit 401 may use the divided image drawing 1 to which teacher labels are assigned and the drawing characteristic information 2 as learning data. In this case, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 described below each perform the above-mentioned analysis process on the drawing characteristic information 2 included in the learning data when generating a machine learning model.
Furthermore, the division of the image drawing 1 as described above may be performed by the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 described below. In this case, the learning data acquisition unit 401 includes the acquired image drawing 1 as it is in the learning data, and the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 described below each divide the image drawing 1 when generating a machine learning model.

また、学習用データ取得部401は、取得した図面特性情報2を関連度記録部106に格納する。上述のとおり、関連度記録部106には、予め、関連度情報が格納される。
なお、関連度記録部106には、関連度情報と図面特性情報2の他、シンボル、属性、または、接続線に係る種々の情報が格納されるようになっていてもよい。
Furthermore, the learning data acquisition unit 401 stores the acquired drawing characteristic information 2 in the relevance recording unit 106. As described above, the relevance recording unit 106 stores relevance information in advance.
In addition to the relevance information and the drawing characteristic information 2, the relevance recording unit 106 may store various information related to symbols, attributes, or connection lines.

シンボルモデル生成部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 model generation unit 402 learns to judge symbols based on the learning data output by the learning data acquisition unit 401, and generates a first machine learning model 131 that uses the image drawing 1 and drawing characteristic information 2 as input and outputs information regarding the number of symbols on the image drawing 1, the position information of each symbol, the type of each symbol, and the accuracy of each symbol as a symbol recognition result.
In the first embodiment, the symbol model generating unit 402 performs learning related to object detection of a neural network using the learning data output by the learning data acquiring unit 401. That is, learning is performed by extracting image features, classifying them, and correcting coordinates. As a learning method, a well-known learning method such as SSD (Single Shot Detector) or YOLO (You only Look Once) may be used.
The symbol model generation unit 402 stores the generated first machine learning model 131 in the inference unit storage unit 103 .

属性情報モデル生成部403は、学習用データ取得部401が出力した学習用データに基づいて属性の判定を学習し、イメージ図面1と図面特性情報2とを入力として、イメージ図面1上の属性の数、各属性の位置情報、各属性の種別、および、各属性の確度等に関する情報を属性認識結果として出力する第2機械学習モデル132を生成する。
実施の形態1において、属性情報モデル生成部403は、学習用データ取得部401が出力した学習用データを用いて、ニューラルネットワークの物体検出に関わる学習を行う。すなわち、画像特徴量を抽出し、分類、座標の修正を行うことで学習する。学習方法としては、VGSL(Variable-size Graph Specification Language)等の周知の学習方法を用いればよい。
属性情報モデル生成部403は、生成した第2機械学習モデル132を、推論器格納部103に格納する。
The attribute information model generation unit 403 learns to judge attributes based on the learning data output by the learning data acquisition unit 401, and generates a second machine learning model 132 that uses the image drawing 1 and drawing characteristic information 2 as input and outputs information regarding the number of attributes on the image drawing 1, the position information of each attribute, the type of each attribute, and the accuracy of each attribute as attribute recognition results.
In the first embodiment, the attribute information model generating unit 403 performs learning related to object detection of a neural network using the learning data output by the learning data acquiring unit 401. That is, learning is performed by extracting image features, classifying them, and correcting coordinates. As a learning method, a well-known learning method such as VGSL (Variable-size Graph Specification Language) may be used.
The attribute information model generation unit 403 stores the generated second machine learning model 132 in the inference unit storage unit 103.

接続線モデル生成部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 model generation unit 404 learns to determine connection lines based on the learning data output by the learning data acquisition unit 401, and generates a third machine learning model 133 that uses the image drawing 1 and drawing characteristic information 2 as input and outputs information regarding the number of connection lines on the image drawing 1, the position information of each connection line, the type of each connection line, and the accuracy of each connection line, etc. as a connection line recognition result.
In the first embodiment, the connection line model generating unit 404 performs learning related to object detection of a neural network using the learning data output by the learning data acquiring unit 401. That is, learning is performed by extracting image features, classifying them, and correcting coordinates. As a learning method, a well-known learning method such as SSD (Single Shot Detector) or YOLO (You only Look Once) may be used.
The connection line model generation unit 404 stores the generated third machine learning model 133 in the inference unit storage unit 103.

実施の形態1に係る学習装置400の動作について説明する。
図15は、実施の形態1に係る学習装置400の動作について説明するためのフローチャートである。
The operation of learning device 400 according to the first embodiment will be described.
FIG. 15 is a flowchart for explaining the operation of learning device 400 according to the first embodiment.

学習用データ取得部401は、学習のためのデータ取得処理を行う(ステップST1501)。
具体的には、学習用データ取得部401は、教師ラベルが付与された複数のイメージ図面1と、当該イメージ図面1に対応する図面特性情報2とを取得する。
そして、学習用データ取得部401は、取得したイメージ図面1に基づき、学習用データを生成する。学習用データ取得部401は、生成した学習用データを、シンボルモデル生成部402、属性情報モデル生成部403、接続線モデル生成部404に出力する。
また、学習用データ取得部401は、取得した図面特性情報2を関連度記録部106に格納する。
The learning data acquiring section 401 performs a process of acquiring data for learning (step ST1501).
Specifically, the learning data acquisition unit 401 acquires a plurality of image drawings 1 to which teacher labels have been added, and the drawing characteristic information 2 corresponding to the image drawings 1 .
Then, the learning data acquisition unit 401 generates learning data based on the acquired image drawing 1. The learning data acquisition unit 401 outputs the generated learning data to the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404.
Furthermore, the learning data acquisition unit 401 stores the acquired drawing characteristic information 2 in the relevance recording unit 106 .

シンボルモデル生成部402は、ステップST1501にて学習用データ取得部401が出力した学習用データに基づいて、シンボルの判定を学習し、第1機械学習モデル131を生成する(ステップST1502)。
シンボルモデル生成部402は、生成した第1機械学習モデル131を、推論器格納部103に格納する。
The symbol model generating section 402 learns symbol determination based on the learning data output by the learning data acquiring section 401 in step ST1501, and generates the first machine learning model 131 (step ST1502).
The symbol model generation unit 402 stores the generated first machine learning model 131 in the inference unit storage unit 103 .

属性情報モデル生成部403は、ステップST1501にて学習用データ取得部401が出力した学習用データに基づいて、属性の判定を学習し、第2機械学習モデル132を生成する(ステップST1503)。
属性情報モデル生成部403は、生成した第2機械学習モデル132を、推論器格納部103に格納する。
The attribute information model generation unit 403 learns attribute judgment based on the learning data output by the learning data acquisition unit 401 in step ST1501, and generates the second machine learning model 132 (step ST1503).
The attribute information model generation unit 403 stores the generated second machine learning model 132 in the inference unit storage unit 103.

接続線モデル生成部404は、ステップST1501にて学習用データ取得部401が出力した学習用データに基づいて、接続線の判定を学習し、第3機械学習モデル133を生成する(ステップST1504)。
接続線モデル生成部404は、生成した第3機械学習モデル133を、推論器格納部103に格納する。
The connection line model generation unit 404 learns how to determine connection lines based on the learning data output by the learning data acquisition unit 401 in step ST1501, and generates the third machine learning model 133 (step ST1504).
The connection line model generation unit 404 stores the generated third machine learning model 133 in the inference unit storage unit 103.

このように、学習装置400は、いわゆる教師あり学習により、複数のイメージ図面1と図面特性情報2とに基づいて、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成することができる。 In this way, the learning device 400 can generate a first machine learning model 131, a second machine learning model 132, and a third machine learning model 133 based on multiple image drawings 1 and drawing characteristic information 2 through so-called supervised learning.

学習装置400は、イメージ図面1と図面特性情報2とに基づいて、第1機械学習モデル131、第2機械学習モデル132、および、第3機械学習モデル133を生成することで、図面特性情報2による重み付けを行うことができる。
例えば、図面特性情報2から抽出された特徴量が「家電」を示すものである場合、学習装置400は、機械学習モデルを学習させる際、「家電」に関するシンボル等を優先的に認識する。
このように、学習装置400は、イメージ図面1に加えて図面特性情報2を機械学習モデルの入力とすることで、イメージ図面1上のシンボル、属性、または、接続線に図面特性情報2に基づく重み付けを行うことができ、イメージ図面1の用途を加味した認識結果を出力する機械学習モデルを生成することができる。
The learning device 400 can perform weighting based on the drawing characteristic information 2 by generating a first machine learning model 131, a second machine learning model 132, and a third machine learning model 133 based on the image drawing 1 and the drawing characteristic information 2.
For example, if the feature extracted from the drawing characteristic information 2 indicates "home appliances", the learning device 400 will preferentially recognize symbols related to "home appliances" when training the machine learning model.
In this way, by using the drawing characteristic information 2 in addition to the image drawing 1 as input to the machine learning model, the learning device 400 can weight the symbols, attributes, or connecting lines on the image drawing 1 based on the drawing characteristic information 2, and can generate a machine learning model that outputs recognition results that take into account the purpose of the image drawing 1.

なお、以上の実施の形態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 learning device 400 generates a machine learning model based on a plurality of image drawings 1 and drawing characteristic information 2, but the learning device 400 does not require the drawing characteristic information 2 in learning. In this case, the learning data acquisition unit 401 of the learning device 400 does not need to acquire the drawing characteristic information 2. In addition, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 of the learning device 400 generate the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133, respectively, based on the image drawing 1.
However, by generating a machine learning model using drawing characteristic information 2, the learning device 400 can generate a machine learning model with higher accuracy than when a machine learning model is generated without using drawing characteristic information 2.
In addition, if the learning device 400 does not use drawing characteristic information 2 in learning, the drawing recognition device 100 does not require drawing characteristic information 2 when performing inference based on the first machine learning model 131, the second machine learning model 132, and the third machine learning model 133.

図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 learning device 400 according to the first embodiment.
In the first embodiment, the functions of the learning data acquisition unit 401, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 are realized by a processing circuit 1601. That is, the learning device 400 includes the processing circuit 1601 for generating a first machine learning model 131, a second machine learning model 132, and a third machine learning model 133 based on an image drawing 1 and drawing characteristic information 2.
The processing circuit 1601 may be dedicated hardware as shown in FIG. 16A, or may be a CPU (Central Processing Unit) 1604 that executes a program stored in a memory 1605 as shown in FIG. 16B.

処理回路1601が専用のハードウェアである場合、処理回路1601は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、またはこれらを組み合わせたものが該当する。 When the processing circuit 1601 is dedicated hardware, the processing circuit 1601 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a combination of these.

処理回路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 processing circuit 1601 is a CPU 1604, the functions of the learning data acquisition unit 401, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 are realized by software, firmware, or a combination of software and firmware. The software or firmware is described as a program and stored in the memory 1605. The processing circuit 1601 executes the functions of the learning data acquisition unit 401, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 by reading and executing the program stored in the memory 1605. That is, the learning device 400 includes a memory 1605 for storing a program that, when executed by the processing circuit 1601, results in the execution of steps ST1501 to ST1504 in FIG. 15 described above. In addition, it can be said that the program stored in the memory 1605 causes the computer to execute the procedures or methods of the learning data acquisition unit 401, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404. Here, memory 1605 may be, for example, a non-volatile or volatile semiconductor memory such as a RAM, a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), or an EEPROM (Electrically Erasable Programmable Read-Only Memory), or a magnetic disk, a flexible disk, an optical disk, a compact disk, a mini disk, or a DVD (Digital Versatile Disc).

なお、学習用データ取得部401と、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404の機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。例えば、学習用データ取得部401については専用のハードウェアとしての処理回路1601でその機能を実現し、シンボルモデル生成部402と、属性情報モデル生成部403と、接続線モデル生成部404については処理回路1601がメモリ1605に格納されたプログラムを読み出して実行することによってその機能を実現することが可能である。
また、学習装置400は、図面認識装置100等の装置と、有線通信または無線通信を行う入力インタフェース装置1602および出力インタフェース装置1603を備える。
The functions of the learning data acquisition unit 401, the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 may be partially realized by dedicated hardware and partially realized by software or firmware. For example, the function of the learning data acquisition unit 401 can be realized by a processing circuit 1601 as dedicated hardware, and the functions of the symbol model generation unit 402, the attribute information model generation unit 403, and the connection line model generation unit 404 can be realized by the processing circuit 1601 reading out and executing a program stored in a memory 1605.
The learning device 400 also includes an input interface device 1602 and an output interface device 1603 that perform wired or wireless communication with devices such as the drawing recognition device 100 .

以上のように、実施の形態1の図面認識装置100は、図面データ(イメージ図面1)を取得する図面取得部101と、図面取得部101が取得した図面データと、図面データを入力とし当該図面データ上のシンボル、属性、および、シンボル同士を接続する接続線に関する認識結果を出力する機械学習モデルとに基づいて、図面取得部101が取得した図面データにおけるシンボルに関する情報、図面取得部101が取得した前記図面データにおける属性に関する情報、および、図面取得部101が取得した図面データにおける接続線に関する情報を認識する認識部102と、認識部102が認識した、シンボルに関する情報、属性に関する情報、および、接続線に関する情報に基づいて、図面取得部101が取得した図面データにおけるシンボルと属性と他のシンボルとの対応関係を判定する判定部104を備えるように構成した。そのため、図面認識装置100は、配置知識を必要とすることなく文字と記号との対応関係を判定することができる。 As described above, the drawing recognition device 100 of the first embodiment is configured to include a drawing acquisition unit 101 that acquires drawing data (image drawing 1), a recognition unit 102 that recognizes information about symbols in the drawing data acquired by the drawing acquisition unit 101, information about attributes in the drawing data acquired by the drawing acquisition unit 101, and information about connecting lines in the drawing data acquired by the drawing acquisition unit 101 based on the drawing data acquired by the drawing acquisition unit 101 and a machine learning model that receives drawing data as input and outputs recognition results about symbols, attributes, and connecting lines connecting symbols, and a determination unit 104 that determines the correspondence between symbols, attributes, and other symbols in the drawing data acquired by the drawing acquisition unit 101 based on the information about symbols, information about attributes, and information about connecting lines recognized by the recognition unit 102. Therefore, the drawing recognition device 100 can determine the correspondence between characters and symbols without requiring placement knowledge.

なお、本開示は、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。 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.
前記認識部は、
前記図面取得部が取得した前記図面データと、前記図面データの特性に関する図面特性情報と、前記機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項記載の図面認識装置。
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つを含む
ことを特徴とする請求項記載の図面認識装置。
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機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項記載の図面認識装置。
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 .
前記認識部は、
前記図面取得部が取得した前記図面データと、前記図面データの特性に関する図面特性情報と、前記機械学習モデルとに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルに関する情報、前記属性に関する情報、および、前記シンボル同士を接続する前記接続線に関する情報を認識する
ことを特徴とする請求項記載の図面認識装置。
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.
前記判定部が判定した、前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係の判定結果に基づいて、判定後イメージ図面データを生成する生成部
を備えた請求項から請求項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 :
コンピュータを、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
前記認識部が認識した、前記シンボル、前記属性、および、前記接続線に関する情報と、前記図面データ上にて示される前記シンボルと前記属性の関連度、または、前記シンボル同士の接続の関連度に関する関連度情報とに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を判定し、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:
コンピュータを、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 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.
前記判定部は、The determination unit is
前記比較部が記録した前記不一致データに基づいて、前記図面取得部が取得した前記図面データにおける前記シンボルと前記属性と他のシンボルとの対応関係を再判定する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.
JP2020167393A 2020-10-02 2020-10-02 Drawing recognition device and drawing recognition program Active JP7664693B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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