JP2021012487A - 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
JP2021012487A
JP2021012487A JP2019125556A JP2019125556A JP2021012487A JP 2021012487 A JP2021012487 A JP 2021012487A JP 2019125556 A JP2019125556 A JP 2019125556A JP 2019125556 A JP2019125556 A JP 2019125556A JP 2021012487 A JP2021012487 A JP 2021012487A
Authority
JP
Japan
Prior art keywords
imprint
area
image
notification
stamp
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.)
Granted
Application number
JP2019125556A
Other languages
Japanese (ja)
Other versions
JP7445364B2 (en
Inventor
将平 長谷川
Shohei Hasegawa
将平 長谷川
武志 馬路
Takeshi Baji
武志 馬路
渡辺 和人
Kazuto Watanabe
和人 渡辺
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)

Abstract

To provide a technology capable of extracting the seal impression of a registered seal from an image of a document by eliminating the need of predefining the position of a registered seal column.SOLUTION: An image processing program executes first detection processing for detecting an area of a keyword showing an item name of a registered seal in an image of a document, and second detection processing for detecting an area of a seal impression in the image of the document, and causes a computer to execute processing for specifying the area of the seal impression of the registered seal in the image of the document on the basis of execution results of the first detection processing and the second detection processing.SELECTED DRAWING: Figure 3

Description

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

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

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

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

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

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

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

方法3では、届出印の印影の他に訂正印や検印や見本印等の印影が存在する場合に、一意に届出印の印影を特定することができない。図14は、届出印以外の印影を例示する図である。図14の(a)に例示する印影は検印の印影であり、図14の(b)に例示する印影は見本印の印影である。このように届出印以外の印影も存在する場合は、届出印の印影を一意に特定することができない。 In the method 3, when there is a correction stamp, a stamp, a sample stamp, or the like in addition to the stamp of the notification stamp, the stamp of the notification stamp cannot be uniquely specified. FIG. 14 is a diagram illustrating imprints other than the notification stamp. The imprint illustrated in (a) of FIG. 14 is an imprint of a stamp, and the imprint illustrated in (b) of FIG. 14 is an imprint of a sample stamp. When there is an imprint other than the notification stamp as described above, the imprint of the notification stamp cannot be uniquely specified.

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

プログラムの一観点は、画像処理プログラムであって、帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する処理をコンピュータに実行させることを特徴とする。 One aspect of the program is an image processing program, which is a first detection process for detecting an area of a keyword indicating an item name of a notification stamp in an image of a form, and a second detection process for detecting an area of an imprint in the image of the form. Is executed, and the computer is made to execute the process of specifying the imprint area of the notification stamp in the image of the form based on the execution results of the first detection process and the second detection process. It is a feature.

方法の一観点は、画像処理方法であって、帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定することを特徴とする。 One aspect of the method is an image processing method, in which a first detection process for detecting an area of a keyword indicating an item name of a notification stamp in an image of a form and a second detection process for detecting an area of an imprint in the image of the form. Is executed, and the region of the imprint of the notification stamp in the image of the form is specified based on the execution results of the first detection process and the second detection process.

装置の一観点は、画像処理装置であって、帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理を実行する届出印項目名検出部と、前記帳票の画像における印影の領域を検出する第2の検出処理を実行する印影検出部と、前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する届出印印影特定部とを備えることを特徴とする。 One aspect of the device is an image processing device, which is a notification stamp item name detection unit that executes a first detection process for detecting a keyword area indicating a notification stamp item name in a form image, and an image of the form. Based on the imprint detection unit that executes the second detection process that detects the imprint area in the above, and the execution results of the first detection process and the second detection process, the imprint of the notification stamp in the image of the form. It is characterized by including a notification stamp imprint specifying part that specifies an area.

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

帳票処理システムの構成を例示する図である。It is a figure which exemplifies the structure of the form processing system. 一実施の形態に係る画像処理装置の機能的構成を例示する図である。It is a figure which illustrates the functional structure of the image processing apparatus which concerns on one Embodiment. 一実施の形態に係る画像処理を例示するフローチャートである。It is a flowchart which illustrates the image processing which concerns on one Embodiment. 一実施の形態に係る画像処理の具体例を模式的に示す図である。It is a figure which shows typically the specific example of the image processing which concerns on one Embodiment. S5の処理の詳細を例示するフローチャートである。It is a flowchart which illustrates the details of the process of S5. S5の処理の具体例を模式的に示す図である。It is a figure which shows typically the specific example of the process of S5. S51の処理の詳細を例示するフローチャートである。It is a flowchart which illustrates the details of the process of S51. S51の処理の具体例を模式的に示す図(その1)である。It is a figure (the 1) which shows typically the specific example of the process of S51. S51の処理の具体例を模式的に示す図(その2)である。It is a figure (the 2) which shows typically the specific example of the process of S51. S53の処理の詳細を例示するフローチャートである。It is a flowchart which illustrates the detail of the process of S53. S53の処理の具体例を模式的に示す図である。It is a figure which shows typically the specific example of the process of S53. コンピュータのハードウェア構成を例示する図である。It is a figure which illustrates the hardware structure of a computer. デザイン性が高い届出印欄を例示する図である。It is a figure which illustrates the notification stamp column with high design. 届出印以外の印影を例示する図である。It is a figure which illustrates the imprint other than the notification seal.

以下、図面を参照しながら本発明の実施の形態について説明する。
図1は、帳票処理システムの構成を例示する図である。
Hereinafter, embodiments of the present invention will be described 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とを含む。 The form processing system 1 illustrated in FIG. 1 is a system that handles a form with a notification stamp stamped on it. 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 imprint of the notification stamp and other necessary information from the image of the form, and electronically collates, for example, the imprint of the extracted notification stamp with the imprint of the previously registered notification stamp. The image processing device 2 acquires, for example, an image of a form from the scanner device 3. The scanner device 3 is a device that converts a paper medium such as a form into digital data (image).

入力装置4は、画像処理装置2に各種情報を入力する装置である。入力装置4は、例えば、キーボード装置である。表示装置5は、画像処理装置2が行う処理の内容や処理の結果、入力装置4により入力された情報、帳票の画像等の、各種情報を表示する装置である。表示装置5は、例えば、液晶ディスプレイである。 The input device 4 is a device for inputting 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 content of the processing performed by the image processing device 2 and the result of the processing, the information input by the input device 4, the image of the form, and the like. 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 result. 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 device 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, an imprint detection unit 240, a notification imprint identification unit 250, and display control. A unit 260 and a main control unit 270 are included. 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 the image of the 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 the 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 an item name from the character recognition result by the character recognition processing unit 220. In the keyword table 620, a character string that can be a keyword indicating an item name is registered in advance. For example, "account number", "account", "account transfer number", etc. are registered as a character string that can be a keyword indicating the item name of the account number, and "notification stamp" is a character string that can be a keyword indicating the item name of the notification stamp. , "Delivery stamp", "Registration stamp", etc. are registered.

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

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

印影検出部240は、帳票の画像における印影の領域(例えば印影を含む矩形領域)を検出する第2の検出処理を実行する。第2の検出処理は、例えば、ディープラーニング等の物体検出AI技術や本願の出願人による特願2018‐091876号の特許出願に記載の日付印領域特定技術を利用して行われる。 The imprint detection unit 240 executes a second detection process for detecting an imprint region (for example, a rectangular region including the imprint) in the image of the form. The second detection process is performed by using, for example, an object detection AI technique such as deep learning or a date stamp region specifying technique described in the patent application of Japanese Patent Application No. 2018-091876 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 stamp imprint identification unit 250 determines the area of the notification stamp imprint in the image of the form based on the execution results of the first detection process by the notification mark item name detection unit 231 and the second detection process by the imprint detection unit 240. Identify. For example, by executing the first detection process by the notification stamp item name detection unit 231 and the second detection process by the imprint detection unit 240, one or more keyword regions indicating the item names of the notification stamp are detected and the imprint region. When one or more are detected, the imprint area of the notification stamp is specified based on the positional relationship between the keyword area indicating the item name of the notification stamp and the imprint area. In the specification in this case, for example, the area of the imprint that satisfies the predetermined condition is specified as the area of the imprint of the notification stamp. The predetermined condition is, for example, the condition that the item exists on the right side or the lower side of the keyword area indicating the item name of the notification stamp and the distance from the keyword area is equal to or less than the predetermined value, or the keyword indicating the item name of the notification mark. It is a condition that it exists on the right side or the lower side of the area, the distance from the keyword area is equal to or less than a predetermined value, and the area size is larger than the predetermined size. Further, for example, when only one imprint area is detected by executing the first detection process by the notification stamp item name detection unit 231 and the second detection process by the imprint detection unit 240, the imprint area is used. , Specify as the area of the imprint of the notification stamp.

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

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

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

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

次に、画像処理装置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 processing 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, extracts a keyword indicating the item name from the character recognition result, and indicates the item name of the notification mark in the image of the form. The first detection process for detecting the keyword region is executed (S3). The processing of S3 is performed by the character string extraction unit 230, and in particular, the first detection processing of the processing of S3 is performed by the notification stamp 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 of the content for the keyword indicating the item name from the character recognition result (S4). The processing 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 the imprint region 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. The area of the imprint of the notification stamp in (S5) is specified. The processing of S5 is performed by the imprint detection unit 240 and the notification imprint identification unit 250.

次に、画像処理装置2は、項目名毎の処理結果を表示装置5に表示させる(S6)。例えば、届出印の項目名の処理結果として、特定した届出印の印影の領域を示す座標(例えば、その印影を含む矩形領域の対角の2点の座標)を表示させ、届出印以外の項目名の処理結果として、項目名を示すキーワードに対する内容の文字列と、その文字列の領域を示す座標(例えば、その文字列を含む矩形領域の対角の2点の座標)とを表示させる。S6の処理は、表示制御部260が行う。 Next, the image processing device 2 causes the display device 5 to display the processing result for each item name (S6). For example, as the processing result of the item name of the notification stamp, the coordinates indicating the area of the imprint of the specified notification stamp (for example, the coordinates of two diagonal points of the rectangular area including the imprint) are displayed, and the items other than the notification stamp are displayed. As the processing result of the name, the character string of the content for the keyword indicating the item name and the coordinates indicating the area of the character string (for example, the coordinates of two diagonal points of the rectangular area including the character string) are displayed. The processing 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 processing of S1, the image 8 of the form as schematically shown in FIG. 4A is acquired. Image 8 of the form shows the area 801 of the keyword (“account number”) indicating the item name of the account number, the area 802 of the content character string (“12344567”) for the keyword indicating the item name of the account number, and the notification stamp. Areas 803, 804, 805 of the keyword (“notification stamp”) indicating the item name of the above, the area 806 of the imprint stamped with the notification stamp, and the area of the imprint stamped with a mark other than the notification stamp (for example, a correction stamp). 807 and include. In the keyword areas 803, 804, and 805 indicating the item name of the notification stamp, the area 803 indicates the area of the keyword indicating the item name of the original notification stamp, and the areas 804 and 805 are the notification stamps included in the explanatory text and the like. Indicates the area of the keyword indicating the item name of.

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

その後、S4及びS5の処理では、図4の(c)に模式的に示すように、帳票の画像8において、領域802に含まれる文字列(「1234567」)が、口座番号の項目名を示すキーワードに対する内容の文字列として抽出され、領域806が、届出印の印影の領域として特定される。 After that, in the processing of S4 and S5, as schematically shown in FIG. 4 (c), the character string (“12345667”) included in the area 802 indicates the item name of the account number in the image 8 of the form. It is extracted as a character string of the content for the keyword, and the area 806 is specified as the area of the imprint of the notification stamp.

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

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

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

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

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

一方、S52の判定結果がNOの場合、届出印印影特定部250は、印影検出部240による第2の検出処理の実行により検出された印影の領域の数が1個であるか0個であるかに応じて次の処理を行う(S54)。検出された印影の領域の数が1個である場合は、その印影の領域を、帳票の画像における届出印の印影の領域として特定し、特定した届出印の印影の領域を示す座標を主制御部270に出力する。一方、検出された印影の領域の数が0個である場合は、帳票の画像に届出印の印影の領域が無いとして、座標の出力を行わない。 On the other hand, when the determination result of S52 is NO, the notification imprint identification unit 250 has 1 or 0 imprint regions detected by the execution of the second detection process by the imprint detection unit 240. The next process is performed according to the result (S54). When the number of detected imprint areas is one, the imprint area is specified as the imprint area of the notification mark in the image of the form, and the coordinates indicating the imprint area of the specified notification mark are mainly controlled. Output to unit 270. On the other hand, when the number of detected imprint areas is 0, it is assumed that there is no imprint area of the notification stamp in the image of the form, 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, the areas 806 and 807 in the image 8 of the form are detected as the imprint area, as schematically shown in FIG. 6A. Will be done.

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

その後、S54の処理では、図6の(c)に示すように、特定された届出印の印影の領域を示す座標(「(x3,y3,x4,y4)」)が主制御部270に出力される。 After that, in the process of S54, as shown in FIG. 6C, the coordinates (“(x3, y3, x4, y4)” indicating the region of the imprint of the specified notification stamp) are output to the main control unit 270. Will be done.

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

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

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

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

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

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

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

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

印影検出部240は、このようにして帳票の画像における印影の領域を検出し、その領域を示す座標を出力する。 In this way, the imprint detection unit 240 detects the imprint area 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, the image 8 of the form has a size suitable for the trained neural network model, as schematically shown in FIG. 8A. Here, the size is converted to 512 pixels × 512 pixels in size).

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

その後、S514の処理では、図9の(a)に模式的に示すように、印影らしさを表す特徴量が所定値(ここでは0.9)を超えるオブジェクトの領域811、812を示す座標が、印影の領域を示す座標として判定される。なお、特徴量の値は、オブジェクトが印影に類似するほど1に近づく値である。 After that, in the processing of S514, as schematically shown in FIG. 9A, the coordinates indicating the regions 811 and 812 of the object whose feature amount representing imprint-likeness exceeds a predetermined value (0.9 in this case) are set. It is determined as the coordinates indicating the area of the imprint. The value of the feature amount is a value that approaches 1 as the object resembles the imprint.

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

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

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

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

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

次に、届出印印影特定部250は、帳票の画像における、特定した届出印の印影の領域を示す座標を主制御部270に出力する(S533)。 Next, the notification stamp imprint specifying unit 250 outputs the coordinates indicating the region of the specified notification stamp 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 shown schematically in (a) of FIG. 11, the item of the notification stamp is set in the coordinate system 10 corresponding to the image 8 of the form. The keyword areas 101, 102, 103 indicating the name and the imprint areas 104, 105 are mapped.

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

その後、S533の処理では、図11の(c)に示すように、特定された届出印の印影の領域(ここでは領域104(領域806に対応))を示す座標(「(x3,y3,x4,y4)」)が主制御部270に出力される。 After that, in the process of S533, as shown in (c) of FIG. 11, the coordinates ("(x3, y3, x4) indicating the region of the imprint of the specified notification stamp (here, region 104 (corresponding to region 806))). , Y4) ”) is output to the main control unit 270.

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

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

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

図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 a 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. Further, the computer 11 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 connected to each other by a bus 1109, and data can 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 process described with reference to 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) (not shown). In the ROM of the memory 1102, for example, a predetermined basic control program or the like read by the CPU 1101 when the computer 11 is started is recorded in advance. Further, the RAM of the memory 1102 is used as a work storage area by the CPU 1101 as needed when executing various programs. The RAM of the memory 1102 can be used, for example, for temporary storage of a form image, coordinates indicating a keyword area indicating an item name of a notification stamp, coordinates indicating an imprint area, 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) and a non-volatile memory such as a flash memory. The auxiliary storage device 1103 can store various programs, various data, and the like executed by the CPU 1101. The auxiliary storage device 1103 can be used for storing, for example, the image processing program described above. Further, the auxiliary storage device 1103 can be used for storing, for example, an image of a form, a processing result 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, and the like. When the operator of the computer 11 performs a predetermined operation on the input device 1104, the input device 1104 transmits the 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 of 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 state of the computer 11, the image of the form, the processing result for each item name, and the like. The display device 1105 corresponds to the display device 5 in the form processing system 1 of 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, a scanner device 3), and the like. The input / output interface 1106 can also be used for connecting a flash memory provided with a USB (Universal Serial Bus) standard connector, for example.

通信制御装置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 or keyword table held by the server device 6 in the form processing system 1 of FIG.

媒体駆動装置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 out the programs and data recorded in the portable recording medium 12, and writes the 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 Secure Digital (SD) standard memory card (flash memory). The portable recording medium 12 can be used for storing the above-mentioned image processing program, an image of a form, a processing result for each item name, and the like. When 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. Optical discs that can be used as the portable recording medium 12 include, for example, Compact Disc (CD), Digital Versatile Disc (DVD), Blu-ray Disc (Blu-ray is a registered trademark), and the like.

コンピュータ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の持つ機能の一部を担う。 When the operator operates the input device 1104 to input the start command of the image processing program, the computer 11 reads the above-mentioned image processing program from the auxiliary storage device 1103 or the like and executes the computer 11. While executing the image processing program, the CPU 1101 includes a character recognition processing unit 220 in the image processing device 2 illustrated in FIG. 2, a character string extraction unit 230 including a notification stamp item name detection unit 231, a stamp imprint detection unit 240, and a notification. It functions (operates) as a stamp imprint specifying unit 250 and a display control unit 260. Further, when the image of the form is acquired 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 characters are recognized by referring to the character recognition dictionary 610 held by the server device 6 or the like other than the computer 11, the communication control device 1107 takes a part of the functions of the character recognition processing unit 220. Further, when the keyword is extracted by referring to the keyword table 620 held by the server device 6 or the like other than the computer 11, the communication control device 1107 takes a part of the function of the character string extraction unit 230.

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

以上、本発明の実施の形態を説明したが、本発明は、上述した実施の形態に限定されることなく、本発明の要旨を逸脱しない範囲内で種々の改良・変更が可能である。 Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, 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 areas 210 Scanner control unit 220 Character recognition processing unit 230 Character string extraction unit 231 Notification mark item name detection unit 240 Imprint detection unit 250 Notification mark 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 1104 Input device 1105 Display device 1106 Input / output interface 1107 Communication control device 1108 Media drive device 1109 Bus

Claims (8)

帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、
前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する
処理をコンピュータに実行させることを特徴とする画像処理プログラム。
The first detection process for detecting the area of the keyword indicating the item name of the notification stamp in the image of the form and the second detection process for detecting the area of the imprint on the image of the form are executed.
An image processing program characterized in that a computer is made to execute a process of specifying an area of an imprint of a notification stamp in an image of the form based on the execution results of the first detection process and the second detection process.
前記特定する処理は、前記第1の検出処理及び前記第2の検出処理の実行により前記キーワードの領域が1つ以上検出され且つ前記印影の領域が1つ以上検出された場合に、前記キーワードの領域と前記印影の領域との位置関係に基づいて、前記届出印の印影の領域を特定する
ことを特徴とする請求項1記載の画像処理プログラム。
The specific processing is performed when one or more regions of the keyword are detected and one or more regions of the imprint are detected by executing the first detection process and the second detection process. The image processing program according to claim 1, wherein the area of the imprint of the notification stamp is specified based on the positional relationship between the area and the area of the imprint.
前記特定する処理は、所定条件を満たす前記印影の領域を、前記届出印の印影の領域として特定する
ことを特徴とする請求項2記載の画像処理プログラム。
The image processing program according to claim 2, wherein the specific processing specifies the region of the imprint that satisfies a predetermined condition as the region of the imprint of the notification stamp.
前記所定条件は、前記キーワードの領域の右側又は下側に存在し且つ前記キーワードの領域との距離が所定値以下であるという条件である
ことを特徴とする請求項3記載の画像処理プログラム。
The image processing program according to claim 3, wherein the predetermined condition is a condition that exists on the right side or the lower side of the keyword region and the distance from the keyword region is equal to or less than a predetermined value.
前記所定条件は、前記キーワードの領域の右側又は下側に存在し且つ前記キーワードの領域との距離が所定値以下であり且つ領域サイズが所定サイズより大きいという条件である
ことを特徴とする請求項3記載の画像処理プログラム。
The predetermined condition is a condition that the keyword exists on the right side or the lower side of the keyword region, the distance from the keyword region is equal to or less than a predetermined value, and the region size is larger than the predetermined size. 3 The image processing program described.
前記特定する処理は、前記第1の検出処理及び前記第2の検出処理の実行により前記印影の領域が1つだけ検出された場合に、前記印影の領域を、前記届出印の印影の領域として特定する
ことを特徴とする請求項1記載の画像処理プログラム。
In the specific processing, when only one imprint area is detected by executing the first detection process and the second detection process, the imprint area is used as the imprint area of the notification mark. The image processing program according to claim 1, wherein the image processing program is specified.
帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理と、前記帳票の画像における印影の領域を検出する第2の検出処理とを実行し、
前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する
ことを特徴とする画像処理方法。
The first detection process for detecting the area of the keyword indicating the item name of the notification stamp in the image of the form and the second detection process for detecting the area of the imprint on the image of the form are executed.
An image processing method characterized in that an area of an imprint of a notification stamp in an image of the form is specified based on the execution results of the first detection process and the second detection process.
帳票の画像における届出印の項目名を示すキーワードの領域を検出する第1の検出処理を実行する届出印項目名検出部と、
前記帳票の画像における印影の領域を検出する第2の検出処理を実行する印影検出部と、
前記第1の検出処理及び前記第2の検出処理の実行結果に基づいて、前記帳票の画像における届出印の印影の領域を特定する届出印印影特定部と
を備えることを特徴とする画像処理装置。
The notification stamp item name detection unit that executes the first detection process that detects the area of the keyword indicating the item name of the notification stamp in the image of the form,
An imprint detection unit that executes a second detection process for detecting an imprint area in the image of the form, and
An image processing apparatus including a notification stamp imprint specifying unit that specifies an area of a notification stamp imprint in the image of the form based on the execution results of the first detection process and the second detection process. ..
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 true JP2021012487A (en) 2021-02-04
JP7445364B2 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)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006134355A (en) * 2005-12-28 2006-05-25 Fujitsu Ltd Image processing method and image processor
JP2012008791A (en) * 2010-06-24 2012-01-12 Hitachi Computer Peripherals Co Ltd Form recognition device and form recognition method
JP2012048524A (en) * 2010-08-27 2012-03-08 Oki Electric Ind Co Ltd Seal collation device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006134355A (en) * 2005-12-28 2006-05-25 Fujitsu Ltd Image processing method and image processor
JP2012008791A (en) * 2010-06-24 2012-01-12 Hitachi Computer Peripherals Co Ltd Form recognition device and form recognition method
JP2012048524A (en) * 2010-08-27 2012-03-08 Oki Electric Ind Co Ltd Seal collation device

Also Published As

Publication number Publication date
JP7445364B2 (en) 2024-03-07

Similar Documents

Publication Publication Date Title
CN1137430C (en) Handwritten data input device having coordinate detection image input tablet
JP4244614B2 (en) Handwriting input device, program, and handwriting input method system
JP5084718B2 (en) Combination detection of position coding pattern and barcode
CN101276412A (en) Information processing system, device and method
JP2008204226A (en) Form recognition device and its program
JP2008145611A (en) Information processor and program
JP5566971B2 (en) Information processing program, information processing apparatus, and character recognition method
JP2012181653A (en) Scoring method, program of scoring method, and scoring system
JP4935459B2 (en) Character recognition method, character recognition program, and character recognition device
JP5483467B2 (en) Form reader, square mark detection method, and square mark detection program
JP4807400B2 (en) Handwriting input device, program, and handwriting input method system
JP2021012487A (en) Image processing program, image processing method, and image processing device
JP4136282B2 (en) Image processing apparatus, image processing method, and storage medium
JP2000322417A (en) Device and method for filing image and storage medium
US20090236152A1 (en) System and method for data organization by identification
JP3898645B2 (en) Form format editing device and form format editing program
JP6201838B2 (en) Information processing apparatus and information processing program
JP2009182530A (en) Business processing execution support device
JP6682827B2 (en) Information processing apparatus and information processing program
CN113111881A (en) Information processing apparatus and recording medium
JP2009181225A (en) Ocr device, trail management device and trail management system
JP2011008584A (en) Apparatus and program for processing information
JP4741363B2 (en) Image processing apparatus, image processing method, and image processing program
JP3006294B2 (en) Optical character reader
JP7201545B2 (en) FORM PROCESSING PROGRAM, FORM PROCESSING METHOD, AND FORM PROCESSING APPARATUS

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