JP7445364B2 - Image processing program, image processing method, and image processing device - Google Patents

Image processing program, image processing method, and image processing device Download PDF

Info

Publication number
JP7445364B2
JP7445364B2 JP2019125556A JP2019125556A JP7445364B2 JP 7445364 B2 JP7445364 B2 JP 7445364B2 JP 2019125556 A JP2019125556 A JP 2019125556A JP 2019125556 A JP2019125556 A JP 2019125556A JP 7445364 B2 JP7445364 B2 JP 7445364B2
Authority
JP
Japan
Prior art keywords
seal
area
notification
detection process
keyword
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
JP2019125556A
Other languages
Japanese (ja)
Other versions
JP2021012487A (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.)
Fujitsu Frontech Ltd
Original Assignee
Fujitsu Frontech Ltd
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 Fujitsu Frontech Ltd filed Critical Fujitsu Frontech Ltd
Priority to JP2019125556A priority Critical patent/JP7445364B2/en
Publication of JP2021012487A publication Critical patent/JP2021012487A/en
Application granted granted Critical
Publication of JP7445364B2 publication Critical patent/JP7445364B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Collating Specific Patterns (AREA)

Description

本発明は、画像処理プログラム、画像処理方法、及び画像処理装置に関する。 The present invention relates to an image processing program, an image processing method, and an image processing apparatus.

銀行等で使用される帳票処理システムの1つとして、届出印が押印された帳票を扱うシステムが知られている。この種の帳票処理システムは、画像処理装置を備える。画像処理装置は、光学的に読み取られた帳票の画像を取得し、取得した帳票の画像から届出印の印影を抽出し、抽出した届出印の印影と予め登録された届出印の印影とを電子的に照合する(所謂印鑑照合)等の処理を行う。 2. Description of the Related Art As one of the form processing systems used in banks and the like, a system that handles forms with a notification seal affixed thereto is known. This type of form processing system includes an image processing device. The image processing device obtains an optically read image of the form, extracts the impression of the notification seal from the obtained image of the form, and electronically converts the extracted impression of the notification seal and the impression of the notification seal registered in advance. Processes such as verification (so-called seal verification) are performed.

帳票の画像から届出印の印影を抽出する方法として、次のような方法が知られている。例えば、予め定義された届出印欄の位置に基づいて届出印の印影を抽出する方法(方法1)が知られている(例えば特許文献1参照)。また、例えば、届出印の項目名を示す文字列(例えば「お届け印」)を利用して帳票の画像における届出印欄の位置を検出し、検出した届出印欄の位置に基づいて届出印の印影を抽出する方法(方法2)も知られている。また、例えば、帳票の画像から印影を検出し、検出した印影の中から、予め登録されている除外印影(例えば検印の印影)を除外することによって、顧客印影を抽出する方法も知られている(例えば特許文献2参照)。 The following methods are known as methods for extracting the impression of a notification seal from an image of a form. For example, a method (method 1) of extracting the impression of a notification seal based on the position of a predefined notification seal field is known (for example, see Patent Document 1). In addition, for example, the position of the notification seal column in the image of the form is detected using a character string indicating the item name of the notification seal (for example, "notice seal"), and the notification seal is determined based on the detected position of the notification seal column. A method (Method 2) of extracting a seal impression is also known. Furthermore, for example, a method is known in which customer seal impressions are extracted by detecting seal impressions from an image of a form and excluding previously registered excluded seal impressions (for example, an inspection seal impression) from among the detected seal impressions. (For example, see Patent Document 2).

また、方法2のような届出印の項目名を示す文字列を利用することなく帳票の画像から届出印の印影を抽出する方法として、例えば、ディープラーニング(深層学習)等の物体検出AI(artificial intelligence)技術や本願の出願人による特願2018‐091876号の特許出願に記載の日付印領域特定技術を利用して、届出印の印影を抽出する方法(方法3)も考えられる。 In addition, as a method for extracting the seal imprint of a notification seal from an image of a form without using a character string indicating the item name of the notification seal as in method 2, for example, an object detection AI (artificial A method (Method 3) of extracting the seal impression of the notification seal using the date stamp area specifying technology described in the patent application No. 2018-091876 by the applicant of the present application is also considered.

特開2011‐197787号公報Japanese Patent Application Publication No. 2011-197787 特開2013‐167928号公報JP2013-167928A

しかしながら、方法1では、予め届出印欄の位置を定義しておく必要があることから、届出印欄の位置が異なる多種の帳票を扱う場合は、その定義に非常に多くの労力を要することになる。例えば、帳票の1つである口座振替依頼書は、収納機関(支払先)により作成されるものであるから、レイアウトが異なる口座振替依頼書(即ち届出印欄の位置が異なる口座振替依頼書)が多種存在し、届出印欄の位置を個別に定義しておくことは容易ではない。 However, in method 1, it is necessary to define the position of the notification seal column in advance, so when handling various forms with different positions of the notification seal column, it takes a lot of effort to define it. Become. For example, a bank account transfer request form, which is one of the forms, is created by the receiving institution (payee), so the bank transfer request form has a different layout (i.e., a bank transfer request form with a different position of the notification seal column). There are many types, and it is not easy to individually define the position of the notification seal field.

方法2では、届出印欄のデザイン性が高い場合に、届出印の項目名を示す文字列を利用して届出印欄の位置を検出することができない場合がある。一般に、届出印欄は、口座番号欄や金額欄等とは異なり、デザイン性が高い傾向にある。図13は、デザイン性が高い届出印欄を例示する図である。図13に例示する届出印欄は、届出印の項目名を示す文字列が白抜きで表された届出印欄である。このような届出印欄の場合は、届出印の項目名を示す文字列を利用して届出印欄の位置を検出することができない場合がある。 In method 2, when the design of the notification seal field is high, it may not be possible to detect the position of the notification seal field using the character string indicating the item name of the notification seal. In general, the notification seal field tends to have a high design quality, unlike the account number field, amount field, etc. FIG. 13 is a diagram illustrating a notification seal column with a high design quality. The notification seal column illustrated in FIG. 13 is a notification seal column in which a character string indicating the item name of the notification seal is displayed in outline. In the case of such a notification seal column, it may not be possible to detect the position of the notification seal column using the character string indicating the item name of the notification seal.

方法3では、届出印の印影の他に訂正印や検印や見本印等の印影が存在する場合に、一意に届出印の印影を特定することができない。図14は、届出印以外の印影を例示する図である。図14の(a)に例示する印影は検印の印影であり、図14の(b)に例示する印影は見本印の印影である。このように届出印以外の印影も存在する場合は、届出印の印影を一意に特定することができない。 In method 3, if there are other seal impressions such as a correction seal, inspection seal, sample seal, etc. in addition to the seal impression of the notification seal, it is not possible to uniquely identify the seal impression of the notification seal. FIG. 14 is a diagram illustrating a seal impression other than the notification seal. The seal imprint illustrated in (a) of FIG. 14 is an imprint of an inspection seal, and the seal imprint illustrated in (b) of FIG. 14 is an imprint of a sample seal. In this way, if there are seal impressions other than the notification seal, it is not possible to uniquely identify the seal imprint of the notification seal.

本発明は、上記実状に鑑み、届出印欄の位置の事前定義を不要にし、帳票の画像から届出印の印影を抽出することが可能な技術を提供することを目的とする。 In view of the above-mentioned circumstances, it is an object of the present invention to provide a technology that makes it unnecessary to predefine the position of the notification seal column and allows extraction of the impression of the notification seal from the image of the form.

プログラムの一観点は、画像処理プログラムであって、帳票によるサービスを利用する収納機関によって作成された帳票をスキャンすることで生じた画像における届出印項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する処理をコンピュータに実行させることを特徴とし、前記特定する処理は、前記第1の検出処理及び前記第2の検出処理の実行により前記届出印を意味する項目名を示すキーワードの領域が複数検出され且つ前記印影の領域が複数検出された場合に、前記複数のキーワードの領域と前記複数の印影の領域との位置関係に基づいて、前記届出印の、照合される印影の領域を特定することを特徴とする。 One aspect of the program is an image processing program that detects a keyword area indicating the item name of a notification seal in an image generated by scanning a form created by a receiving institution that uses a form-based service. and a second detection process for detecting a seal imprint area in the image of the form, and based on the execution results of the first detection process and the second detection process, the image of the form is The method is characterized by causing a computer to execute a process of specifying the area of the seal impression of the notification seal, and the specifying process means the notification seal by executing the first detection process and the second detection process. When a plurality of keyword areas indicating item names are detected and a plurality of seal imprint areas are detected, based on the positional relationship between the plurality of keyword areas and the plurality of seal imprint areas, the notification seal is It is characterized by specifying the region of the seal impression to be verified .

方法の一観点は、画像処理方法であって、帳票によるサービスを利用する収納機関によって作成された帳票をスキャンすることで生じた画像における届出印項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定することを特徴とし、前記特定は、前記第1の検出処理及び前記第2の検出処理の実行により前記届出印を意味する項目名を示すキーワードの領域が複数検出され且つ前記印影の領域が複数検出された場合に、前記複数のキーワードの領域と前記複数の印影の領域との位置関係に基づいて、前記届出印の、照合される印影の領域を特定することを特徴とする。 One aspect of the method is an image processing method in which a first method detects a keyword area indicating the item name of a notification seal in an image generated by scanning a form created by a receiving institution that uses a form-based service. and a second detection process for detecting a seal imprint area in the image of the form, and based on the execution results of the first detection process and the second detection process, the image of the form is The area of the seal imprint of the notification seal is specified , and the identification includes a plurality of areas of keywords indicating item names meaning the notification seal by executing the first detection process and the second detection process . and when a plurality of areas of the seal impression are detected, specifying an area of the seal impression of the notification seal to be verified based on the positional relationship between the area of the plurality of keywords and the area of the plurality of seal impressions. It is characterized by

装置の一観点は、画像処理装置であって、帳票によるサービスを利用する収納機関によって作成された帳票をスキャンすることで生じた画像における届出印項目名を示すキーワードの領域を検出する第1の検出処理を実行する届出印項目名検出部と、前記帳票の画像における印影の領域を検出する第2の検出処理を実行する印影検出部と、前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する届出印印影特定部とを備えることを特徴とし、前記特定は、前記第1の検出処理及び前記第2の検出処理の実行により前記届出印を意味する項目名を示すキーワードの領域が複数検出され且つ前記印影の領域が複数検出された場合に、前記複数のキーワードの領域と前記複数の印影の領域との位置関係に基づいて、前記届出印の、照合される印影の領域を特定することを特徴とする。 One aspect of the device is that it is an image processing device that detects a keyword area indicating the item name of a notification seal in an image generated by scanning a form created by a receiving institution that uses a form-based service. a notification seal item name detection unit that executes a detection process, a seal imprint detection unit that executes a second detection process that detects a seal imprint area in the image of the form, and the first detection process and the second detection process. and a notification seal imprint identification unit that specifies a seal imprint area of a notification seal in the image of the form based on the execution result of the process, and the identification is performed by the first detection process and the second detection process. When a plurality of keyword areas indicating the item name meaning the notification seal are detected by executing the detection process, and a plurality of areas of the seal impression are detected, the area of the plurality of keywords and the area of the plurality of seal impressions are detected. The method is characterized in that an area of the seal imprint of the notification seal to be verified is specified based on the positional relationship of the notification seal.

本発明によれば、届出印欄の位置の事前定義を不要にし、帳票の画像から届出印の印影を抽出することが可能となる。 According to the present invention, there is no need to predefine the position of the notification seal column, and it is possible to extract the impression of the notification seal from the image of the form.

帳票処理システムの構成を例示する図である。1 is a diagram illustrating the configuration of a form processing system. 一実施の形態に係る画像処理装置の機能的構成を例示する図である。FIG. 1 is a diagram illustrating a functional configuration of an image processing device according to an embodiment. 一実施の形態に係る画像処理を例示するフローチャートである。3 is a flowchart illustrating image processing according to an embodiment. 一実施の形態に係る画像処理の具体例を模式的に示す図である。FIG. 3 is a diagram schematically showing a specific example of image processing according to an embodiment. S5の処理の詳細を例示するフローチャートである。12 is a flowchart illustrating details of the process in S5. S5の処理の具体例を模式的に示す図である。It is a figure which shows typically the specific example of the process of S5. S51の処理の詳細を例示するフローチャートである。It is a flowchart illustrating the details of the process of S51. S51の処理の具体例を模式的に示す図(その1)である。FIG. 3 is a diagram (part 1) schematically showing a specific example of the process of S51. S51の処理の具体例を模式的に示す図(その2)である。FIG. 7 is a diagram (part 2) schematically showing a specific example of the process of S51. S53の処理の詳細を例示するフローチャートである。12 is a flowchart illustrating details of the process of S53. S53の処理の具体例を模式的に示す図である。It is a figure which shows typically the specific example of the process of S53. コンピュータのハードウェア構成を例示する図である。FIG. 2 is a diagram illustrating the hardware configuration of a computer. デザイン性が高い届出印欄を例示する図である。It is a diagram illustrating a notification seal field with a high design quality. 届出印以外の印影を例示する図である。It is a figure which illustrates the imprint of a seal other than a notification seal.

以下、図面を参照しながら本発明の実施の形態について説明する。
図1は、帳票処理システムの構成を例示する図である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram illustrating the configuration of a form processing system.

図1に例示する帳票処理システム1は、届出印が押印された帳票を扱うシステムである。帳票処理システム1は、画像処理装置2と、スキャナ装置3と、入力装置4と、表示装置5と、サーバ装置6とを含む。 A form processing system 1 illustrated in FIG. 1 is a system that handles forms stamped with a notification seal. The form processing system 1 includes an image processing device 2, a scanner device 3, an input device 4, a display device 5, and a server device 6.

画像処理装置2は、帳票の画像から届出印の印影やその他必要な情報を抽出し、例えば、抽出した届出印の印影と予め登録された届出印の印影との電子的照合を行う。画像処理装置2は、例えば、スキャナ装置3から帳票の画像を取得する。スキャナ装置3は、帳票等の紙媒体をデジタルデータ(画像)に変換する装置である。 The image processing device 2 extracts the impression of the notification seal and other necessary information from the image of the form, and, for example, electronically compares the extracted impression of the notification seal with the impression of a previously registered notification seal. The image processing device 2 obtains an image of a form from the scanner device 3, for example. The scanner device 3 is a device that converts paper media such as forms into digital data (images).

入力装置4は、画像処理装置2に各種情報を入力する装置である。入力装置4は、例えば、キーボード装置である。表示装置5は、画像処理装置2が行う処理の内容や処理の結果、入力装置4により入力された情報、帳票の画像等の、各種情報を表示する装置である。表示装置5は、例えば、液晶ディスプレイである。 The input device 4 is a device that inputs various information to the image processing device 2. The input device 4 is, for example, a keyboard device. The display device 5 is a device that displays various information such as the contents and results of processing performed by the image processing device 2, information input through the input device 4, and images of forms. The display device 5 is, for example, a liquid crystal display.

サーバ装置6は、画像処理装置2が画像内の文字を認識する際に参照する文字認識辞書と、画像処理装置2が文字の認識結果からキーワードを抽出する際に参照するキーワードテーブルとを保持する装置である。サーバ装置6は、ネットワーク7を介して画像処理装置2と通信可能に接続される。 The server device 6 holds a character recognition dictionary that the image processing device 2 refers to when recognizing characters in an image, and a keyword table that the image processing device 2 refers to when extracting keywords from the character recognition results. It is a device. The server device 6 is communicably connected to the image processing device 2 via the network 7 .

図2は、一実施の形態に係る画像処理装置の機能的構成を例示する図である。
図2に例示するように、画像処理装置2は、スキャナ制御部210と、文字認識処理部220と、文字列抽出部230と、印影検出部240と、届出印印影特定部250と、表示制御部260と、主制御部270とを含む。また、画像処理装置2は、図示していない記憶部を含む。
FIG. 2 is a diagram illustrating a functional configuration of an image processing apparatus according to an embodiment.
As illustrated in FIG. 2, the image processing device 2 includes a scanner control unit 210, a character recognition processing unit 220, a character string extraction unit 230, a seal imprint detection unit 240, a notification seal imprint identification unit 250, and a display control unit 210. 260 and a main control section 270. Further, the image processing device 2 includes a storage unit (not shown).

スキャナ制御部210は、スキャナ装置3から帳票の画像を取得する処理を制御する。
文字認識処理部220は、サーバ装置6が保持する文字認識辞書610を参照して、帳票の画像に含まれる文字を認識する。
The scanner control unit 210 controls the process of acquiring an image of a form from the scanner device 3.
The character recognition processing unit 220 refers to the character recognition dictionary 610 held by the server device 6 and recognizes characters included in the image of the form.

文字列抽出部230は、サーバ装置6が保持するキーワードテーブル620を参照して、文字認識処理部220による文字の認識結果から、項目名を示すキーワード(文字列)を抽出する。キーワードテーブル620には、予め、項目名を示すキーワードとなり得る文字列が登録されている。例えば、口座番号の項目名を示すキーワードとなり得る文字列として「口座番号」、「口座」、「口座振込番号」等が登録され、届出印の項目名を示すキーワードとなり得る文字列として「届出印」、「お届け印」、「登録印」等が登録されている。 The character string extraction unit 230 refers to the keyword table 620 held by the server device 6 and extracts a keyword (character string) indicating the item name from the character recognition result by the character recognition processing unit 220. In the keyword table 620, character strings that can be keywords indicating item names are registered in advance. For example, "account number," "account," "bank transfer number," etc. are registered as character strings that can be keywords indicating the item name of an account number, and "notification seal" is registered as a character string that can be a keyword indicating the item name of a notification seal. ”, “delivery seal”, “registration seal”, etc. are registered.

また、文字列抽出部230は、文字認識処理部220による文字の認識結果から、項目名を示すキーワード(例えば「口座番号」)に対する内容の文字列(例えば「1234567」)を抽出する。 Further, the character string extraction unit 230 extracts a character string (for example, “1234567”) corresponding to a keyword indicating an item name (for example, “account number”) from the character recognition result by the character recognition processing unit 220.

また、文字列抽出部230は、届出印項目名検出部231を含む。
届出印項目名検出部231は、帳票の画像における届出印の項目名を示すキーワードの領域(例えばキーワードを含む矩形領域)を検出する第1の検出処理を実行する。第1の検出処理は、例えば、既存の技術を利用して行われる。
Further, the character string extraction unit 230 includes a notification seal item name detection unit 231.
The notification seal item name detection unit 231 executes a first detection process of detecting a keyword area (for example, a rectangular area including the keyword) indicating the item name of the notification seal in the image of the form. The first detection process is performed using, for example, existing technology.

印影検出部240は、帳票の画像における印影の領域(例えば印影を含む矩形領域)を検出する第2の検出処理を実行する。第2の検出処理は、例えば、ディープラーニング等の物体検出AI技術や本願の出願人による特願2018‐091876号の特許出願に記載の日付印領域特定技術を利用して行われる。 The seal imprint detection unit 240 executes a second detection process of detecting a seal imprint area (for example, a rectangular area including a seal imprint) in the image of the form. The second detection process is performed using, for example, an object detection AI technology such as deep learning or a date stamp area identification technology described in the patent application No. 2018-091876 filed by the applicant of the present application.

届出印印影特定部250は、届出印項目名検出部231による第1の検出処理及び印影検出部240による第2の検出処理の実行結果に基づいて、帳票の画像における届出印の印影の領域を特定する。例えば、届出印項目名検出部231による第1の検出処理及び印影検出部240による第2の検出処理の実行により、届出印の項目名を示すキーワードの領域が1つ以上検出され且つ印影の領域が1つ以上検出された場合は、届出印の項目名を示すキーワードの領域と印影の領域との位置関係に基づいて、届出印の印影の領域を特定する。この場合の特定では、例えば、所定条件を満たす印影の領域を、届出印の印影の領域として特定する。所定条件は、例えば、届出印の項目名を示すキーワードの領域の右側又は下側に存在し且つキーワードの領域との距離が所定値以下であるという条件や、届出印の項目名を示すキーワードの領域の右側又は下側に存在し且つキーワードの領域との距離が所定値以下であり且つ領域サイズが所定サイズより大きいという条件である。また、例えば、届出印項目名検出部231による第1の検出処理及び印影検出部240による第2の検出処理の実行により、印影の領域が1つだけ検出された場合は、その印影の領域を、届出印の印影の領域として特定する。 The notification seal imprint identification unit 250 determines the seal imprint area of the notification seal in the image of the form based on the execution results of the first detection process by the notification seal item name detection unit 231 and the second detection process by the seal imprint detection unit 240. Identify. For example, by executing the first detection process by the notification seal item name detection unit 231 and the second detection process by the seal imprint detection unit 240, one or more keyword areas indicating the item name of the notification seal are detected, and the area of the seal impression is detected. If one or more are detected, the area of the seal impression of the notification seal is specified based on the positional relationship between the area of the keyword indicating the item name of the notification seal and the area of the seal impression. In this case, for example, a seal imprint area that satisfies a predetermined condition is specified as a seal imprint area of the notification seal. The predetermined conditions include, for example, the condition that the keyword exists on the right side or below the area of the keyword indicating the item name of the notification seal, and the distance from the keyword area is less than or equal to a predetermined value, or the condition that the keyword indicating the item name of the notification seal The condition is that the keyword exists on the right side or below the area, the distance from the keyword area is less than or equal to a predetermined value, and the area size is larger than the predetermined size. Further, for example, if only one seal imprint area is detected by executing the first detection process by the notification seal item name detection unit 231 and the second detection process by the seal imprint detection unit 240, the seal imprint area is , specified as the area of the seal impression of the notification seal.

表示制御部260は、表示装置5の表示を制御する。例えば、表示制御部260は、帳票の画像に対する処理の結果を含む画面データを生成し、該画面データを表示装置5に表示(出力)させる。 The display control unit 260 controls the display on the display device 5. For example, the display control unit 260 generates screen data including the results of processing an image of a form, and causes the display device 5 to display (output) the screen data.

主制御部270は、スキャナ制御部210、文字認識処理部220、文字列抽出部230、印影検出部240、届出印印影特定部250、及び表示制御部260が行う一連の処理を制御する。 The main control unit 270 controls a series of processes performed by the scanner control unit 210, character recognition processing unit 220, character string extraction unit 230, seal imprint detection unit 240, notification seal imprint identification unit 250, and display control unit 260.

図3は、一実施の形態に係る画像処理を例示するフローチャートである。図4は、一実施の形態に係る画像処理の具体例を模式的に示す図である。 FIG. 3 is a flowchart illustrating image processing according to one embodiment. FIG. 4 is a diagram schematically showing a specific example of image processing according to an embodiment.

画像処理装置2は、帳票から必要な情報を抽出するための画像処理を開始すると、図3に例示するように、まず、帳票の画像を取得する(S1)。S1の処理は、スキャナ制御部210が行う。 When the image processing device 2 starts image processing for extracting necessary information from a form, it first acquires an image of the form, as illustrated in FIG. 3 (S1). The process of S1 is performed by the scanner control unit 210.

次に、画像処理装置2は、サーバ装置6が保持する文字認識辞書610を参照して、帳票の画像に含まれる文字を認識する(S2)。S2の処理は、文字認識処理部220が行う。 Next, the image processing device 2 refers to the character recognition dictionary 610 held by the server device 6 and recognizes the characters included in the image of the form (S2). The process of S2 is performed by the character recognition processing unit 220.

次に、画像処理装置2は、サーバ装置6が保持するキーワードテーブル620を参照して、文字の認識結果から、項目名を示すキーワードを抽出すると共に、帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理を実行する(S3)。S3の処理は、文字列抽出部230が行い、特に、S3の処理のうち第1の検出処理は文字列抽出部230に含まれる届出印項目名検出部231が行う。 Next, the image processing device 2 refers to the keyword table 620 held by the server device 6 and extracts keywords indicating the item name from the character recognition results, and also indicates the item name of the notification seal in the image of the form. A first detection process for detecting a keyword area is executed (S3). The process of S3 is performed by the character string extraction unit 230, and in particular, the first detection process of the process of S3 is performed by the notification seal item name detection unit 231 included in the character string extraction unit 230.

次に、画像処理装置2は、文字の認識結果から、項目名を示すキーワードに対する内容の文字列を抽出する(S4)。S4の処理は、文字列抽出部230が行う。 Next, the image processing device 2 extracts a character string corresponding to the keyword indicating the item name from the character recognition result (S4). The process of S4 is performed by the character string extraction unit 230.

次に、画像処理装置2は、帳票の画像における印影の領域を検出する第2の検出処理を実行すると共に、第1の検出処理及び第2の検出処理の実行結果に基づいて、帳票の画像における届出印の印影の領域を特定する(S5)。S5の処理は、印影検出部240と届出印印影特定部250が行う。 Next, the image processing device 2 executes a second detection process for detecting a seal imprint area in the image of the form, and also performs a second detection process on the image of the form based on the execution results of the first detection process and the second detection process. The region of the seal imprint of the notification seal is specified (S5). The process of S5 is performed by the seal imprint detection section 240 and the notification seal imprint identification section 250.

次に、画像処理装置2は、項目名毎の処理結果を表示装置5に表示させる(S6)。例えば、届出印の項目名の処理結果として、特定した届出印の印影の領域を示す座標(例えば、その印影を含む矩形領域の対角の2点の座標)を表示させ、届出印以外の項目名の処理結果として、項目名を示すキーワードに対する内容の文字列と、その文字列の領域を示す座標(例えば、その文字列を含む矩形領域の対角の2点の座標)とを表示させる。S6の処理は、表示制御部260が行う。 Next, the image processing device 2 causes the display device 5 to display the processing results for each item name (S6). For example, as a result of processing the item name of a notification seal, the coordinates indicating the area of the seal imprint of the specified notification seal (for example, the coordinates of two diagonal points of a rectangular area containing the seal imprint) are displayed, and items other than notification seals are displayed. As a result of name processing, a character string representing the content of the keyword representing the item name and coordinates representing the area of the character string (for example, coordinates of two diagonal points of a rectangular area containing the character string) are displayed. The process of S6 is performed by the display control unit 260.

このような画像処理に従えば、例えば、S1の処理では、図4の(a)に模式的に示すような帳票の画像8が取得される。帳票の画像8は、口座番号の項目名を示すキーワード(「口座番号」)の領域801と、口座番号の項目名を示すキーワードに対する内容の文字列(「1234567」)の領域802と、届出印の項目名を示すキーワード(「届出印」)の領域803、804、805と、届出印が押印された印影の領域806と、届出印以外の印(例えば訂正印)が押印された印影の領域807とを含む。届出印の項目名を示すキーワードの領域803、804、805において、領域803は、本来の届出印の項目名を示すキーワードの領域を示し、領域804、805は、説明文等に含まれる届出印の項目名を示すキーワードの領域を示す。 According to such image processing, for example, in the process of S1, an image 8 of a form as schematically shown in FIG. 4(a) is obtained. The image 8 of the form includes an area 801 for a keyword (``account number'') indicating the item name of the account number, an area 802 for the character string (``1234567'') corresponding to the keyword indicating the item name of the account number, and a notification stamp. areas 803, 804, and 805 for keywords (``notification stamps'') that indicate the item name, an area 806 for seal impressions with notification seals, and areas for seal impressions with seals other than notification seals (for example, correction stamps). 807. In the keyword areas 803, 804, and 805 that indicate the item name of the notification seal, area 803 indicates the keyword area that indicates the item name of the original notification seal, and areas 804 and 805 indicate the area of the keyword that indicates the item name of the notification seal included in the explanatory text, etc. Indicates an area for keywords indicating item names.

その後、S3の処理では、図4の(b)に模式的に示すように、帳票の画像8において、領域801に含まれる文字列(「口座番号」)が、口座番号の項目名を示すキーワードとして抽出され、領域803、804、805に含まれる文字列(「届出印」)が、届出印の項目名を示すキーワードとして抽出され、領域803、804、805が、届出印の項目名を示すキーワードの領域として検出される。 Thereafter, in the process of S3, as schematically shown in FIG. The character string (``notification seal'') contained in areas 803, 804, and 805 is extracted as a keyword indicating the item name of the notification seal, and the areas 803, 804, and 805 indicate the item name of the notification seal. Detected as a keyword area.

その後、S4及びS5の処理では、図4の(c)に模式的に示すように、帳票の画像8において、領域802に含まれる文字列(「1234567」)が、口座番号の項目名を示すキーワードに対する内容の文字列として抽出され、領域806が、届出印の印影の領域として特定される。 Thereafter, in the processes of S4 and S5, as schematically shown in FIG. The character string corresponding to the keyword is extracted, and the area 806 is specified as the area of the seal impression of the notification seal.

その後、S6の処理では、図4の(d)に示すように、項目名毎の処理結果(内容、座標)が表示装置5に表示される。例えば、口座番号の項目名の処理結果として、口座番号の項目名を示すキーワードに対する内容の文字列(「1234567」)と、その文字列の領域の座標(「(x1,y1,x2,y2)」)が表示され、届出印の項目名の処理結果として、届出印の印影の領域の座標(「(x3,y3,x4,y4)」)が表示される。なお、届出印の項目名を示すキーワードに対する内容の文字列は、元々存在しないため、届出印の項目名の処理結果には含まれない。 Thereafter, in the process of S6, the processing results (contents, coordinates) for each item name are displayed on the display device 5, as shown in FIG. 4(d). For example, as a result of processing the item name of account number, the character string ("1234567") corresponding to the keyword indicating the item name of account number and the coordinates of the area of the character string ("(x1, y1, x2, y2) ") is displayed, and the coordinates ("(x3, y3, x4, y4)") of the area of the seal impression of the notification seal are displayed as the processing result of the item name of the notification seal. Note that since the character string corresponding to the keyword indicating the item name of the notification seal does not originally exist, it is not included in the processing result of the item name of the notification seal.

図5は、S5の処理の詳細を例示するフローチャートである。図6は、S5の処理の具体例を模式的に示す図である。 FIG. 5 is a flowchart illustrating details of the process in S5. FIG. 6 is a diagram schematically showing a specific example of the process of S5.

図5に例示するように、S5の処理が開始されると、まず、印影検出部240は、帳票の画像における印影の領域を検出する第2の検出処理を実行する(S51)。なお、S51の処理で検出する印影の領域は、帳票の画像における届出印の印影の領域の候補でもある。 As illustrated in FIG. 5, when the process of S5 is started, first, the seal imprint detection unit 240 executes a second detection process of detecting a seal imprint area in the image of the form (S51). Note that the seal imprint area detected in the process of S51 is also a candidate for the seal imprint area of the notification seal in the image of the form.

次に、届出印印影特定部250は、印影検出部240による第2の検出処理の実行により印影の領域が複数検出されたか否かを判定する(S52)。 Next, the notification seal imprint identifying unit 250 determines whether a plurality of seal imprint areas have been detected by the execution of the second detection process by the seal imprint detecting unit 240 (S52).

S52の判定結果がYESの場合、届出印印影特定部250は、届出印項目名検出部231による第1の検出処理及び印影検出部240による第2の検出処理の実行結果に基づいて、帳票の画像における届出印の印影の領域を特定し(S53)、特定した届出印の印影の領域を示す座標を主制御部270に出力する(S54)。但し、S53の処理で届出印の印影の領域を特定できなかった場合は座標の出力を行わない。 If the determination result in S52 is YES, the notification seal imprint identification unit 250 identifies the form on the basis of the execution results of the first detection process by the notification seal item name detection unit 231 and the second detection process by the seal imprint detection unit 240. The area of the seal imprint of the notification seal in the image is specified (S53), and the coordinates indicating the identified area of the seal imprint of the notification seal are output to the main control unit 270 (S54). However, if the region of the seal impression of the notification seal cannot be specified in the process of S53, the coordinates are not output.

一方、S52の判定結果がNOの場合、届出印印影特定部250は、印影検出部240による第2の検出処理の実行により検出された印影の領域の数が1個であるか0個であるかに応じて次の処理を行う(S54)。検出された印影の領域の数が1個である場合は、その印影の領域を、帳票の画像における届出印の印影の領域として特定し、特定した届出印の印影の領域を示す座標を主制御部270に出力する。一方、検出された印影の領域の数が0個である場合は、帳票の画像に届出印の印影の領域が無いとして、座標の出力を行わない。 On the other hand, if the determination result in S52 is NO, the notification seal imprint identification unit 250 determines whether the number of seal imprint areas detected by the execution of the second detection process by the seal imprint detection unit 240 is 1 or 0. The next process is performed depending on the situation (S54). If the number of detected seal imprint areas is one, the area of the seal imprint is specified as the area of the seal imprint of the notification seal in the image of the form, and the coordinates indicating the area of the specified seal imprint of the notification seal are controlled as the main control. 270. On the other hand, if the number of detected seal imprint areas is 0, it is assumed that there is no seal imprint area of the notification seal in the form image, and the coordinates are not output.

このような図5に例示する処理に従えば、例えば、S51の処理では、図6の(a)に模式的に示すように、帳票の画像8における領域806、807が、印影の領域として検出される。 According to the process illustrated in FIG. 5, for example, in the process of S51, areas 806 and 807 in the image 8 of the form are detected as a seal imprint area, as schematically shown in FIG. be done.

その後、S53の処理では、図6の(b)に模式的に示すように、帳票の画像8における領域806が、届出印の印影の領域として特定される。 Thereafter, in the process of S53, as schematically shown in FIG. 6(b), an area 806 in the image 8 of the form is specified as the area of the seal impression of the notification seal.

その後、S54の処理では、図6の(c)に示すように、特定された届出印の印影の領域を示す座標(「(x3,y3,x4,y4)」)が主制御部270に出力される。 Thereafter, in the process of S54, as shown in FIG. be done.

図7は、S51の処理の詳細を例示するフローチャートである。図8及び図9は、S51の処理の具体例を模式的に示す図である。 FIG. 7 is a flowchart illustrating details of the process in S51. FIGS. 8 and 9 are diagrams schematically showing a specific example of the process of S51.

S51の処理を行う印影検出部240は、上述のとおり、第2の検出処理を、例えば、ディープラーニング等の物体検出AI技術や、本願の出願人による特願2018‐091876号の特許出願に記載の日付印領域特定技術を利用して行う。ここでは、ディープラーニング等の物体検出AI技術を利用して行う場合を例に説明する。 As described above, the seal imprint detection unit 240 that performs the process of S51 performs the second detection process using object detection AI technology such as deep learning, or as described in the patent application No. 2018-091876 by the applicant of the present application. This is done using the date stamp area identification technology. Here, an example will be explained in which the object detection AI technology such as deep learning is used.

図7に例示するように、S51の処理が開始されると、印影検出部240は、まず、学習済みのニューラルネットワークモデルに適合するように、帳票の画像をサイズ変換する(S511)。学習済みのニューラルネットワークモデルは、所定サイズの画像の入力に対して、その画像におけるオブジェクトの領域を示す座標と、そのオブジェクトの印影らしさを表す特徴量とを出力する。オブジェクトの領域は、ひとまとまりの物体として判定された領域である。 As illustrated in FIG. 7, when the process of S51 is started, the seal imprint detection unit 240 first converts the size of the form image to fit the learned neural network model (S511). In response to input of an image of a predetermined size, the trained neural network model outputs coordinates indicating the area of the object in the image and feature amounts indicating the likelihood of the object being a seal impression. The object area is an area determined as a group of objects.

次に、印影検出部240は、学習済みニューラルネットワークモデルを読み込む(S512)。学習済みニューラルネットワークモデルは、画像処理装置2が備える記憶部(図示せず)か、サーバ装置6で管理することができる。 Next, the seal imprint detection unit 240 reads the trained neural network model (S512). The trained neural network model can be managed by a storage unit (not shown) included in the image processing device 2 or by the server device 6.

次に、印影検出部240は、サイズ変換した帳票の画像を、読み込んだニューラルネットワークモデルに入力して、その出力であるオブジェクトの領域を示す座標と印影らしさを表す特徴量とを取得する(S513)。 Next, the seal imprint detection unit 240 inputs the size-converted image of the form into the loaded neural network model, and obtains the coordinates indicating the area of the object and the feature amount representing the seal imprint-likeness (S513). ).

次に、印影検出部240は、取得したオブジェクトの領域を示す座標と印影らしさを表す特徴量とから、印影らしさを表す特徴量が所定値を超えるオブジェクトの領域を示す座標を、印影の領域を示す座標として判定する(S514)。 Next, the seal imprint detection unit 240 determines the coordinates indicating the area of the object where the feature amount representing the seal impression-likeness exceeds a predetermined value from the obtained coordinates indicating the area of the object and the feature amount representing the seal imprint-likeness. It is determined that the coordinates shown are the coordinates shown (S514).

次に、印影検出部240は、サイズ変換した帳票の画像を元のサイズにサイズ変換して、印影の領域を示す座標として判定したオブジェクトの領域を示す座標を、元のサイズにサイズ変換した帳票の画像における座標に変換する(S515)。 Next, the seal imprint detection unit 240 converts the size-converted image of the form to the original size, and converts the coordinates indicating the area of the object determined as the coordinates indicating the area of the seal imprint to the original size. (S515).

次に、印影検出部240は、変換した座標を、帳票の画像における印影の領域(届出印の印影の領域候補)を示す座標として主制御部270に出力する(S516)。 Next, the seal imprint detection unit 240 outputs the converted coordinates to the main control unit 270 as coordinates indicating the area of the seal imprint (area candidate for the seal imprint of the notification seal) in the image of the form (S516).

印影検出部240は、このようにして帳票の画像における印影の領域を検出し、その領域を示す座標を出力する。 In this way, the seal imprint detection unit 240 detects the area of the seal imprint in the image of the form, and outputs the coordinates indicating the area.

このような図7に例示する処理に従えば、例えば、S511の処理では、図8の(a)に模式的に示すように、帳票の画像8が、学習済みニューラルネットワークモデルに適合したサイズ(ここでは512ピクセル×512ピクセルのサイズ)にサイズ変換される。 According to the process illustrated in FIG. 7, for example, in the process of S511, as schematically shown in FIG. Here, the size is converted to a size of 512 pixels x 512 pixels).

その後、S513の処理では、図8の(b)に模式的に示すように、サイズ変換後の帳票の画像8aが、学習済みニューラルネットワークモデル9に入力されて、その出力であるオブジェクトの領域を示す座標と印影らしさを表す特徴量とが取得される。図8の(b)では、オブジェクトの領域の座標として、領域808、809、810、811、812、813、814の各領域の座標が取得される。また、図8の(b)では省略しているが、S513の処理を行うことにより、領域808、809、810、811、812、813、814の各領域のオブジェクトに対する、印影らしさを表す特徴量が取得される。 Thereafter, in the process of S513, as schematically shown in FIG. The indicated coordinates and the feature amount representing the seal imprint-likeness are acquired. In FIG. 8B, the coordinates of regions 808, 809, 810, 811, 812, 813, and 814 are obtained as the coordinates of the object region. Although omitted in FIG. 8(b), by performing the process of S513, the feature amount representing the seal imprint-likeness for the object in each area of areas 808, 809, 810, 811, 812, 813, and 814 is added. is obtained.

その後、S514の処理では、図9の(a)に模式的に示すように、印影らしさを表す特徴量が所定値(ここでは0.9)を超えるオブジェクトの領域811、812を示す座標が、印影の領域を示す座標として判定される。なお、特徴量の値は、オブジェクトが印影に類似するほど1に近づく値である。 Thereafter, in the process of S514, as schematically shown in FIG. It is determined as the coordinates indicating the area of the seal impression. Note that the value of the feature amount approaches 1 as the object becomes more similar to the seal impression.

その後、S515の処理では、図9の(b)に模式的に示すように、サイズ変換された帳票の画像8aが元のサイズにサイズ変換され、印影の領域を示す座標として判定されたオブジェクトの領域811、812を示す座標が、元のサイズにサイズ変換された帳票の画像8における座標に変換される。これにより、変換後の座標として、帳票の画像8における領域806、807を示す座標が取得される。 Thereafter, in the process of S515, as schematically shown in FIG. 9(b), the size-converted form image 8a is converted to the original size, and the coordinates of the object determined to indicate the area of the seal imprint are Coordinates indicating areas 811 and 812 are converted to coordinates in the image 8 of the form whose size has been converted to the original size. Thereby, the coordinates indicating the areas 806 and 807 in the image 8 of the form are obtained as the coordinates after the conversion.

その後、S516の処理では、図9の(c)に示すように、変換後の座標である、領域806を示す座標(「(x3,y3,x4,y4)」)と領域807を示す座標(「(x5,y5,x6,y6)」)が、帳票の画像8における印影の領域(届出印の印影の領域候補)を示す座標として主制御部270に出力される。 Thereafter, in the process of S516, as shown in FIG. "(x5, y5, x6, y6)") is output to the main control unit 270 as coordinates indicating the seal imprint area (region candidate for the seal imprint of the notification seal) in the image 8 of the form.

図10は、S53の処理の詳細を例示するフローチャートである。図11は、S53の処理の具体例を模式的に示す図である。 FIG. 10 is a flowchart illustrating details of the process of S53. FIG. 11 is a diagram schematically showing a specific example of the process of S53.

図10に例示するように、S53の処理が開始されると、届出印印影特定部250は、まず、届出印項目名検出部231により検出された届出印の項目名を示すキーワードの領域を示す座標と、印影検出部240により検出された印影の領域を示す座標を、帳票の画像に対応する座標系にマッピングする(S531)。すなわち、届出印の項目名を示すキーワードの領域と印影の領域とをマッピングする。 As illustrated in FIG. 10, when the process of S53 is started, the notification seal imprint identification unit 250 first indicates a keyword area indicating the item name of the notification seal detected by the notification seal item name detection unit 231. The coordinates and the coordinates indicating the seal imprint area detected by the seal imprint detection unit 240 are mapped onto a coordinate system corresponding to the image of the form (S531). That is, the area of the keyword indicating the item name of the notification seal and the area of the seal imprint are mapped.

次に、届出印印影特定部250は、マッピングした届出印の項目名を示すキーワードの領域と印影の領域との位置関係に基づいて、届出印の印影の領域を特定する(S532)。この特定では、例えば、所定条件を満たす印影の領域を、届出印の印影の領域として特定する。所定条件は、例えば、届出印の項目名を示すキーワードの領域の右側又は下側に存在し且つキーワードの領域との距離が所定値以下であるという条件や、届出印の項目名を示すキーワードの領域の右側又は下側に存在し且つキーワードの領域との距離が所定値以下であり且つ領域サイズが所定サイズより大きいという条件である。 Next, the notification seal imprint specifying unit 250 specifies the seal imprint area of the notification seal based on the positional relationship between the area of the keyword indicating the mapped item name of the notification seal and the seal imprint area (S532). In this identification, for example, a seal imprint area that satisfies a predetermined condition is specified as a seal imprint area of the notification seal. The predetermined conditions include, for example, the condition that the keyword exists on the right side or below the area of the keyword indicating the item name of the notification seal, and the distance from the keyword area is less than or equal to a predetermined value, or the condition that the keyword indicating the item name of the notification seal The condition is that the keyword exists on the right side or below the area, the distance from the keyword area is less than or equal to a predetermined value, and the area size is larger than the predetermined size.

次に、届出印印影特定部250は、帳票の画像における、特定した届出印の印影の領域を示す座標を主制御部270に出力する(S533)。 Next, the notification seal imprint specifying unit 250 outputs the coordinates indicating the area of the identified notification seal imprint in the image of the form to the main control unit 270 (S533).

このような図10に例示する処理に従えば、例えば、S531の処理では、図11の(a)に模式的に示すように、帳票の画像8に対応する座標系10に、届出印の項目名を示すキーワードの領域101、102、103と、印影の領域104、105とがマッピングされる。 According to the process illustrated in FIG. 10, for example, in the process of S531, as schematically shown in FIG. Keyword areas 101, 102, and 103 indicating names and seal impression areas 104 and 105 are mapped.

その後、S532の処理では、印影の領域104,105のうち、図11の(b)に示すような所定条件を満たす印影の領域104が、届出印の印影の領域として特定される。図11の(b)に示す所定条件は、届出印の項目名を示すキーワードの領域の右側又は下側に存在し、且つ、届出印の項目名を示すキーワードの領域との距離が所定値以下(ここでは1cm以下)であり、且つ、領域サイズが所定サイズ(ここでは2.4cm×2.4cmのサイズ)より大きいという条件である。なお、届出印の項目名を示すキーワードの領域との距離が所定値以下とは、例えば、届出印の項目名を示すキーワードの領域の基準点と印影の領域の基準点との距離が所定値以下ということである。基準点は、例えば、領域の中心点である。 Thereafter, in the process of S532, among the seal imprint areas 104 and 105, the seal imprint area 104 that satisfies a predetermined condition as shown in FIG. 11(b) is specified as the seal imprint area of the notification seal. The predetermined condition shown in FIG. 11(b) is that the area exists on the right side or below the keyword area indicating the item name of the notification seal, and the distance from the keyword area indicating the item name of the notification seal is less than or equal to a predetermined value. (in this case, 1 cm or less), and the area size is larger than a predetermined size (in this case, a size of 2.4 cm x 2.4 cm). Note that the distance from the keyword area indicating the item name of the notification seal being less than or equal to a predetermined value means, for example, that the distance between the reference point of the keyword area indicating the item name of the notification seal and the reference point of the seal imprint area is a predetermined value. This means the following. The reference point is, for example, the center point of the area.

その後、S533の処理では、図11の(c)に示すように、特定された届出印の印影の領域(ここでは領域104(領域806に対応))を示す座標(「(x3,y3,x4,y4)」)が主制御部270に出力される。 Thereafter, in the process of S533, as shown in FIG. 11(c), the coordinates ("(x3, y3, x4 , y4)'') are output to the main control section 270.

以上のように、画像処理装置2が行う画像処理によれば、帳票の画像における届出印の項目名を示すキーワードの領域と印影の領域とを検出する処理を実行し、その処理結果に基づいて、帳票の画像における届出印の印影の領域を特定するようにしたので、届出印欄の位置の事前定義を不要にし、届出印の印影の抽出が可能になる。また、届出印の印影の他に訂正印や検印や見本印等の印影を含む帳票の画像に対しても、届出印の印影の領域を特定することができ、届出印の印影の抽出が可能になる。さらに、デザイン性が高い届出印欄を含む帳票の画像に対しては、届出印の項目名を示すキーワードの領域が検出されなかったとしても印影の領域が1つだけ検出されれば、その印影の領域を届出印の印影の領域として特定するようにしたので、届出印の印影の抽出が可能になる。 As described above, according to the image processing performed by the image processing device 2, the process of detecting the keyword area indicating the item name of the notification seal and the seal imprint area in the image of the form is executed, and based on the processing result, Since the region of the seal imprint of the notification seal in the image of the form is specified, it is no longer necessary to predefine the position of the notification seal column, and the imprint of the notification seal can be extracted. In addition, it is possible to identify the region of the notification seal imprint on a document image that includes not only the seal impression of the notification seal but also the impression of a correction seal, inspection seal, sample seal, etc., and extract the seal imprint of the notification seal. become. Furthermore, for an image of a form that includes a well-designed notification seal field, even if the keyword area indicating the item name of the notification seal is not detected, if only one seal imprint area is detected, the seal imprint is detected. Since the area is specified as the region of the seal impression of the notification seal, it becomes possible to extract the seal impression of the notification seal.

なお、画像処理装置2の機能的構成は、図2に例示した構成に限らず、適宜変更可能である。例えば、文字認識処理部220が参照する文字認識辞書610と文字列抽出部230が参照するキーワードテーブル620の一方又は両方を、画像処理装置2が備える記憶部(図示しない)で管理することも可能である。また、画像処理装置2は、例えば、メモリカードや光ディスク等の可搬型記録媒体、或いはネットワークを介して提供される帳票の画像を取得して上記の画像処理を行えるようにしてもよい。 Note that the functional configuration of the image processing device 2 is not limited to the configuration illustrated in FIG. 2, and can be modified as appropriate. For example, it is also possible to manage one or both of the character recognition dictionary 610 referred to by the character recognition processing unit 220 and the keyword table 620 referred to by the character string extraction unit 230 in a storage unit (not shown) included in the image processing device 2. It is. Further, the image processing device 2 may be configured to perform the above-described image processing by acquiring an image of a form provided via a portable recording medium such as a memory card or an optical disk, or a network, for example.

加えて、画像処理装置2は、コンピュータと、該コンピュータに実行させるプログラムとにより実現可能である。以下、コンピュータとプログラムとにより実現される画像処理装置2について、図12を参照して説明する。 In addition, the image processing device 2 can be realized by a computer and a program executed by the computer. The image processing device 2 implemented by a computer and a program will be described below with reference to FIG. 12.

図12は、コンピュータのハードウェア構成を例示する図である。
図12に例示するように、コンピュータ11は、CPU(Central Processing Unit)1101と、メモリ1102と、補助記憶装置1103と、入力装置1104と、表示装置1105とを備える。また、コンピュータ11は、入出力インタフェース1106と、通信制御装置1107と、媒体駆動装置1108とを備える。コンピュータ11におけるこれらの要素1101~1108は、バス1109により相互に接続されており、要素間でのデータの受け渡しが可能になっている。
FIG. 12 is a diagram illustrating the hardware configuration of a computer.
As illustrated in FIG. 12, the computer 11 includes a CPU (Central Processing Unit) 1101, a memory 1102, an auxiliary storage device 1103, an input device 1104, and a display device 1105. The computer 11 also includes an input/output interface 1106, a communication control device 1107, and a medium drive device 1108. These elements 1101 to 1108 in the computer 11 are interconnected by a bus 1109, allowing data to be exchanged between the elements.

CPU1101は、オペレーティングシステムを含む各種のプログラムを実行することによりコンピュータ11の全体の動作を制御する。例えば、CPU1101は、図3~図11を用いて説明した各処理を含む画像処理プログラムを実行する。 The CPU 1101 controls the overall operation of the computer 11 by executing various programs including an operating system. For example, the CPU 1101 executes an image processing program including each of the processes described using FIGS. 3 to 11.

メモリ1102は、図示しないROM(Read Only Memory)及びRAM(Random Access Memory)を含む。メモリ1102のROMには、例えば、コンピュータ11の起動時にCPU1101が読み出す所定の基本制御プログラム等が予め記録されている。また、メモリ1102のRAMは、CPU1101が、各種のプログラムを実行する際に必要に応じて作業用記憶領域として使用する。メモリ1102のRAMは、例えば、帳票の画像、届出印の項目名を示すキーワードの領域を示す座標、印影の領域を示す座標等の一時的な記憶に利用可能である。 The memory 1102 includes a ROM (Read Only Memory) and a RAM (Random Access Memory), which are not shown. For example, a predetermined basic control program read out by the CPU 1101 when the computer 11 is started is recorded in the ROM of the memory 1102 in advance. Further, the RAM of the memory 1102 is used by the CPU 1101 as a working storage area as necessary when executing various programs. The RAM of the memory 1102 can be used to temporarily store, for example, an image of a form, coordinates indicating a keyword area indicating an item name of a notification seal, coordinates indicating an area of a seal impression, and the like.

補助記憶装置1103は、例えば、HDD(Hard Disk Drive)等の磁気ディスク、及びフラッシュメモリ等の不揮発性メモリである。補助記憶装置1103には、CPU1101によって実行される各種のプログラムや各種のデータ等を記憶させることができる。補助記憶装置1103は、例えば、上述の画像処理プログラム等の記憶に利用可能である。また、補助記憶装置1103は、例えば、帳票の画像、項目名毎の処理結果等の記憶に利用可能である。 The auxiliary storage device 1103 is, for example, a magnetic disk such as an HDD (Hard Disk Drive), or a nonvolatile memory such as a flash memory. The auxiliary storage device 1103 can store various programs executed by the CPU 1101, various data, and the like. The auxiliary storage device 1103 can be used to store, for example, the above-mentioned image processing program. Further, the auxiliary storage device 1103 can be used to store, for example, images of forms, processing results for each item name, and the like.

入力装置1104は、例えば、キーボード装置、マウス装置、及びタッチパネル装置等である。コンピュータ11のオペレータが入力装置1104に対し所定の操作を行うと、入力装置1104は、その操作内容に対応付けられている入力情報をCPU1101に送信する。入力装置1104は、図1の帳票処理システム1における入力装置4に相当する。 The input device 1104 is, for example, a keyboard device, a mouse device, a touch panel device, or the like. When the operator of the computer 11 performs a predetermined operation on the input device 1104, the input device 1104 transmits input information associated with the operation content to the CPU 1101. The input device 1104 corresponds to the input device 4 in the form processing system 1 in FIG.

表示装置1105は、例えば、液晶表示装置である。表示装置1105は、例えば、コンピュータ11の動作状態や、帳票の画像、項目名毎の処理結果等の表示に利用可能である。表示装置1105は、図1の帳票処理システム1における表示装置5に相当する。 The display device 1105 is, for example, a liquid crystal display device. The display device 1105 can be used, for example, to display the operating status of the computer 11, images of forms, processing results for each item name, and the like. The display device 1105 corresponds to the display device 5 in the form processing system 1 in FIG.

入出力インタフェース1106は、コンピュータ11と、電子部品や他の電子装置(例えばスキャナ装置3)等とを接続する。入出力インタフェース1106は、例えば、USB(Universal Serial Bus)規格のコネクタを備えたフラッシュメモリの接続にも利用可能である。 The input/output interface 1106 connects the computer 11 to electronic components, other electronic devices (for example, the scanner device 3), and the like. The input/output interface 1106 can also be used, for example, to connect a flash memory equipped with a USB (Universal Serial Bus) standard connector.

通信制御装置1107は、コンピュータ11をネットワークに接続し、ネットワークを介したコンピュータ11と他の電子機器との各種通信を制御する装置である。通信制御装置1107は、例えば、図1の帳票処理システム1におけるサーバ装置6が保持している文字認識辞書やキーワードテーブルを参照することに利用可能である。 The communication control device 1107 is a device that connects the computer 11 to a network and controls various communications between the computer 11 and other electronic devices via the network. The communication control device 1107 can be used, for example, to refer to the character recognition dictionary and keyword table held by the server device 6 in the form processing system 1 of FIG. 1.

媒体駆動装置1108は、可搬型記録媒体12に記録されているプログラムやデータの読み出し、補助記憶装置1103に記憶されたデータ等の可搬型記録媒体12への書き込みを行う。可搬型記録媒体12としては、例えば、Secure Digital(SD)規格のメモリカード(フラッシュメモリ)がある。可搬型記録媒体12は、上記の画像処理プログラム、帳票の画像、項目名毎の処理結果等の記憶に利用可能である。また、コンピュータ11が媒体駆動装置1108として利用可能な光ディスクドライブを搭載している場合、当該光ディスクドライブで認識可能な各種の光ディスクを可搬型記録媒体12として利用可能である。可搬型記録媒体12として利用可能な光ディスクには、例えば、Compact Disc(CD)、Digital Versatile Disc(DVD)、Blu-ray Disc(Blu-rayは登録商標)等がある。 The medium drive device 1108 reads programs and data recorded on the portable recording medium 12 and writes data stored in the auxiliary storage device 1103 to the portable recording medium 12. As the portable recording medium 12, for example, there is a memory card (flash memory) of the Secure Digital (SD) standard. The portable recording medium 12 can be used to store the above-mentioned image processing program, images of forms, processing results for each item name, and the like. Furthermore, if the computer 11 is equipped with an optical disk drive that can be used as the medium drive device 1108, various optical disks that can be recognized by the optical disk drive can be used as the portable recording medium 12. Examples of optical discs that can be used as the portable recording medium 12 include Compact Discs (CDs), Digital Versatile Discs (DVDs), and Blu-ray Discs (Blu-ray is a registered trademark).

コンピュータ11は、オペレータが入力装置1104を操作して画像処理プログラムの開始命令を入力すると、CPU1101が補助記憶装置1103等から上述の画像処理プログラムを読み出して実行する。画像処理プログラムを実行している間、CPU1101は、図2に例示した画像処理装置2における文字認識処理部220、届出印項目名検出部231を含む文字列抽出部230、印影検出部240、届出印印影特定部250、及び表示制御部260として機能(動作)する。また、帳票の画像をスキャナ装置3から取得する場合、CPU1101及び入出力インタフェース1106は、図2に例示した画像処理装置2におけるスキャナ制御部210として機能する。また、コンピュータ11とは別のサーバ装置6等が保持している文字認識辞書610を参照して文字を認識する場合、通信制御装置1107が文字認識処理部220の持つ機能の一部を担う。更に、コンピュータ11とは別のサーバ装置6等が保持しているキーワードテーブル620を参照してキーワードの抽出を行う場合、通信制御装置1107が文字列抽出部230の持つ機能の一部を担う。 In the computer 11, when an operator operates the input device 1104 and inputs an instruction to start an image processing program, the CPU 1101 reads the above-described image processing program from the auxiliary storage device 1103 and the like and executes it. While executing the image processing program, the CPU 1101 processes the character recognition processing unit 220, the character string extraction unit 230 including the notification seal item name detection unit 231, the seal imprint detection unit 240, and the notification processing unit 220 in the image processing apparatus 2 illustrated in FIG. It functions (operates) as a seal imprint identification section 250 and a display control section 260. Further, when acquiring an image of a form from the scanner device 3, the CPU 1101 and the input/output interface 1106 function as the scanner control unit 210 in the image processing device 2 illustrated in FIG. Further, when recognizing characters by referring to a character recognition dictionary 610 held by a server device 6 or the like other than the computer 11, the communication control device 1107 takes on a part of the functions of the character recognition processing section 220. Further, when extracting keywords by referring to a keyword table 620 held by a server device 6 or the like other than the computer 11, the communication control device 1107 takes on a part of the functions of the character string extraction section 230.

なお、画像処理装置2として動作させるコンピュータ11は、図12に例示した要素1101~1108の全てを含む必要はなく、用途や条件に応じて一部の要素を省略することも可能である。例えば、コンピュータ11は、媒体駆動装置1108や通信制御装置1107が省略されたものであってもよい。 Note that the computer 11 that operates as the image processing device 2 does not need to include all of the elements 1101 to 1108 illustrated in FIG. 12, and some of the elements can be omitted depending on the purpose and conditions. For example, the computer 11 may be one in which the medium drive device 1108 and the communication control device 1107 are omitted.

以上、本発明の実施の形態を説明したが、本発明は、上述した実施の形態に限定されることなく、本発明の要旨を逸脱しない範囲内で種々の改良・変更が可能である。 Although the embodiments of the present invention have been described above, the present invention is not limited to the embodiments described above, and various improvements and changes can be made without departing from the gist of the present invention.

1 帳票処理システム
2 画像処理装置
3 スキャナ装置
4 入力装置
5 表示装置
6 サーバ装置
7 ネットワーク
8、8a 画像
9 ニューラルネットワークモデル
10 座標系
11 コンピュータ
12 可搬型記録媒体
101、102、103、104、105 領域
210 スキャナ制御部
220 文字認識処理部
230 文字列抽出部
231 届出印項目名検出部
240 印影検出部
250 届出印印影特定部
260 表示制御部
270 主制御部
610 文字認識辞書
620 キーワードテーブル
801、802、803、804、805 領域
806、807、808、809、810 領域
811、812、813、814 領域
1101 CPU
1102 メモリ
1103 補助記憶装置
1104 入力装置
1105 表示装置
1106 入出力インタフェース
1107 通信制御装置
1108 媒体駆動装置
1109 バス
1 Form processing system 2 Image processing device 3 Scanner device 4 Input device 5 Display device 6 Server device 7 Network 8, 8a Image 9 Neural network model 10 Coordinate system 11 Computer 12 Portable recording medium 101, 102, 103, 104, 105 Area 210 Scanner control unit 220 Character recognition processing unit 230 Character string extraction unit 231 Notification seal item name detection unit 240 Seal imprint detection unit 250 Notification seal imprint identification unit 260 Display control unit 270 Main control unit 610 Character recognition dictionary 620 Keyword table 801, 802, 803, 804, 805 area 806, 807, 808, 809, 810 area 811, 812, 813, 814 area 1101 CPU
1102 Memory 1103 Auxiliary storage device 1104 Input device 1105 Display device 1106 Input/output interface 1107 Communication control device 1108 Media drive device 1109 Bus

Claims (7)

帳票によるサービスを利用する収納機関によって作成された帳票をスキャンすることで生じた画像における届出印項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、
前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する
処理をコンピュータに実行させる画像処理プログラムであって
前記特定する処理は、前記第1の検出処理及び前記第2の検出処理の実行により前記届出印を意味する項目名を示すキーワードの領域が複数検出され且つ前記印影の領域が複数検出された場合に、前記複数のキーワードの領域と前記複数の印影の領域との位置関係に基づいて、前記届出印の、照合される印影の領域を特定することを特徴とする画像処理プログラム。
A first detection process for detecting a keyword area indicating an item name of a notification seal in an image generated by scanning a form created by a receiving institution that uses a form-based service ; and a seal imprint area in the image of the form. a second detection process for detecting the
An image processing program that causes a computer to execute a process of specifying an area of a seal imprint of a notification seal in an image of the form based on the execution results of the first detection process and the second detection process, the process of specifying. is, when a plurality of keyword areas indicating the item name meaning the notification seal are detected by executing the first detection process and the second detection process, and a plurality of areas of the seal imprint are detected, the plurality of areas of the seal impression are detected . An image processing program that specifies a region of a seal impression of the notification seal to be verified based on a positional relationship between a keyword region and the plurality of seal impression regions.
前記特定する処理は、所定条件を満たす前記印影の領域を、前記届出印の印影の領域として特定する
ことを特徴とする請求項1記載の画像処理プログラム。
The image processing program according to claim 1, wherein the identifying process identifies an area of the seal impression that satisfies a predetermined condition as an area of the seal impression of the notification seal.
前記所定条件は、前記キーワードの領域の右側又は下側に存在し且つ前記キーワードの領域との距離が所定値以下であるという条件である
ことを特徴とする請求項2記載の画像処理プログラム。
3. The image processing program according to claim 2, wherein the predetermined condition is a condition that the keyword exists on the right side or below the keyword area and that a distance from the keyword area is equal to or less than a predetermined value.
前記所定条件は、前記キーワードの領域の右側又は下側に存在し且つ前記キーワードの領域との距離が所定値以下であり且つ前記印影の領域サイズが所定サイズより大きいという条件である
ことを特徴とする請求項2記載の画像処理プログラム。
The predetermined condition is that the seal imprint exists on the right side or below the keyword area, the distance from the keyword area is less than or equal to a predetermined value, and the area size of the seal imprint is larger than the predetermined size. The image processing program according to claim 2.
前記特定する処理は、前記第1の検出処理及び前記第2の検出処理の実行により前記印影の領域が1つだけ検出された場合に、前記印影の領域を、前記届出印の印影の領域として特定する
ことを特徴とする請求項1記載の画像処理プログラム。
The identifying process includes, when only one seal imprint area is detected by executing the first detection process and the second detection process, determining the seal imprint area as the seal imprint area of the notification seal. The image processing program according to claim 1, characterized in that:
帳票によるサービスを利用する収納機関によって作成された帳票をスキャンすることで生じた画像における届出印項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、
前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する
画像処理方法であって
前記特定は、前記第1の検出処理及び前記第2の検出処理の実行により前記届出印を意味する項目名を示すキーワードの領域が複数検出され且つ前記印影の領域が複数検出された場合に、前記複数のキーワードの領域と前記複数の印影の領域との位置関係に基づいて、前記届出印の、照合される印影の領域を特定することを特徴とする画像処理方法。
A first detection process for detecting a keyword area indicating an item name of a notification seal in an image generated by scanning a form created by a receiving institution that uses a form-based service ; and a seal imprint area in the image of the form. a second detection process for detecting the
An image processing method that specifies an area of a seal imprint of a notification seal in an image of the form based on the execution results of the first detection process and the second detection process, wherein the identification is performed in the first detection process. and when a plurality of keyword areas indicating the item name meaning the notification seal are detected by executing the second detection process, and a plurality of areas of the seal imprint are detected, the plurality of keyword areas and the plurality of keyword areas are detected. An image processing method characterized by specifying an area of a seal imprint of the notification seal to be verified based on a positional relationship with an area of the seal imprint .
帳票によるサービスを利用する収納機関によって作成された帳票をスキャンすることで生じた画像における届出印項目名を示すキーワードの領域を検出する第1の検出処理を実行する届出印項目名検出部と、
前記帳票の画像における印影の領域を検出する第2の検出処理を実行する印影検出部と、
前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する届出印印影特定部と
を備える画像処理装置であって
前記特定は、前記第1の検出処理及び前記第2の検出処理の実行により前記届出印を意味する項目名を示すキーワードの領域が複数検出され且つ前記印影の領域が複数検出された場合に、前記複数のキーワードの領域と前記複数の印影の領域との位置関係に基づいて、前記届出印の、照合される印影の領域を特定することを特徴とする画像処理装置。
a notification seal item name detection unit that executes a first detection process of detecting a keyword area indicating the item name of the notification seal in an image generated by scanning a form created by a receiving institution that uses the form-based service; ,
a seal imprint detection unit that performs a second detection process for detecting a seal imprint area in the image of the form;
an image processing apparatus, comprising: a notification seal imprint identifying section that specifies a seal imprint area of a notification seal in the image of the form based on the execution results of the first detection process and the second detection process; is, when a plurality of keyword areas indicating the item name meaning the notification seal are detected by executing the first detection process and the second detection process, and a plurality of areas of the seal imprint are detected, the plurality of areas of the seal impression are detected . An image processing apparatus characterized in that a region of a seal impression of the notification seal to be verified is specified based on a positional relationship between a keyword region and the plurality of seal impression regions.
JP2019125556A 2019-07-04 2019-07-04 Image processing program, image processing method, and image processing device Active JP7445364B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019125556A JP7445364B2 (en) 2019-07-04 2019-07-04 Image processing program, image processing method, and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019125556A JP7445364B2 (en) 2019-07-04 2019-07-04 Image processing program, image processing method, and image processing device

Publications (2)

Publication Number Publication Date
JP2021012487A JP2021012487A (en) 2021-02-04
JP7445364B2 true JP7445364B2 (en) 2024-03-07

Family

ID=74227379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019125556A Active JP7445364B2 (en) 2019-07-04 2019-07-04 Image processing program, image processing method, and image processing device

Country Status (1)

Country Link
JP (1) JP7445364B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4163211B2 (en) * 2005-12-28 2008-10-08 富士通株式会社 Image processing method and image processing apparatus
JP5500480B2 (en) * 2010-06-24 2014-05-21 株式会社日立情報通信エンジニアリング Form recognition device and form recognition method
JP5593966B2 (en) * 2010-08-27 2014-09-24 沖電気工業株式会社 Seal verification device

Also Published As

Publication number Publication date
JP2021012487A (en) 2021-02-04

Similar Documents

Publication Publication Date Title
JP2016048444A (en) Document identification program, document identification device, document identification system, and document identification method
JP2008204226A (en) Form recognition device and its program
JP2008145611A (en) Information processor and program
JP2010157107A (en) Business document processor
US10643097B2 (en) Image processing apparatuses and non-transitory computer readable medium
JP5566971B2 (en) Information processing program, information processing apparatus, and character recognition method
JP7445364B2 (en) Image processing program, image processing method, and image processing device
WO2004068407A1 (en) Method for supporting data linkage between applications
JP2018045359A (en) Image processing device and image processing program
JP5483467B2 (en) Form reader, square mark detection method, and square mark detection program
JP5481965B2 (en) Information processing apparatus and information processing program
JP4935459B2 (en) Character recognition method, character recognition program, and character recognition device
TWM626292U (en) Business-oriented key item key-value identification system
JP7328797B2 (en) Terminal device, character recognition system and character recognition method
JP6682827B2 (en) Information processing apparatus and information processing program
JP2009182530A (en) Business processing execution support device
JP4535176B2 (en) Work control program and work control system
JP2017021654A (en) Document management server and system
US9661179B2 (en) Image processing device, information processing method, and non-transitory computer-readable medium
JP6241311B2 (en) Image processing apparatus and image processing program
JP5924035B2 (en) Information processing apparatus and information processing program
JP7329331B2 (en) Apparatus, method, and program for recognizing character strings contained in forms
JP5521530B2 (en) Information processing apparatus, information processing system, information processing method, program, and storage medium
JP3006294B2 (en) Optical character reader
JP2012248948A (en) Device and method for supporting slip check and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210909

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220920

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221004

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221201

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230404

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230622

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20230630

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20230810

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231220

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20231220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240221

R150 Certificate of patent or registration of utility model

Ref document number: 7445364

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150