Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6885449B2 - Information identification program, information identification method, and image reader - Google Patents
[go: Go Back, main page]

JP6885449B2 - Information identification program, information identification method, and image reader - Google Patents

Information identification program, information identification method, and image reader Download PDF

Info

Publication number
JP6885449B2
JP6885449B2 JP2019226976A JP2019226976A JP6885449B2 JP 6885449 B2 JP6885449 B2 JP 6885449B2 JP 2019226976 A JP2019226976 A JP 2019226976A JP 2019226976 A JP2019226976 A JP 2019226976A JP 6885449 B2 JP6885449 B2 JP 6885449B2
Authority
JP
Japan
Prior art keywords
area
data
image
character string
entry
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
JP2019226976A
Other languages
Japanese (ja)
Other versions
JP2020038736A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2019226976A priority Critical patent/JP6885449B2/en
Publication of JP2020038736A publication Critical patent/JP2020038736A/en
Application granted granted Critical
Publication of JP6885449B2 publication Critical patent/JP6885449B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)

Description

本発明は、情報識別プログラム、情報識別方法、及び画像読取装置に関する。 The present invention relates to an information identification program, an information identification method, and an image reader.

従来、紙媒体の帳票のデータを収集するプログラムが知られている。特許文献1に開示されたプログラムは、複数の帳票の画像情報から、帳票に予め記載されている固定文字とユーザが帳票に記入した記入文字とを識別するステップを備える。固定文字と記入文字との識別は、同種の複数の帳票に亘って同じ位置から抽出される文字列を比較した比較結果、固定文字及び記入文字であることを評価する情報を蓄積した学習結果、及び作業者によって入力された補足データ等に基づいて行われている。また、固定文字と記入文字との識別結果に応じて、固定文字に基づく非記入領域と、記入文字に基づく記入領域とが識別されるステップを備える。また、非記入領域と記入領域との識別結果に応じて帳票を電子データ化した帳票テンプレートを生成するステップを備える。 Conventionally, a program for collecting data on paper forms has been known. The program disclosed in Patent Document 1 includes a step of identifying a fixed character written in advance on a form and an entry character entered on the form by a user from image information of a plurality of forms. The distinction between fixed characters and entered characters is the result of comparing character strings extracted from the same position over multiple forms of the same type, and the learning result of accumulating information to evaluate that they are fixed characters and entered characters. And it is done based on the supplementary data etc. input by the worker. In addition, a step is provided in which a non-entry area based on the fixed character and an entry area based on the entry character are identified according to the identification result between the fixed character and the entry character. In addition, a step of generating a form template in which a form is digitized according to the identification result between a non-entry area and an entry area is provided.

特開2015−5100号公報Japanese Unexamined Patent Publication No. 2015-5100

しかしながら、帳票によっては、常にユーザによって文字が記入される領域に加えて、ユーザによって文字が記入される場合と記入されない場合とがある領域を含むものもある。このようなユーザの任意で記入される領域を有する帳票については、上記のプログラムを用いても、領域の種類を正確に識別できない可能性がある。 However, some forms include, in addition to the area where characters are always entered by the user, an area where characters may or may not be entered by the user. For a form having such an area to be arbitrarily filled in by the user, there is a possibility that the type of the area cannot be accurately identified even by using the above program.

本発明は、帳票に設けられている領域の種類を適切に識別し、領域の種類に応じた処理を実行できる情報識別プログラム、情報識別方法、及び画像読取装置を提供することを目的とする。 An object of the present invention is to provide an information identification program, an information identification method, and an image reading device capable of appropriately identifying the type of an area provided on a form and executing processing according to the type of the area.

の実施態様に係る情報識別プログラムは、情報識別装置を構成するコンピュータによって実行される情報識別プログラムであって、前記コンピュータに、手書き文字を含む文字の記入された帳票である記入帳票を読み取った画像を示す読取データを取得する第一取得ステップと、前記読取データに基づいて前記記入帳票に応じた帳票であって、手書き文字が記入されていない帳票の画像を示す帳票画像データを取得する第二取得ステップと、前記読取データにおいて第一画素値に対応する輪郭で囲まれた第一領域を特定する第一領域特定ステップと、前記第一領域の画像を示す第一領域データを前記読取データから取得する第三取得ステップと、前記帳票画像データにおいて前記第一領域に対応する帳票第一領域を特定する帳票第一領域特定ステップと、前記帳票第一領域の画像を示す帳票第一データを前記帳票画像データから取得する第四取得ステップと、前記第一領域データと、前記帳票第一データとが異なるかを判断する第一判断ステップと、前記第一領域データと前記帳票第一データとが異なると判断された場合、前記第一領域に含まれる第一文字列を少なくとも含む文字列を示す文字列データを文字認識処理に基づいて取得する一方、前記第一領域データと前記帳票第一データとが異ならないと判断された場合、前記文字列データを取得しない第一実行ステップとを実行させる。 The information identification program according to the first embodiment is an information identification program executed by a computer constituting the information identification device, and the computer reads an entry form which is a form in which characters including handwritten characters are entered. The first acquisition step of acquiring the read data indicating the image, and the form image data indicating the image of the form according to the entry form based on the read data and in which the handwritten characters are not entered are acquired. The second acquisition step, the first region specifying step for specifying the first region surrounded by the contour corresponding to the first pixel value in the read data, and the first region data showing the image of the first region are read. The third acquisition step to be acquired from the data, the form first area specifying step for specifying the form first area corresponding to the first area in the form image data, and the form first data showing the image of the form first area. The fourth acquisition step of acquiring the data from the form image data, the first determination step of determining whether the first area data and the first form data are different, and the first area data and the first form data. When it is determined that the data is different from the above, the character string data indicating the character string including at least the first character string included in the first area is acquired based on the character recognition process, while the first area data and the form first When it is determined that the data does not differ from the data, the first execution step of not acquiring the character string data is executed.

の実施態様に係る情報識別プログラムによれば、読取データに基づいて判定された帳票の種別に応じた帳票画像データが取得される。また、読取データから第一画素値に対応する輪郭で囲まれた第一領域が特定され、第一領域データが取得される。第一領域データと、帳票画像データのうち第一領域に対応する帳票第一データとが異なる場合には、第一領域データに対応する第一文字列データを含む文字列データが読取データから取得される。一方、第一領域データと帳票第一データとが異ならない場合には、文字列データが取得されず、第一領域データを表示する指示が出力される。例えば、帳票において必ず記入することが求められる領域を、第一の実施態様に係る第一領域に適用すると、第一領域に手書き文字等が記入され、第一領域データと帳票第一データとが異なる場合には、読取データから第一文字列データを含む文字列データが取得される。一方、第一領域に手書き文字等が記入されず、第一領域データと帳票第一データとが異ならない場合には、読取データから文字列データが取得されない。従って、の実施態様に係る情報識別プログラムは、帳票に設けられている領域の種類を適切に識別し、領域の種類に応じた処理を実行できる。 According to the information identification program according to a first embodiment, the voucher image data corresponding to the type of document that has been determined on the basis of the read data is acquired. Further, the first region surrounded by the contour corresponding to the first pixel value is specified from the read data, and the first region data is acquired. When the first area data and the first form data corresponding to the first area of the form image data are different, the character string data including the first character string data corresponding to the first area data is acquired from the read data. To. On the other hand, if the first area data and the first form data are not different, the character string data is not acquired and an instruction to display the first area data is output. For example, the space that is required to always fill in the form, when applied to a first region according to the first embodiment, the handwritten character or the like is filled in the first region, and a first region data and the form first data If they are different, the character string data including the first character string data is acquired from the read data. On the other hand, if handwritten characters or the like are not entered in the first area and the first area data and the first form data do not differ, the character string data is not acquired from the read data. Therefore, the information identification program according to the first embodiment can appropriately identify the type of the area provided in the form and execute the process according to the type of the area.

の実施態様に係る情報識別方法は、情報識別装置を構成するコンピュータが実行可能な方法であって、手書き文字を含む文字の記入された帳票である記入帳票を読み取った画像を示す読取データを取得する第一取得ステップと、前記読取データに基づいて前記記入帳票に応じた帳票であって、手書き文字が記入されていない帳票の画像を示す帳票画像データを取得する第二取得ステップと、前記読取データにおいて第一画素値に対応する輪郭で囲まれた第一領域を特定する第一領域特定ステップと、前記第一領域の画像を示す第一領域データを前記読取データから取得する第三取得ステップと、前記帳票画像データにおいて前記第一領域に対応する帳票第一領域を特定する帳票第一領域特定ステップと、前記帳票第一領域の画像を示す帳票第一データを前記帳票画像データから取得する第四取得ステップと、前記第一領域データと、前記帳票第一データとが異なるかを判断する第一判断ステップと、前記第一領域データと前記帳票第一データとが異なると判断された場合、前記第一領域に含まれる第一文字列を少なくとも含む文字列を示す文字列データを文字認識処理に基づいて取得する一方、前記第一領域データと前記帳票第一データとが異ならないと判断された場合、前記文字列データを取得しない第一実行ステップとを備えている。 The information identification method according to the second embodiment is a method that can be executed by a computer constituting the information identification device, and is read data indicating an image obtained by reading an entry form, which is a form in which characters including handwritten characters are entered. The first acquisition step of acquiring the form image data indicating the image of the form according to the entry form based on the read data and in which the handwritten characters are not entered, and the second acquisition step. A first region identification step for specifying a first region surrounded by a contour corresponding to the first pixel value in the read data, and a third region data indicating an image of the first region are acquired from the read data. From the form image data, the acquisition step, the form first area specifying step for specifying the form first area corresponding to the first area in the form image data, and the form first data showing the image of the form first area are obtained from the form image data. It is determined that the fourth acquisition step to be acquired, the first determination step for determining whether the first area data and the first form data are different, and the first area data and the first form data are different. In this case, the character string data indicating the character string including at least the first character string included in the first area is acquired based on the character recognition process, while the first area data and the form first data are not different from each other. If it is determined, it includes a first execution step that does not acquire the character string data.

の実施態様に係る情報識別方法に倣って、情報識別装置のコンピュータが情報を識別することで、第一態様と同様の効果を奏することができる。 Following the information identification method according to the second embodiment, the computer of the information identification apparatus to identify the information, it is possible to achieve the same effect as the first embodiment.

第三の実施態様に係る画像読取装置は、帳票の画像を読み取る読取部と、前記読取部によって読み取られた、手書き文字を含む文字の記入された帳票である記入帳票を読み取った画像を示す読取データを取得する第一取得手段と、前記読取データに基づいて前記記入帳票に応じた帳票であって、手書き文字が記入されていない帳票の画像を示す帳票画像データを取得する第二取得手段と、前記読取データにおいて第一画素値に対応する輪郭で囲まれた第一領域を特定する第一領域特定手段と、前記第一領域の画像を示す第一領域データを前記読取データから取得する第三取得手段と、前記帳票画像データにおいて前記第一領域に対応する帳票第一領域を特定する帳票第一領域特定手段と、前記帳票第一領域の画像を示す帳票第一データを前記帳票画像データから取得する第四取得手段と、前記第一領域データと、前記帳票第一データとが異なるかを判断する第一判断手段と、前記第一領域データと前記帳票第一データとが異なると判断された場合、前記第一領域に含まれる第一文字列を少なくとも含む文字列を示す文字列データを文字認識処理に基づいて取得する一方、前記第一領域データと前記帳票第一データとが異ならないと判断された場合、前記文字列データを取得しない第一実行手段とを備えている。 The image reading device according to the third embodiment has a reading unit that reads an image of the form, and a reading unit that indicates an image that is read by the reading unit and is a form in which characters including handwritten characters are written. A first acquisition means for acquiring data, and a second acquisition means for acquiring form image data indicating an image of a form in which handwritten characters are not entered, which is a form corresponding to the entry form based on the read data. The first region specifying means for specifying the first region surrounded by the contour corresponding to the first pixel value in the read data, and the first region data indicating the image of the first region are acquired from the read data. (Iii) The form image data includes the acquisition means, the form first area specifying means for specifying the form first area corresponding to the first area in the form image data, and the form first data indicating the image of the form first area. The fourth acquisition means acquired from, the first determination means for determining whether the first area data and the first form data are different, and the first determination means for determining whether the first area data and the first form data are different. If this is done, the character string data indicating the character string including at least the first character string included in the first area is acquired based on the character recognition process, while the first area data and the form first data are not different from each other. When it is determined that the character string data is not acquired, the first execution means is provided.

の実施態様に係る画像読取装置を用いることで、第一態様と同様の効果を奏することができる。 By using the image reading apparatus according to the third embodiment, it is possible to achieve the same effect as the first embodiment.

情報識別システム4の全体構造図である。It is an overall structure diagram of the information identification system 4. 未記入帳票100の具体例である。This is a specific example of the blank form 100. 記入帳票101の具体例である。This is a specific example of the entry form 101. 登録帳票DBのうち医療保険用登録帳票DB60のデータ構成を示す図である。It is a figure which shows the data structure of the registration form DB 60 for medical insurance among the registration form DB. 設定テーブルのうち医療保険用設定テーブル70のデータ構成を示す図である。It is a figure which shows the data structure of the medical insurance setting table 70 among the setting tables. 情報識別処理を示すフローチャートである。It is a flowchart which shows the information identification process. 帳票種別判定処理を示すフローチャートである。It is a flowchart which shows the form type determination process. ユーザ判定処理を示すフローチャートである。It is a flowchart which shows the user determination process. 事前記入領域判定処理を示すフローチャートである。It is a flowchart which shows the pre-filled area determination process. 必須記入領域判定処理を示すフローチャートである。It is a flowchart which shows the required entry area determination process. 任意記入領域判定処理を示すフローチャートである。It is a flowchart which shows the arbitrary entry area determination process. 領域判定処理を示すフローチャートである。It is a flowchart which shows the area determination process. 該当種別なしエラー表示81の具体例である。This is a specific example of the error display 81 without the corresponding type. 記入帳票読取エラー表示82の具体例である。This is a specific example of the entry form reading error display 82. 読取結果表示200の具体例である。This is a specific example of the reading result display 200. 読取結果表示300の具体例である。This is a specific example of the reading result display 300.

本明細書に例示する実施形態について、図面を参照して説明する。まず、図1を参照して、情報識別システム4のシステム構成を説明する。情報識別システム4は、情報識別装置1、画像読取装置(以下、「スキャナ」という)2、及び管理サーバ3を含む。情報識別装置1は、インターネット、LAN、その他の専用回線等を含むネットワーク9を介して、管理サーバ3とデータ及びコマンドを送受信可能である。 The embodiments illustrated in the present specification will be described with reference to the drawings. First, the system configuration of the information identification system 4 will be described with reference to FIG. The information identification system 4 includes an information identification device 1, an image reading device (hereinafter referred to as “scanner”) 2, and a management server 3. The information identification device 1 can send and receive data and commands to and from the management server 3 via a network 9 including the Internet, LAN, and other dedicated lines.

情報識別装置1の構成について説明する。情報識別装置1には、手書き文字を含む文字の記入された帳票に記載された内容に対応する画像データが入力される。情報識別装置1は、入力された画像データから、帳票に設けられている各種の記入欄の種類を識別する。情報識別装置1は、識別結果に応じた処理を実行する。帳票は、例えば紙媒体であり、各種の保険の契約申込書、携帯電話の契約申込書、行政手続きにおける各種の申請書等である。本実施形態において、帳票は各種の保険の契約申込書である。情報識別装置1は、情報識別専用の装置であってもよいし、所謂パーソナルコンピュータ(PC)等の汎用型の装置に、専用のアプリケーションをインストールしたものであってもよい。本実施形態では、汎用型のPCによる情報識別装置1を例示する。図1に示すように、情報識別装置1は、情報識別装置1の制御を司るコントローラであるCPU10を備えている。CPU10は、ROM11、RAM12、ハードディスクドライブ(以下、「HDD」という。)13、及び入出力インターフェース(以下、「入出力I/F」という。)14と、データバスを介して電気的に接続する。ROM11は、情報識別装置1を動作させるためのBIOS等のプログラム、及び初期値等を記憶している。RAM12は、CPU10による演算処理で得られた演算結果等、各種のデータを一時的に記憶する。 The configuration of the information identification device 1 will be described. Image data corresponding to the contents described in the form in which characters including handwritten characters are entered is input to the information identification device 1. The information identification device 1 identifies the types of various entry fields provided in the form from the input image data. The information identification device 1 executes processing according to the identification result. The form is, for example, a paper medium, and includes various insurance contract applications, mobile phone contract applications, various applications in administrative procedures, and the like. In this embodiment, the form is an application for various insurance contracts. The information identification device 1 may be a device dedicated to information identification, or may be a general-purpose device such as a so-called personal computer (PC) in which a dedicated application is installed. In this embodiment, the information identification device 1 by a general-purpose PC is illustrated. As shown in FIG. 1, the information identification device 1 includes a CPU 10 which is a controller that controls the information identification device 1. The CPU 10 is electrically connected to a ROM 11, a RAM 12, a hard disk drive (hereinafter referred to as “HDD”) 13, and an input / output interface (hereinafter referred to as “input / output I / F”) 14 via a data bus. .. The ROM 11 stores a program such as a BIOS for operating the information identification device 1, an initial value, and the like. The RAM 12 temporarily stores various data such as the calculation result obtained by the calculation process by the CPU 10.

HDD13は、不揮発性の記憶装置である。本実施形態において、HDD13は、CPU10に後述の情報識別処理(図6参照)を実行させるプログラムを記憶する。HDD13は、非一時的な記憶媒体の一例である。非一時的な記憶媒体は、情報を記憶する期間に関わらず、情報を記憶可能な記憶媒体であればよい。非一時的な記憶媒体は、一時的な記憶媒体(例えば、伝送される信号)を含まなくてもよい。本実施形態における記憶装置はHDD13であるが、記憶装置は、情報を記憶する時間の長さに関わらずデータを保持できる、他の非一時的な記憶媒体、例えば、フラッシュメモリ、RAM等で構成されてもよい。 HDD 13 is a non-volatile storage device. In the present embodiment, the HDD 13 stores a program that causes the CPU 10 to execute the information identification process (see FIG. 6) described later. The HDD 13 is an example of a non-temporary storage medium. The non-temporary storage medium may be any storage medium capable of storing information regardless of the period for storing the information. The non-temporary storage medium may not include a temporary storage medium (eg, a signal to be transmitted). The storage device in the present embodiment is the HDD 13, but the storage device is composed of other non-temporary storage media such as flash memory and RAM that can hold data regardless of the length of time for storing information. May be done.

入出力I/F14は、データの受け渡しの仲介を行う。入出力I/F14には、外部通信インターフェース(以下、「外部通信I/F」という。)15と、画像を表示する表示部16と、キーボード及びマウス等の操作部17と、汎用の画像読取装置であるスキャナ2とが電気的に接続されている。外部通信I/F15は、情報識別装置1をネットワーク9に接続する。外部通信I/F15は、例えば、イーサネット(登録商標)等の標準規格に適合する、インターフェース回路である。なお、外部通信I/F15には、情報識別装置1の外部において画像を表示する外部表示部19が接続可能である。外部表示部19は、ネットワーク9を介した接続が可能なモニタであってもよいし、ネットワーク9及び外部通信I/F15を介して情報識別装置1に接続するスマートフォンやタブレットPCのディスプレイであってもよい。 The input / output I / F 14 mediates the transfer of data. The input / output I / F 14 includes an external communication interface (hereinafter referred to as "external communication I / F") 15, a display unit 16 for displaying an image, an operation unit 17 such as a keyboard and a mouse, and a general-purpose image reading. The scanner 2 which is a device is electrically connected. The external communication I / F 15 connects the information identification device 1 to the network 9. The external communication I / F15 is an interface circuit conforming to a standard such as Ethernet (registered trademark). An external display unit 19 that displays an image outside the information identification device 1 can be connected to the external communication I / F15. The external display unit 19 may be a monitor that can be connected via the network 9, or may be a display of a smartphone or tablet PC that is connected to the information identification device 1 via the network 9 and the external communication I / F15. May be good.

情報認識処理(図6参照)は、各種保険の申込書から読み取られた読取データに基づいて、申込書に設けられている記入領域の種類に応じて、申込書に記入された文字列のデータの管理を行うソフトウェアの処理の一部である。入出力I/F14は、情報識別装置1とスキャナ2等の外部機器とを接続するための、所定の規格(例えば、Universal Serial Bus (USB))に適合したインターフェース素子である。CPU10は、入出力I/F14を介して、スキャナ2等の外部機器とのデータの送受信を行う。 The information recognition process (see Fig. 6) is based on the read data read from various insurance application forms, and is the data of the character string entered in the application form according to the type of entry area provided in the application form. It is a part of the processing of the software that manages. The input / output I / F 14 is an interface element conforming to a predetermined standard (for example, Universal Serial Bus (USB)) for connecting the information identification device 1 and an external device such as a scanner 2. The CPU 10 transmits / receives data to / from an external device such as a scanner 2 via the input / output I / F 14.

スキャナ2の構成について説明する。スキャナ2は、シートフィードスキャナ、又は、フラットベッドスキャナである。スキャナ2は、後述する記入帳票101等の画像を撮像する読取動作を行い、画像データを形成して、情報識別装置1に送信する。なお、スキャナ2は、記入帳票101の読取専用のスキャナであってもよいし、汎用のスキャナであってもよい。 The configuration of the scanner 2 will be described. The scanner 2 is a sheet feed scanner or a flatbed scanner. The scanner 2 performs a reading operation for capturing an image such as an entry form 101, which will be described later, forms image data, and transmits the image data to the information identification device 1. The scanner 2 may be a read-only scanner for the entry form 101, or may be a general-purpose scanner.

スキャナ2は、スキャナ2の制御を司るコントローラであるCPU20を備えている。CPU20は、ROM21、RAM22、入出力インターフェース(以下、「入出力I/F」という。)24、読取部26、表示部27及び操作部28と、データバスを介して電気的に接続する。ROM21は、スキャナ2を動作させるためのOS等のプログラム、及び初期値等を記憶している。RAM22は、CPU20による演算処理で得られた演算結果等、各種のデータを一時的に記憶する。特に、RAM22は、記入帳票101の画像の画像データを記憶する記憶領域を少なくとも確保している。入出力I/F24は、データの受け渡しの仲介を行う。入出力I/F24には、外部通信I/F25が電気的に接続されている。外部通信I/F25は、スキャナ2をネットワーク9に接続する。スキャナ2は、ネットワーク9及び外部通信I/F25を介して情報識別装置1と接続してもよい。なお、外部通信I/F25には、スキャナ2の外部において画像を表示する外部表示部29が接続可能である。外部表示部29は、例えば、ネットワーク9及び外部通信I/F25を介してスキャナ2に接続するスマートフォンやタブレットPCのディスプレイである。 The scanner 2 includes a CPU 20 which is a controller that controls the scanner 2. The CPU 20 is electrically connected to a ROM 21, a RAM 22, an input / output interface (hereinafter referred to as “input / output I / F”) 24, a reading unit 26, a display unit 27, and an operation unit 28 via a data bus. The ROM 21 stores a program such as an OS for operating the scanner 2, initial values, and the like. The RAM 22 temporarily stores various data such as calculation results obtained by calculation processing by the CPU 20. In particular, the RAM 22 secures at least a storage area for storing the image data of the image of the entry form 101. The input / output I / F 24 mediates the transfer of data. An external communication I / F 25 is electrically connected to the input / output I / F 24. The external communication I / F 25 connects the scanner 2 to the network 9. The scanner 2 may be connected to the information identification device 1 via the network 9 and the external communication I / F 25. An external display unit 29 that displays an image outside the scanner 2 can be connected to the external communication I / F 25. The external display unit 29 is, for example, a display of a smartphone or tablet PC connected to the scanner 2 via the network 9 and the external communication I / F25.

読取部26は、周知の接触型イメージセンサを備える。読取部26は、記入帳票101の画像を読み取る。読取部26は、読み取ったアナログの画像をデジタルの画像データに変換する。画像データは情報識別装置1の転送指令に応じて、入出力I/F24又は外部通信I/F25を介して情報識別装置1に転送される。表示部27は、スキャナ2に備えられた画像を表示する表示画面である。操作部28はスキャナ2の各種動作の操作を行うための操作ボタン等である。スキャナ2は、操作部28を介して、又は情報識別装置1から記入帳票101の画像の読み取り指示が入力されることに応じて、記入帳票101の画像の読取動作を行う。 The reading unit 26 includes a well-known contact type image sensor. The reading unit 26 reads the image of the entry form 101. The reading unit 26 converts the read analog image into digital image data. The image data is transferred to the information identification device 1 via the input / output I / F24 or the external communication I / F25 in response to the transfer command of the information identification device 1. The display unit 27 is a display screen for displaying an image provided on the scanner 2. The operation unit 28 is an operation button or the like for operating various operations of the scanner 2. The scanner 2 performs an operation of reading the image of the entry form 101 via the operation unit 28 or in response to the input of the reading instruction of the image of the entry form 101 from the information identification device 1.

管理サーバ3の構成について説明する。管理サーバ3は、ハードウェアとしては汎用のサーバであってもよい。管理サーバ3は、管理サーバ3の制御を司るCPU30を備えている。CPU30は、ROM31、RAM32、HDD33、及び入出力I/F34と、データバスを介して電気的に接続する。ROM11は、管理サーバ3を動作させるためのBIOS等のプログラム、及び初期値等を記憶している。RAM32は、CPU30による演算処理で得られた演算結果等、各種のデータを一時的に記憶する。本実施形態において、HDD33は、各種情報を管理するためのデータベース(以下、「DB」という。)として、登録帳票DB及び帳票種別設定テーブルを記憶する。登録帳票DBは、例えば、後述の医療保険用登録帳票DB60(図4参照)である。帳票種別設定テーブルは、例えば、後述の医療保険用設定テーブル70(図5参照)である。入出力I/F34には、外部通信I/F35が接続されている。外部通信I/F35は、管理サーバ3をネットワーク9に接続する。外部通信I/F35は、例えば、イーサネット(登録商標)等の標準規格に適合する、インターフェース回路である。 The configuration of the management server 3 will be described. The management server 3 may be a general-purpose server as hardware. The management server 3 includes a CPU 30 that controls the management server 3. The CPU 30 is electrically connected to the ROM 31, RAM 32, HDD 33, and input / output I / F 34 via a data bus. The ROM 11 stores a program such as a BIOS for operating the management server 3, an initial value, and the like. The RAM 32 temporarily stores various data such as calculation results obtained by calculation processing by the CPU 30. In the present embodiment, the HDD 33 stores a registration form DB and a form type setting table as a database (hereinafter, referred to as “DB”) for managing various information. The registration form DB is, for example, the medical insurance registration form DB 60 (see FIG. 4), which will be described later. The form type setting table is, for example, the medical insurance setting table 70 (see FIG. 5), which will be described later. An external communication I / F35 is connected to the input / output I / F34. The external communication I / F35 connects the management server 3 to the network 9. The external communication I / F35 is an interface circuit that conforms to a standard such as Ethernet (registered trademark).

図2及び図3を参照して、未記入帳票100及び記入帳票101について説明する。未記入帳票100は、保険会社等から保険契約申込者(以下、ユーザと言う。)に対して配布される各種の保険の契約申込書である。未記入帳票100には、ユーザによって手書き文字等が未だ記入されていない。記入帳票101は、未記入帳票100に対してユーザが必要事項を記入した後の状態の帳票である。なお、未記入帳票100及び記入帳票101を特に区別しない場合、又は総称する場合、単に「帳票」という。 The unfilled form 100 and the filled-in form 101 will be described with reference to FIGS. 2 and 3. The blank form 100 is various insurance contract application forms distributed by insurance companies and the like to insurance contract applicants (hereinafter referred to as users). Handwritten characters and the like have not yet been entered in the blank form 100 by the user. The entry form 101 is a form in a state after the user has filled in the necessary items on the unfilled form 100. When the unfilled form 100 and the filled-in form 101 are not particularly distinguished, or when they are collectively referred to, they are simply referred to as "forms".

帳票は、帳票種別表示欄110、日付記入欄120、ユーザID欄130、事前記入欄140、第一任意記入欄150および第二任意記入欄160を主に備える。帳票は、これら以外の各種の記入欄を備えてよいが、本実施形態では説明を省略する。帳票種別表示欄110は、印刷等によって、予め文字列が記載されている欄である。予め記載された文字列は、各種の保険契約申込書のうち、帳票がいずれの種別の保険契約を申し込むためのものであるかを示す。例えば、保険契約の種別は、医療保険、自動車保険、火災保険、地震保険等が例示される。保険契約種類毎の帳票の種別を、以下では帳票種別という。即ち、帳票種別表示欄110は、帳票がいずれの帳票種別であるのかを示す欄である。図3に示す未記入帳票100の帳票種別表示欄110には、医療保険の契約申込書であることを示す「医療保険契約申込書」の文字が、帳票種別として印刷されている。帳票種別表示欄110は、帳票において左上部に設けられている。本実施形態において、帳票に帳票種別表示欄110が設けられる位置は、帳票の種別を問わず同じ位置とされている。 The form mainly includes a form type display column 110, a date entry column 120, a user ID column 130, a pre-entry column 140, a first optional entry column 150, and a second optional entry column 160. The form may be provided with various entry fields other than these, but the description thereof will be omitted in the present embodiment. The form type display field 110 is a field in which a character string is previously described by printing or the like. The character string described in advance indicates which type of insurance contract the form is for applying for, among various insurance contract application forms. For example, the types of insurance contracts include medical insurance, automobile insurance, fire insurance, earthquake insurance, and the like. The type of form for each type of insurance contract is referred to as the form type below. That is, the form type display column 110 is a column indicating which form type the form is. In the form type display field 110 of the blank form 100 shown in FIG. 3, the characters "medical insurance contract application form" indicating that the application form is a medical insurance contract application form are printed as the form type. The form type display field 110 is provided in the upper left portion of the form. In the present embodiment, the position where the form type display field 110 is provided in the form is the same position regardless of the type of the form.

日付記入欄120は、帳票において帳票種別表示欄110の下方に設けられている。日付記入欄120は、保険契約の申し込みにあたり、ユーザが申込年月日を記入する欄である。図2に示すように、未記入帳票100において日付記入欄120には日付が記入されておらず、空欄となっている。本実施形態において、日付記入欄120に申込年月日の記入がない場合には、帳票の他の欄に記入がされていても、保険契約が締結されないこととなっている。即ち、日付記入欄120は、帳票においてユーザが必ず記載すべき欄である。このため、以下では、日付記入欄120のことを「必須記入欄」ともいう。図3に示すように、記入帳票101の日付記入欄120には、ユーザによって、手書きで「2015」年「8」月「2」日と記入されている。日付記入欄120の外周部が太目の赤色の直線で縁取られることで、帳票に日付記入欄120の輪郭を示す赤色の矩形が形成されている。この矩形を第一矩形121という。 The date entry field 120 is provided below the form type display field 110 in the form. The date entry field 120 is a field in which the user enters the application date when applying for an insurance contract. As shown in FIG. 2, in the blank form 100, the date is not entered in the date entry field 120 and is blank. In the present embodiment, if the application date is not entered in the date entry column 120, the insurance contract will not be concluded even if the application date is entered in the other columns of the form. That is, the date entry field 120 is a field that the user must fill out in the form. Therefore, in the following, the date entry field 120 is also referred to as a "required entry field". As shown in FIG. 3, the date entry field 120 of the entry form 101 is handwritten by the user as "2015", "August", "2", and "2". By bordering the outer peripheral portion of the date entry field 120 with a thick red straight line, a red rectangle showing the outline of the date entry field 120 is formed on the form. This rectangle is called the first rectangle 121.

ユーザID欄130は、帳票において日付記入欄120の右方に設けられている。ユーザID欄130は、ユーザIDが、保険会社等の帳票の管理者の用いるプリンター等によって印字される欄である。ユーザIDは、保険契約をしようとするユーザを示す契約者コード等であり、本実施形態では、帳票の管理者が帳票のユーザを特定するためにユーザ毎に付している文字列である。本実施形態の一例では、ユーザIDは図3及び図4に示す「AABBCC1234」である。 The user ID field 130 is provided on the right side of the date entry field 120 in the form. The user ID column 130 is a column in which the user ID is printed by a printer or the like used by a form manager of an insurance company or the like. The user ID is a contractor code or the like indicating a user who intends to make an insurance contract, and in the present embodiment, the user ID is a character string assigned to each user in order to identify the user of the form. In an example of this embodiment, the user ID is "AABBCC1234" shown in FIGS. 3 and 4.

事前記入欄140は、帳票において日付記入欄120及びユーザID欄130の下方に設けられている。事前記入欄140は、ユーザ固有の情報のうち管理者が把握している情報を、ユーザに帳票が配布されるよりも前に管理者が記入するための欄である。ユーザに配布された時点の未記入帳票100において、事前記入欄140には既にユーザ自身の本人情報が記入されている。本実施形態の例では、ユーザである「山田太郎」が「AABBCC1234」のユーザIDに関連付けて、予め医療保険用登録帳票DBに登録がなされている。管理者は、管理者の用いるプリンター等によって、医療保険用登録帳票DB60に登録されているユーザの情報を事前記入欄140に予め印字した未記入帳票100を作成する。管理者は、作成した未記入帳票100をユーザに配布する。具体的には、図2に示すように、事前記入欄140のうち、医療保険用登録帳票DB60に登録されているユーザの情報であるユーザの氏名を示す「ヤマダ タロウ」、「山田 太郎」、ユーザの性別、生年月日、住所及び電話番号が予め印字された未記入帳票100が、ユーザに配布される。事前記入欄140の外周部が太目の緑色の直線で縁取られることで、帳票に事前記入欄140の輪郭を示す緑色の矩形が形成されている。この矩形を第二矩形141という。 The pre-entry column 140 is provided below the date entry column 120 and the user ID column 130 in the form. The pre-filled column 140 is a column for the administrator to fill in the information that the administrator knows among the user-specific information before the form is distributed to the user. In the unfilled form 100 at the time of distribution to the user, the user's own personal information is already entered in the pre-filled field 140. In the example of this embodiment, the user "Taro Yamada" is associated with the user ID of "AABBCC1234" and is registered in the medical insurance registration form DB in advance. The administrator creates an unfilled form 100 in which the user information registered in the medical insurance registration form DB 60 is pre-printed in the pre-filled field 140 by a printer or the like used by the administrator. The administrator distributes the created blank form 100 to the users. Specifically, as shown in FIG. 2, among the pre-filled fields 140, "Yamada Taro", "Yamada Taro", which indicate the user's name which is the user's information registered in the medical insurance registration form DB60, An unfilled form 100 on which the user's gender, date of birth, address and telephone number are pre-printed is distributed to the user. By edging the outer peripheral portion of the pre-filled field 140 with a thick green straight line, a green rectangle showing the outline of the pre-filled field 140 is formed on the form. This rectangle is called the second rectangle 141.

事前記入欄140には、契約の申し込みに必要な申込印を押印するための領域、住所及び電話番号に変更が生じている場合にチェックを記入するためのチェックボックス領域、また、変更後の住所及び電話番号を記入するための領域が設けられている。ユーザは、配布された未記入帳票100のこれらの領域に対して、押印し、また、必要に応じた事項を記入する。図3に示す記入帳票101は、事前記入欄140に申込印が押印され、事前記入欄140に予め印字されていた住所に変更が生じているとしてチェックボックス領域にチェックがなされ、変更後の住所がユーザによって手書きで記入された状態を示している。 In the pre-filled field 140, there is an area for stamping the application stamp required for contract application, a check box area for entering a check when the address and telephone number have changed, and the changed address. And there is an area for entering a telephone number. The user stamps these areas of the distributed blank form 100 and fills in necessary items. In the entry form 101 shown in FIG. 3, an application stamp is stamped in the pre-filled field 140, and the check box area is checked on the assumption that the address pre-printed in the pre-filled field 140 has been changed, and the changed address. Indicates a state in which is handwritten by the user.

第一任意記入欄150は、帳票において事前記入欄140の下方に設けられている。第一任意記入欄150は、ユーザの配偶者についての氏名等の情報を記入するために設けられている。例えば、ユーザに配偶者があり、配偶者についても同じ帳票を用いて保険の契約を行う場合、ユーザは、第一任意記入欄150に契約に必要な配偶者の情報を手書きで記入する。一方、ユーザに配偶者がない場合、又は配偶者があるが配偶者について保険の契約申込を行わない場合には、ユーザは第一任意記入欄150に記入する必要がない。このように、第一任意記入欄150には、ユーザの必要に応じて、手書き文字が記入される場合と記入されない場合とがある。このため、図2に示すように、未記入帳票100においては、第一任意記入欄150は空欄にされている。また、図3は、ユーザの配偶者の氏名、性別を示す囲み及び生年月日が手書きで記入され、申込印の押印された記入帳票101を示している。第一任意記入欄150の外周部が太目の青色の直線で縁取られることで、帳票に第一任意記入欄150の輪郭を示す青色の矩形が形成されている。この矩形を第三矩形151という。 The first optional entry field 150 is provided below the pre-entry field 140 in the form. The first optional entry field 150 is provided for entering information such as a name of the user's spouse. For example, when the user has a spouse and the spouse also makes an insurance contract using the same form, the user manually fills in the spouse information required for the contract in the first optional entry field 150. On the other hand, if the user does not have a spouse, or if the user has a spouse but does not apply for an insurance contract for the spouse, the user does not need to fill in the first optional entry field 150. As described above, in the first optional entry field 150, handwritten characters may or may not be entered according to the needs of the user. Therefore, as shown in FIG. 2, in the blank form 100, the first optional entry field 150 is left blank. In addition, FIG. 3 shows an entry form 101 in which the name, gender, and date of birth of the user's spouse are handwritten and the application seal is affixed. By edging the outer peripheral portion of the first optional entry field 150 with a thick blue straight line, a blue rectangle showing the outline of the first optional entry field 150 is formed on the form. This rectangle is called the third rectangle 151.

第二任意記入欄160は、帳票において第一任意記入欄150の下方に設けられている。第二任意記入欄160は、ユーザの子についての氏名等の情報を記入するために設けられている。例えば、ユーザに子があり、子についても同じ帳票を用いて保険の契約を行う場合、ユーザは、第二任意記入欄160に契約に必要な子の情報を手書きで記入する。一方、ユーザに子がない場合、又は子があるが子について保険の契約申込を行わない場合には、ユーザは第二任意記入欄160に記入する必要がない。このように、第二任意記入欄160は、第一任意記入欄150と同様に、ユーザの必要に応じて、手書き文字が記入される場合と記入されない場合とがある。このため、図2に示すように、未記入帳票100においては、第二任意記入欄160は空欄にされている。図3は、ユーザの子についての保険契約を行わないため、子についての情報が記入されず第二任意記入欄160が空欄になっている記入帳票101を示している。第二任意記入欄160の外周部が太目の水色(淡い青色)の直線で縁取られることで、帳票に第二任意記入欄160の輪郭を示す水色の矩形が形成されている。この矩形を第四矩形161という。なお、以下では、第一任意記入欄150及び第二任意記入欄160を総称する場合、単に「任意記入欄」ともいう。 The second optional entry field 160 is provided below the first optional entry field 150 in the form. The second optional entry field 160 is provided for entering information such as a name of the user's child. For example, when the user has a child and the same form is used for the insurance contract, the user manually fills in the child information required for the contract in the second optional entry field 160. On the other hand, if the user does not have a child, or if the user has a child but does not apply for an insurance contract for the child, the user does not need to fill in the second optional entry field 160. As described above, the second optional entry field 160 may or may not be filled with handwritten characters as required by the user, as in the first optional entry field 150. Therefore, as shown in FIG. 2, in the blank form 100, the second optional entry field 160 is left blank. FIG. 3 shows an entry form 101 in which information about the child is not entered and the second optional entry field 160 is blank because the insurance contract is not made for the child of the user. The outer peripheral portion of the second optional entry field 160 is bordered by a thick light blue (pale blue) straight line, so that a light blue rectangle showing the outline of the second optional entry field 160 is formed on the form. This rectangle is called the fourth rectangle 161. In the following, when the first optional entry column 150 and the second optional entry column 160 are collectively referred to, they are also simply referred to as "optional entry column".

このように、各種の帳票には、本実施形態の必須記入欄のようにユーザによって必ず記入されるべき記入欄と、任意記入欄のように、ユーザによって記入される場合とされない場合とがある記入欄とが混在することがある。また、本実施形態の事前記入欄140のように、ユーザに配布される帳票に予め記入事項のある記入欄が帳票に含まれることもある。このような記入の必要度の異なる複数種類の記入欄を含む帳票において、記入欄の種類毎に異なる色を用いた矩形で記入欄の輪郭を囲むことで、帳票に記入態様の必要度の異なる記入欄が複数含まれていることがユーザに視覚的に伝わりやすくなる。 In this way, various forms may or may not be filled in by the user, such as the required entry field of the present embodiment and the optional entry field. There may be a mixture of entry fields. Further, the form may include an entry field in which the form to be distributed to the user has a pre-filled item, such as the pre-filled field 140 of the present embodiment. In a form that includes a plurality of types of entry fields with different entry requirements, the necessity of entry mode differs in the form by surrounding the outline of the entry column with a rectangle using a different color for each entry column type. It is easy to visually convey to the user that multiple entry fields are included.

HDD33に記憶されている登録帳票DBについて説明する。登録帳票DBには、複数の契約申込者の本人情報である氏名、性別、住所、電話番号等の情報が、契約申込者のそれぞれに対して付与されているユーザIDに関連付けられて、帳票種別毎に登録されている。 The registration form DB stored in the HDD 33 will be described. In the registration form DB, information such as name, gender, address, telephone number, etc., which is the personal information of a plurality of contract applicants, is associated with the user ID given to each of the contract applicants, and the form type. It is registered every time.

図4に示すは、登録帳票DBに登録されている各種の保険契約の種別のうち、医療保険の帳票種別についての契約申込者についての情報及び契約申込書である帳票の情報を管理するDBである。なお、図4では、医療保険用登録帳票DB60全体のうち、ユーザID「AABBCC1234」に関連付けて登録されている最小単位のデータについて例示している。 FIG. 4 shows a DB that manages information about a contract applicant for a medical insurance form type and information on a form that is a contract application form among various types of insurance contracts registered in the registration form DB. is there. Note that FIG. 4 illustrates the data of the smallest unit registered in association with the user ID "AABBCC1234" in the entire medical insurance registration form DB60.

医療保険用登録帳票DB60は、「帳票管理情報」欄、「本人情報」欄、「配偶者情報」欄及び「お子様情報」欄の各欄に登録項目を分類して情報を管理している。帳票管理情報欄には、「ユーザID」「登録日」「申込日」「登録帳票画像データ」の登録項目が含まれる。「登録日」には、管理者によってユーザID及びユーザIDに関連付けられている情報が医療保険用登録帳票DB60に登録された日付が登録される。「申込日」には、記入帳票101の日付記入欄120に記入された日付を示す文字列が、後述の情報識別処理の実行によって取得された場合に、取得された文字列に基づく日付が「申込日」として登録される。「登録帳票画像データ」には、ユーザIDに対応する未記入帳票100全体の画像を示す画像データが登録される。本実施形態では、画像データはJPEG形式であるが、画像データの形式はGIF形式等の他の形式であってもよい。 The medical insurance registration form DB60 manages information by classifying registration items into each of the "form management information" column, the "personal information" column, the "spouse information" column, and the "child information" column. The form management information column includes registration items of "user ID", "registration date", "application date", and "registration form image data". In the "registration date", the date on which the user ID and the information associated with the user ID are registered in the medical insurance registration form DB 60 by the administrator is registered. In the "application date", when the character string indicating the date entered in the date entry field 120 of the entry form 101 is acquired by executing the information identification process described later, the date based on the acquired character string is ". It is registered as "application date". In the "registered form image data", image data showing an image of the entire unfilled form 100 corresponding to the user ID is registered. In the present embodiment, the image data is in JPEG format, but the image data format may be in another format such as GIF format.

本人情報欄に含まれる各登録項目には、契約申込者の氏名、性別、住所、電話番号を示す情報が、ユーザIDに対応づけられて予め登録される。本人情報欄の登録内容は、未記入帳票100の事前記入欄140に予め印字される内容である。 In each registration item included in the personal information column, information indicating the contract applicant's name, gender, address, and telephone number is pre-registered in association with the user ID. The registered content in the personal information column is the content pre-printed in the pre-entry column 140 of the unfilled form 100.

配偶者情報欄に含まれる各登録項目には、記入帳票101の第一任意記入欄150に記入された内容を示す文字列等が後述の情報識別処理の実行によって取得された場合に、取得された文字列等に基づく各内容が登録される。お子様情報欄には、記入帳票101の第二任意記入欄160に記入された内容を示す文字列等が後述の情報識別処理の実行によって取得された場合に、取得された文字列等に基づく各内容が登録される。従って、配偶者情報欄及びお子様情報欄は、医療保険用登録帳票DB60の登録日において、また、医療保険用登録帳票DB60に基づいて未記入帳票100が作成される時点においては登録内容が存在しないので、空欄にされている。図4において、登録項目に対応する登録内容が存在しないことを、「−」と示している。 Each registration item included in the spouse information column is acquired when a character string or the like indicating the content entered in the first optional entry column 150 of the entry form 101 is acquired by executing the information identification process described later. Each content based on the character string etc. is registered. In the child information column, when a character string or the like indicating the content entered in the second optional entry field 160 of the entry form 101 is acquired by executing the information identification process described later, each based on the acquired character string or the like. The content is registered. Therefore, the spouse information column and the child information column do not have registration contents on the registration date of the medical insurance registration form DB60 and at the time when the blank form 100 is created based on the medical insurance registration form DB60. So it is left blank. In FIG. 4, "-" indicates that the registration content corresponding to the registration item does not exist.

図5を参照して、HDD33に記憶されている医療保険用設定テーブル70について説明する。医療保険用設定テーブル70は、管理者が取り扱う複数種別の保険契約申込書に対応する帳票のうち、医療保険契約申込書についての設定情報を格納している。図示しないが、HDD33には、医療保険用設定テーブル70以外の様々な帳票種別に対応する帳票の設定情報を格納する設定テーブルが複数記憶されている。設定情報とは、帳票種別表示欄110、日付記入欄120、事前記入欄140、第一任意記入欄150および第二任意記入欄160のそれぞれの帳票における配置等を示す情報である。 The medical insurance setting table 70 stored in the HDD 33 will be described with reference to FIG. The medical insurance setting table 70 stores setting information for the medical insurance contract application form among the forms corresponding to a plurality of types of insurance contract application forms handled by the administrator. Although not shown, the HDD 33 stores a plurality of setting tables for storing form setting information corresponding to various form types other than the medical insurance setting table 70. The setting information is information indicating the arrangement of the form type display column 110, the date entry column 120, the pre-entry column 140, the first optional entry column 150, and the second optional entry column 160 in each form.

医療保険用設定テーブル70は、「種別領域」欄、「ID領域」欄、「事前記入領域」欄、「必須記入領域」欄、「第一任意領域」欄、「第二任意領域」の各欄に設定情報を分類して格納している。種別領域欄は、帳票における帳票種別表示欄110について、「座標位置」、「領域範囲」及び「種別領域データ」の各情報を格納している。座標位置である(x0,y0)は、帳票を読み取った読取データにおいて帳票種別表示欄110の最も左上の部分が帳票において配置される位置を、帳票の左上角の位置をx−y座標の原点(0,0)として座標表示したものである。領域範囲は、後述の帳票種別判定処理(図7参照)において、読取データから帳票種別表示欄110に対応する画像データを抽出するために用いられる情報である。領域範囲は、(x0,y0)を原点とした抽出領域の幅及び高さをドット数(画素数)で表示したものである。座標位置(x0,y0)に基づく領域範囲「25×80」は、帳票において帳票種別表示欄110が占める位置及び領域よりもひとまわり広くなるように設定されている。登録種別領域データは、未記入帳票100に事前記入欄140に対応する内容が印字される前の状態の帳票における帳票種別表示欄110を示す画像データを、パターンマッチングのためのテンプレートとして記憶する。登録種別領域データのデータ形式はJPEG形式をはじめ、パターンマッチングが可能ないずれの形式であってもよい。図5では登録種別領域データとして「iryohoken.jpg」のファイル名による一つの画像データが示されている。「iryohoken.jpg」は、医療保険の契約申込書を示す帳票種別に対応付けられた画像データである。登録種別領域データは、この他、様々な帳票種別に対応する帳票種別表示欄110を示す画像データを含む。また、他の帳票種別についての設定テーブルのそれぞれにも、上記の「種別領域」欄と同様の欄が設けられている。 The medical insurance setting table 70 has each of "type area" column, "ID area" column, "pre-entry area" column, "required entry area" column, "first optional area" column, and "second optional area". The setting information is classified and stored in the column. The type area column stores each information of "coordinate position", "area range", and "type area data" for the form type display field 110 in the form. The coordinate position (x0, y0) is the position where the upper left part of the form type display field 110 is arranged in the form in the read data obtained by reading the form, and the position of the upper left corner of the form is the origin of the xy coordinates. The coordinates are displayed as (0,0). The area range is information used for extracting the image data corresponding to the form type display field 110 from the read data in the form type determination process (see FIG. 7) described later. The area range represents the width and height of the extraction area with (x0, y0) as the origin in terms of the number of dots (number of pixels). The area range "25 x 80" based on the coordinate position (x0, y0) is set to be slightly wider than the position and area occupied by the form type display field 110 in the form. The registration type area data stores image data indicating the form type display field 110 in the form in the state before the content corresponding to the pre-filled field 140 is printed on the blank form 100 as a template for pattern matching. The data format of the registration type area data may be any format capable of pattern matching, including the JPEG format. In FIG. 5, one image data with a file name of "iryohoken.jpg" is shown as the registration type area data. “Iryohoken.jpg” is image data associated with a form type indicating a medical insurance contract application form. The registration type area data also includes image data indicating the form type display field 110 corresponding to various form types. In addition, each of the setting tables for other form types is provided with the same columns as the above-mentioned "type area" column.

「ID領域」欄は、帳票におけるユーザID欄130について、「座標位置」及び「領域範囲」の各情報を格納している。座標位置である(x1,y1)は、読取データにおいてユーザID欄130の最も左上の部分が帳票において配置される位置を、前述の原点(0,0)に対して表示したものである。領域範囲は、後述のユーザID判定処理(図8参照)において、読取データからユーザIDを判定するために用いられる情報である。領域範囲は、(x1,y1)を原点とした領域の高さ及び幅をドット数で表示したものである。 The "ID area" column stores each information of "coordinate position" and "area range" for the user ID column 130 in the form. The coordinate positions (x1, y1) indicate the positions where the upper leftmost portion of the user ID field 130 is arranged in the form in the read data with respect to the above-mentioned origin (0,0). The area range is information used for determining the user ID from the read data in the user ID determination process (see FIG. 8) described later. The area range represents the height and width of the area with (x1, y1) as the origin in terms of the number of dots.

事前記入領域欄は、帳票における事前記入欄140について、「座標位置」、「領域範囲」、「第一画素値」及び「第一閾値」の各情報を格納している。座標位置である(x2,y2)は、読取データにおいて事前記入欄140の最も左上の部分が帳票において配置される位置を、前述の原点(0,0)に対して表示したものである。領域範囲は、後述の領域判定処理(図12参照)において、読取データから事前記入欄140に対応する第二矩形141を特定するために用いられる情報である。領域範囲は、(x2,y2)を原点とした領域の高さ及び幅をドット数で表示したものである。座標位置(x2,y2)に基づく領域範囲「100×200」は、帳票において第二矩形141が占める位置及び領域よりもひとまわり広くなるように設定されている。第一画素値は、帳票に設けられている第二矩形141の緑色を示す値を各色256階調のRGB形式で示したものである。第一閾値は、領域判定処理において第二矩形141を特定する際に、第一画素値とみなす範囲を定義するものである。本実施形態において、第一閾値の「±5」は、第一画素値に定義されている画素値に対して前後5段階の範囲に含まれる画素値の色を第一画素値の色と同一色とみなすことを定義している。 The pre-filled area column stores information of "coordinate position", "area range", "first pixel value", and "first threshold value" for the pre-filled field 140 in the form. The coordinate position (x2, y2) indicates the position where the upper leftmost portion of the pre-entry field 140 is arranged in the form in the read data with respect to the above-mentioned origin (0,0). The area range is information used to identify the second rectangle 141 corresponding to the pre-filled field 140 from the read data in the area determination process (see FIG. 12) described later. The area range represents the height and width of the area with (x2, y2) as the origin in terms of the number of dots. The area range "100 x 200" based on the coordinate position (x2, y2) is set to be slightly wider than the position and area occupied by the second rectangle 141 in the form. The first pixel value is a value indicating the green color of the second rectangle 141 provided on the form, which is shown in RGB format with 256 gradations for each color. The first threshold value defines a range to be regarded as the first pixel value when the second rectangle 141 is specified in the area determination process. In the present embodiment, the first threshold value "± 5" means that the color of the pixel value included in the range of five steps before and after the pixel value defined in the first pixel value is the same as the color of the first pixel value. It defines what is considered a color.

必須記入領域欄は、事前記入領域欄と同様に、帳票における日付記入欄120について、「座標位置」、「領域範囲」、「第二画素値」及び「第二閾値」の各情報を格納している。座標位置(x3,y3)に基づく領域範囲「30×130」は、帳票において第一矩形121が占める位置及び領域よりもひとまわり広くなるように設定されている。第二画素値は、帳票に設けられている第一矩形121の赤色を示す値を各色256階調のRGB形式で示したものである。 Similar to the pre-entry area column, the required entry area column stores each information of "coordinate position", "area range", "second pixel value" and "second threshold value" for the date entry field 120 in the form. ing. The area range "30 x 130" based on the coordinate positions (x3, y3) is set to be slightly wider than the position and area occupied by the first rectangle 121 in the form. The second pixel value is a value indicating the red color of the first rectangle 121 provided on the form, which is shown in RGB format with 256 gradations for each color.

第一任意領域欄も同様に、帳票における第一任意記入欄150について、「座標位置」、「領域範囲」、「第三画素値」及び「第三閾値」の各情報を格納している。第二任意領域欄も同様に、帳票における第二任意記入欄160について、「座標位置」、「領域範囲」、「第四画素値」及び「第四閾値」の各情報を格納している。座標位置(x4,y4)に基づく領域範囲「50×200」は、帳票において第三矩形151が占める位置及び領域よりもひとまわり広くなるように設定されている。座標位置(x5,y5)に基づく領域範囲「150×200」は、帳票において第四矩形161が占める位置及び領域よりもひとまわり広くなるように設定されている。なお、第三画素値は、第一画素値及び第二画素値とは異なる色を示す画素値であり、帳票に設けられている第三矩形151の青色を示す値を各色256階調のRGB形式で示したものである。第四画素値は、第一画素値、第二画素値及び第三画素値とは異なる色を示す画素値であり、帳票に設けられている第四矩形161の水色を示す値を各色256階調のRGB形式で示したものである。第二閾値、第三閾値及び第四閾値も、第一閾値と同様に対応する画素値に対して前後5段階の範囲に含まれる画素値の色を同一色とみなすことを定義している。なお、第一画素値、第二画素値、第三画素値及び第四画素値は、RGB形式以外の色空間(例えば、輝度と色差を用いたYCbCr形式、色相、彩度及び明度を用いたHSV形式等)で定義されてもよい。 Similarly, the first optional area column also stores information on the "coordinate position", "area range", "third pixel value", and "third threshold value" for the first optional entry field 150 in the form. Similarly, the second optional area column also stores information on the "coordinate position", "area range", "fourth pixel value", and "fourth threshold value" for the second optional entry field 160 in the form. The area range "50 x 200" based on the coordinate position (x4, y4) is set to be slightly wider than the position and area occupied by the third rectangle 151 in the form. The area range "150 x 200" based on the coordinate position (x5, y5) is set to be slightly wider than the position and area occupied by the fourth rectangle 161 in the form. The third pixel value is a pixel value indicating a color different from the first pixel value and the second pixel value, and the value indicating the blue color of the third rectangle 151 provided on the form is RGB of 256 gradations for each color. It is shown in the format. The fourth pixel value is a pixel value indicating a color different from the first pixel value, the second pixel value, and the third pixel value, and the value indicating the light blue of the fourth rectangle 161 provided on the form is the 256th floor of each color. It is shown in the RGB format of the key. The second threshold value, the third threshold value, and the fourth threshold value also define that the colors of the pixel values included in the range of five levels before and after the corresponding pixel values are regarded as the same color as in the first threshold value. For the first pixel value, the second pixel value, the third pixel value, and the fourth pixel value, a color space other than the RGB format (for example, YCbCr format using brightness and color difference, hue, saturation, and lightness was used. It may be defined in HSV format, etc.).

図6から図16を参照して、本実施形態における情報識別処理について説明する。情報識別処理は、記入帳票101の画像がスキャナ2によって読み取られた読取データに基づいて、帳票に設けられている各領域を識別し、識別結果に応じた読取結果データを取得する処理である。 The information identification process in the present embodiment will be described with reference to FIGS. 6 to 16. The information identification process is a process of identifying each area provided on the form based on the read data read by the scanner 2 for the image of the entry form 101, and acquiring the read result data according to the identification result.

情報識別処理の開始に先立って、管理者は、保険契約の種別毎に、医療保険用登録帳票DB60を含む登録帳票DBを準備する。また管理者は、ユーザが契約を所望する種別の保険契約に対応する登録帳票DBに、ユーザIDと本人情報等を関連付けて登録する。そして管理者は、登録帳票DBに登録された登録内容に基づいて、ユーザID欄130にユーザIDが、事前記入欄140に本人情報が、それぞれ印字された未記入帳票100を作成する。なお、未記入帳票100は、プリンター等によって紙媒体等に印刷されることで作成されるのに限られない。例えば、登録帳票DBに登録された登録内容がファイルに出力されることで、画像ファイルとして未記入帳票100が生成されてもよい。管理者は、作成した未記入帳票100の画像を示す画像データを、スキャナ2等を用いることで得て、得た画像データを帳票種別及びユーザIDに対応付けて、登録帳票DBに登録帳票画像データとして登録する。以下では、医療保険の契約を所望するユーザに管理者が未記入帳票100を配布したとする。ユーザは、配布された未記入帳票100に必要事項を記入した記入帳票101を管理者に提出したとする。情報識別処理において、この記入帳票101に関する処理が行われるとする。 Prior to the start of the information identification process, the administrator prepares a registration form DB including a medical insurance registration form DB 60 for each type of insurance contract. In addition, the administrator registers the user ID and personal information in association with the registration form DB corresponding to the type of insurance contract that the user desires to make a contract. Then, the administrator creates an unfilled form 100 in which the user ID is printed in the user ID field 130 and the personal information is printed in the pre-filled field 140 based on the registered contents registered in the registration form DB. The blank form 100 is not limited to being created by being printed on a paper medium or the like by a printer or the like. For example, the unfilled form 100 may be generated as an image file by outputting the registered contents registered in the registration form DB to a file. The administrator obtains image data showing the image of the created blank form 100 by using a scanner 2 or the like, associates the obtained image data with the form type and the user ID, and registers the form image in the registration form DB. Register as data. In the following, it is assumed that the administrator distributes the blank form 100 to users who desire a medical insurance contract. It is assumed that the user submits an entry form 101 in which necessary items are filled in the distributed blank form 100 to the administrator. In the information identification process, it is assumed that the process related to this entry form 101 is performed.

図6に示すように、情報識別処理が開始されると、CPU10は、記入帳票101の画像を読み取る指示を、入出力I/F14を介してスキャナ2に送信する(S11)。指示を受信したスキャナ2は、記入帳票101を読取部26において読み取り、読み取った画像のデータである読取データを生成し、情報識別装置1に送信する。CPU10は、スキャナ2から送信された読取データを、入出力I/F14を介して取得する(S12)。なお、未記入帳票100が画像ファイルとして生成されている場合には、CPU10は、S11の処理を行わなくてもよい。この場合、CPU10は、S12の処理において未記入帳票100に基づく画像ファイルを取得してもよい。その後CPU10は、帳票種別判定処理(S13)、ユーザ判定処理(S14)、事前記入領域判定処理(S15)、必須記入領域判定処理(S16)、任意記入領域判定処理(S18)を順に実行する。 As shown in FIG. 6, when the information identification process is started, the CPU 10 transmits an instruction to read the image of the entry form 101 to the scanner 2 via the input / output I / F 14 (S11). Upon receiving the instruction, the scanner 2 reads the entry form 101 by the reading unit 26, generates read data which is the data of the read image, and transmits the read data to the information identification device 1. The CPU 10 acquires the read data transmitted from the scanner 2 via the input / output I / F 14 (S12). When the blank form 100 is generated as an image file, the CPU 10 does not have to perform the process of S11. In this case, the CPU 10 may acquire an image file based on the blank form 100 in the process of S12. After that, the CPU 10 executes the form type determination process (S13), the user determination process (S14), the pre-entry area determination process (S15), the required entry area determination process (S16), and the optional entry area determination process (S18) in this order.

図7を参照して、帳票種別判定処理(S13、図6参照)について説明する。帳票種別判定処理は、記入帳票101の帳票種別を、読取データに基づいて判定するための処理である。帳票種別判定処理が開始されると、CPU10は、読取データがカラー画像データであるか否かを判断する(S31)。この判断には、読取画像データの示す彩度の大きさ及び分布等を用いた周知の判断手法を用いてよい。本実施形態において、管理者がユーザに配布する正規の帳票は、赤色の矩形で囲まれた日付記入欄120、緑色の矩形で囲まれた事前記入欄140、青色の矩形で囲まれた第一任意記入欄150及び水色の矩形で囲まれた第二任意記入欄160等を含む。読取画像データがカラー画像データでない場合、ユーザは、管理者から正規に配布された帳票以外の帳票を用いていることがあるので、これを排除するためにS31の処理が設けられている。 The form type determination process (see S13 and FIG. 6) will be described with reference to FIG. 7. The form type determination process is a process for determining the form type of the entry form 101 based on the read data. When the form type determination process is started, the CPU 10 determines whether or not the read data is color image data (S31). For this determination, a well-known determination method using the magnitude and distribution of saturation indicated by the scanned image data may be used. In the present embodiment, the regular form distributed to the user by the administrator includes a date entry field 120 surrounded by a red rectangle, a pre-fill field 140 surrounded by a green rectangle, and a first entry field surrounded by a blue rectangle. It includes an optional entry field 150 and a second optional entry field 160 surrounded by a light blue rectangle. When the scanned image data is not color image data, the user may use a form other than the form officially distributed by the administrator, and therefore, the process of S31 is provided to eliminate this.

CPU10は、読取データがカラー画像データの場合(S31:YES)、読取データから帳票種別領域データを抽出する(S32)。帳票種別領域データは、読取データにおいて記入帳票101の帳票種別表示欄110に対応する部分の画像データである。本実施形態では、管理者の取り扱う帳票において、帳票に帳票種別表示欄110の設けられる位置及び領域範囲が、帳票種別を通じて同じくされている。CPU10は、HDD33に記憶されている医療保険用設定テーブル70をはじめとするいずれかの設定テーブルを参照する。CPU10は、読取データから、参照した設定テーブルの種別領域欄に定義されている座標位置及び座標範囲に該当する部分の画像データを、帳票種別領域データとして抽出する。 When the read data is color image data (S31: YES), the CPU 10 extracts the form type area data from the read data (S32). The form type area data is image data of a portion of the read data corresponding to the form type display field 110 of the entry form 101. In the present embodiment, in the form handled by the administrator, the position and area range where the form type display field 110 is provided in the form are the same throughout the form type. The CPU 10 refers to any setting table including the medical insurance setting table 70 stored in the HDD 33. The CPU 10 extracts from the read data the image data of the portion corresponding to the coordinate position and the coordinate range defined in the type area column of the referenced setting table as the form type area data.

CPU10は、抽出された帳票種別領域データと、前述の設定テーブル種別領域欄に格納されている登録種別領域データとを比較する(S33)。この処理において、CPU10は、HDD33に記憶されている設定テーブルを参照して登録種別領域データを取得し、取得した登録種別領域データに対して、抽出した帳票種別領域データのテンプレートマッチングを行う。 The CPU 10 compares the extracted form type area data with the registration type area data stored in the setting table type area column described above (S33). In this process, the CPU 10 acquires the registration type area data by referring to the setting table stored in the HDD 33, and performs template matching of the extracted form type area data with the acquired registration type area data.

CPU10は、登録種別領域データに帳票種別領域データと一致するものがあるかを判断する(S34)。登録種別領域データに帳票種別領域データと一致するものがある場合(S34:YES)、CPU10は、一致した登録種別領域データに対応付けられている帳票種別を、記入帳票101の帳票種別と判定する(S35)。CPU10は、帳票種別の判定結果を、RAM12に記憶する。本実施形態の例では、「医療保険用」の帳票種別と判定した旨がRAM12に記憶されたとする。CPU10は、処理を情報識別処理(図6参照)へ戻す The CPU 10 determines whether or not the registration type area data matches the form type area data (S34). When there is a registration type area data that matches the form type area data (S34: YES), the CPU 10 determines the form type associated with the matching registration type area data as the form type of the entry form 101. (S35). The CPU 10 stores the determination result of the form type in the RAM 12. In the example of the present embodiment, it is assumed that the fact that the form type is determined to be "for medical insurance" is stored in the RAM 12. The CPU 10 returns the process to the information identification process (see FIG. 6).

一方、読取データがカラー画像データでない場合(S31:NO)、又は登録種別領域データに帳票種別領域データと一致するものがない場合(S34:NO)、CPU10は、該当種別なしエラー表示81(図13参照)を出力する指示を、入出力I/F14を介して表示部16に送信する(S36)。該当種別なしエラー表示81は、記入帳票101が正規の帳票でないこと、また記入帳票101に設けられている帳票種別表示欄110に示される帳票種別が情報識別処理に対応するものでないことを作業者に示すために表示される画像である。該当種別なしエラー表示81を示す画像データは、HDD33に記憶されている。表示部16は、S36の処理による指示に応じて該当種別なしエラー表示81を表示する。CPU10は、処理をS29(図6参照)の判断へ移行する。 On the other hand, when the read data is not color image data (S31: NO), or when there is no registered type area data that matches the form type area data (S34: NO), the CPU 10 displays an error display 81 without the corresponding type (FIG. An instruction to output (see 13) is transmitted to the display unit 16 via the input / output I / F 14 (S36). The error display 81 without the corresponding type indicates that the entry form 101 is not a regular form and that the form type shown in the form type display field 110 provided in the entry form 101 does not correspond to the information identification process. It is an image displayed to show in. The image data indicating the error display 81 without the corresponding type is stored in the HDD 33. The display unit 16 displays the corresponding typeless error display 81 in response to the instruction by the process of S36. The CPU 10 shifts the process to the determination of S29 (see FIG. 6).

図8を参照して、ユーザ判定処理(S14、図6参照)について説明する。ユーザ判定処理は、読取データに基づいて記入帳票101のユーザを判定するための処理である。ユーザ判定処理が開始されると、CPU10は、読取データからユーザID領域データを抽出する(S41)。ユーザID領域データは、読取データにおいて記入帳票101のユーザID欄130に対応する部分の画像データである。この処理において、CPU10は、RAM12に記憶されている帳票種別の判定結果を参照して、読取データの帳票種別が「医療保険用」であること示す情報を取得する。CPU10は、HDD33に記憶されている設定テーブルのうち、取得した帳票種別に対応する医療保険用設定テーブルを参照する。CPU10は、読取データから、医療保険用設定テーブル70のID領域欄に定義されている座標位置及び座標範囲に該当する部分の画像データを、ユーザID領域データとして抽出する。CPU10は、抽出したユーザID領域データをRAM12に記憶する。 The user determination process (see S14 and FIG. 6) will be described with reference to FIG. The user determination process is a process for determining the user of the entry form 101 based on the read data. When the user determination process is started, the CPU 10 extracts the user ID area data from the read data (S41). The user ID area data is image data of a portion of the read data corresponding to the user ID field 130 of the entry form 101. In this process, the CPU 10 refers to the determination result of the form type stored in the RAM 12 and acquires the information indicating that the form type of the read data is "for medical insurance". The CPU 10 refers to the medical insurance setting table corresponding to the acquired form type among the setting tables stored in the HDD 33. From the read data, the CPU 10 extracts the image data of the portion corresponding to the coordinate position and the coordinate range defined in the ID area column of the medical insurance setting table 70 as the user ID area data. The CPU 10 stores the extracted user ID area data in the RAM 12.

CPU10は、抽出されたユーザID領域データに対して文字認識処理を実行する(S42)。本実施形態では、文字認識処理として、文字の輪郭に対応する特徴を画像から抽出し、文字の標準パターンとの比較を行う公知のOCR処理が採用される。CPU10は、OCR処理を実行することによって、RAM12に記憶されたユーザID領域データから文字を抽出する。OCR処理においては、周知のエッジ検出技術等の特徴抽出ステップと、抽出した特徴を文字のテンプレートと比較するマッチングステップとを含む、周知のライブラリを利用可能である。CPU10は、抽出された文字を分析して、ユーザID欄130に印字されている文字を特定する。CPU10は、特定したユーザID欄130に印字されている文字列を示す文字列データであるID文字列データを生成し、RAM12に記憶する。 The CPU 10 executes character recognition processing on the extracted user ID area data (S42). In the present embodiment, as the character recognition process, a known OCR process is adopted in which a feature corresponding to the outline of a character is extracted from an image and compared with a standard pattern of the character. The CPU 10 extracts characters from the user ID area data stored in the RAM 12 by executing the OCR process. In the OCR process, a well-known library including a feature extraction step such as a well-known edge detection technique and a matching step for comparing the extracted feature with a character template can be used. The CPU 10 analyzes the extracted characters and identifies the characters printed in the user ID field 130. The CPU 10 generates ID character string data, which is character string data indicating a character string printed in the specified user ID field 130, and stores it in the RAM 12.

CPU10は、HDD33に記憶されている登録帳票DBのうち、S35(図7参照)の処理で判定した帳票種別の登録帳票DBを参照する(S43)。本実施形態の例では、RAM12に「医療保険用」の帳票種別が記憶されているので、CPU10はこれに応じて医療保険用登録帳票DB60を参照したとする。CPU10は、参照した登録帳票DBに登録されている複数のユーザIDである登録ユーザIDと、RAM12に記憶されているID文字列データとを比較する(S45)。 The CPU 10 refers to the registration form DB of the form type determined in the process of S35 (see FIG. 7) among the registration form DB stored in the HDD 33 (S43). In the example of this embodiment, since the form type of "for medical insurance" is stored in the RAM 12, it is assumed that the CPU 10 refers to the medical insurance registration form DB 60 accordingly. The CPU 10 compares the registered user ID, which is a plurality of user IDs registered in the referenced registration form DB, with the ID character string data stored in the RAM 12 (S45).

CPU10は、登録ユーザIDにID文字列データの示す文字列と一致する文字列があるかを判断する(S46)。登録ユーザIDにID文字列データの示す文字列と一致する文字列がない場合(S46:NO)、CPU10は、ID文字列データの示す文字列に該当する登録ユーザIDがないことを示す該当IDなしエラー表示(図示せず)を出力する指示を、入出力I/F14を介して表示部16に送信する(S47)。該当IDなしエラー表示は、例えば、「該当する登録ユーザIDが存在しません」等のメッセージを表記する画像である。表示部16は、S47の指示に応じて該当IDなしエラー表示を表示する。 The CPU 10 determines whether the registered user ID has a character string that matches the character string indicated by the ID character string data (S46). If the registered user ID does not have a character string that matches the character string indicated by the ID character string data (S46: NO), the CPU 10 indicates that there is no registered user ID corresponding to the character string indicated by the ID character string data. None An instruction to output an error display (not shown) is transmitted to the display unit 16 via the input / output I / F 14 (S47). The error display without the corresponding ID is an image displaying a message such as "the corresponding registered user ID does not exist". The display unit 16 displays an error display without the corresponding ID in response to the instruction in S47.

CPU10は、直接入力表示(図示せず)を出力する指示を、入出力I/F14を介して表示部16に送信する(S48)。直接入力表示は、例えば作業者に操作部17を用いて記入帳票101のユーザID欄130に記載されているユーザIDを入力することを促すための画面である。この処理は、記入帳票101印字されているユーザIDの印字濃度が低い等、読取データからID文字列データが正しく生成されていないときに、ID文字列データを取得するために行われる。表示部16は、S48の指示に応じて直接入力表示を表示する。 The CPU 10 transmits an instruction to directly output an input display (not shown) to the display unit 16 via the input / output I / F 14 (S48). The direct input display is a screen for urging the operator to input the user ID described in the user ID field 130 of the entry form 101 by using the operation unit 17, for example. This process is performed to acquire the ID character string data when the ID character string data is not correctly generated from the read data, such as when the print density of the user ID printed on the entry form 101 is low. The display unit 16 directly displays the input display in response to the instruction in S48.

CPU10は、操作部17を介して入力されたID文字列データを取得する(S49)。その後、CPU10は、登録ユーザIDにID文字列データの示す文字列と一致する文字列があると判断されるまで(S46:YES)、S43からS47の処理を繰り返す。なお、S43からS47の処理が所定回数以上繰り返された場合に、CPU10は、処理をS29(図6参照)の判断へ移行させてもよい。 The CPU 10 acquires the ID character string data input via the operation unit 17 (S49). After that, the CPU 10 repeats the processes of S43 to S47 until it is determined that the registered user ID has a character string that matches the character string indicated by the ID character string data (S46: YES). When the processes of S43 to S47 are repeated a predetermined number of times or more, the CPU 10 may shift the processes to the determination of S29 (see FIG. 6).

登録ユーザIDにID文字列データの示す文字列と一致する文字列があった場合(S46:YES)、CPU10は、ID文字列データの示す文字列と一致する登録ユーザIDを、読取データに対応するユーザIDとして取得する(S50)。CPU10は、取得したユーザIDを示すデータをRAM12に記憶する。CPU10は、処理を情報識別処理(図6参照)へ戻す。本実施形態の例では、記入帳票101のユーザID欄130に印字されている「AABBCC1234」文字列を示すユーザIDがRAM12に記憶されたとする。 When the registered user ID has a character string that matches the character string indicated by the ID character string data (S46: YES), the CPU 10 corresponds to the read data with the registered user ID that matches the character string indicated by the ID character string data. It is acquired as a user ID to be used (S50). The CPU 10 stores the acquired data indicating the user ID in the RAM 12. The CPU 10 returns the process to the information identification process (see FIG. 6). In the example of this embodiment, it is assumed that the user ID indicating the character string "AABBCC1234" printed in the user ID field 130 of the entry form 101 is stored in the RAM 12.

図9を参照して、事前記入判定処理(S15、図6参照)について説明する。事前記入判定処理では、読取データに事前記入欄140に相当する第一領域が含まれるかが判定される。また、読取データに第一領域が含まれる場合には、第一領域の画像を示す第一領域データを取得し、取得した第一領域データの内容に応じた処理が行われる。図9に示すように、事前記入領域判定処理が開始されると、CPU10は、HDD33に記憶されている設定テーブルのうち、S35(図7参照)の処理で判定した帳票種別の設定テーブルを参照する(S51)。本実施形態の例では、S35の処理によって、RAM12に帳票種別が「医療保険用」である旨が記憶されているので、CPU10はこれに応じて医療保険用設定テーブル70を参照したとする。CPU10は、設定テーブルの事前記入領域欄から第一画素値及び第一閾値を取得する(S52)。ここで取得した第一画素値及び第一閾値を、事前記入領域判定処理における設定画素値及び設定閾値ともいう。 The pre-filled determination process (see S15 and FIG. 6) will be described with reference to FIG. In the pre-filling determination process, it is determined whether the read data includes the first area corresponding to the pre-filling column 140. When the read data includes the first region, the first region data showing the image of the first region is acquired, and processing is performed according to the content of the acquired first region data. As shown in FIG. 9, when the pre-entry area determination process is started, the CPU 10 refers to the form type setting table determined in the process of S35 (see FIG. 7) among the setting tables stored in the HDD 33. (S51). In the example of the present embodiment, since it is stored in the RAM 12 that the form type is "for medical insurance" by the processing of S35, it is assumed that the CPU 10 refers to the medical insurance setting table 70 accordingly. The CPU 10 acquires the first pixel value and the first threshold value from the pre-filled area column of the setting table (S52). The first pixel value and the first threshold value acquired here are also referred to as a set pixel value and a set threshold value in the pre-filled area determination process.

CPU10は、領域判定処理を実行する(S53)。図12を参照して、領域判定処理(S53、図9参照)について説明する。領域判定処理は、事前記入領域判定処理における設定画素値及び設定閾値に基づいて、読取データに設定画素値に対応する色で囲まれた領域が含まれているかを判定する処理である。なお、領域判定処理は、後述する必須記入領域判定処理(図10参照)及び任意記入領域判定処理(図11参照)においても実行される。この場合、必須記入領域判定処理における設定画素値及び設定閾値、又は任意記入領域判定処理における設定画素値及び設定閾値に基づいて、設定画素値に対応する色で囲まれた領域が含まれているかが判定される。 The CPU 10 executes the area determination process (S53). The area determination process (see S53 and FIG. 9) will be described with reference to FIG. The area determination process is a process of determining whether the read data includes an area surrounded by a color corresponding to the set pixel value, based on the set pixel value and the set threshold value in the pre-filled area determination process. The area determination process is also executed in the required entry area determination process (see FIG. 10) and the optional entry area determination process (see FIG. 11), which will be described later. In this case, is the area surrounded by the color corresponding to the set pixel value included based on the set pixel value and the set threshold value in the required entry area determination process or the set pixel value and the set threshold value in the optional entry area determination process? Is determined.

図12に示すように、領域判定処理が開始されると、CPU10は、検索領域範囲を設定する(S111)。検索領域範囲は、前述したように、設定画素値に対応する画素値を有する画素の座標位置を、読取データにおいて検索する領域の範囲である。具体的には、CPU10は、HDD33に記憶されている設定テーブルのうち、S35(図7参照)の処理で判定した帳票種別の設定テーブルを参照し、設定画素値に対応する座標位置及び領域範囲を取得する。本実施形態の例では、医療保険用設定テーブル70が参照され、医療保険用設定テーブル70の事前記入領域欄において設定画素値である第一画素値に対応付けられている座標位置(x2,y2)、及び座標位置を原点とした領域範囲「100×200」が取得されたとする。CPU10は、取得された座標位置に基づく領域範囲を検索領域範囲に設定する。 As shown in FIG. 12, when the area determination process is started, the CPU 10 sets the search area range (S111). As described above, the search area range is the range of the area for searching the coordinate positions of the pixels having the pixel values corresponding to the set pixel values in the read data. Specifically, the CPU 10 refers to the form type setting table determined in the process of S35 (see FIG. 7) among the setting tables stored in the HDD 33, and refers to the coordinate position and the area range corresponding to the set pixel values. To get. In the example of the present embodiment, the medical insurance setting table 70 is referred to, and the coordinate positions (x2, y2) associated with the first pixel value, which is the set pixel value, in the pre-filled area column of the medical insurance setting table 70. ), And the area range "100 x 200" with the coordinate position as the origin is acquired. The CPU 10 sets the area range based on the acquired coordinate position in the search area range.

CPU10は、読取データのうち検索領域範囲にある座標位置を示す画素のそれぞれについて、設定画素値に対応する画素値を有するかを判定する。設定画素値に対応する画素値とは、設定画素値に対して設定閾値の範囲内の画素値である。ここでは、0≦R≦5,250≦G≦255,0≦B≦5の各範囲内にある画素値が、設定画素値に対応する。本実施形態では、読取データのうち検索領域範囲にある座標位置を示す画素のそれぞれについて、第一画素値に対して第一閾値の範囲内の画素値を有するかが繰り返し判定される。そして、CPU10は、設定画素値に対応する画素値を有すると判定された画素について、各画素の座標位置を取得する(S112)。CPU10は、取得された座標位置をRAM12に記憶する。 The CPU 10 determines whether or not each of the pixels indicating the coordinate position in the search area range of the read data has a pixel value corresponding to the set pixel value. The pixel value corresponding to the set pixel value is a pixel value within the range of the set threshold value with respect to the set pixel value. Here, the pixel value within each range of 0 ≦ R ≦ 5, 250 ≦ G ≦ 255, 0 ≦ B ≦ 5 corresponds to the set pixel value. In the present embodiment, it is repeatedly determined whether or not each of the pixels indicating the coordinate position in the search area range of the read data has a pixel value within the range of the first threshold value with respect to the first pixel value. Then, the CPU 10 acquires the coordinate position of each pixel for the pixel determined to have the pixel value corresponding to the set pixel value (S112). The CPU 10 stores the acquired coordinate position in the RAM 12.

CPU10は、S112の処理において取得された複数の座標位置を、最小二乗法等の周知の直線近似法を用いて近似することで、近似直線を算出する(S113)。本実施形態の例では、読取データの検索領域範囲において、記入帳票101に設けられている事前記入欄140を縁取る緑色の第二矩形141の各辺に対応する近似直線が算出される。この処理において、例えば、CPU10は、K平均法を用いて、S112で取得された画素をクラスタにそれぞれ割り当てる。矩形の四辺に対応する近似直線の算出を想定しているので、クラスタ数は「4」に設定される。各クラスタに対して直線近似法を用いて近似することで、第二矩形141の各辺に対応する近似直線が算出される。なお、設定されるクラスタ数は、事前記入領域の数に応じて、適宜調整されてもよい。 The CPU 10 calculates an approximate straight line by approximating a plurality of coordinate positions acquired in the process of S112 using a well-known straight line approximation method such as the least squares method (S113). In the example of the present embodiment, in the search area range of the read data, an approximate straight line corresponding to each side of the green second rectangle 141 that borders the pre-entry field 140 provided in the entry form 101 is calculated. In this process, for example, the CPU 10 allocates the pixels acquired in S112 to the clusters by using the K-means method. Since it is assumed that the approximate straight line corresponding to the four sides of the rectangle is calculated, the number of clusters is set to "4". By approximating each cluster using the linear approximation method, an approximate straight line corresponding to each side of the second rectangle 141 is calculated. The number of clusters to be set may be appropriately adjusted according to the number of pre-filled areas.

CPU10は、HDD33に記憶されている登録帳票DBから、帳票種別及びユーザIDに応じた登録帳票画像データを取得する(S115)。具体的には、CPU10は、HDD33に記憶されている登録帳票DBのうち、S35(図7参照)の処理で判定した帳票種別の登録帳票DBを参照し、参照した種別の登録帳票DBから、S50(図8参照)の処理で取得したユーザIDに対応する登録帳票画像データを取得する。本実施形態の例では、S35の処理によって、RAM12に「医療保険用」の帳票種別が記憶されており、S50の処理によって、RAM12に「AABBCC1234」の文字列を示すユーザIDが記憶されている。従って、登録帳票DBのうち図4に示す医療保険用登録帳票DB60が参照され、ユーザID「AABBCC1234」に対応付けられている登録帳票画像データ「AABBCC1234_0.jpg」が取得されたとする。 The CPU 10 acquires the registered form image data according to the form type and the user ID from the registered form DB stored in the HDD 33 (S115). Specifically, the CPU 10 refers to the registration form DB of the form type determined in the process of S35 (see FIG. 7) among the registration form DB stored in the HDD 33, and from the registration form DB of the referenced type, The registration form image data corresponding to the user ID acquired in the process of S50 (see FIG. 8) is acquired. In the example of this embodiment, the form type of "for medical insurance" is stored in the RAM 12 by the processing of S35, and the user ID indicating the character string of "AABBCC1234" is stored in the RAM 12 by the processing of S50. .. Therefore, it is assumed that the medical insurance registration form DB 60 shown in FIG. 4 is referred to in the registration form DB, and the registration form image data “AABBCC1234_0.jpg” associated with the user ID “AABBCC1234” is acquired.

CPU10は、S113の処理において算出された近似直線のなす形状と、S115の処理で取得された登録帳票画像データにおいて、設定画素値に対応する画素値を有する画素によって構成される矩形の形状とを比較する(S116)。事前記入領域判定処理(図9参照)において領域判定処理が実行される場合、設定画素値は設定テーブルの事前記入領域に定義されている第一画素値である。本実施形態において、医療保険用設定テーブル70の事前記入領域に定義されている第一画素値は、記入帳票101に設けられている第二矩形141が示す色に対応する緑色を示す画素値である。CPU10は、登録帳票画像データに含まれている、設定画素値である第一画素値の画素の集合によって示される図形の形状を特定する。第一画素値の画素の集合によって示される図形の形状の特定において、CPU10は、登録帳票画像データに、S111の処理と同様に所定の検索領域を設定する。CPU10は、S112の処理と同様に、検索領域における設定画素値に対応する画素値を有すると判定された画素について、各画素の座標位置を取得する。そして、CPU10は、S113の処理と同様に、取得された複数の座標位置に基づいて、近似直線を算出する。この場合、登録帳票画像データに含まれている第二矩形141の形状が特定される。そして、CPU10は、特定された第二矩形141の形状と、読取データに基づく近似直線のなす形状とを比較する。 The CPU 10 has a shape formed by an approximate straight line calculated in the process of S113 and a rectangular shape composed of pixels having a pixel value corresponding to a set pixel value in the registered form image data acquired in the process of S115. Compare (S116). When the area determination process is executed in the pre-filled area determination process (see FIG. 9), the set pixel value is the first pixel value defined in the pre-filled area of the setting table. In the present embodiment, the first pixel value defined in the pre-entry area of the medical insurance setting table 70 is a pixel value indicating green corresponding to the color indicated by the second rectangle 141 provided on the entry form 101. is there. The CPU 10 specifies the shape of the figure indicated by the set of pixels of the first pixel value, which is the set pixel value, included in the registered form image data. In specifying the shape of the figure indicated by the set of pixels of the first pixel value, the CPU 10 sets a predetermined search area in the registered form image data as in the process of S111. Similar to the process of S112, the CPU 10 acquires the coordinate position of each pixel for the pixel determined to have the pixel value corresponding to the set pixel value in the search area. Then, the CPU 10 calculates an approximate straight line based on the acquired plurality of coordinate positions, as in the process of S113. In this case, the shape of the second rectangle 141 included in the registered form image data is specified. Then, the CPU 10 compares the shape of the specified second rectangle 141 with the shape formed by the approximate straight line based on the read data.

CPU10は、特定された第二矩形141の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内であるか否かを判断する(S117)。特定された第二矩形141の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内でない場合(S117:NO)、CPU10は、処理を事前記入領域判定処理(図9参照)に戻す。一方、特定された第二矩形141の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内である場合(S117:YES)、CPU10は、読取データに基づく近似直線のなす形状で囲まれている領域を設定画素値に対応する領域と特定する(S118)。この場合、設定画素値を第一画素値として特定された領域を、以下、第一領域とする。CPU10は、第一領域の読取データにおける位置及び大きさを示す座標値等の情報をRAM12に記憶する。CPU10は、処理を事前記入領域判定処理(図9参照)に戻す。なお、領域判定処理が必須記入領域判定処理又は任意記入領域判定処理において実行されていた場合には、CPU10は、処理を必須記入領域判定処理又は任意記入領域判定処理に戻す。 The CPU 10 determines whether or not the shape of the specified second rectangle 141 and the shape formed by the approximate straight line based on the read data are within a predetermined same range (S117). When the shape of the specified second rectangle 141 and the shape formed by the approximate straight line based on the read data are not within the same predetermined range (S117: NO), the CPU 10 performs the processing in the pre-entry area determination processing (see FIG. 9). Return to. On the other hand, when the shape of the specified second rectangle 141 and the shape formed by the approximate straight line based on the read data are within a predetermined same range (S117: YES), the CPU 10 determines the shape formed by the approximate straight line based on the read data. The area surrounded by is specified as the area corresponding to the set pixel value (S118). In this case, the area specified with the set pixel value as the first pixel value is hereinafter referred to as the first area. The CPU 10 stores information such as coordinate values indicating a position and a size in the read data of the first region in the RAM 12. The CPU 10 returns the process to the pre-filled area determination process (see FIG. 9). If the area determination process is executed in the required entry area determination process or the optional entry area determination process, the CPU 10 returns the process to the required entry area determination process or the optional entry area determination process.

図9の説明に戻る。CPU10は、領域判定処理において第一画素値に対応する第一領域が特定されているかを判断する(S54)。この処理において、CPU10は、第一領域の読取データにおける位置及び大きさを示す座標値等の情報がRAM12に記憶されている場合に、領域判定処理において第一領域が特定されていると判断する。領域判定処理において第一領域が特定されていない場合(S54:NO)、CPU10は処理を情報識別処理(図6参照)へ戻す。なお、この処理は、帳票に事前記入欄140が設けられず、第一領域が特定されないことがあることを考慮したものである。 Returning to the description of FIG. The CPU 10 determines whether or not the first region corresponding to the first pixel value is specified in the area determination process (S54). In this process, the CPU 10 determines that the first area is specified in the area determination process when the RAM 12 stores information such as coordinate values indicating the position and size in the read data of the first area. .. When the first area is not specified in the area determination process (S54: NO), the CPU 10 returns the process to the information identification process (see FIG. 6). It should be noted that this process takes into consideration that the pre-entry field 140 may not be provided in the form and the first area may not be specified.

領域判定処理において第一領域が特定されている場合(S54:YES)、CPU10は、第一領域の画像を示す第一領域データを、RAM12に記憶されている第一領域の座標値等の情報に基づいて読取データから取得する(S55)。第一領域データは、記入帳票101における事前記入欄140の画像に対応する。 When the first area is specified in the area determination process (S54: YES), the CPU 10 stores the first area data indicating the image of the first area as information such as the coordinate values of the first area stored in the RAM 12. Is acquired from the read data based on (S55). The first area data corresponds to the image of the pre-entry field 140 in the entry form 101.

CPU10は、登録帳票画像データにおいて、設定画素値である第一画素値の画素の集合によって示される図形で囲まれている領域の位置及び大きさを特定する(S56)。この場合、CPU10は、第一画素値に対応する第二矩形141によって囲まれる領域の登録帳票画像データにおける位置及び大きさを示す座標値等の情報をRAM12に記憶する。CPU10は、第二矩形141によって囲まれる領域の画像を示す登録第一領域データを、RAM12に記憶されている座標値等の情報に基づいて登録帳票画像データから取得する(S58)。登録第一領域データは、未記入帳票100における事前記入欄140の画像に対応する。 The CPU 10 specifies the position and size of the area surrounded by the figure indicated by the set of pixels of the first pixel value, which is the set pixel value, in the registered form image data (S56). In this case, the CPU 10 stores information such as coordinate values indicating the position and size in the registered form image data of the area surrounded by the second rectangle 141 corresponding to the first pixel value in the RAM 12. The CPU 10 acquires the registered first area data indicating the image of the area surrounded by the second rectangle 141 from the registered form image data based on the information such as the coordinate values stored in the RAM 12 (S58). The registration first area data corresponds to the image of the pre-filled field 140 in the blank form 100.

CPU10は、第一領域データと登録第一領域データとを比較する(S59)。この比較において、CPU10は、例えば、第一領域データを構成する各画素について色の要素(階調、色相)を分析する。そして、CPU10は、各画素について分析した結果である、第一領域データの色の要素を横軸とするヒストグラムを取得する。また、CPU10は、登録第一領域データについても、登録第一領域データの色の要素を横軸とするヒストグラムを取得する。CPU10は、取得した各ヒストグラムを比較する。第一領域データのヒストグラムは、未記入帳票100の事前記入欄140に印刷及び印字されている内容に対応する。登録第一領域データのヒストグラムは、記入帳票101の事前記入欄140印刷及び印字されている内容に加え、ユーザによって手書き文字等が記入されている場合には、記入されている手書き文字等の内容が加味された内容に対応する。 The CPU 10 compares the first area data with the registered first area data (S59). In this comparison, the CPU 10 analyzes, for example, color elements (gradation, hue) for each pixel constituting the first region data. Then, the CPU 10 acquires a histogram whose horizontal axis is the color element of the first region data, which is the result of analysis for each pixel. Further, the CPU 10 also acquires a histogram with the color element of the registered first area data as the horizontal axis for the registered first area data. The CPU 10 compares each of the acquired histograms. The histogram of the first area data corresponds to the contents printed and printed in the pre-filled field 140 of the blank form 100. In the histogram of the registration first area data, in addition to the contents printed and printed in the pre-entry field 140 of the entry form 101, the contents of the handwritten characters etc. entered when the handwritten characters etc. are entered by the user. Corresponds to the content in which is added.

CPU10は、第一領域データと登録第一領域データとに差分があるかを判断する(S61)。この判断は、例えば、第一領域データのヒストグラムと登録第一領域データのヒストグラムとを対比した結果、各ヒストグラム間に差分があるかによって判断される。即ち、S61の処理によって、未記入帳票100の事前記入欄140に対して、記入帳票101の事前記入欄140においてユーザによって手書き文字等が記入されたかが判断される。本実施形態の例では、図2に示す未記入帳票100の事前記入欄140には、予め管理者によって医療保険用登録帳票DB60におけるユーザID「AABBCC1234」に関連付けられて登録されている内容に応じて印字された内容が示されている。図3に示す記入帳票101の事前記入欄140には、事前記入欄140に予め印字されている内容に加えて、住所変更内容が手書きで記入され、ユーザの申込印が押印されている。この場合、第一領域データのヒストグラムと登録第一領域データのヒストグラムとの間には差分が生ずる。 The CPU 10 determines whether there is a difference between the first area data and the registered first area data (S61). This judgment is made based on, for example, whether or not there is a difference between the histograms as a result of comparing the histogram of the first region data with the histogram of the registered first region data. That is, by the process of S61, it is determined whether or not the handwritten characters or the like have been entered by the user in the pre-entry field 140 of the entry form 101 with respect to the pre-entry field 140 of the unfilled form 100. In the example of the present embodiment, the pre-filled field 140 of the unfilled form 100 shown in FIG. 2 corresponds to the content registered in advance by the administrator in association with the user ID "AABBCC1234" in the medical insurance registration form DB60. The printed content is shown. In the pre-filled field 140 of the entry form 101 shown in FIG. 3, in addition to the content pre-printed in the pre-filled field 140, the address change content is handwritten and the user's application stamp is stamped. In this case, a difference occurs between the histogram of the first region data and the histogram of the registered first region data.

第一領域データと登録第一領域データとに差分がある場合(S61:YES)、CPU10は、第一領域データを、後述するS21(図6参照)の処理における文字認識処理の実行対象とすることを決定する(S62)。CPU10は、第一領域データを文字認識処理の実行対象とする旨をRAM12に記憶する。CPU10は、処理を情報識別処理(図6参照)に戻す。 When there is a difference between the first area data and the registered first area data (S61: YES), the CPU 10 sets the first area data as the execution target of the character recognition process in the process of S21 (see FIG. 6) described later. It is decided (S62). The CPU 10 stores in the RAM 12 that the first area data is to be executed for the character recognition process. The CPU 10 returns the process to the information identification process (see FIG. 6).

一方、第一領域データと登録第一領域データとに差分がない場合(S61:NO)、CPU10は、第一領域を輝度変更表示対象に決定する(S63)。CPU10は、第一領域データの全体が示す輝度値の平均値を第一領域データから取得する。CPU10は、取得した輝度値の平均値を、第一領域を輝度変更表示対象に決定した旨に関連付けてRAM12に記憶する。CPU10は、処理を情報識別処理(図6参照)に戻す。 On the other hand, when there is no difference between the first region data and the registered first region data (S61: NO), the CPU 10 determines the first region as the brightness change display target (S63). The CPU 10 acquires the average value of the brightness values indicated by the entire first region data from the first region data. The CPU 10 stores the average value of the acquired luminance values in the RAM 12 in association with the fact that the first region is determined as the luminance change display target. The CPU 10 returns the process to the information identification process (see FIG. 6).

図10を参照して、必須記入判定処理(S16、図6参照)について説明する。必須記入判定処理では、読取データに日付記入欄120に相当する第二領域が含まれるかが判定される。また、読取データに第二領域が含まれる場合には、第二領域の画像を示す第二領域データを取得し、取得した第二領域データの内容に応じた処理が行われる。図10に示すように、必須記入領域判定処理が開始されると、CPU10は、HDD33に記憶されている設定テーブルのうち、S35(図7参照)の処理で判定した帳票種別の設定テーブルを参照する(S71)。CPU10は、設定テーブルの必須記入領域欄から第二画素値及び第二閾値を取得する(S72)。本実施形態の例では、医療保険用設定テーブル70の参照に応じて、赤色を示す第二画素値及び第二閾値が取得されたとする。ここで取得した第二画素値及び第二閾値を、必須記入領域判定処理における設定画素値及び設定閾値ともいう。 The required entry determination process (see S16 and FIG. 6) will be described with reference to FIG. In the mandatory entry determination process, it is determined whether the read data includes the second area corresponding to the date entry field 120. When the read data includes a second region, the second region data indicating the image of the second region is acquired, and processing is performed according to the content of the acquired second region data. As shown in FIG. 10, when the required entry area determination process is started, the CPU 10 refers to the form type setting table determined in the process of S35 (see FIG. 7) among the setting tables stored in the HDD 33. (S71). The CPU 10 acquires the second pixel value and the second threshold value from the required entry area column of the setting table (S72). In the example of this embodiment, it is assumed that the second pixel value and the second threshold value indicating red are acquired according to the reference of the medical insurance setting table 70. The second pixel value and the second threshold value acquired here are also referred to as a set pixel value and a set threshold value in the required entry area determination process.

CPU10は、必須記入領域判定処理における設定画素値及び設定閾値に基づいて、前述の領域判定処理(図12参照)を実行する(S73)。領域判定処理では、第二画素値に対応する画素値を有する画素の座標位置を、読取データにおいて検索する検索領域範囲が、設定テーブルに基づいて設定される(S111)。そして、検索領域範囲にある第二画素値に対応する画素値を有する画素の座標位置が取得される(S112)。取得された座標位置から近似直線が算出される(S113)。登録帳票DBから、帳票種別及びユーザIDに応じた登録帳票画像データが取得される(S115)。近似直線のなす形状と、登録帳票画像データにおいて第二画素値に対応する画素値を有する画素によって構成される矩形の形状とが比較される(S116)。登録帳票画像データにおいて第二画素値に対応する画素値を有する画素によって構成される矩形は、帳票に設けられている第一矩形121の形状に対応する。登録帳票画像データにおける第二矩形141の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内であるか否かが判断される(S117)。登録帳票画像データにおける第二矩形141の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内である場合には(S117:YES)、近似直線のなす形状で囲まれている領域が第二画素値に対応する第二領域と特定される(S118)。 The CPU 10 executes the above-mentioned area determination process (see FIG. 12) based on the set pixel value and the set threshold value in the required entry area determination process (S73). In the area determination process, a search area range for searching the coordinate position of the pixel having the pixel value corresponding to the second pixel value in the read data is set based on the setting table (S111). Then, the coordinate positions of the pixels having the pixel values corresponding to the second pixel values in the search area range are acquired (S112). An approximate straight line is calculated from the acquired coordinate positions (S113). From the registration form DB, the registration form image data corresponding to the form type and the user ID is acquired (S115). The shape formed by the approximate straight line is compared with the rectangular shape formed by the pixels having the pixel values corresponding to the second pixel values in the registered form image data (S116). The rectangle formed by the pixels having the pixel value corresponding to the second pixel value in the registered form image data corresponds to the shape of the first rectangle 121 provided on the form. It is determined whether or not the shape of the second rectangle 141 in the registered form image data and the shape formed by the approximate straight line based on the read data are within a predetermined same range (S117). When the shape of the second rectangle 141 in the registered form image data and the shape formed by the approximate straight line based on the read data are within the same predetermined range (S117: YES), the shape is surrounded by the shape formed by the approximate straight line. The region is specified as the second region corresponding to the second pixel value (S118).

CPU10は、領域判定処理において第二領域が特定されているかを判断する(S74)。CPU10は、第二領域の読取データにおける位置及び大きさを示す座標値等の情報がRAM12に記憶されている場合に、第二領域が特定されていると判断する。 The CPU 10 determines whether or not the second area is specified in the area determination process (S74). The CPU 10 determines that the second area is specified when the RAM 12 stores information such as coordinate values indicating the position and size in the read data of the second area.

領域判定処理において第二画素値に対応する領域が特定されていない場合(S74:NO)、CPU10は、記入帳票読取エラー表示82(図14参照)を出力する指示を、入出力I/F14を介して表示部16に送信する(S84)。日付記入欄120は帳票において必須記入欄であることから、帳票に必ず存在することが想定される。しかし、読取データが適切に取得できていないことによって、領域判定処理において日付記入欄120に対応する第二領域が特定されていない場合がある。記入帳票読取エラー表示82は、記入帳票101を読取部26において再度読み取らせ、読取データを新たに取得することを作業者に促すために表示される画像である。本実施形態の例では、記入帳票読取エラー表示82は、「帳票をもう一度スキャンしてください」のメッセージを表示することで、作業者に記入帳票101の読取作業を促す。記入帳票読取エラー表示82を示す画像データは、HDD33に記憶されている。表示部16は、S74の処理による指示に応じて該当種別なしエラー表示81を表示する。 When the area corresponding to the second pixel value is not specified in the area determination process (S74: NO), the CPU 10 gives an input / output I / F 14 an instruction to output an entry form reading error display 82 (see FIG. 14). It is transmitted to the display unit 16 via (S84). Since the date entry field 120 is a required entry field in the form, it is assumed that the date entry field 120 always exists in the form. However, there are cases where the second area corresponding to the date entry field 120 is not specified in the area determination process because the read data is not properly acquired. The entry form reading error display 82 is an image displayed to encourage the operator to read the entry form 101 again by the reading unit 26 and acquire new reading data. In the example of the present embodiment, the entry form reading error display 82 prompts the operator to read the entry form 101 by displaying the message "Please scan the form again". The image data showing the entry form reading error display 82 is stored in the HDD 33. The display unit 16 displays the corresponding typeless error display 81 in response to the instruction by the process of S74.

CPU10は、操作部17を介して、記入帳票101を読取部26において読み取らせるための指示が入力されたかを判断する(S85)。記入帳票101を読取部26において読み取らせるための指示が入力された場合(S85:YES)、CPU10は、処理をS11(図6参照)へ戻す。記入帳票101を読取部26において読み取らせるための指示が入力されない場合(S85:NO)、CPU10は、処理をS29(図6参照)の判断へ移行する。 The CPU 10 determines whether or not an instruction for causing the reading unit 26 to read the entry form 101 has been input via the operation unit 17 (S85). When an instruction for causing the reading unit 26 to read the entry form 101 is input (S85: YES), the CPU 10 returns the process to S11 (see FIG. 6). When the instruction for reading the entry form 101 is not input by the reading unit 26 (S85: NO), the CPU 10 shifts the process to the determination in S29 (see FIG. 6).

領域判定処理において第二画素値に対応する領域が特定されている場合(S74:YES)、CPU10は、第二領域の画像を示す第二領域データを、RAM12に記憶されている第二領域の座標値等の情報に基づいて読取データから取得する(S75)。第二領域データは、記入帳票101における日付記入欄120の画像に対応する。 When the area corresponding to the second pixel value is specified in the area determination process (S74: YES), the CPU 10 stores the second area data indicating the image of the second area in the RAM 12 of the second area. Obtained from the read data based on information such as coordinate values (S75). The second area data corresponds to the image of the date entry field 120 in the entry form 101.

CPU10は、登録帳票画像データにおいて、設定画素値である第二画素値の画素の集合によって示される図形で囲まれている領域の位置及び大きさを特定する(S76)。この場合、CPU10は、登録帳票画像データにおいて、第一矩形121によって囲まれる領域の登録帳票画像データにおける位置及び大きさを示す座標値等の情報をRAM12に記憶する。CPU10は、第一矩形121によって囲まれる領域の画像を示す登録第二領域データを、RAM12に記憶されている座標値等の情報に基づいて登録帳票画像データから取得する(S78)。登録第一領域データは、未記入帳票100における日付記入欄120の画像に対応する。 The CPU 10 specifies the position and size of a region surrounded by a figure indicated by a set of pixels having a second pixel value, which is a set pixel value, in the registered form image data (S76). In this case, the CPU 10 stores in the RAM 12 information such as coordinate values indicating the position and size of the registered form image data in the area surrounded by the first rectangle 121 in the registered form image data. The CPU 10 acquires the registered second area data indicating the image of the area surrounded by the first rectangle 121 from the registered form image data based on the information such as the coordinate values stored in the RAM 12 (S78). The registration first area data corresponds to the image of the date entry field 120 in the blank form 100.

CPU10は、第二領域データと登録第二領域データとを比較する(S79)。この処理において、CPU10は、例えば、第二領域データ及び登録第二領域データの色の要素に関するヒストグラムをそれぞれ取得する。CPU10は、各ヒストグラムを比較する。 The CPU 10 compares the second area data with the registered second area data (S79). In this process, the CPU 10 acquires, for example, histograms relating to the color elements of the second region data and the registered second region data, respectively. The CPU 10 compares each histogram.

CPU10は、第一領域データと登録第一領域データとに差分があるかを判断する(S81)。この判断は、例えば、各ヒストグラム間に差分があるかによって判断される。即ち、S81の処理によって、未記入帳票100の日付記入欄120に対して、記入帳票101の日付記入欄120においてユーザによって手書き文字等が記入されたかが判断される。本実施形態の例では、図2に示す未記入帳票100の日付記入欄120は空欄であるが、図3に示す記入帳票101の日付記入欄120には「2015」「8」「2」の数字に基づく日付が、手書きで記入されている。この場合、第二領域データのヒストグラムと登録第二領域データのヒストグラムとの間には差分が生ずる。 The CPU 10 determines whether there is a difference between the first area data and the registered first area data (S81). This determination is made, for example, by whether there is a difference between the histograms. That is, by the process of S81, it is determined whether or not the user has entered the handwritten characters or the like in the date entry field 120 of the entry form 101 with respect to the date entry field 120 of the unfilled form 100. In the example of this embodiment, the date entry field 120 of the blank form 100 shown in FIG. 2 is blank, but the date entry field 120 of the entry form 101 shown in FIG. 3 is filled with "2015", "8", and "2". The date based on the numbers is written by hand. In this case, a difference occurs between the histogram of the second region data and the histogram of the registered second region data.

第二領域データと登録第二領域データとに差分がある場合(S81:YES)、CPU10は、第二領域データを、後述するS21(図6参照)の処理における文字認識処理の実行対象とすることを決定する(S82)。CPU10は、第二領域データを文字認識処理の実行対象とする旨をRAM12に記憶する。CPU10は、処理を情報識別処理(図6参照)に戻す。 When there is a difference between the second area data and the registered second area data (S81: YES), the CPU 10 sets the second area data as the execution target of the character recognition process in the process of S21 (see FIG. 6) described later. It is decided (S82). The CPU 10 stores in the RAM 12 that the second area data is to be executed for the character recognition process. The CPU 10 returns the process to the information identification process (see FIG. 6).

一方、第二領域データと登録第二領域データとに差分がない場合(S81:NO)、CPU10は、必須記入欄未記入エラー表示83(図16参照)を出力する指示を、RAM12に記憶する(S83)。必須記入欄未記入エラー表示83は、後述する読取結果表示において、第二領域データと登録第二領域データとに差分がなかったこと、即ち、日付記入欄120に必要な記入がされていないことを、第二領域に関連付けて作業者に示すために表示される画像である。CPU10は、処理を情報識別処理(図6参照)に戻す。 On the other hand, when there is no difference between the second area data and the registered second area data (S81: NO), the CPU 10 stores in the RAM 12 an instruction to output an error display 83 (see FIG. 16) in which the required entry field is not entered. (S83). In the required entry field blank error display 83, there is no difference between the second area data and the registered second area data in the reading result display described later, that is, the necessary entry is not made in the date entry field 120. Is an image displayed to show the operator in association with the second area. The CPU 10 returns the process to the information identification process (see FIG. 6).

図11を参照して、任意記入判定処理(S18、図6参照)について説明する。任意記入判定処理では、読取データに任意記入欄に相当する領域が含まれるかが判定される。また、読取データに任意記入欄に相当する領域が含まれる場合には、任意記入欄に相当する領域の画像を示す対応領域データを取得し、取得した対応領域データの内容に応じた処理が行われる。図11に示すように、任意記入領域判定処理が開始されると、CPU10は、HDD33に記憶されている設定テーブルのうち、S35(図7参照)の処理で判定した帳票種別の設定テーブルを参照する(S91)。CPU10は、設定テーブルの任意記入欄に対応する第一任意領域欄及び第二任意領域欄のうち、上位の欄に設定されている第一任意領域欄から、設定画素値及び設定閾値として第三画素値及び第三閾値を取得する(S92)。本実施形態の例では、医療保険用設定テーブル70の参照に応じて、青色を示す第三画素値及び第三閾値が取得されたとする。 The optional entry determination process (see S18 and FIG. 6) will be described with reference to FIG. In the optional entry determination process, it is determined whether the read data includes an area corresponding to the optional entry column. If the read data includes an area corresponding to the optional entry field, the corresponding area data showing the image of the area corresponding to the optional entry field is acquired, and processing is performed according to the content of the acquired corresponding area data. Will be. As shown in FIG. 11, when the arbitrary entry area determination process is started, the CPU 10 refers to the form type setting table determined in the process of S35 (see FIG. 7) among the setting tables stored in the HDD 33. (S91). The CPU 10 sets a third as a set pixel value and a setting threshold value from the first optional area column set in the upper column of the first optional area column and the second optional area column corresponding to the optional entry column of the setting table. The pixel value and the third threshold value are acquired (S92). In the example of this embodiment, it is assumed that the third pixel value and the third threshold value indicating blue are acquired according to the reference of the medical insurance setting table 70.

CPU10は、設定画素値及び設定閾値に基づいて、前述の領域判定処理(図12参照)を実行する(S93)。領域判定処理では、第三画素値に対応する画素値を有する画素の座標位置を、読取データにおいて検索する検索領域範囲が、設定テーブルに基づいて設定される(S111)。そして、検索領域範囲にある第三画素値に対応する画素値を有する画素の座標位置が取得される(S112)。取得された座標位置から近似直線が算出される(S113)。登録帳票DBから、帳票種別及びユーザIDに応じた登録帳票画像データが取得される(S115)。近似直線のなす形状と、登録帳票画像データにおいて第三画素値に対応する画素値を有する画素によって構成される矩形の形状とが比較される(S116)。登録帳票画像データにおいて第三画素値に対応する画素値を有する画素によって構成される矩形は、帳票に設けられている第三矩形151の形状に対応する。登録帳票画像データにおける第三矩形151の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内であるか否かが判断される(S117)。登録帳票画像データにおける第三矩形151の形状と、読取データに基づく近似直線のなす形状とが所定の同一範囲内である場合には(S117:YES)、近似直線のなす形状で囲まれている領域が第三画素値に対応する第三領域と特定される(S118)。 The CPU 10 executes the above-mentioned area determination process (see FIG. 12) based on the set pixel value and the set threshold value (S93). In the area determination process, a search area range for searching the coordinate position of the pixel having the pixel value corresponding to the third pixel value in the read data is set based on the setting table (S111). Then, the coordinate positions of the pixels having the pixel values corresponding to the third pixel values in the search area range are acquired (S112). An approximate straight line is calculated from the acquired coordinate positions (S113). From the registration form DB, the registration form image data corresponding to the form type and the user ID is acquired (S115). The shape formed by the approximate straight line is compared with the rectangular shape formed by the pixels having the pixel value corresponding to the third pixel value in the registered form image data (S116). The rectangle formed by the pixels having the pixel value corresponding to the third pixel value in the registered form image data corresponds to the shape of the third rectangle 151 provided in the form. It is determined whether or not the shape of the third rectangle 151 in the registered form image data and the shape formed by the approximate straight line based on the read data are within a predetermined same range (S117). When the shape of the third rectangle 151 in the registered form image data and the shape formed by the approximate straight line based on the read data are within the same predetermined range (S117: YES), the shape is surrounded by the shape formed by the approximate straight line. The region is specified as the third region corresponding to the third pixel value (S118).

CPU10は、領域判定処理において第三領域が特定されているかを判断する(S94)。CPU10は、第三領域の読取データにおける位置及び大きさを示す座標値等の情報がRAM12に記憶されている場合に、第三領域が特定されていると判断する。領域判定処理において第三画素値に対応する領域が特定されていない場合(S94:NO)、CPU10は処理を情報識別処理(図6参照)へ戻す。なお、この処理は、帳票に任意記入が設けられず、第三領域が特定されないことがあることを考慮したものである。 The CPU 10 determines whether or not the third area is specified in the area determination process (S94). The CPU 10 determines that the third area is specified when the RAM 12 stores information such as coordinate values indicating the position and size in the read data of the third area. When the area corresponding to the third pixel value is not specified in the area determination process (S94: NO), the CPU 10 returns the process to the information identification process (see FIG. 6). It should be noted that this process takes into consideration that the form may not be filled in arbitrarily and the third area may not be specified.

領域判定処理において第三画素値に対応する領域が特定されている場合(S94:YES)、CPU10は、第三領域の画像を示す第三領域データを、RAM12に記憶されている第三領域の座標値等の情報に基づいて読取データから取得する(S95)。第三領域データは、記入帳票101における第一任意記入欄150の画像に対応する。 When the area corresponding to the third pixel value is specified in the area determination process (S94: YES), the CPU 10 stores the third area data indicating the image of the third area in the RAM 12 of the third area. Obtained from the read data based on information such as coordinate values (S95). The third area data corresponds to the image of the first optional entry field 150 in the entry form 101.

CPU10は、第三画素値に基づいて、登録帳票画像データにおいて、設定画素値である第三画素値の画素の集合によって示される図形で囲まれている領域の位置及び大きさを特定する(S96)。この場合、CPU10は、第三画素値に対応する第三矩形151によって囲まれる領域の登録帳票画像データにおける位置及び大きさを示す座標値等の情報をRAM12に記憶する。CPU10は、第三矩形151によって囲まれる領域の画像を示す登録第三領域データを、RAM12に記憶されている座標値等の情報に基づいて登録帳票画像データから取得する(S98)。登録第三領域データは、未記入帳票100における第一任意記入欄150の画像に対応する。 Based on the third pixel value, the CPU 10 specifies the position and size of the area surrounded by the figure indicated by the set of pixels of the third pixel value, which is the set pixel value, in the registered form image data (S96). ). In this case, the CPU 10 stores information such as coordinate values indicating the position and size in the registered form image data of the area surrounded by the third rectangle 151 corresponding to the third pixel value in the RAM 12. The CPU 10 acquires the registered third area data indicating the image of the area surrounded by the third rectangle 151 from the registered form image data based on the information such as the coordinate values stored in the RAM 12 (S98). The registered third area data corresponds to the image of the first optional entry field 150 in the blank form 100.

CPU10は、第三領域データと登録第三領域データとを比較する(S99)。この処理において、CPU10は、例えば、第三領域データ及び登録第三領域データの色の要素に関するヒストグラムをそれぞれ取得する。CPU10は、各ヒストグラムを比較する。 The CPU 10 compares the third area data with the registered third area data (S99). In this process, the CPU 10 acquires, for example, histograms of color elements of the third region data and the registered third region data, respectively. The CPU 10 compares each histogram.

CPU10は、第三領域データと登録第三領域データとに差分があるかを判断する(S101)。この判断は、例えば、各ヒストグラム間に差分があるかによって判断される。即ち、S101の処理によって、未記入帳票100の第一任意記入欄150に対して、記入帳票101の第一任意記入欄150においてユーザによって手書き文字等が記入されたかが判断される。本実施形態の例では、図2に示す未記入帳票100の第一任意記入欄150は空欄であるが、図3に示す記入帳票101の第一任意記入欄150には、ユーザの配偶者についての氏名等を示す文字列が、手書きで記入されている。この場合、第三領域データのヒストグラムと登録第三領域データのヒストグラムとの間には差分が生ずる。 The CPU 10 determines whether there is a difference between the third area data and the registered third area data (S101). This determination is made, for example, by whether there is a difference between the histograms. That is, by the process of S101, it is determined whether or not the user has entered the handwritten characters or the like in the first optional entry field 150 of the entry form 101 with respect to the first optional entry field 150 of the unfilled form 100. In the example of this embodiment, the first optional entry field 150 of the blank form 100 shown in FIG. 2 is blank, but the first optional entry field 150 of the entry form 101 shown in FIG. 3 contains the spouse of the user. The character string indicating the name, etc. of is written by hand. In this case, a difference occurs between the histogram of the third region data and the histogram of the registered third region data.

第三領域データと登録第三領域データとに差分がある場合(S101:YES)、CPU10は、第三領域データを、後述するS21(図6参照)の処理における文字認識処理の実行対象とすることを決定する(S102)。CPU10は、第三領域データを文字認識処理の実行対象とする旨をRAM12に記憶する。一方、第三領域データと登録第三領域データとに差分がない場合(S101:NO)、CPU10は、第三領域を輝度変更表示対象に決定する(S103)。CPU10は、第三領域データの全体が示す輝度値の平均値を第三領域データから取得する。CPU10は、取得した輝度値の平均値を、第三領域を輝度変更表示対象に決定した旨に関連付けてRAM12に記憶する。 When there is a difference between the third area data and the registered third area data (S101: YES), the CPU 10 sets the third area data as the execution target of the character recognition process in the process of S21 (see FIG. 6) described later. It is decided (S102). The CPU 10 stores in the RAM 12 that the third area data is to be executed for the character recognition process. On the other hand, when there is no difference between the third region data and the registered third region data (S101: NO), the CPU 10 determines the third region as the brightness change display target (S103). The CPU 10 acquires the average value of the brightness values indicated by the entire third region data from the third region data. The CPU 10 stores the average value of the acquired luminance values in the RAM 12 in association with the fact that the third region is determined as the luminance change display target.

本実施形態において、帳票の任意記入欄に含まれる欄として、帳票において輪郭の色の異なる第一任意記入欄150及び第二任意記入欄160の二つの欄があるので、任意記入領域判定処理で扱う設定画素値及び設定閾値も二種類となる。CPU10は、領域判定処理(S93)をまだ行っていない他の設定画素値があるかを判断する(S104)。CPU10は、HDD33に記憶されている設定テーブルの任意記入欄に対応する欄を参照し、第三画素値及び第三閾値に対応する欄よりも下位の欄に設定されている欄がある場合に、領域判定処理をまだ行っていない他の設定画素値があると判断する。本実施形態の例では、医療保険用設定テーブル70において第一任意領域欄の下位に第二任意領域欄が設定されているので、領域判定処理をまだ行っていない他の設定画素値があると判断されたとする。 In the present embodiment, there are two columns included in the optional entry column of the form, the first optional entry column 150 and the second optional entry column 160 having different outline colors in the form. There are also two types of set pixel values and set thresholds to be handled. The CPU 10 determines whether there is another set pixel value for which the area determination process (S93) has not yet been performed (S104). The CPU 10 refers to the column corresponding to the optional entry column of the setting table stored in the HDD 33, and when there is a column set in a column lower than the column corresponding to the third pixel value and the third threshold value. , It is determined that there is another set pixel value for which the area determination process has not been performed yet. In the example of the present embodiment, since the second optional area column is set below the first arbitrary area column in the medical insurance setting table 70, if there is another set pixel value for which the area determination process has not yet been performed. Suppose it is judged.

領域判定処理をまだ行っていない他の設定画素値があると判断された場合(S104:YES)、CPU10は、他の設定画素値及び他の設定閾値を設定テーブルから取得する(S105)。本実施形態の例では、医療保険用設定テーブル70の第二任意領域欄から、設定画素値及び設定閾値として第四画素値及び第四閾値が取得される。以降、CPU10は、第四画素値及び第四閾値に基づいて、S93からS104の処理を実行する。本実施形態の例では、図2に示す未記入帳票100の第二任意記入欄160及び図3に示す記入帳票101の第二任意記入欄160の双方が空欄とされているので、S103の処理によって、第四画素値に対応する第四領域が、輝度変更表示対象に決定されたとする。 When it is determined that there is another set pixel value for which the area determination process has not yet been performed (S104: YES), the CPU 10 acquires another set pixel value and another set threshold value from the setting table (S105). In the example of the present embodiment, the fourth pixel value and the fourth threshold value are acquired as the set pixel value and the set threshold value from the second arbitrary area column of the medical insurance setting table 70. After that, the CPU 10 executes the processes S93 to S104 based on the fourth pixel value and the fourth threshold value. In the example of the present embodiment, both the second optional entry field 160 of the unfilled form 100 shown in FIG. 2 and the second optional entry field 160 of the entry form 101 shown in FIG. It is assumed that the fourth region corresponding to the fourth pixel value is determined as the brightness change display target.

その後、領域判定処理をまだ行っていない他の設定画素値があると判断された場合(S104:NO)、CPU10は、処理を情報識別処理(図6参照)へ戻す。 After that, when it is determined that there is another set pixel value for which the area determination process has not yet been performed (S104: NO), the CPU 10 returns the process to the information identification process (see FIG. 6).

図6の説明に戻る。CPU10は、記入帳票101の必須記入欄が未記入であるかを判断する(S19)。本実施形態では、S83(図10参照)の処理によって必須記入欄未記入エラー表示83(図16参照)を出力する指示がRAM12に記憶されている場合に、日付記入欄120が未記入であると判断される。CPU10は、必須記入欄が未記入でない場合(S19:YES)、S62(図9参照)、S82(図10参照)及びS102(図11参照)の各処理において文字認識処理の実行対象とされた第一領域データ、第二領域データ及び第三領域データのそれぞれについて、文字認識処理を実行する(S21)。本実施形態では、文字認識処理は、前述のOCR処理である。CPU10は、文字認識処理の実行対象とされた第一領域データ、第二領域データ及び第三領域データから、文字認識処理の実行結果である第一文字列データ、第二文字列データ及び第三文字列データを取得する(S22)。これらの文字列データは、後述のS26の処理において、登録帳票DBに登録するために取得される。このため、これらの文字列データを、登録文字列データともいう。S22の処理は、必須記入欄が未記入でないことに応じて行われることから、登録文字列データは、少なくとも第二文字列データを含む。なお、第一文字列データ、第二文字列データ及び第三文字列データのそれぞれは、記入帳票101の事前記入欄140、日付記入欄120及び任意記入欄のそれぞれに含まれる文字列を示す文字列データに相当する。CPU10は、取得された登録文字列データをRAM12に記憶する。 Returning to the description of FIG. The CPU 10 determines whether or not the required entry field of the entry form 101 is not filled in (S19). In the present embodiment, the date entry field 120 is not filled in when the instruction to output the required entry field blank error display 83 (see FIG. 16) is stored in the RAM 12 by the process of S83 (see FIG. 10). Is judged. When the required entry field is not blank (S19: YES), the CPU 10 is targeted for character recognition processing in each of the processes of S62 (see FIG. 9), S82 (see FIG. 10), and S102 (see FIG. 11). Character recognition processing is executed for each of the first region data, the second region data, and the third region data (S21). In the present embodiment, the character recognition process is the OCR process described above. The CPU 10 selects the first character string data, the second character string data, and the third character, which are the execution results of the character recognition process, from the first area data, the second area data, and the third area data that are the execution targets of the character recognition process. Acquire column data (S22). These character string data are acquired for registration in the registration form DB in the process of S26 described later. Therefore, these character string data are also referred to as registered character string data. Since the processing of S22 is performed according to the fact that the required entry field is not blank, the registered character string data includes at least the second character string data. Each of the first character string data, the second character string data, and the third character string data is a character string indicating a character string included in each of the pre-entry field 140, the date entry field 120, and the optional entry field of the entry form 101. Corresponds to data. The CPU 10 stores the acquired registered character string data in the RAM 12.

CPU10は、記入帳票101がスキャナ2の読取部26において読み取られた結果を示す、読取結果表示を示す読取結果データを生成する(S23)。読取結果表示は、記入帳票101がスキャナ2の読取部26において正しく読み取られたかを作業者に確認させるために表示部16に表示される画像である。読取結果データは、S12で取得された読取データに基づいて生成される。 The CPU 10 generates reading result data indicating a reading result display, which indicates the result of the entry form 101 being read by the reading unit 26 of the scanner 2 (S23). The reading result display is an image displayed on the display unit 16 so that the operator can confirm whether the entry form 101 has been correctly read by the scanning unit 26 of the scanner 2. The reading result data is generated based on the reading data acquired in S12.

読取データにおける事前記入欄140に相当する第一領域及び任意記入欄に相当する第三領域及び第四領域は、S63(図9参照)及びS103(図11参照)の処理によって、輝度変更表示対象に決定されていることがある。CPU10は、読取結果データを生成する際にRAM12に記憶されている情報を参照する。RAM12にいずれかの領域が輝度変更表示対象に決定されている旨の情報が記憶されていれば、CPU10は、輝度変更表示対象に決定されている領域が、輝度変更表示対象に決定されている旨を示す情報に関連付けられた輝度値よりも低い輝度値で表示されるように、読取データを加工する。これにより、例えば、輝度変更対象に決定されている領域については、読取結果表示においてグレー色で表示されるグレーアウト表示がされる。本実施形態の例では、第四領域が輝度変更対象に決定されているとする。第一領域、第三領域及び第四領域が輝度変更対象に決定されるのは、第一領域、第三領域及び第四領域に相当する記入帳票101の事前記入欄140及び任意記入欄に手書き文字等の記入がされなかった場合である。このような場合に、輝度変更対象に決定されている領域をグレーアウト表示によって作業者に視認し難くすることで、グレーアウト表示がされている領域については注視する必要のないことが作業者に示される。この他、CPU10は、読取結果表示の確認を促すための表示202(図15参照)を付して、読取結果データを生成する。 The first area corresponding to the pre-filled field 140 and the third and fourth areas corresponding to the optional entry fields in the read data are subject to brightness change display by the processing of S63 (see FIG. 9) and S103 (see FIG. 11). May have been decided. The CPU 10 refers to the information stored in the RAM 12 when generating the reading result data. If the RAM 12 stores information that any area is determined to be the brightness change display target, the CPU 10 determines that the area determined to be the brightness change display target is determined to be the brightness change display target. The read data is processed so that it is displayed with a brightness value lower than the brightness value associated with the information indicating the effect. As a result, for example, the area determined to be the brightness change target is displayed in gray out in the reading result display. In the example of this embodiment, it is assumed that the fourth region is determined to be the brightness change target. The first area, the third area, and the fourth area are determined to be the brightness change targets by handwriting in the pre-entry field 140 and the optional entry field of the entry form 101 corresponding to the first area, the third area, and the fourth area. This is the case when characters etc. are not entered. In such a case, by making it difficult for the operator to see the area determined to be the brightness change target by the grayout display, the operator is shown that it is not necessary to pay attention to the area where the grayout display is displayed. .. In addition, the CPU 10 attaches a display 202 (see FIG. 15) for prompting confirmation of the reading result display, and generates reading result data.

CPU10は、S23の処理で生成された読取結果データに基づく読取結果表示を出力する指示を、入出力I/F14を介して表示部16に送信する(S24)。図15は、本実施形態の例による読取結果表示200を示す。読取結果表示200は、読取データに基づく画像の表示される結果表示201と、前述の表示202とを含む。結果表示201のうち、読取データの第一領域、第二領域及び第三領域に相当する事前記入欄140、日付記入欄120及び第一任意記入欄150については、読取結果を作業者が視認できる態様で表示される。結果表示201のうち、読取データの第四領域に対応する第二任意記入欄160については、輝度変更対象に決定されているので、輝度が低減されてグレーアウト表示される。 The CPU 10 transmits an instruction to output a reading result display based on the reading result data generated in the process of S23 to the display unit 16 via the input / output I / F 14 (S24). FIG. 15 shows a reading result display 200 according to an example of this embodiment. The reading result display 200 includes a result display 201 in which an image based on the reading data is displayed, and the above-mentioned display 202. In the result display 201, the operator can visually recognize the reading result in the pre-entry column 140, the date entry column 120, and the first optional entry column 150 corresponding to the first area, the second area, and the third area of the read data. Displayed in mode. Of the result display 201, the second optional entry field 160 corresponding to the fourth area of the read data is determined to be the brightness change target, so that the brightness is reduced and grayed out.

読取結果表示を表示部16にて確認した作業者は、操作部17を介してCPU10に指示を入力できる。CPU10は、S22の処理で取得された第一文字列データ、第二文字列データ及び第三文字列データのそれぞれを、登録帳票DBに登録する指示が操作部17を介して入力されたかを判断する(S25)。 The operator who confirmed the reading result display on the display unit 16 can input an instruction to the CPU 10 via the operation unit 17. The CPU 10 determines whether an instruction to register each of the first character string data, the second character string data, and the third character string data acquired in the process of S22 in the registration form DB is input via the operation unit 17. (S25).

登録帳票DBに登録する旨の所定の指示が入力されている場合(S25:YES)、CPU10は、S22の処理で取得した登録文字列データを、登録帳票DBのうちS13の処理で判定された帳票種別に対応する登録帳票DBに、S14の処理で判定されたユーザIDに対応付けて登録する(S26)。本実施形態の例では、第一文字列データは、医療保険用登録帳票DB70の本人情報欄の各項目に登録される。第二文字列データは、医療保険用登録帳票DB70の帳票管理情報欄における申込日の項目に登録される。第三文字列データは、医療保険用登録帳票DB70の配偶者情報の各項目に登録される。このとき、第一文字列データに、手書き文字によって追記された、変更後の住所等を示す文字列に対応する文字列データが含まれる場合、本人情報欄に登録されている情報が、追記された文字列に対応する文字列データに更新されて登録されてもよい。CPU10は、処理をS29の判断へ移行する。 When a predetermined instruction to register in the registration form DB is input (S25: YES), the CPU 10 determines the registration character string data acquired in the process of S22 in the process of S13 of the registration form DB. Registered in the registration form DB corresponding to the form type in association with the user ID determined in the process of S14 (S26). In the example of this embodiment, the first character string data is registered in each item of the personal information column of the medical insurance registration form DB70. The second character string data is registered in the item of the application date in the form management information column of the medical insurance registration form DB70. The third character string data is registered in each item of the spouse information of the medical insurance registration form DB70. At this time, if the first character string data includes the character string data corresponding to the character string indicating the changed address, etc. added by handwritten characters, the information registered in the personal information column is added. The character string data corresponding to the character string may be updated and registered. The CPU 10 shifts the process to the determination of S29.

一方、CPU10は、必須記入欄が未記入である場合(S19:NO)、読取結果データを生成する(S27)。この処理で生成される読取結果データは、S23の処理で生成される読取結果データと同様に、読取データに基づいて、また、表示202の付されたものとして生成される。また、輝度変更表示対象に決定されている領域があれば、CPU10は、輝度変更表示対象に決定されている領域が、輝度変更表示対象に決定されている旨を示す情報に関連付けられた輝度値よりも低い輝度値で表示されるように、読取データを加工する。また、CPU10は、読取結果データを生成する際にRAM12に記憶されている情報をさらに参照する。RAM12に必須記入欄未記入エラー表示83(図16参照)を出力する指示が記憶されていれば、必須記入欄未記入エラー表示83の付された読取結果表示となるように、読取結果データを生成する。 On the other hand, the CPU 10 generates reading result data (S27) when the required entry field is not filled in (S19: NO). The reading result data generated in this process is generated based on the reading data and with the display 202 attached, similarly to the reading result data generated in the process of S23. Further, if there is an area determined as the brightness change display target, the CPU 10 determines the brightness value associated with the information indicating that the area determined as the brightness change display target is determined as the brightness change display target. Process the read data so that it is displayed with a lower brightness value. Further, the CPU 10 further refers to the information stored in the RAM 12 when generating the reading result data. If the instruction to output the required entry field blank error display 83 (see FIG. 16) is stored in the RAM 12, the reading result data is displayed so that the reading result display with the required entry field blank error display 83 is displayed. Generate.

CPU10は、S27の処理で生成された読取結果データに基づく読取結果表示を出力する指示を、入出力I/F14を介して表示部16に送信する(S28)。図16は、必須記入欄未記入エラー表示83の付された読取結果表示300を示す。読取結果表示300は、読取データに基づく画像の表示される結果表示301と、前述の表示202とを含む。本実施形態において、図3に示す記入帳票101の日付記入欄120が空欄のままにされた場合に、このような読取結果表示300が表示部16に表示される。本実施形態の必須記入欄未記入エラー表示83は、日付記入欄120から引き出された吹き出しを有する図形枠に所定のメッセージが表記されており、結果表示301よりも前面に表示される、所謂ポップアップ表示として設けられている。これにより、必須記入欄未記入エラー表示83は、日付記入欄120に必要な記入がされていないことを作業者にわかりやすく示すことができる。 The CPU 10 transmits an instruction to output a reading result display based on the reading result data generated in the process of S27 to the display unit 16 via the input / output I / F 14 (S28). FIG. 16 shows a reading result display 300 with a mandatory entry field blank error display 83. The reading result display 300 includes a result display 301 in which an image based on the reading data is displayed, and the above-mentioned display 202. In the present embodiment, when the date entry field 120 of the entry form 101 shown in FIG. 3 is left blank, such a reading result display 300 is displayed on the display unit 16. In the mandatory entry field blank error display 83 of the present embodiment, a predetermined message is written in a graphic frame having a balloon drawn from the date entry field 120, and a so-called pop-up is displayed in front of the result display 301. It is provided as a display. As a result, the mandatory entry field blank error display 83 can clearly indicate to the operator that the required entry is not made in the date entry field 120.

この場合、日付記入欄120に必要事項が記入されていないので、S21のような文字認識処理は行われず、S26のような文字列データの登録投票DBへの登録処理も行われない。CPU10は、処理をS29の判断へ移行する。 In this case, since the necessary items are not entered in the date entry field 120, the character recognition process like S21 is not performed, and the character string data registration process like S26 is not performed in the registration voting DB. The CPU 10 shifts the process to the determination of S29.

CPU10は、情報識別処理を終了するかを判断する(S29)。例えば、操作部17を介して情報識別処理を終了する指示が入力されている場合、CPU10は、情報識別処理を終了すると判断し(S29:YES)、情報識別処理を終了する。例えば、操作部17を介して、次の帳票について情報識別処理を実行するための指示が操作部17を介して入力されている場合、CPU10は、情報識別処理を終了せず(S29:NO)、処理をS11へ戻す。 The CPU 10 determines whether to end the information identification process (S29). For example, when an instruction to end the information identification process is input via the operation unit 17, the CPU 10 determines that the information identification process is ended (S29: YES), and ends the information identification process. For example, when an instruction for executing the information identification process for the next form is input via the operation unit 17 via the operation unit 17, the CPU 10 does not end the information identification process (S29: NO). , The process is returned to S11.

以上説明したように、CPU10は、S11の処理によって記入帳票101の画像を読み取った読取データに基づいて、記入帳票の帳票種別を判定する(S13)。CPU10は、S13の処理によって判定された帳票種別に応じた登録帳票DBから、ユーザIDに応じた登録帳票画像データを取得する(S115)。また、CPU10は、必須記入領域判定処理(S16)において実行される領域判定処理(S73)において、読取データにおいて第二画素値に対応する画素値を有する画素の座標位置に基づく近似直線のなす形状で囲まれている領域を、日付記入欄120に対応する第二領域と特定する(S118)。CPU10は、第二領域の画像を示す第二領域データを、読取データから取得する(S75)。第二領域データは、記入帳票101における日付記入欄120の画像に対応する。CPU10は、日付記入欄120の輪郭を示す第一矩形121の色に対応する第二画素値に基づいて、登録帳票画像データにおいて、第一矩形121で囲まれている領域の位置及び大きさを特定する(S76)。CPU10は、特定された領域の画像を示す登録第二領域データを、登録帳票画像データから取得する(S78)。登録第一領域データは、未記入帳票100における日付記入欄120の画像に対応する。CPU10は、第二領域データと登録第二領域データとを比較し(S79)、第二領域データと登録第二領域データとに差分がある場合(S81:YES)、第二領域データに対する文字認識処理の実行結果である第二文字列データを含む登録文字列データを取得する(S22)。一方、第二領域データと登録第二領域データとに差分がない場合(S81:NO)、文字認識処理を行うことなく、読取結果データを生成し(S27)、生成された読取結果データに基づく読取結果表示を出力する指示を表示部16に送信する(S28)。即ち、記入帳票101において、必須記入欄である日付記入欄120に手書き文字等で記入されている場合には、日付記入欄120に記入された文字列に対応する第二文字列データを少なくとも含む登録文字列データが取得される。一方、日付記入欄120に記入がない場合には、登録文字列データが取得されない。例えば、日付記入欄120の位置を登録帳票画像データに関連付けて予め記憶することで、色に基づいて第一矩形121を特定すること無く、登録文字列データを取得する構成が考えられる。この場合、例えば、読取データから日付記入欄120の位置を特定するためには、原稿のエッジや角等の、基準となる位置を特定することが必要となる。しかし、原稿のエッジや角は、例えば、原稿の背景色と、読取部26に設けられた背景部材の色とが類似している場合、検出精度が落ちる可能性がある。本実施形態では、色に基づいて第一矩形121を特定することで、原稿の背景色や背景部材の色に左右されること無く、精度良く登録文字列データを取得することができる。このように、CPU10は、帳票に設けられている複数の記入欄の種類を識別し、記入欄の種類に応じた処理を実行できる。 As described above, the CPU 10 determines the form type of the entry form based on the read data obtained by reading the image of the entry form 101 by the process of S11 (S13). The CPU 10 acquires the registered form image data according to the user ID from the registered form DB corresponding to the form type determined by the process of S13 (S115). Further, the CPU 10 has a shape formed by an approximate straight line based on the coordinate position of a pixel having a pixel value corresponding to the second pixel value in the read data in the area determination process (S73) executed in the required entry area determination process (S16). The area surrounded by is specified as the second area corresponding to the date entry field 120 (S118). The CPU 10 acquires the second area data indicating the image of the second area from the read data (S75). The second area data corresponds to the image of the date entry field 120 in the entry form 101. The CPU 10 determines the position and size of the area surrounded by the first rectangle 121 in the registered form image data based on the second pixel value corresponding to the color of the first rectangle 121 indicating the outline of the date entry field 120. Identify (S76). The CPU 10 acquires the registration second area data indicating the image of the specified area from the registration form image data (S78). The registration first area data corresponds to the image of the date entry field 120 in the blank form 100. The CPU 10 compares the second area data with the registered second area data (S79), and when there is a difference between the second area data and the registered second area data (S81: YES), character recognition for the second area data The registered character string data including the second character string data which is the execution result of the process is acquired (S22). On the other hand, when there is no difference between the second area data and the registered second area data (S81: NO), the reading result data is generated without performing the character recognition process (S27), and is based on the generated reading result data. An instruction to output the reading result display is transmitted to the display unit 16 (S28). That is, in the entry form 101, when the date entry field 120, which is a required entry field, is filled in with handwritten characters or the like, at least the second character string data corresponding to the character string entered in the date entry field 120 is included. Registration character string data is acquired. On the other hand, if there is no entry in the date entry field 120, the registered character string data is not acquired. For example, by storing the position of the date entry field 120 in association with the registered form image data in advance, it is conceivable that the registered character string data can be acquired without specifying the first rectangle 121 based on the color. In this case, for example, in order to specify the position of the date entry field 120 from the scanned data, it is necessary to specify a reference position such as an edge or a corner of the document. However, if the edges and corners of the document are similar, for example, to the background color of the document and the color of the background member provided in the reading unit 26, the detection accuracy may decrease. In the present embodiment, by specifying the first rectangle 121 based on the color, it is possible to accurately acquire the registered character string data without being influenced by the background color of the document and the color of the background member. In this way, the CPU 10 can identify the types of a plurality of entry fields provided in the form and execute processing according to the types of the entry fields.

S22の処理で第二文字列データを含む登録文字列データが取得された場合、CPU10は、読取結果データを生成する(S23)。CPU10は、生成された読取結果データに基づく読取結果表示を出力する指示を、表示部16に送信する(S24)。このため、作業者は、記入帳票101がスキャナ2の読取部26において正しく読み取られたかを、読取結果表示によって確認できる。また、読取結果表示が表示部16に表示されることに応じて、登録帳票DBに登録する指示が操作部17を介して入力された場合(S25:YES)、CPU10は、S22の処理で取得した登録文字列データを、登録帳票DBのうちS13の処理で判定された帳票種別に対応する登録帳票DBに登録する(S26)。これにより、登録文字列データの管理が登録帳票DBにおいて適切に行われる。 When the registered character string data including the second character string data is acquired in the process of S22, the CPU 10 generates the reading result data (S23). The CPU 10 transmits an instruction to output a reading result display based on the generated reading result data to the display unit 16 (S24). Therefore, the operator can confirm by displaying the reading result whether the entry form 101 is correctly read by the reading unit 26 of the scanner 2. Further, when the instruction to be registered in the registration form DB is input via the operation unit 17 (S25: YES) in response to the reading result display being displayed on the display unit 16, the CPU 10 acquires the data in the process of S22. The registered character string data is registered in the registration form DB corresponding to the form type determined in the process of S13 in the registration form DB (S26). As a result, the registration character string data is properly managed in the registration form DB.

CPU10は、第二領域データと登録第二領域データとに差分がない場合(S81:NO)、CPU10は、必須記入欄未記入エラー表示83を出力する指示を、RAM12に記憶する(S83)。CPU10は、この指示の記憶に応じて、必須記入欄未記入エラー表示83の付された読取結果表示を示す読取結果データを生成する(S27)。CPU10は、必須記入欄未記入エラー表示83の付された読取結果表示を出力する指示を表示部16に送信する(S28)。従って、必須記入欄未記入エラー表示83の付された読取結果表示が表示部16に表示されることで、記入帳票101の必須記入欄に手書き文字が記入されていないことが、作業者に喚起される。 When there is no difference between the second area data and the registered second area data (S81: NO), the CPU 10 stores an instruction to output the required entry field blank error display 83 in the RAM 12 (S83). In response to the storage of this instruction, the CPU 10 generates reading result data indicating the reading result display with the required entry field blank error display 83 (S27). The CPU 10 transmits an instruction to output a reading result display with an error display 83 in which the required entry field is not entered to the display unit 16 (S28). Therefore, the reading result display with the required entry field blank error display 83 is displayed on the display unit 16, and the operator is informed that the handwritten characters are not entered in the required entry field of the entry form 101. Will be done.

CPU10は、任意記入領域判定処理(S18)において実行される領域判定処理(S93)において、読取データにおいて第三画素値に対応する画素値を有する画素の座標位置に基づく近似直線のなす形状で囲まれている領域を、任意記入欄に対応する第三領域と特定する(S118)。CPU10は、第三領域の画像を示す第三領域データを、読取データから取得する(S95)。第三領域データは、記入帳票101における第一任意記入欄150の画像に対応する。CPU10は、第一任意記入欄150の輪郭を示す第三矩形151の色に対応する第三画素値に基づいて、登録帳票画像データにおいて、第三矩形151で囲まれている領域の位置及び大きさを特定する(S96)。CPU10は、特定された領域の画像を示す登録第三領域データを、登録帳票画像データから取得する(S98)。登録第三領域データは、未記入帳票100における第一任意記入欄150の画像に対応する。CPU10は、第三領域データと登録第三領域データとを比較し(S99)、第三領域データと登録第三領域データとに差分がある場合(S101:YES)、第三領域データに対する文字認識処理の実行結果である第三文字列データを含む登録文字列データを取得する(S22)。一方、第三領域データと登録第三領域データとに差分がない場合(S101:NO)、CPU10は、第三領域を輝度変更表示対象に決定する(S103)。即ち、記入帳票101において、任意記入欄に手書き文字等が記入されている場合には、任意記入欄に記入された文字列に対応する文字列データを含む登録文字列データが取得される。一方、任意記入欄に記入がない場合には、任意記入欄に対応する領域がグレーアウト表示されるように生成された読取結果データに基づく読取結果表示を出力する指示が表示部16に送信される。この場合、任意記入欄に対応する領域がグレーアウト表示されている場合には、任意記入欄に手書き文字等が記入されておらず、読取結果表示における詳細な確認が不要である旨が作業者に示される。このように、CPU10は、帳票に設けられている複数の記入欄の種類を識別し、記入欄の種類に応じた処理を実行できる。 In the area determination process (S93) executed in the arbitrary entry area determination process (S18), the CPU 10 is surrounded by a shape formed by an approximate straight line based on the coordinate position of a pixel having a pixel value corresponding to the third pixel value in the read data. The designated area is specified as the third area corresponding to the optional entry field (S118). The CPU 10 acquires the third area data indicating the image of the third area from the read data (S95). The third area data corresponds to the image of the first optional entry field 150 in the entry form 101. The CPU 10 determines the position and size of the area surrounded by the third rectangle 151 in the registered form image data based on the third pixel value corresponding to the color of the third rectangle 151 indicating the outline of the first optional entry field 150. Specify the value (S96). The CPU 10 acquires the registered third area data indicating the image of the specified area from the registered form image data (S98). The registered third area data corresponds to the image of the first optional entry field 150 in the blank form 100. The CPU 10 compares the third area data with the registered third area data (S99), and when there is a difference between the third area data and the registered third area data (S101: YES), character recognition for the third area data The registered character string data including the third character string data which is the execution result of the process is acquired (S22). On the other hand, when there is no difference between the third region data and the registered third region data (S101: NO), the CPU 10 determines the third region as the brightness change display target (S103). That is, in the entry form 101, when handwritten characters or the like are entered in the optional entry field, the registered character string data including the character string data corresponding to the character string entered in the optional entry field is acquired. On the other hand, when there is no entry in the optional entry field, an instruction to output a reading result display based on the reading result data generated so that the area corresponding to the optional entry field is grayed out is transmitted to the display unit 16. .. In this case, if the area corresponding to the optional entry field is grayed out, the operator is informed that handwritten characters or the like are not entered in the optional entry field and detailed confirmation in the reading result display is unnecessary. Shown. In this way, the CPU 10 can identify the types of a plurality of entry fields provided in the form and execute processing according to the types of the entry fields.

CPU10は、記入帳票101のユーザID欄130に対応するユーザID領域データを、読取データから抽出する(S41)。CPU10は、ユーザID領域データからID文字列データを生成し、ID文字列データと登録帳票DBに登録されている登録ユーザIDとを比較する(S45)。CPU10は、ID文字列データの示す文字列と一致する登録ユーザIDを、読取データに対応するユーザIDとして取得する(S50)。CPU10は、このようにして取得されたユーザIDに関連付けて、帳票種別に対応する登録帳票DBに登録文字列データを登録する(S26)。従って、登録文字列データが、帳票種別及びユーザIDに関連付けられて適切に管理される。 The CPU 10 extracts the user ID area data corresponding to the user ID field 130 of the entry form 101 from the read data (S41). The CPU 10 generates ID character string data from the user ID area data, and compares the ID character string data with the registered user ID registered in the registration form DB (S45). The CPU 10 acquires a registered user ID that matches the character string indicated by the ID character string data as a user ID corresponding to the read data (S50). The CPU 10 registers the registered character string data in the registered form DB corresponding to the form type in association with the user ID acquired in this way (S26). Therefore, the registered character string data is appropriately managed in association with the form type and the user ID.

CPU10は、領域判定処理において第二画素値に対応する領域が特定されていない場合(S74:NO)、記入帳票読取エラー表示82を出力する指示を表示部16に送信する(S84)。この場合、記入帳票読取エラー表示82が表示部16に表示され、領域判定処理において日付記入欄120に対応する第二領域が特定されていないことが作業者に報知される。 When the area corresponding to the second pixel value is not specified in the area determination process (S74: NO), the CPU 10 transmits an instruction to output the entry form reading error display 82 to the display unit 16 (S84). In this case, the entry form reading error display 82 is displayed on the display unit 16, and the operator is notified that the second area corresponding to the date entry field 120 is not specified in the area determination process.

上記実施形態において、S12の処理が、第一及び第二の実施形態の「第一取得ステップ」に相当する。必須記入領域判定処理において実行される領域判定処理におけるS118の処理が、第一及び第二の実施形態の「第一領域特定ステップ」に相当する。S81S22及びS28の処理が、第一及び第二の実施形態の「第一実行ステップ」に相当する。任意記入領域判定処理において実行される領域判定処理におけるS118の処理が、第一及び第二の実施形態の「第二領域特定ステップ」に相当する。S95の処理が、第一及び第二の実施形態の「第二取得ステップ」に相当する。S101、S11、S24、S28及びS103の処理が、第一及び第二の実施形態の「第二実行ステップ」に相当する。 In the above embodiment, the process of S12 corresponds to the "first acquisition step" of the first and second embodiments . Processing S118 in the area determination process performed in mandatory entry region determination process corresponds to "first region specifying step" in the first and second embodiments. The processing of S 81 , S 22 and S 28 corresponds to the "first execution step" of the first and second embodiments. The process of S118 in the area determination process executed in the optional entry area determination process corresponds to the "second area identification step" of the first and second embodiments. The process of S95 corresponds to the "second acquisition step" of the first and second embodiments. The processing of S101, S11, S24, S28 and S103 corresponds to the "second execution step" of the first and second embodiments.

S23及びS27の処理が、第一の実施形態の「生成ステップ」に相当する。S24の処理が、第一の実施形態の「第一出力ステップ」に相当する。S26の処理が、第一の実施形態の「記憶ステップ」に相当する。HDD33が、第一の実施形態の「記憶手段」に相当する。S46の処理が、第一の実施形態の「判定ステップ」に相当する。S50の処理が、第一の実施形態の「第取得ステップ」に相当する。S84の処理が、第一の実施形態の「第出力ステップ」に相当する。 The processing of S23 and S27 corresponds to the "generation step" of the first embodiment. The process of S24 corresponds to the "first output step" of the first embodiment. The process of S26 corresponds to the "memory step" of the first embodiment. The HDD 33 corresponds to the "storage means" of the first embodiment . Processing of S 46 corresponds to the "determination step" of the first embodiment. The process of S50 corresponds to the " third acquisition step" of the first embodiment. The process of S84 corresponds to the " second output step" of the first embodiment.

読取部26が、第三の実施形態の「読取部」に相当する。S12の処理を実行するCPU10が、第三の実施形態の「第一取得手段」として機能する。必須記入領域判定処理において実行される領域判定処理におけるS118の処理を実行するCPU10が、第三の実施形態の「第一領域特定手段」として機能する。S81S22及びS28の処理を実行するCPU10が、第三の実施形態の「第一実行手段」として機能する。任意記入領域判定処理において実行される領域判定処理におけるS118の処理を実行するCPU10が、第三の実施形態の「第二領域特定手段」として機能する。S95の処理を実行するCPU10が、第三の実施形態の「第二取得手段」として機能する。S101、S11、S24、S28及びS103の処理を実行するCPU10が、第三の実施形態の「第二実行手段」として機能する。
The reading unit 26 corresponds to the "reading unit" of the third embodiment. The CPU 10 that executes the process of S12 functions as the "first acquisition means" of the third embodiment . CPU10 that performs the processing of S118 in the area determination process performed in mandatory entry region determination process, functions as a "first region specifying part" of the third embodiment. The CPU 10 that executes the processes of S 81 , S 22 and S 28 functions as the "first execution means" of the third embodiment. The CPU 10 that executes the process of S118 in the area determination process executed in the optional entry area determination process functions as the "second area specifying means" of the third embodiment. The CPU 10 that executes the process of S95 functions as the "second acquisition means" of the third embodiment. The CPU 10 that executes the processes of S101, S11, S24, S28, and S103 functions as the "second execution means" of the third embodiment.

なお、本明細書に例示する実施形態は上記に限定されるものではなく、種々の変更が可能である。上記実施形態では、S24、S28、S36、S47、S48、S83、S84の各処理において、CPU10は、各処理に応じたデータに基づく表示等の画像を出力する指示を表示部16に送信している。CPU10は、これらの一部又は全部の出力指示を、外部表示部19に送信してもよい。また、CPU10が送信したこれらの一部又は全部の出力指示がスキャナ2に送信されてもよい。この場合、出力指示を受信したスキャナ2のCPU20が、入出力I/F24を介して、表示部27又は外部表示部29に各処理に応じたデータに基づく表示等の画像を出力する指示を送信してもよい。 The embodiments illustrated herein are not limited to the above reporting, various modifications are possible. In the above embodiment, in each process of S24, S28, S36, S47, S48, S83, and S84, the CPU 10 transmits an instruction to output an image such as a display based on the data corresponding to each process to the display unit 16. There is. The CPU 10 may transmit some or all of these output instructions to the external display unit 19. Further, some or all of these output instructions transmitted by the CPU 10 may be transmitted to the scanner 2. In this case, the CPU 20 of the scanner 2 that has received the output instruction transmits an instruction to output an image such as a display based on the data corresponding to each process to the display unit 27 or the external display unit 29 via the input / output I / F 24. You may.

また、スキャナ2が情報識別装置1として機能し、スキャナ2のCPU20が情報識別処理を実行する構成であってもよい。この場合、S24、S28、S36、S47、S48、S83、S84の各処理における出力指示が、CPU20によって表示部27、又は外部通信I/F25を介して外部表示部29に送信されてもよい。この場合、スキャナ2が、第三の実施形態の「画像読取装置」に相当する。S23及びS27の処理を実行するCPU10が、第三の実施形態の「生成手段」として機能する。外部通信I/F25が、第三の実施形態の「通信部」に相当する。この他、管理サーバ3が情報識別装置1として機能してもよい。 Further, the scanner 2 may function as the information identification device 1, and the CPU 20 of the scanner 2 may execute the information identification process. In this case, the output instruction in each process of S24, S28, S36, S47, S48, S83, and S84 may be transmitted by the CPU 20 to the display unit 27 or the external display unit 29 via the external communication I / F25. In this case, the scanner 2 corresponds to the "image reader" of the third embodiment. The CPU 10 that executes the processes of S23 and S27 functions as the "generation means" of the third embodiment. The external communication I / F 25 corresponds to the "communication unit" of the third embodiment. In addition, the management server 3 may function as the information identification device 1.

S63、S103の処理で輝度変更対象に決定された各領域については、S23及びS27の処理において、各領域データの取得時の輝度よりも低い輝度で表示されるように読み取り結果データが生成されるが、これに限られない。例えば、輝度変更対象に決定された各領域が、各領域データの取得時の輝度よりも高い輝度で表示されるように読み取り結果データが生成されてもよい。この場合であっても、輝度変更対象に決定されている領域を作業者に視認し難くなり、対応する領域を注視する必要のないことが作業者に示される。 For each area determined to be the brightness change target in the processing of S63 and S103, the reading result data is generated so as to be displayed with a brightness lower than the brightness at the time of acquisition of each area data in the processing of S23 and S27. However, it is not limited to this. For example, the reading result data may be generated so that each region determined to be the brightness change target is displayed with a brightness higher than the brightness at the time of acquiring each region data. Even in this case, it becomes difficult for the operator to visually recognize the area determined to be the brightness change target, and the operator is shown that it is not necessary to pay attention to the corresponding area.

S84の処理が行われる場合において、読取データが適切に取得できていない理由は様々である。記入帳票読取エラー表示82は、日付記入欄120に対応する領域が特定されていないことを端的に表示する「日付記入欄を認識できません」等の表示内容であってもよい。また、記入帳票読取エラー表示82は、読取データが適切に取得できていない理由を作業者に具体的に報知する「帳票のスキャンエラーです」、「スキャナとPCとの接続状態を確認してください」等のメッセージを表示するものであってもよい。このように、記入帳票読取エラー表示82は、日付記入欄120に対応する領域が特定されていないことを報知する様々なメッセージ表示を含んでもよい。 When the processing of S84 is performed, there are various reasons why the read data cannot be properly acquired. The entry form reading error display 82 may have display contents such as "The date entry field cannot be recognized" that simply indicates that the area corresponding to the date entry field 120 has not been specified. In addition, the entry form reading error display 82 specifically informs the operator of the reason why the read data has not been properly acquired, "It is a form scanning error", and "Check the connection status between the scanner and the PC." It may display a message such as ". As described above, the entry form reading error display 82 may include various message displays for notifying that the area corresponding to the date entry field 120 is not specified.

上記実施形態において、必須記入欄未記入エラー表示83は所定のポップアップ表示によって構成されているが、これに限られない。必須記入欄未記入エラー表示83は、読取結果表示300において、必須記入欄に対応する第二領域に関連付けて表示され、作業者に必須記入欄に必要な記入がされていないことを報知する様々な態様の表示を含んでもよい。 In the above embodiment, the mandatory entry field blank error display 83 is configured by a predetermined pop-up display, but the present invention is not limited to this. The required entry field blank error display 83 is displayed in association with the second area corresponding to the required entry field in the reading result display 300, and informs the operator that the required entry field is not filled in. May include indications of various aspects.

上記実施形態では、S21、S42の処理において文字認識処理が実行されるが、文字認識処理は必ずしも情報識別装置1において行われなくてもよい。例えば、情報識別装置1にネットワークを介して接続する管理サーバ3及びその他の外部装置において、文字認識対象について文字認識処理が実行されて情報識別装置1が文字認識結果を受信して、以降の情報識別処理を行う構成であってもよい。 In the above embodiment, the character recognition process is executed in the processes of S21 and S42, but the character recognition process does not necessarily have to be performed in the information identification device 1. For example, in the management server 3 and other external devices connected to the information identification device 1 via the network, character recognition processing is executed for the character recognition target, the information identification device 1 receives the character recognition result, and the subsequent information. It may be configured to perform identification processing.

CPU10は、HDD13に記憶されたプログラムをRAM12上で展開することで、情報識別処理を実行するプロセッサとして機能する。CPU10として、汎用的なプロセッサが用いられてもよい。マイクロコンピュータ、ASIC、FPGA等が、CPU10の代わりにプロセッサとして用いられてもよい。スキャナ2が情報識別装置1として機能する場合には、CPU20は、ROM21に記憶されたプログラムをRAM22上で展開することで、情報識別処理を実行するプロセッサとして機能する。管理サーバ3が情報識別装置1として機能する場合には、CPU30は、HDD33に記憶されたプログラムをRAM32上で展開することで、情報識別処理を実行するプロセッサとして機能する。上記と同様に、マイクロコンピュータ、ASIC、FPGA等が、CPU30の代わりにプロセッサとして用いられてもよい。 The CPU 10 functions as a processor that executes information identification processing by expanding the program stored in the HDD 13 on the RAM 12. A general-purpose processor may be used as the CPU 10. A microcomputer, ASIC, FPGA or the like may be used as a processor instead of the CPU 10. When the scanner 2 functions as the information identification device 1, the CPU 20 functions as a processor that executes the information identification process by expanding the program stored in the ROM 21 on the RAM 22. When the management server 3 functions as the information identification device 1, the CPU 30 functions as a processor that executes the information identification process by expanding the program stored in the HDD 33 on the RAM 32. Similar to the above, a microcomputer, ASIC, FPGA or the like may be used as a processor instead of the CPU 30.

情報特定処理は、複数の電子機器(つまり、複数のCPU)によって分散処理されてもよい。例えば、情報特定処理の一部が、ネットワーク9に接続した管理サーバ3等の他のサーバで実行されてもよい。プログラムは、例えば、ネットワーク9に接続した管理サーバ3等の他のサーバからダウンロードされて、情報識別装置1のHDD13に記憶されてもよい。 The information identification process may be distributed by a plurality of electronic devices (that is, a plurality of CPUs). For example, a part of the information identification process may be executed by another server such as the management server 3 connected to the network 9. The program may be downloaded from, for example, another server such as the management server 3 connected to the network 9 and stored in the HDD 13 of the information identification device 1.

1 情報識別装置
2 スキャナ
3 管理サーバ
9 ネットワーク
10,20,30 CPU
13,33 HDD
16,27 表示部
19,29 外部表示部
21 ROM
26 読取部
82 記入帳票読取エラー表示
83 必須記入欄未記入エラー表示
101 記入帳票
200,300 読取結果表示
1 Information identification device 2 Scanner 3 Management server 9 Network 10, 20, 30 CPU
13,33 HDD
16,27 Display unit 19,29 External display unit 21 ROM
26 Reading unit 82 Entry form reading error display 83 Required entry field blank error display 101 Entry form 200, 300 Reading result display

Claims (7)

情報識別装置を構成するコンピュータによって実行される情報識別プログラムであって、
前記コンピュータに、
手書き文字を含む文字の記入された帳票である記入帳票を読み取った画像を示す読取データを取得する第一取得ステップと、
前記読取データにおいて第一画素値に対応する輪郭で囲まれた第一領域を、文字認識処理の対象とする領域として特定する第一領域特定ステップと、
前記第一領域の画像を示す第一領域データと、前記記入帳票に応じた帳票であって、手書き文字が記入されていない帳票の画像を示す帳票画像データにおける前記第一領域に対応する帳票第一領域の画像を示す帳票第一データとに基づいて、前記第一領域に含まれる第一文字列を少なくとも含む文字列を示す第一文字列データを文字認識処理に基づいて取得する第一実行ステップと、
前記読取データにおいて前記第一画素値とは異なる第二画素値に対応する輪郭で囲まれた第二領域を、文字認識処理の対象とする領域として特定する第二領域特定ステップと、
前記第二領域の画像を示す第二領域データを前記読取データから取得する第二取得ステップと、
前記第二領域データと、前記帳票画像データにおける前記第二領域に対応する帳票第二領域の画像を示す帳票第二データとを比較し、前記第二領域データと前記帳票第二データとが異なる場合、前記第二領域に含まれる第二文字列を少なくとも含む文字列を示す第二文字列データを文字認識処理に基づいて取得する一方、前記第二領域データと前記帳票第二データとが異ならない場合は、前記第二取得ステップにおいて取得された前記第二領域データの示す態様とは異なる態様で前記第二領域データを表示する指示を出力する第二実行ステップと
を実行させることを特徴とする情報識別プログラム。
An information identification program executed by the computers that make up the information identification device.
On the computer
The first acquisition step of acquiring the reading data showing the image of reading the entry form, which is a form in which characters including handwritten characters are entered, and
A first area identification step for specifying the first area surrounded by the outline corresponding to the first pixel value in the read data as a target area for character recognition processing, and
The first area data showing the image of the first area and the form number corresponding to the first area in the form image data showing the image of the form in which the handwritten characters are not entered, which is the form corresponding to the entry form. Based on the first data of the form showing the image of one area, the first execution step of acquiring the first character string data indicating the character string including at least the first character string included in the first area based on the character recognition process. ,
A second area specifying step for specifying a second area surrounded by a contour corresponding to a second pixel value different from the first pixel value in the read data as a target area for character recognition processing, and a second area specifying step.
A second acquisition step of acquiring second region data showing an image of the second region from the read data, and
The second area data is compared with the second form data showing the image of the second form area corresponding to the second area in the form image data, and the second area data and the second form data are different from each other. In this case , if the second character string data indicating the character string including at least the second character string included in the second area is acquired based on the character recognition process, while the second area data and the form second data are different. If not, the feature is that the second execution step of outputting the instruction to display the second area data is executed in a mode different from the mode indicated by the second area data acquired in the second acquisition step. Information identification program.
前記コンピュータに、
前記記入帳票の読取結果を示すデータであって、少なくとも前記第一領域データを含む読取結果データを生成する生成ステップと、
前記第一実行ステップにおいて前記第一文字列データが取得された場合、前記読取結果データを表示する指示を出力する第一出力ステップと、
前記読取結果データを表示する指示が出力されたことに応じて所定の指示を受信した場合、前記第一文字列データを記憶手段に記憶させる記憶ステップと
を実行させることを特徴とする請求項1に記載の情報識別プログラム。
On the computer
A generation step of generating reading result data including at least the first area data, which is data indicating the reading result of the entry form, and
When the first character string data is acquired in the first execution step, the first output step for outputting an instruction to display the reading result data and the first output step.
The first aspect of claim 1, wherein when a predetermined instruction is received in response to the output of the instruction for displaying the reading result data, the storage step of storing the first character string data in the storage means is executed. Described information identification program.
前記生成ステップは、
前記第一領域データと前記帳票第一データとが異ならないと判断された場合、前記第一領域に関する所定の通知を行う情報を前記第一領域データに対応付けた前記読取結果データを生成することを特徴とする請求項2に記載の情報識別プログラム。
The generation step
When it is determined that the first area data and the first form data are not different, the reading result data in which the information for giving a predetermined notification regarding the first area is associated with the first area data is generated. The information identification program according to claim 2.
前記コンピュータに、
前記読取データに基づいて前記記入帳票のユーザを判定する判定ステップと、
前記判定ステップにおける判定結果に応じたユーザを特定するユーザ特定情報を取得する第三取得ステップを実行させ、
前記記憶ステップは、
前記第一文字列データを前記ユーザ特定情報に関連付けて前記記憶手段に記憶させることを特徴とする請求項2に記載の情報識別プログラム。
On the computer
A determination step for determining the user of the entry form based on the read data, and
The third acquisition step of acquiring the user identification information that identifies the user according to the determination result in the determination step is executed.
The memory step
The information identification program according to claim 2, wherein the first character string data is associated with the user-specific information and stored in the storage means.
前記コンピュータに、
前記第一領域特定ステップにおいて前記第一領域が特定されない場合、前記第一領域が特定されていないことに基づく報知を実行する指示を出力する第二出力ステップを実行させることを特徴とする請求項1から4のいずれかに記載の情報識別プログラム。
On the computer
The claim is characterized in that when the first region is not specified in the first region specifying step, a second output step for outputting an instruction to execute a notification based on the fact that the first region is not specified is executed. The information identification program according to any one of 1 to 4.
情報識別装置を構成するコンピュータが実行可能な方法であって、
手書き文字を含む文字の記入された帳票である記入帳票を読み取った画像を示す読取データを取得する第一取得ステップと、
前記読取データにおいて第一画素値に対応する輪郭で囲まれた第一領域を、文字認識処理の対象とする領域として特定する第一領域特定ステップと、
前記第一領域の画像を示す第一領域データと、前記記入帳票に応じた帳票であって、手書き文字が記入されていない帳票の画像を示す帳票画像データにおける前記第一領域に対応する帳票第一領域の画像を示す帳票第一データとに基づいて、前記第一領域に含まれる第一文字列を少なくとも含む文字列を示す第一文字列データを文字認識処理に基づいて取得する第一実行ステップと、
前記読取データにおいて前記第一画素値とは異なる第二画素値に対応する輪郭で囲まれた第二領域を、文字認識処理の対象とする領域として特定する第二領域特定ステップと、
前記第二領域の画像を示す第二領域データを前記読取データから取得する第二取得ステップと、
前記第二領域データと、前記帳票画像データにおける前記第二領域に対応する帳票第二領域の画像を示す帳票第二データとを比較し、前記第二領域データと前記帳票第二データとが異なる場合、前記第二領域に含まれる第二文字列を少なくとも含む文字列を示す第二文字列データを文字認識処理に基づいて取得する一方、前記第二領域データと前記帳票第二データとが異ならない場合は、前記第二取得ステップにおいて取得された前記第二領域データの示す態様とは異なる態様で前記第二領域データを表示する指示を出力する第二実行ステップと
を備えたことを特徴とする情報識別方法。
It is a method that can be executed by the computers that make up the information identification device.
The first acquisition step of acquiring the reading data showing the image of reading the entry form, which is a form in which characters including handwritten characters are entered, and
A first area identification step for specifying the first area surrounded by the outline corresponding to the first pixel value in the read data as a target area for character recognition processing, and
The first area data showing the image of the first area and the form number corresponding to the first area in the form image data showing the image of the form in which the handwritten characters are not entered, which is the form corresponding to the entry form. Based on the first data of the form showing the image of one area, the first execution step of acquiring the first character string data indicating the character string including at least the first character string included in the first area based on the character recognition process. ,
A second area specifying step for specifying a second area surrounded by a contour corresponding to a second pixel value different from the first pixel value in the read data as a target area for character recognition processing, and a second area specifying step.
A second acquisition step of acquiring second region data showing an image of the second region from the read data, and
The second area data is compared with the second form data showing the image of the second form area corresponding to the second area in the form image data, and the second area data and the second form data are different from each other. In this case , if the second character string data indicating the character string including at least the second character string included in the second area is acquired based on the character recognition process, while the second area data and the form second data are different. If not, it is characterized by including a second execution step that outputs an instruction to display the second area data in a mode different from the mode indicated by the second area data acquired in the second acquisition step. Information identification method to be performed.
帳票の画像を読み取る読取部と、
前記読取部によって読み取られた、手書き文字を含む文字の記入された帳票である記入帳票を読み取った画像を示す読取データを取得する第一取得手段と、
前記読取データにおいて第一画素値に対応する輪郭で囲まれた第一領域を、文字認識処理の対象とする領域として特定する第一領域特定手段と、
前記第一領域の画像を示す第一領域データと、前記記入帳票に応じた帳票であって、手書き文字が記入されていない帳票の画像を示す帳票画像データにおける前記第一領域に対応する帳票第一領域の画像を示す帳票第一データとに基づいて、前記第一領域に含まれる第一文字列を少なくとも含む文字列を示す第一文字列データを文字認識処理に基づいて取得する第一実行手段と、
前記読取データにおいて前記第一画素値とは異なる第二画素値に対応する輪郭で囲まれた第二領域を文字認識処理の対象とする領域として特定する第二領域特定手段と、
前記第二領域の画像を示す第二領域データを前記読取データから取得する第二取得手段と、
前記第二領域データと、前記帳票画像データにおける前記第二領域に対応する帳票第二領域の画像を示す帳票第二データとを比較し、前記第二領域データと前記帳票第二データとが異なる場合、前記第二領域に含まれる第二文字列を少なくとも含む文字列を示す第二文字列データを文字認識処理に基づいて取得する一方、前記第二領域データと前記帳票第二データとが異ならない場合は、前記第二取得手段によって取得された前記第二領域データの示す態様とは異なる態様で前記第二領域データを表示する指示を出力する第二実行手段と
を備えたことを特徴とする画像読取装置。
A reader that reads the image of the form and
A first acquisition means for acquiring read data indicating an image obtained by reading an entry form, which is a form in which characters including handwritten characters are entered, which is read by the reading unit.
A first area specifying means for specifying a first area surrounded by a contour corresponding to the first pixel value in the read data as a target area for character recognition processing, and
The first area data showing the image of the first area and the form number corresponding to the first area in the form image data showing the image of the form in which the handwritten characters are not entered, which is the form corresponding to the entry form. Based on the first data of the form showing the image of one area, the first execution means for acquiring the first character string data indicating the character string including at least the first character string included in the first area based on the character recognition process. ,
A second area specifying means for specifying a second area surrounded by a contour corresponding to a second pixel value different from the first pixel value in the read data as a target area for character recognition processing, and
A second acquisition means for acquiring second region data indicating an image of the second region from the read data, and
The second area data is compared with the second form data showing the image of the second form area corresponding to the second area in the form image data, and the second area data and the second form data are different from each other. In this case , if the second character string data indicating the character string including at least the second character string included in the second area is acquired based on the character recognition process, while the second area data and the form second data are different. If not, it is characterized by providing a second execution means for outputting an instruction to display the second area data in a mode different from the mode indicated by the second area data acquired by the second acquisition means. Image reader.
JP2019226976A 2019-12-17 2019-12-17 Information identification program, information identification method, and image reader Active JP6885449B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019226976A JP6885449B2 (en) 2019-12-17 2019-12-17 Information identification program, information identification method, and image reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019226976A JP6885449B2 (en) 2019-12-17 2019-12-17 Information identification program, information identification method, and image reader

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015192165A Division JP6634764B2 (en) 2015-09-29 2015-09-29 Information identification program, information identification method, and image reading device

Publications (2)

Publication Number Publication Date
JP2020038736A JP2020038736A (en) 2020-03-12
JP6885449B2 true JP6885449B2 (en) 2021-06-16

Family

ID=69738165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019226976A Active JP6885449B2 (en) 2019-12-17 2019-12-17 Information identification program, information identification method, and image reader

Country Status (1)

Country Link
JP (1) JP6885449B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111931664B (en) * 2020-08-12 2024-01-12 腾讯科技(深圳)有限公司 Mixed-pasting bill image processing method and device, computer equipment and storage medium
CN114169302B (en) * 2021-12-10 2025-03-18 金蝶软件(中国)有限公司 A document processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4110495B2 (en) * 1998-10-27 2008-07-02 沖電気工業株式会社 Unmanned contract system and customer terminal
JP4618244B2 (en) * 2006-12-20 2011-01-26 パナソニック電工株式会社 Foam detergent dispenser
JP5227720B2 (en) * 2008-09-30 2013-07-03 トッパン・フォームズ株式会社 Information collection system and information entry sheet used therefor
JP2014238642A (en) * 2013-06-06 2014-12-18 沖電気工業株式会社 Personal information protection apparatus, personal information protection system, personal information protection method, and program

Also Published As

Publication number Publication date
JP2020038736A (en) 2020-03-12

Similar Documents

Publication Publication Date Title
US11574489B2 (en) Image processing system, image processing method, and storage medium
JP5616308B2 (en) Document modification detection method by character comparison using character shape feature
US11418658B2 (en) Image processing apparatus, image processing system, image processing method, and storage medium
CN105320933A (en) Electronic document generation system and electronic document generation apparatus
JP6808330B2 (en) Information processing equipment, information processing methods, and programs
US9558433B2 (en) Image processing apparatus generating partially erased image data and supplementary data supplementing partially erased image data
JP6885449B2 (en) Information identification program, information identification method, and image reader
JP2007279828A (en) Form processing device, form creation device, form, program for form processing, program for form creation
JP2019159633A (en) Image processing apparatus, image processing method, and image processing program
US11360715B2 (en) Printer and non-transitory computer readable storage medium with shared review function
US9338310B2 (en) Image processing apparatus and computer-readable medium for determining pixel value of a target area and converting the pixel value to a specified value of a target image data
US8320027B2 (en) Image processing apparatus, data processing method executed by image processing apparatus, and computer-readable storage medium storing program for causing computer to execute data processing method
JP2019046225A (en) Recognition device, recognition program, and recognition method
JP2022090469A (en) Format definition device, format definition method, and program
JP6634764B2 (en) Information identification program, information identification method, and image reading device
JP4741363B2 (en) Image processing apparatus, image processing method, and image processing program
JP4958868B2 (en) Document feature extraction apparatus and method
US11972197B2 (en) OCR system
JP2017021654A (en) Document management server and system
JP7689698B1 (en) Drawing processing device and drawing processing method
US20110135162A1 (en) Image processing apparatus, image processing method and recording medium
US20110157658A1 (en) Imaging processing apparatus, method for controlling the same, and program
JP6980167B1 (en) Printing methods, electronic devices, programs, servers and image forming devices
JP2003308478A (en) Form recognizing device, storage medium and program
JP4984590B2 (en) Electronic pen form manufacturing system and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191223

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210126

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210325

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210413

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210426

R150 Certificate of patent or registration of utility model

Ref document number: 6885449

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150