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
JP7642944B2 - Information processing device, program, and information processing method - Google Patents
[go: Go Back, main page]

JP7642944B2 - Information processing device, program, and information processing method - Google Patents

Information processing device, program, and information processing method Download PDF

Info

Publication number
JP7642944B2
JP7642944B2 JP2021154632A JP2021154632A JP7642944B2 JP 7642944 B2 JP7642944 B2 JP 7642944B2 JP 2021154632 A JP2021154632 A JP 2021154632A JP 2021154632 A JP2021154632 A JP 2021154632A JP 7642944 B2 JP7642944 B2 JP 7642944B2
Authority
JP
Japan
Prior art keywords
character
recognition
confirmed
candidate
characters
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
JP2021154632A
Other languages
Japanese (ja)
Other versions
JP2023045981A5 (en
JP2023045981A (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.)
Laurel Bank Machine Co Ltd
Laurel Precision Machines Co Ltd
Laurel Machinery Co Ltd
Original Assignee
Laurel Bank Machine Co Ltd
Laurel Precision Machines Co Ltd
Laurel Machinery Co 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 Laurel Bank Machine Co Ltd, Laurel Precision Machines Co Ltd, Laurel Machinery Co Ltd filed Critical Laurel Bank Machine Co Ltd
Priority to JP2021154632A priority Critical patent/JP7642944B2/en
Priority to PCT/JP2022/031371 priority patent/WO2023047858A1/en
Publication of JP2023045981A publication Critical patent/JP2023045981A/en
Publication of JP2023045981A5 publication Critical patent/JP2023045981A5/en
Application granted granted Critical
Publication of JP7642944B2 publication Critical patent/JP7642944B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/12Detection or correction of errors, e.g. by rescanning the pattern

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Character Discrimination (AREA)

Description

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

文字認識装置等の情報処理装置では、一般的に、光学文字認識(OCR:Optical character recognition)技術が採用されている(例えば、特許文献1参照)。OCR技術は、帳票等の媒体に記載された文字をカメラ及びイメージスキャナ等の光学的な手段により画像として取込み、取り込んだ画像内の文字をコンピュータ等が利用可能な文字情報(例えば、文字コード)に変換する技術である。 Information processing devices such as character recognition devices generally employ optical character recognition (OCR) technology (see, for example, Patent Document 1). OCR technology is a technology that captures characters written on a medium such as a form as an image using optical means such as a camera or image scanner, and converts the characters in the captured image into character information (for example, character codes) that can be used by a computer or the like.

特開2010-073201号公報JP 2010-073201 A

ところで、この種のOCR技術の文字認識精度は100%にはならない。このため、文字認識処理における文字の認識の精度を高めることが可能な情報処理装置が求められている。 However, the character recognition accuracy of this type of OCR technology is not 100%. For this reason, there is a demand for information processing devices that can improve the accuracy of character recognition in character recognition processing.

本発明の好適な態様に係る情報処理装置は、画像に含まれる文字を認識し、認識した文字の確度を算出する複数の文字認識処理の各々により、1つ以上の項目を含む書類の画像である文字画像に含まれる一の文字を認識する認識部と、前記複数の文字認識処理の各々による前記一の文字の認識結果として得られる複数の候補文字の1つを、前記一の文字の認識結果に対応する確定文字に決定する決定部と、を備え、文字の認識に使用する文字認識処理の優先度が項目毎に決められており、前記決定部は、前記複数の候補文字の各々の確度と、前記複数の文字認識処理の各々の前記優先度とに基づいて、前記複数の候補文字の1つを、前記確定文字に決定する。 An information processing device according to a preferred embodiment of the present invention includes a recognition unit that recognizes a character included in a character image, which is an image of a document including one or more items, by performing a plurality of character recognition processes that recognize characters included in an image and calculate the accuracy of the recognized character, and a determination unit that determines one of a plurality of candidate characters obtained as a recognition result of the one character by each of the plurality of character recognition processes as a confirmed character corresponding to the recognition result of the one character, where a priority of the character recognition processes used to recognize characters is determined for each item, and the determination unit determines one of the plurality of candidate characters as the confirmed character based on the accuracy of each of the plurality of candidate characters and the priority of each of the plurality of character recognition processes.

また、本発明の好適な他の態様に係る情報処理装置は、画像に含まれる文字を認識し、認識した文字の確度を算出する第1文字認識処理、及び、画像に含まれる文字を認識し、認識した文字の確度を算出する第2文字認識処理の各々により、文字画像に含まれる一の文字を認識する認識部と、前記第1文字認識処理による前記一の文字の認識結果として得られる1つ以上の第1候補文字と、前記第2文字認識処理による前記一の文字の認識結果として得られる1つ以上の第2候補文字との両方に含まれる共通文字が存在する場合、前記共通文字を前記一の文字の認識結果に対応する確定文字とするか否かを決定する決定部と、を備えている。 An information processing device according to another preferred aspect of the present invention includes a recognition unit that recognizes a character included in a character image by a first character recognition process that recognizes a character included in an image and calculates the accuracy of the recognized character, and a second character recognition process that recognizes a character included in an image and calculates the accuracy of the recognized character, and a determination unit that, when a common character exists that is included in both one or more first candidate characters obtained as a recognition result of the one character by the first character recognition process and one or more second candidate characters obtained as a recognition result of the one character by the second character recognition process, determines whether or not to make the common character a confirmed character corresponding to the recognition result of the one character.

また、本発明の好適な他の態様に係る情報処理装置は、画像に含まれる文字列を構成する複数の文字を認識する第1文字認識処理、及び、前記画像に含まれる前記複数の文字のうち一の文字を認識する第2文字認識処理を実行する認識部と、前記第1文字認識処理による前記一の文字の認識結果として得られる第1候補文字と、前記第2文字認識処理による前記一の文字の認識結果として得られる第2候補文字とが、互いに同じ文字である場合、前記同じ文字を、前記一の文字の認識結果に対応する確定文字に決定する決定部と、を備えている。 An information processing device according to another preferred aspect of the present invention includes a recognition unit that executes a first character recognition process that recognizes a plurality of characters constituting a character string included in an image, and a second character recognition process that recognizes one of the plurality of characters included in the image, and a determination unit that, when a first candidate character obtained as a recognition result of the one character by the first character recognition process and a second candidate character obtained as a recognition result of the one character by the second character recognition process are the same character, determines the same character as a confirmed character corresponding to the recognition result of the one character.

本発明の好適な態様に係るプログラムは、プロセッサを、画像に含まれる文字を認識し、認識した文字の確度を算出する複数の文字認識処理の各々により、1つ以上の項目を含む書類の画像である文字画像に含まれる一の文字を認識する認識部と、前記複数の文字認識処理の各々による前記一の文字の認識結果として得られる複数の候補文字の1つを、前記一の文字の認識結果に対応する確定文字に決定する決定部と、として機能させ、文字の認識に使用する文字認識処理の優先度が項目毎に決められており、前記決定部は、前記複数の候補文字の各々の確度と、前記複数の文字認識処理の各々の前記優先度とに基づいて、前記複数の候補文字の1つを、前記確定文字に決定する。 A program according to a preferred embodiment of the present invention causes a processor to function as a recognition unit that recognizes a character included in a character image, which is an image of a document including one or more items, by performing a plurality of character recognition processes that recognize characters included in an image and calculate the accuracy of the recognized character, and a determination unit that determines one of a plurality of candidate characters obtained as a recognition result of the one character by each of the plurality of character recognition processes as a determined character corresponding to the recognition result of the one character, where a priority of the character recognition processes used to recognize characters is determined for each item, and the determination unit determines one of the plurality of candidate characters as the determined character based on the accuracy of each of the plurality of candidate characters and the priority of each of the plurality of character recognition processes.

また、本発明の好適な他の態様に係るプログラムは、プロセッサを、画像に含まれる文字を認識し、認識した文字の確度を算出する第1文字認識処理、及び、画像に含まれる文字を認識し、認識した文字の確度を算出する第2文字認識処理の各々により、文字画像に含まれる一の文字を認識する認識部と、前記第1文字認識処理による前記一の文字の認識結果として得られる1つ以上の第1候補文字と、前記第2文字認識処理による前記一の文字の認識結果として得られる1つ以上の第2候補文字との両方に含まれる共通文字が存在する場合、前記共通文字を前記一の文字の認識結果に対応する確定文字とするか否かを決定する決定部と、として機能させる。 In addition, a program according to another preferred aspect of the present invention causes a processor to function as a recognition unit that recognizes a character included in a character image by each of a first character recognition process that recognizes a character included in an image and calculates the accuracy of the recognized character, and a second character recognition process that recognizes a character included in an image and calculates the accuracy of the recognized character, and a determination unit that, when a common character exists that is included in both one or more first candidate characters obtained as a recognition result of the one character by the first character recognition process and one or more second candidate characters obtained as a recognition result of the one character by the second character recognition process, determines whether or not to make the common character a confirmed character corresponding to the recognition result of the one character.

また、本発明の好適な他の態様に係るプログラムは、プロセッサを、画像に含まれる文字列を構成する複数の文字を認識する第1文字認識処理、及び、前記画像に含まれる前記複数の文字のうち一の文字を認識する第2文字認識処理を実行する認識部と、前記第1文字認識処理による前記一の文字の認識結果として得られる第1候補文字と、前記第2文字認識処理による前記一の文字の認識結果として得られる第2候補文字とが、互いに同じ文字である場合、前記同じ文字を、前記一の文字の認識結果に対応する確定文字に決定する決定部と、として機能させる。 In addition, a program according to another preferred aspect of the present invention causes a processor to function as a recognition unit that executes a first character recognition process that recognizes a plurality of characters constituting a character string included in an image, and a second character recognition process that recognizes one of the plurality of characters included in the image, and a determination unit that, when a first candidate character obtained as a recognition result of the one character by the first character recognition process and a second candidate character obtained as a recognition result of the one character by the second character recognition process are the same character, determines the same character as a confirmed character corresponding to the recognition result of the one character.

本発明によれば、文字認識処理における文字の認識の精度を高めることが可能となる。 The present invention makes it possible to improve the accuracy of character recognition in character recognition processing.

第1実施形態に係る文字認識システムの概要を説明するための説明図である。1 is an explanatory diagram for explaining an overview of a character recognition system according to a first embodiment; 申込書画像の一例を示す説明図である。FIG. 13 is an explanatory diagram showing an example of an application form image. 図1に示した文字認識装置のハードウェア構成の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of the character recognition device illustrated in FIG. 1 . 図1に示した文字認識装置の構成の一例を示す機能ブロック図である。2 is a functional block diagram showing an example of the configuration of the character recognition device shown in FIG. 1 . 図3に示した優先テーブルの一例を示す説明図である。FIG. 4 is an explanatory diagram illustrating an example of the priority table illustrated in FIG. 3 . 確定文字決定処理の一例を説明するための説明図である。FIG. 11 is an explanatory diagram for explaining an example of a confirmed character determination process. 内容確認画面の概要の一例を示す説明図である。FIG. 13 is an explanatory diagram showing an example of an outline of a content confirmation screen. 図1に示した文字認識装置の動作の一例を示すフローチャートである。2 is a flowchart showing an example of the operation of the character recognition device shown in FIG. 1 . 図8に示した確定文字決定処理の一例を示すフローチャートである。9 is a flowchart showing an example of the confirmed character determination process shown in FIG. 8 . 図8に示した確定文字決定処理の別の例を示すフローチャートである。10 is a flowchart showing another example of the confirmed character determination process shown in FIG. 8 . 第2実施形態に係る文字認識装置の概要を説明するための説明図である。FIG. 11 is an explanatory diagram for explaining an overview of a character recognition device according to a second embodiment. 図11に示した認識結果決定部の動作の一例を説明するための説明図である。12 is an explanatory diagram for explaining an example of an operation of a recognition result determination unit shown in FIG. 11 . 図11に示した認識結果決定部の動作の一例を示すフローチャートである。12 is a flowchart showing an example of an operation of a recognition result determination unit shown in FIG. 11 . 第3実施形態に係る文字認識装置の概要を説明するための説明図である。FIG. 13 is an explanatory diagram for explaining an overview of a character recognition device according to a third embodiment. 図14に示した認識結果決定部の動作の一例を説明するための説明図である。15 is an explanatory diagram for explaining an example of an operation of the recognition result determination unit shown in FIG. 14; 第1変形例に係る重みテーブルの一例を説明するための説明図である。FIG. 11 is an explanatory diagram for explaining an example of a weighting table according to a first modified example. 第1変形例に係る確定文字決定処理の一例を説明するための説明図である。FIG. 11 is an explanatory diagram for explaining an example of a confirmed character determination process according to a first modified example. 第2変形例に係る文字認識システムの一例を示す図である。FIG. 13 is a diagram illustrating an example of a character recognition system according to a second modified example.

以下、本発明を実施するための形態について図面を参照して説明する。なお、各図において、各部の寸法及び縮尺は、実際のものと適宜に異ならせてある。また、以下に述べる実施の形態は、本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの形態に限られるものではない。 Below, the embodiments for carrying out the present invention will be described with reference to the drawings. Note that in each drawing, the dimensions and scale of each part are appropriately different from the actual ones. In addition, the embodiments described below are preferred examples of the present invention, and therefore various technically preferable limitations are applied, but the scope of the present invention is not limited to these embodiments unless otherwise specified in the following description to the effect that the present invention is limited.

[1.第1実施形態]
先ず、図1を参照しながら、第1実施形態に係る文字認識システム1の概要の一例について説明する。
[1. First embodiment]
First, an example of an overview of a character recognition system 1 according to a first embodiment will be described with reference to FIG.

図1は、第1実施形態に係る文字認識システム1の概要を説明するための説明図である。 Figure 1 is an explanatory diagram for explaining an overview of the character recognition system 1 according to the first embodiment.

図1に示す文字認識システム1は、文字認識装置10、端末装置20及び画像入力装置30を有する。文字認識装置10は、「情報処理装置」の一例である。文字認識装置10及び端末装置20は、例えば、ネットワークNWを介して、互いに通信可能に接続されている。ネットワークNWは、インターネット及びローカルエリアネットワークを含み得る。例えば、ネットワークNWは、有線ネットワーク及び無線ネットワークの一方又は両方を含む。また、ネットワークNWと文字認識装置10との接続等は、例えば、複数の要素間を互いに通信可能にする接続であればよく、有線及び無線の一方を用いた接続であってもよいし、有線及び無線の両方を用いた接続であってもよい。 The character recognition system 1 shown in FIG. 1 includes a character recognition device 10, a terminal device 20, and an image input device 30. The character recognition device 10 is an example of an "information processing device." The character recognition device 10 and the terminal device 20 are communicatively connected to each other, for example, via a network NW. The network NW may include the Internet and a local area network. For example, the network NW includes one or both of a wired network and a wireless network. Furthermore, the connection between the network NW and the character recognition device 10 may be, for example, a connection that allows multiple elements to communicate with each other, and may be a connection using either a wired or wireless connection, or a connection using both a wired and wireless connection.

文字認識装置10としては、ネットワークNWに接続可能な任意の情報処理装置を採用することができる。文字認識装置10は、例えば、光学文字認識(OCR:Optical character recognition)技術を用いて、画像に含まれる文字を認識する文字認識処理を実行する。文字認識処理の対象となる画像の一例は、後述する図2において説明される。また、文字認識装置10の構成は、後述する図3及び図4において説明される。本実施形態では、所定のサービスに入会するための入会申込書に記載されている文字を文字認識装置10が認識する場合を想定する。例えば、本実施形態では、文字認識装置10は、光学文字認識技術を用いて、入会申込書に記載された情報を電子データに変換する。 As the character recognition device 10, any information processing device that can be connected to the network NW can be adopted. The character recognition device 10 executes a character recognition process that recognizes characters included in an image, for example, using optical character recognition (OCR) technology. An example of an image that is the subject of the character recognition process is described in FIG. 2, which will be described later. The configuration of the character recognition device 10 is described in FIG. 3 and FIG. 4, which will be described later. In this embodiment, it is assumed that the character recognition device 10 recognizes characters written on a membership application form for joining a specified service. For example, in this embodiment, the character recognition device 10 converts information written on the membership application form into electronic data using optical character recognition technology.

端末装置20としては、ネットワークNWに接続可能な任意の情報処理装置を採用することができる。具体的には、端末装置20は、例えば、パーソナルコンピュータ等の据置型の情報機器であってもよいし、ノート型のパーソナルコンピュータ、タブレット端末及びスマートフォン等の可搬型の情報端末であってもよい。図1に示す端末装置20は、端末装置20のオペレータの操作を受け付ける操作装置27と、画像等を表示する表示装置28とを有する。例えば、端末装置20は、文字認識処理の結果等を表示装置28に表示させる。文字認識処理の結果は、例えば、文字認識装置10からネットワークNWを介して端末装置20に送信される。なお、表示装置28は、「表示部」の一例である。 As the terminal device 20, any information processing device that can be connected to the network NW can be adopted. Specifically, the terminal device 20 may be, for example, a stationary information device such as a personal computer, or may be a portable information terminal such as a notebook personal computer, a tablet terminal, or a smartphone. The terminal device 20 shown in FIG. 1 has an operation device 27 that accepts operations by an operator of the terminal device 20, and a display device 28 that displays images, etc. For example, the terminal device 20 displays the results of the character recognition process, etc. on the display device 28. The results of the character recognition process are transmitted to the terminal device 20 from the character recognition device 10 via the network NW, for example. The display device 28 is an example of a "display unit".

また、端末装置20は、画像入力装置30と通信可能に接続される。端末装置20と画像入力装置30との接続は、有線及び無線の一方を用いた接続であってもよいし、有線及び無線の両方を用いた接続であってもよい。端末装置20は、例えば、文字認識処理の対象となる画像を示す画像情報を画像入力装置30から取得し、画像入力装置30から取得した画像情報を、ネットワークNWを介して文字認識装置10に送信する。 The terminal device 20 is also connected to the image input device 30 so that they can communicate with each other. The connection between the terminal device 20 and the image input device 30 may be a wired or wireless connection, or may be a wired and wireless connection. The terminal device 20, for example, acquires image information indicating an image to be subjected to character recognition processing from the image input device 30, and transmits the image information acquired from the image input device 30 to the character recognition device 10 via the network NW.

なお、端末装置20は、表示装置28を含まなくてもよい。端末装置20は、表示装置28を含まない場合、表示装置28と通信可能に接続される。この場合、端末装置20と表示装置28との接続は、有線及び無線の一方を用いた接続であってもよいし、有線及び無線の両方を用いた接続であってもよい。 The terminal device 20 does not have to include the display device 28. When the terminal device 20 does not include the display device 28, it is communicatively connected to the display device 28. In this case, the connection between the terminal device 20 and the display device 28 may be a wired or wireless connection, or may be both a wired and wireless connection.

画像入力装置30は、例えば、カメラ及びイメージスキャナ等の光学的な装置である。例えば、画像入力装置30は、入会申込書等の書類を撮像することにより、書類の画像を示す画像情報を生成する。画像入力装置30により生成された画像情報は、端末装置20に送信される。なお、画像入力装置30は、端末装置20に含まれてもよい。 The image input device 30 is, for example, an optical device such as a camera or an image scanner. For example, the image input device 30 captures an image of a document such as a membership application form, thereby generating image information showing an image of the document. The image information generated by the image input device 30 is transmitted to the terminal device 20. Note that the image input device 30 may be included in the terminal device 20.

図2は、申込書画像GMの一例を示す説明図である。 Figure 2 is an explanatory diagram showing an example of an application form image GM.

申込書画像GMは、例えば、複数の項目を含む入会申込書の画像である。複数の項目を含む入会申込書は、「1つ以上の項目を含む書類」の一例である。すなわち、申込書画像GMは、「文字画像」の一例である。 The application form image GM is, for example, an image of a membership application form that includes multiple items. A membership application form that includes multiple items is an example of a "document that includes one or more items." In other words, the application form image GM is an example of a "text image."

例えば、申込書画像GMは、文字認識処理の対象となる画像である。従って、申込書画像GMは、複数の項目に対応する複数の記載欄を含む。図2に示す例では、申込書に記載される複数の項目は、申込番号、カナ氏名、氏名、郵便番号、住所、電子メール(E-mail)、及び、電話番号である。 For example, the application form image GM is an image that is the subject of character recognition processing. Therefore, the application form image GM includes multiple fields corresponding to multiple items. In the example shown in FIG. 2, the multiple items written on the application form are the application number, kana name, name, postal code, address, email address, and phone number.

複数の記載欄の各々は、当該記載欄に記載すべき申込内容の項目の名称である項目名称が記載された項目名称記載領域AMと、当該記載欄に係る申込内容が記載された申込内容記載領域AKと、を含む。以下では、申込書画像GMのうち、複数の申込内容記載領域AKの各々に記載された申込内容に係る文字列を示す画像は、文字列画像GCLとも称される。また、図2では、複数の文字列画像GCLを互いに区別するために、複数の文字列画像GCLの各々の符号の末尾には、数字(1、2、3、4、5、6又は7)が付されている。 Each of the multiple entry fields includes an item name entry area AM in which an item name, which is the name of an item of the application content to be entered in that entry field, is entered, and an application content entry area AK in which the application content related to that entry field is entered. Hereinafter, among the application form image GM, an image showing a character string related to the application content entered in each of the multiple application content entry areas AK is also referred to as a character string image GCL. Also, in FIG. 2, in order to distinguish the multiple character string images GCL from one another, a number (1, 2, 3, 4, 5, 6, or 7) is added to the end of each of the symbols of the multiple character string images GCL.

例えば、文字列画像GCL1は、「申込番号」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示す。また、文字列画像GCL2は、「カナ氏名」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示し、文字列画像GCL3は、「氏名」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示す。また、文字列画像GCL4は、「郵便番号」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示し、文字列画像GCL5は、「住所」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示す。また、文字列画像GCL6は、「電子メール」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示し、文字列画像GCL7は、「電話番号」に係る申込内容記載領域AKに記載された申込内容に係る文字列を示す。 For example, character string image GCL1 shows a character string related to the application content written in the application content entry area AK related to "application number". Character string image GCL2 shows a character string related to the application content written in the application content entry area AK related to "kana name", and character string image GCL3 shows a character string related to the application content written in the application content entry area AK related to "name". Character string image GCL4 shows a character string related to the application content written in the application content entry area AK related to "zip code", and character string image GCL5 shows a character string related to the application content written in the application content entry area AK related to "address". Character string image GCL6 shows a character string related to the application content written in the application content entry area AK related to "email", and character string image GCL7 shows a character string related to the application content written in the application content entry area AK related to "telephone number".

また、以下では、複数の文字列画像GCLの各々により示される文字列に含まれる複数の文字の各々を示す画像は、個別文字画像GCとも称される。すなわち、複数の文字列画像GCLの各々は、複数の個別文字画像GCを含む画像である。例えば、文字列画像GCL5は、「海」の個別文字画像GC1及び「大」の個別文字画像GC2等を含む。 In the following description, an image showing each of the multiple characters included in the character string represented by each of the multiple character string images GCL is also referred to as an individual character image GC. That is, each of the multiple character string images GCL is an image that includes multiple individual character images GC. For example, character string image GCL5 includes an individual character image GC1 of "sea" and an individual character image GC2 of "big", etc.

なお、以下では、文字認識装置10が、図2に例示するフォーマットを有する申込書画像GMを、文字認識処理の対象とする場合を想定するが、本発明はこのような態様に限定されるものではない。本実施形態において、文字認識装置10は、任意のフォーマットを有する書類又はフォーマットが決められていない文章(例えば、白紙のメモ等)を、文字認識処理の対象とすることができる。また、以下では、申込内容記載領域AKに記載された申込内容が、手書きされた文字である手書文字により記載される場合を想定するが、本発明はこのような態様に限定されるものではない。例えば、本実施形態において、1つ以上の文字列画像GCLにより示される複数の文字のうち、一部又は全部が、活字により記載されていてもよい。 In the following, it is assumed that the character recognition device 10 performs character recognition processing on an application form image GM having the format exemplified in FIG. 2, but the present invention is not limited to this aspect. In this embodiment, the character recognition device 10 can perform character recognition processing on documents having any format or text with no set format (e.g., blank notes, etc.). In the following, it is assumed that the application content written in the application content writing area AK is written in handwritten characters, but the present invention is not limited to this aspect. For example, in this embodiment, some or all of the multiple characters shown in one or more character string images GCL may be written in type.

次に、図3を参照しながら、文字認識装置10のハードウェア構成について説明する。 Next, the hardware configuration of the character recognition device 10 will be described with reference to FIG. 3.

図3は、図1に示した文字認識装置10のハードウェア構成の一例を示す図である。 Figure 3 is a diagram showing an example of the hardware configuration of the character recognition device 10 shown in Figure 1.

文字認識装置10は、文字認識装置10の各部を制御する処理装置12と、各種情報を記憶する記憶装置14と、通信装置16とを有する。 The character recognition device 10 has a processing device 12 that controls each part of the character recognition device 10, a storage device 14 that stores various information, and a communication device 16.

記憶装置14は、例えば、処理装置12の作業領域として機能するRAM(Random Access Memory)等の揮発性メモリと、制御プログラムPG1等の各種情報を記憶するEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリとの、一方又は両方を含む。なお、記憶装置14は、文字認識装置10に着脱可能であってもよい。具体的には、記憶装置14は、文字認識装置10に着脱されるメモリカード等の記憶媒体であってもよい。また、記憶装置14は、例えば、文字認識装置10とネットワークNW等を介して通信可能に接続された記憶装置(例えば、オンラインストレージ)であってもよい。 The storage device 14 includes, for example, one or both of a volatile memory such as a RAM (Random Access Memory) that functions as a working area for the processing device 12, and a non-volatile memory such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) that stores various information such as the control program PG1. The storage device 14 may be detachable from the character recognition device 10. Specifically, the storage device 14 may be a storage medium such as a memory card that is detachable from the character recognition device 10. The storage device 14 may also be, for example, a storage device (e.g., online storage) that is communicatively connected to the character recognition device 10 via a network NW or the like.

図3に示す記憶装置14は、制御プログラムPG1、優先テーブルPTBL及び複数の学習モデルLMを記憶している。図3では、複数の学習モデルLMを互いに区別するために、複数の学習モデルLMの各々の符号の末尾には、数字(例えば、1)又は小文字のアルファベット(例えば、m)が付されている。例えば、mは、2以上の自然数を示す。 The storage device 14 shown in FIG. 3 stores a control program PG1, a priority table PTBL, and multiple learning models LM. In FIG. 3, in order to distinguish the multiple learning models LM from one another, a number (e.g., 1) or a lowercase alphabet (e.g., m) is added to the end of each of the symbols for the multiple learning models LM. For example, m indicates a natural number equal to or greater than 2.

制御プログラムPG1は、「プログラム」の一例である。本実施形態では、制御プログラムPG1は、例えば、文字認識装置10が文字認識処理を実行するためのアプリケーションプログラムを含む。但し、制御プログラムPG1は、例えば、処理装置12が文字認識装置10の各部を制御するためのオペレーティングシステムプログラムを含んでもよい。 The control program PG1 is an example of a "program." In this embodiment, the control program PG1 includes, for example, an application program for the character recognition device 10 to execute the character recognition process. However, the control program PG1 may also include, for example, an operating system program for the processing device 12 to control each part of the character recognition device 10.

優先テーブルPTBLには、例えば、後述する図4に示す複数の文字認識部CRに対応付けられた複数の優先度を示す情報が記憶されている。優先度は、文字の認識に使用する文字認識部CRの優先度であり、項目毎に決められている。なお、優先テーブルPTBLの詳細は、後述する図5において説明される。 The priority table PTBL stores information indicating multiple priorities associated with multiple character recognition units CR, for example, as shown in FIG. 4, which will be described later. The priority is the priority of the character recognition unit CR used to recognize characters, and is determined for each item. Details of the priority table PTBL will be described in FIG. 5, which will be described later.

複数の学習モデルLMの各々は、例えば、多層ニューラルネットワークであり、1又は複数の種類の文字について、当該種類の文字を含む画像と、当該画像に含まれる文字との関係を学習した学習モデルである。なお、本実施形態では、説明の便宜上、画像の示す文字の種類が、漢字、ひらがな、カタカナ、アラビア数字(以下、単に「数字」とも称する)、アルファベット、及び、記号の、6種類である場合を想定する。ここで、記号とは、例えば、ドット、カンマ、句点、読点、ハイフン、及び、演算記号を含む概念である。 Each of the multiple learning models LM is, for example, a multi-layer neural network, and is a learning model that learns the relationship between images containing one or more types of characters and the characters contained in the images. For ease of explanation, in this embodiment, it is assumed that the types of characters shown in the images are six types: kanji, hiragana, katakana, Arabic numerals (hereinafter also simply referred to as "numbers"), alphabets, and symbols. Here, symbols are a concept that includes, for example, dots, commas, periods, commas, hyphens, and arithmetic symbols.

処理装置12は、文字認識装置10の全体を制御するプロセッサであり、例えば、1又は複数のCPU(Central Processing Unit)を含んで構成される。処理装置12は、例えば、記憶装置14に記憶された制御プログラムPG1を実行し、制御プログラムPG1に従って動作することで、後述する図4に示す制御部120として機能する。なお、制御プログラムPG1は、ネットワークNWを介して他の装置から送信されてもよい。 The processing device 12 is a processor that controls the entire character recognition device 10, and is configured to include, for example, one or more CPUs (Central Processing Units). The processing device 12 executes, for example, a control program PG1 stored in the storage device 14, and operates according to the control program PG1, thereby functioning as a control unit 120 shown in FIG. 4, which will be described later. The control program PG1 may be transmitted from another device via the network NW.

また、例えば、処理装置12が複数のCPUを含んで構成される場合、処理装置12の機能の一部又は全部は、これら複数のCPUが制御プログラムPG1等のプログラムに従って協働して動作することで実現されてもよい。また、処理装置12は、1又は複数のCPUに加え、又は、1又は複数のCPUのうち一部又は全部に代えて、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、又は、FPGA(Field Programmable Gate Array)等のハードウェアを含んで構成されるものであってもよい。この場合、処理装置12の機能の一部又は全部は、DSP等のハードウェアにより実現されてもよい。 For example, when the processing device 12 is configured to include multiple CPUs, some or all of the functions of the processing device 12 may be realized by these multiple CPUs operating in cooperation with each other according to a program such as the control program PG1. Furthermore, the processing device 12 may be configured to include hardware such as a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), or an FPGA (Field Programmable Gate Array) in addition to one or more CPUs, or in place of some or all of the one or more CPUs. In this case, some or all of the functions of the processing device 12 may be realized by hardware such as a DSP.

通信装置16は、有線ネットワーク及び無線ネットワークの一方又は両方を介して、文字認識装置10の外部に存在する外部装置との通信を行うためのハードウェアである。 The communication device 16 is hardware for communicating with an external device outside the character recognition device 10 via one or both of a wired network and a wireless network.

次に、図4を参照しながら、文字認識装置10の機能について説明する。 Next, the functions of the character recognition device 10 will be described with reference to FIG.

図4は、図1に示した文字認識装置10の構成の一例を示す機能ブロック図である。 Figure 4 is a functional block diagram showing an example of the configuration of the character recognition device 10 shown in Figure 1.

制御部120は、図3において説明されたように、処理装置12により実現される。なお、処理装置12が複数のCPUを含んで構成される場合、制御部120の一部又は全部の機能は、これら複数のCPUが制御プログラムPG1に従って協働して動作することで実現されてもよい。また、処理装置12がDSP等のハードウェアを含んで構成される場合、制御部120の一部又は全部は、DSP等のハードウェアにより実現されてもよい。 The control unit 120 is realized by the processing device 12 as described in FIG. 3. If the processing device 12 is configured to include multiple CPUs, some or all of the functions of the control unit 120 may be realized by these multiple CPUs operating in cooperation with each other according to the control program PG1. If the processing device 12 is configured to include hardware such as a DSP, some or all of the functions of the control unit 120 may be realized by the hardware such as a DSP.

制御部120は、例えば、画像情報取得部122、記載内容認識部124、認識結果決定部126及び表示情報生成部128を有する。記載内容認識部124は、「認識部」の一例であり、認識結果決定部126は、「決定部」の一例である。また、表示情報生成部128は、「表示制御部」の一例である。 The control unit 120 has, for example, an image information acquisition unit 122, a description content recognition unit 124, a recognition result determination unit 126, and a display information generation unit 128. The description content recognition unit 124 is an example of a "recognition unit", and the recognition result determination unit 126 is an example of a "determination unit". Furthermore, the display information generation unit 128 is an example of a "display control unit".

画像情報取得部122は、例えば、文字認識処理の対象となる申込書画像GMを示す画像情報(画像入力装置30により生成された画像情報)を、通信装置16を介して端末装置20から取得する。 The image information acquisition unit 122 acquires, for example, image information (image information generated by the image input device 30) indicating the application form image GM to be subjected to character recognition processing from the terminal device 20 via the communication device 16.

記載内容認識部124は、複数の文字認識部CRを有する。本実施形態では、複数の文字認識部CRが複数の学習モデルLMと1対1に対応している場合を想定する。図4では、複数の文字認識部CRを互いに区別するために、複数の文字認識部CRの各々の符号の末尾には、数字(例えば、1)又は小文字のアルファベット(例えば、m)が付されている。例えば、mは、2以上の自然数を示す。 The written content recognition unit 124 has multiple character recognition units CR. In this embodiment, it is assumed that the multiple character recognition units CR correspond one-to-one to the multiple learning models LM. In FIG. 4, in order to distinguish the multiple character recognition units CR from one another, a number (e.g., 1) or a lowercase alphabet (e.g., m) is added to the end of each of the symbols of the multiple character recognition units CR. For example, m indicates a natural number equal to or greater than 2.

複数の文字認識部CRの各々は、例えば、画像に含まれる文字を認識し、かつ、認識した文字の確からしさを示す確度を算出する処理を、文字認識処理として実行する。記載内容認識部124は、例えば、画像情報取得部122が取得した画像情報により示される申込書画像GMに対する文字認識処理を、複数の文字認識部CRのうちの2つ以上の文字認識部CRに実行させる。例えば、記載内容認識部124は、優先テーブルPTBLに記憶された優先度等の情報に基づいて、複数の文字認識部CRの中から2つ以上の文字認識部CRを選択する。そして、記載内容認識部124は、複数の文字認識部CRの中から選択した2つ以上の文字認識部CRの各々に申込書画像GMに対する文字認識処理を実行させることにより、申込書画像GMに含まれる文字を認識する。以下では、文字認識部CRが認識した文字の確からしさを示す確度は、単に、文字の確度とも称される。 Each of the multiple character recognition units CR performs character recognition processing, for example, by recognizing characters contained in an image and calculating a degree of accuracy indicating the likelihood of the recognized characters. The description content recognition unit 124 causes two or more of the multiple character recognition units CR to perform character recognition processing on the application form image GM indicated by the image information acquired by the image information acquisition unit 122. For example, the description content recognition unit 124 selects two or more character recognition units CR from the multiple character recognition units CR based on information such as priority stored in the priority table PTBL. Then, the description content recognition unit 124 recognizes characters contained in the application form image GM by having each of the two or more character recognition units CR selected from the multiple character recognition units CR perform character recognition processing on the application form image GM. Hereinafter, the degree of accuracy indicating the likelihood of the characters recognized by the character recognition unit CR is also simply referred to as the degree of accuracy of the characters.

複数の文字認識部CR(CR1~CRm)の各々は、複数の学習モデルLM(LM1~LMm)のうちの対応する学習モデルLMを用いて、個別文字画像GCにより示される文字を認識する。すなわち、本実施形態では、複数の文字認識部CRの各々は、記憶装置14に記憶された複数の学習モデルLMのうちの対応する学習モデルLMを用いることで、AI(Artificial Intelligence)-OCRによる文字認識処理を実行する。 Each of the multiple character recognition units CR (CR1 to CRm) uses a corresponding learning model LM from among the multiple learning models LM (LM1 to LMm) to recognize the character indicated by the individual character image GC. That is, in this embodiment, each of the multiple character recognition units CR uses a corresponding learning model LM from among the multiple learning models LM stored in the storage device 14 to perform character recognition processing using AI (Artificial Intelligence)-OCR.

なお、本実施形態では、複数の文字認識部CRが、互いに異なるアルゴリズムを用いて、文字認識処理を実行する場合を想定する。例えば、文字認識部CR1が文字認識処理において用いるアルゴリズムと、文字認識部CRmが文字認識処理において用いるアルゴリズムとは異なる。ここで、「アルゴリズムが異なる」とは、例えば、文字認識処理に用いられる学習モデルLMの種類が異なることであってもよいし、文字認識処理に用いられる学習モデルLMを学習させる場合に用いるデータセットが異なることであってもよい。あるいは、「アルゴリズムが異なる」とは、例えば、文字認識処理に用いられる学習モデルLMの種類が異なること、及び、文字認識処理に用いられる学習モデルLMを学習させる場合に用いるデータセットが異なることの両方の概念を含むものであってもよい。なお、学習モデルLMの種類は、例えば、ニューラルネットワークの種類である。 In this embodiment, it is assumed that the multiple character recognition units CR use different algorithms to perform character recognition processing. For example, the algorithm used by the character recognition unit CR1 in the character recognition processing is different from the algorithm used by the character recognition unit CRm in the character recognition processing. Here, "different algorithms" may mean, for example, that the types of learning models LM used in the character recognition processing are different, or that the data sets used when training the learning models LM used in the character recognition processing are different. Alternatively, "different algorithms" may include, for example, both the concepts of the types of learning models LM used in the character recognition processing being different and the data sets used when training the learning models LM used in the character recognition processing being different. The type of learning model LM is, for example, a type of neural network.

また、「データセットが異なる」とは、例えば、2つのデータセットの一方に用いられた画像に含まれる文字に、2つのデータセットの他方に用いられた画像に含まれる文字とは異なる種類の文字が含まれることである。なお、2つのデータセットが互いに異なる場合、2つのデータセットの一方に用いられた画像には、2つのデータセットの他方に用いられた画像に含まれる文字と異なる種類の文字及び同じ種類の文字の両方が含まれてもよい。 Furthermore, "different data sets" means, for example, that the characters contained in the images used in one of the two data sets include a different type of characters than the characters contained in the images used in the other of the two data sets. Note that when the two data sets are different from each other, the images used in one of the two data sets may include both characters of a different type and the same type as the characters contained in the images used in the other of the two data sets.

また、2つの学習モデルLMにそれぞれ用いられる2つのデータセットが互いに異なる場合、2つの学習モデルLMをそれぞれ構成する2つのニューラルネットワークは、互いに異なる種類であってもよいし、同一の種類であってもよい。すなわち、2つの学習モデルLMにそれぞれ用いられる2つのデータセットが互いに異なることは、2つのニューラルネットワークの種類が互いに異なるか否かに拘わらず、「アルゴリズムが異なる」ことに該当する。また、例えば、2つの学習モデルLMをそれぞれ構成する2つのニューラルネットワークの種類が互いに異なることは、2つの学習モデルLMにそれぞれ用いられる2つのデータセットが互いに異なるか否かに拘わらず、「アルゴリズムが異なる」ことに該当する。 In addition, when the two data sets used in the two learning models LM are different from each other, the two neural networks constituting the two learning models LM may be of different types or may be of the same type. In other words, the fact that the two data sets used in the two learning models LM are different from each other corresponds to "different algorithms" regardless of whether the types of the two neural networks are different from each other. In addition, for example, the fact that the two neural networks constituting the two learning models LM are different from each other corresponds to "different algorithms" regardless of whether the two data sets used in the two learning models LM are different from each other.

なお、本実施形態では、複数の文字認識部CRが複数の学習モデルLMと1対1に対応している場合を想定するが、本発明はこのような態様に限定されるものではない。例えば、複数の文字認識部CRのうちの、一部又は全部は、ニューラルネットワークを用いずに文字認識処理を行う構成要素であってもよい。なお、複数の文字認識部CRの全部がニューラルネットワークを用いずに文字認識処理を行う構成要素である場合、記憶装置14は、学習モデルLMを記憶しなくてもよい。 In this embodiment, it is assumed that the multiple character recognition units CR correspond one-to-one to the multiple learning models LM, but the present invention is not limited to this aspect. For example, some or all of the multiple character recognition units CR may be components that perform character recognition processing without using a neural network. In addition, if all of the multiple character recognition units CR are components that perform character recognition processing without using a neural network, the storage device 14 does not need to store the learning models LM.

また、複数の文字認識部CRには、画像に含まれる文字列を構成する複数の文字を認識する文字認識部CRが含まれてもよい。この種の文字認識部CRは、例えば、複数の文字列が登録された所定の辞書を用いて、画像に含まれる文字列を構成する複数の文字を認識してもよい。あるいは、文字認識部CRは、文字列の認識を学習した学習モデルLMを用いることにより、画像に含まれる文字列を構成する複数の文字を認識してもよい。文字列の認識を学習した学習モデルLMは、例えば、1つ以上の文字と1つ以上の文字の後に続く一の文字との関係、及び、一の文字と一の文字の後に続く1つ以上の文字との関係の一方又は両方を学習した学習モデルLMであってもよい。 The multiple character recognition unit CR may also include a character recognition unit CR that recognizes multiple characters that make up a character string included in an image. This type of character recognition unit CR may recognize multiple characters that make up a character string included in an image, for example, by using a predetermined dictionary in which multiple character strings are registered. Alternatively, the character recognition unit CR may recognize multiple characters that make up a character string included in an image by using a learning model LM that has learned to recognize character strings. The learning model LM that has learned to recognize character strings may be, for example, a learning model LM that has learned one or both of the relationship between one or more characters and a character that follows the one or more characters, and the relationship between a character and one or more characters that follows the one character.

認識結果決定部126は、記載内容認識部124による一の文字に対する文字認識処理の結果を示す認識情報を取得する。例えば、認識情報は、複数の文字認識部CRのうちの2つ以上の文字認識部CRの各々により実行された文字認識処理による一の文字の認識結果を示す。2つ以上の文字認識部CRの各々により実行された文字認識処理による一の文字の認識結果は、例えば、一の文字の認識結果の候補となる複数の候補文字、及び、複数の候補文字の確度を含む。 The recognition result determination unit 126 acquires recognition information indicating the result of character recognition processing performed by the written content recognition unit 124 on a single character. For example, the recognition information indicates the recognition result of a single character by character recognition processing performed by each of two or more character recognition units CR among the multiple character recognition units CR. The recognition result of a single character by character recognition processing performed by each of two or more character recognition units CR includes, for example, multiple candidate characters that are candidates for the recognition result of the single character, and the accuracy of the multiple candidate characters.

例えば、認識結果決定部126は、一の文字に対する文字認識処理を実行した2つ以上の文字認識部CRの各々の認識結果として得られる複数の候補文字のうちのいずれか1つを、一の文字の認識結果に対応する確定文字に決定する。具体的には、認識結果決定部126は、複数の候補文字の各々の確度と、複数の文字認識部CRの各々の優先度とに基づいて、複数の候補文字のうちのいずれか1つを、確定文字に決定する。 For example, the recognition result determination unit 126 determines one of a plurality of candidate characters obtained as the recognition results of each of two or more character recognition units CR that have performed character recognition processing on one character as the confirmed character corresponding to the recognition result of the one character. Specifically, the recognition result determination unit 126 determines one of the plurality of candidate characters as the confirmed character based on the accuracy of each of the plurality of candidate characters and the priority of each of the plurality of character recognition units CR.

例えば、複数の文字認識部CRの各々に、優先度に基づく重み値が決められている場合、認識結果決定部126は、複数の候補文字の各々の確度を複数の文字認識部CRの各々の重み値で重み付けすることにより、複数の候補文字の各々の評価値を算出する。重み値は、例えば、0以上の実数である。認識結果決定部126は、複数の候補文字のうち、評価値が最も高い候補文字を、一の文字の認識結果に対応する確定文字に決定する。なお、評価値が互いに同じ複数の候補文字が存在する場合、認識結果決定部126は、当該複数の候補文字のうち、確度が最も高い候補文字を確定文字に決定してもよいし、優先度(又は重み値)が最も高い候補文字を確定文字に決定してもよい。あるいは、認識結果決定部126は、過去に確定文字として決定した候補文字の修正の有無を文字認識部CR毎に蓄積し、評価値が互いに同じ複数の候補文字のうち、正解率が最も高い候補文字を確定文字に決定してもよい。 For example, when a weight value based on priority is determined for each of the multiple character recognition units CR, the recognition result determination unit 126 calculates an evaluation value for each of the multiple candidate characters by weighting the accuracy of each of the multiple candidate characters with the weight value of each of the multiple character recognition units CR. The weight value is, for example, a real number equal to or greater than 0. The recognition result determination unit 126 determines the candidate character with the highest evaluation value among the multiple candidate characters as the confirmed character corresponding to the recognition result of one character. Note that, when there are multiple candidate characters with the same evaluation value, the recognition result determination unit 126 may determine the candidate character with the highest accuracy among the multiple candidate characters as the confirmed character, or may determine the candidate character with the highest priority (or weight value) as the confirmed character. Alternatively, the recognition result determination unit 126 may accumulate, for each character recognition unit CR, whether or not a candidate character previously determined as a confirmed character has been corrected, and may determine the candidate character with the highest accuracy rate among multiple candidate characters with the same evaluation value as the confirmed character.

表示情報生成部128は、認識結果決定部126により決定された確定文字を表示装置28に表示させる。例えば、表示情報生成部128は、認識結果決定部126により決定された確定文字を確認するための画像(例えば、後述する図7に示す内容確認画面CCH)を表示装置28に表示させるための表示情報を生成する。そして、表示情報生成部128は、生成した表示情報を、通信装置16を介して端末装置20に出力する。 The display information generating unit 128 causes the display device 28 to display the confirmed characters determined by the recognition result determining unit 126. For example, the display information generating unit 128 generates display information for displaying an image for confirming the confirmed characters determined by the recognition result determining unit 126 (for example, a content confirmation screen CCH shown in FIG. 7 described later) on the display device 28. Then, the display information generating unit 128 outputs the generated display information to the terminal device 20 via the communication device 16.

なお、文字認識装置10の構成は、図3及び図4に示した例に限定されない。例えば、文字認識装置10は、文字認識装置10の管理者等による操作を受け付ける操作装置を有してもよい。 The configuration of the character recognition device 10 is not limited to the examples shown in Figures 3 and 4. For example, the character recognition device 10 may have an operation device that accepts operations by an administrator of the character recognition device 10, etc.

次に、図5を参照しながら、優先テーブルPTBLについて説明する。 Next, we will explain the priority table PTBL with reference to Figure 5.

図5は、図3に示した優先テーブルPTBLの一例を示す説明図である。優先テーブルPTBLは、例えば、記載内容認識部124が複数の文字認識部CRから2つ以上の文字認識部CRを選択する場合に記載内容認識部124により参照され、認識結果決定部126が評価値を算出する場合に認識結果決定部126により参照される。 Figure 5 is an explanatory diagram showing an example of the priority table PTBL shown in Figure 3. The priority table PTBL is referenced by the written content recognition unit 124 when the written content recognition unit 124 selects two or more character recognition units CR from the multiple character recognition units CR, and is referenced by the recognition result determination unit 126 when the recognition result determination unit 126 calculates an evaluation value, for example.

優先テーブルPTBLは、例えば、申込書画像GM(文字認識処理の対象となる画像)が有する複数の記載欄と1対1に対応する複数のレコードを有する。優先テーブルPTBLの各レコードは、項目ID、項目名称及び優先度を有する。 The priority table PTBL has, for example, multiple records that correspond one-to-one to multiple fields in the application form image GM (the image that is the subject of character recognition processing). Each record in the priority table PTBL has an item ID, an item name, and a priority.

項目IDは、申込書画像GMが有する複数の記載欄の中から、各記載欄を識別するための情報である。項目名称は、申込書画像GMが有する各記載欄の項目名称記載領域AMに記載された名称である。 The item ID is information for identifying each entry field among the multiple entry fields in the application form image GM. The item name is the name written in the item name writing area AM of each entry field in the application form image GM.

優先度は、例えば、項目IDにより示される記載欄に記載された文字の認識に使用する文字認識部CRの優先度である。なお、図5に示すハイフン(“-”)は、優先度が文字認識部CRに対応付けられていないことを意味する。例えば、各記載欄(各項目)において、優先度が対応付けられていない文字認識部CRは、当該記載欄に記載された文字の認識に使用されない。また、本実施形態では、優先度の数字が小さい場合、優先度の数字が大きい場合に比べて、優先度が高い。各項目において、優先度が高い文字認識部CRは、優先度が低い文字認識部CRに比べて、当該項目の記載欄に記載された文字の認識に適している。 The priority is, for example, the priority of the character recognition unit CR used to recognize characters written in the entry field indicated by the item ID. Note that a hyphen ("-") in FIG. 5 means that a priority is not associated with the character recognition unit CR. For example, in each entry field (each item), a character recognition unit CR that is not associated with a priority is not used to recognize characters written in that entry field. Also, in this embodiment, a smaller priority number has a higher priority than a larger priority number. In each item, a character recognition unit CR with a higher priority is more suitable for recognizing characters written in the entry field of that item than a character recognition unit CR with a lower priority.

例えば、優先度は、項目毎に、複数の文字認識部CRの各々の学習度に応じて決定される。「学習度」は、例えば、学習に用いられるデータセットに含まれるサンプル(画像)の数、学習の回数、及び、正解率のうちの一部又は全部を含む概念であってもよい。図5に示す優先テーブルPTBLでは、記載内容認識部124が6つの文字認識部CR1、CR2、CR3、CR4、CR5及びCR6を有する場合を想定している。 For example, the priority is determined for each item according to the learning level of each of the multiple character recognition units CR. The "learning level" may be a concept that includes, for example, some or all of the number of samples (images) included in the data set used for learning, the number of times learning is performed, and the accuracy rate. The priority table PTBL shown in FIG. 5 assumes that the written content recognition unit 124 has six character recognition units CR1, CR2, CR3, CR4, CR5, and CR6.

例えば、文字認識部CR1及びCR2は、アルファベット、数字及び記号の認識に特化した英数字用の文字認識部CRである。なお、文字認識部CR1及びCR2の一方又は両方は、アルファベット、数字及び記号の認識精度が他の文字種(例えば、漢字等)に比べて高い文字認識部CRであってもよい。また、例えば、文字認識部CR3及びCR4は、漢字及びひらがなの認識に特化した漢字用の文字認識部CRである。なお、文字認識部CR3及びCR4の一方又は両方は、漢字及びひらがなの認識精度が他の文字種(例えば、数字等)に比べて高い文字認識部CRであってもよい。また、例えば、文字認識部CR5及びCR6は、カタカナの認識に特化したカナ用の文字認識部CRである。なお、文字認識部CR5及びCR6の一方又は両方は、カタカナの認識精度が他の文字種(例えば、数字等)に比べて高い文字認識部CRであってもよい。 For example, the character recognition units CR1 and CR2 are character recognition units CR for alphanumeric characters specialized in recognizing alphabets, numbers, and symbols. One or both of the character recognition units CR1 and CR2 may be character recognition units CR with higher recognition accuracy for alphabets, numbers, and symbols than other character types (e.g., kanji, etc.). For example, the character recognition units CR3 and CR4 are character recognition units CR for kanji characters specialized in recognizing kanji and hiragana. One or both of the character recognition units CR3 and CR4 may be character recognition units CR with higher recognition accuracy for kanji and hiragana than other character types (e.g., numbers, etc.). For example, the character recognition units CR5 and CR6 are character recognition units CR for kana characters specialized in recognizing katakana. One or both of the character recognition units CR5 and CR6 may be character recognition units CR with higher recognition accuracy for katakana than other character types (e.g., numbers, etc.).

また、例えば、複数の項目のうちの一の項目において、2つの文字認識部CRのうち、一の項目に関する文字列についての学習度が高い文字認識部CRの優先度は、他の文字認識部CRの優先度より高くなるように、設定される。図5に示す例では、漢字用の文字認識部CR3及びCR4のうち、文字認識部CR4が、文字認識部CR3より、「住所」に関する文字列についての学習度が高い場合を想定する。このため、「住所」に係る項目では、文字認識部CR4の優先度は、文字認識部CR3の優先度より高い。従って、「住所」に係る項目では、例えば、文字認識部CR4の優先度は、「1」に設定され、文字認識部CR3の優先度は、「2」に設定される。 For example, in one item among multiple items, the priority of the character recognition unit CR that has a higher learning level for character strings related to the one item out of the two character recognition units CR is set to be higher than the priority of the other character recognition unit CR. In the example shown in FIG. 5, it is assumed that, out of the character recognition units CR3 and CR4 for kanji, the character recognition unit CR4 has a higher learning level for character strings related to "address" than the character recognition unit CR3. Therefore, in the item related to "address", the priority of the character recognition unit CR4 is higher than the priority of the character recognition unit CR3. Therefore, in the item related to "address", for example, the priority of the character recognition unit CR4 is set to "1" and the priority of the character recognition unit CR3 is set to "2".

図5に示されるように、本実施形態では、文字の認識に使用する文字認識部CRの優先度が項目毎に決められている。例えば、記載内容認識部124は、複数の項目のうちの一の項目の申込内容記載領域AKに記載された文字列を認識する場合、優先テーブルPTBLが有する複数のレコードのうち、一の項目に対応するレコードを参照する。そして、記載内容認識部124は、複数の文字認識部CRのうち、一の項目に対応するレコードにおいて優先度が対応付けられている文字認識部CRを、一の項目の申込内容記載領域AKに記載された文字列を認識する文字認識部CRとして選択する。 As shown in FIG. 5, in this embodiment, the priority of the character recognition unit CR used to recognize characters is determined for each item. For example, when the description content recognition unit 124 recognizes a character string written in the application content entry area AK of one of the multiple items, it refers to a record corresponding to the one item among the multiple records held by the priority table PTBL. Then, the description content recognition unit 124 selects, from among the multiple character recognition units CR, a character recognition unit CR that is associated with a priority in the record corresponding to the one item as the character recognition unit CR to recognize the character string written in the application content entry area AK of the one item.

具体的には、記載内容認識部124は、例えば、「郵便番号」に係る申込内容記載領域AKに記載された文字列を認識する場合、項目IDが「k004」のレコードを参照し、英数字用の文字認識部CR1及びCR2を選択する。また、例えば、記載内容認識部124は、「住所」に係る申込内容記載領域AKに記載された文字列を認識する場合、項目IDが「k005」のレコードを参照する。そして、記載内容認識部124は、漢字用の文字認識部CR3及びCR4と、英数字用の文字認識部CR2と、カナ用の文字認識部CR5とを選択する。 Specifically, when recognizing a character string written in the application content entry area AK related to "zip code", for example, the content recognition unit 124 refers to a record with an item ID of "k004" and selects the character recognition units CR1 and CR2 for alphanumeric characters. Also, when recognizing a character string written in the application content entry area AK related to "address", for example, the content recognition unit 124 refers to a record with an item ID of "k005". Then, the content recognition unit 124 selects the character recognition units CR3 and CR4 for kanji, the character recognition unit CR2 for alphanumeric characters, and the character recognition unit CR5 for kana.

また、認識結果決定部126は、一の項目の申込内容記載領域AKに記載された文字列に含まれる一の文字について、認識結果に対応する確定文字を決定する場合、優先テーブルPTBLが有する複数のレコードのうち、一の項目に対応するレコードを参照する。そして、認識結果決定部126は、一の文字を認識した2つ以上の文字認識部CRの認識結果として得られる複数の候補文字のうちのいずれか1つを、複数の候補文字の各々の確度と一の項目に対応するレコードに記憶された複数の優先度の各々とに基づいて、確定文字に決定する。確定文字を決定する処理の詳細は、後述する図6において説明される。以下では、確定文字を決定する処理は、確定文字決定処理とも称される。 When the recognition result determination unit 126 determines a confirmed character corresponding to the recognition result for a character included in a character string written in the application content description area AK of a certain item, the recognition result determination unit 126 refers to a record corresponding to the certain item among the multiple records in the priority table PTBL. The recognition result determination unit 126 then determines one of multiple candidate characters obtained as the recognition result of two or more character recognition units CR that recognized the certain character as the confirmed character based on the accuracy of each of the multiple candidate characters and each of the multiple priorities stored in the record corresponding to the certain item. Details of the process of determining the confirmed character will be described later in FIG. 6. Hereinafter, the process of determining the confirmed character will also be referred to as the confirmed character determination process.

なお、優先テーブルPTBLは、図5に示した例に限定されない。例えば、複数の項目のうちの一部の項目では、優先度が対応付けられた文字認識部CRが1つのみであってもよい。また、例えば、優先テーブルPTBLには、優先度に加え、又は、優先度に代えて、重み値が記憶されてもよい。優先度に基づく重み値は、項目毎に決められてもよい。例えば、優先度が「1」の文字認識部CRの重み値は、「住所」の項目と「郵便番号」の項目とで互いに異なる値でもよいし、互いに同じ値でもよい。また、優先度に代えて重み値が優先テーブルPTBLに記憶される場合、重み値は、「優先度」に該当する。本実施形態では、重み値が大きい場合、重み値が小さい場合に比べて、優先度が高い。 Note that the priority table PTBL is not limited to the example shown in FIG. 5. For example, some of the multiple items may have only one character recognition unit CR associated with a priority. Also, for example, the priority table PTBL may store a weight value in addition to or instead of the priority. A weight value based on the priority may be determined for each item. For example, the weight value of the character recognition unit CR with a priority of "1" may be different or the same value for the "address" item and the "zip code" item. Also, when a weight value is stored in the priority table PTBL instead of a priority, the weight value corresponds to a "priority". In this embodiment, a large weight value has a higher priority than a small weight value.

また、優先度は、学習度以外の指標を用いて決定されてもよい。学習度以外の指標は、例えば、過去に確定文字として決定された候補文字に対するオペレータによる修正の有無の実績(例えば、正解率又は修正率)であってもよい。例えば、優先度は、項目毎に、複数の文字認識部CRの各々の正解率又は修正率に応じて決定されてもよい。この場合、例えば、一の項目において、正解率が高い文字認識部CR(又は、修正率が低い文字認識部CR)の優先度は、正解率が低い文字認識部CR(又は、修正率が高い文字認識部CR)の優先度より高く設定される。なお、各項目における各文字認識部CRの修正率は、例えば、当該項目において、過去に確定文字として決定された候補文字の延べ数に対する、過去に確定文字として決定された候補文字に対するオペレータによる修正の延べ回数の比率で表される。また、各項目における各文字認識部CRの正解率は、例えば、当該項目における各文字認識部CRの修正率を1から減算した値で表される。なお、複数の文字認識部CRの各々の正解率又は修正率は、文字種毎に算出されてもよい。 The priority may also be determined using an index other than the learning degree. The index other than the learning degree may be, for example, the track record of whether or not the operator has corrected a candidate character previously determined as a confirmed character (for example, the accuracy rate or the correction rate). For example, the priority may be determined for each item according to the accuracy rate or the correction rate of each of the multiple character recognition units CR. In this case, for example, in one item, the priority of a character recognition unit CR with a high accuracy rate (or a character recognition unit CR with a low correction rate) is set higher than the priority of a character recognition unit CR with a low accuracy rate (or a character recognition unit CR with a high correction rate). The correction rate of each character recognition unit CR in each item is expressed, for example, as the ratio of the total number of corrections by the operator to the total number of candidate characters previously determined as confirmed characters in that item. The accuracy rate of each character recognition unit CR in each item is expressed, for example, as the value obtained by subtracting the correction rate of each character recognition unit CR in that item from 1. The accuracy rate or correction rate of each of the multiple character recognition units CR may be calculated for each character type.

次に、図6を参照しながら、確定文字決定処理の概要について説明する。 Next, we will explain the outline of the final character determination process with reference to Figure 6.

図6は、確定文字決定処理の一例を説明するための説明図である。図6では、「住所」に係る申込内容記載領域AKに記載された文字列を示す文字列画像GCL5に対して文字認識処理が実行された場合を例にして、「大」の個別文字画像GC2の認識結果に対応する確定文字の決定方法の一例が説明される。 Figure 6 is an explanatory diagram for explaining an example of the confirmed character determination process. In Figure 6, an example of a method for determining a confirmed character corresponding to the recognition result of the individual character image GC2 of "large" is explained using an example in which character recognition process is performed on a character string image GCL5 showing a character string written in the application content entry area AK related to "address".

なお、図6では、記載内容認識部124及び認識結果決定部126が図5に示した優先テーブルPTBLを参照する場合を想定する。従って、「住所」の項目では、図5に示されるように、文字認識部CR4は、複数の文字認識部CR2~CR5のうち優先度が最も高い文字認識部CRである。図6では、複数の文字認識部CRの各々には、優先度に基づく重み値が決められている場合を想定する。例えば、優先度が「1」の文字認識部CR4の重み値は、1.20に設定され、優先度が「2」の文字認識部CR3の重み値は、1.05に設定され、優先度が「3」の文字認識部CR2及びCR4の各々の重み値は、1.00に設定されている。また、評価値は、例えば、候補文字の確度と重み値との積で表される。 In FIG. 6, it is assumed that the written content recognition unit 124 and the recognition result determination unit 126 refer to the priority table PTBL shown in FIG. 5. Therefore, in the "Address" item, as shown in FIG. 5, the character recognition unit CR4 is the character recognition unit CR with the highest priority among the multiple character recognition units CR2 to CR5. In FIG. 6, it is assumed that a weight value based on the priority is determined for each of the multiple character recognition units CR. For example, the weight value of the character recognition unit CR4 with a priority of "1" is set to 1.20, the weight value of the character recognition unit CR3 with a priority of "2" is set to 1.05, and the weight value of each of the character recognition units CR2 and CR4 with a priority of "3" is set to 1.00. In addition, the evaluation value is expressed, for example, as the product of the accuracy of the candidate character and the weight value.

図6に示す例では、認識結果決定部126は、文字認識部CR2~CR5の各々による「大」の個別文字画像GC2に対する文字認識処理の結果として、複数の候補文字と複数の候補文字の各々の確度とを示す認識情報を取得する。 In the example shown in FIG. 6, the recognition result determination unit 126 obtains recognition information indicating multiple candidate characters and the accuracy of each of the multiple candidate characters as a result of the character recognition process performed by each of the character recognition units CR2 to CR5 on the individual character image GC2 of "大".

例えば、文字認識部CR3から得られる候補文字は、確度が90%の「丈」の文字であり、文字認識部CR4から得られる候補文字は、確度が85%の「大」の文字である。なお、文字認識部CR4から得られる候補文字(「大」)の確度(85%)は、文字認識部CR3から得られる候補文字(「丈」)の確度(90%)より低い。また、例えば、文字認識部CR2から得られる候補文字は、確度が30%の「K」の文字であり、文字認識部CR5から得られる候補文字は、確度が60%の「ス」の文字である。文字認識部CR2及びCR5の各々から得られる候補文字の確度は、文字認識部CR3から得られる候補文字の確度より低い。 For example, the candidate character obtained from character recognition unit CR3 is the character "丈" with an accuracy of 90%, and the candidate character obtained from character recognition unit CR4 is the character "大" with an accuracy of 85%. Note that the accuracy (85%) of the candidate character ("大") obtained from character recognition unit CR4 is lower than the accuracy (90%) of the candidate character ("丈") obtained from character recognition unit CR3. Also, for example, the candidate character obtained from character recognition unit CR2 is the character "K" with an accuracy of 30%, and the candidate character obtained from character recognition unit CR5 is the character "ス" with an accuracy of 60%. The accuracy of the candidate characters obtained from each of character recognition units CR2 and CR5 is lower than the accuracy of the candidate character obtained from character recognition unit CR3.

認識結果決定部126は、複数の候補文字の各々の確度を複数の文字認識部CRの各々の重み値で重み付けすることにより、評価値を算出する。具体的には、認識結果決定部126は、文字認識部CR3から得られる候補文字の確度(90%)を文字認識部CR3の重み値(1.05)で重み付けすることにより、文字認識部CR3から得られる候補文字の評価値を算出する。同様に、認識結果決定部126は、文字認識部CR4から得られる候補文字の確度(85%)を文字認識部CR4の重み値(1.20)で重み付けすることにより、文字認識部CR4から得られる候補文字の評価値を算出する。 The recognition result determination unit 126 calculates an evaluation value by weighting the accuracy of each of the multiple candidate characters with the weight value of each of the multiple character recognition units CR. Specifically, the recognition result determination unit 126 calculates an evaluation value of the candidate character obtained from the character recognition unit CR3 by weighting the accuracy (90%) of the candidate character obtained from the character recognition unit CR3 with the weight value (1.05) of the character recognition unit CR3. Similarly, the recognition result determination unit 126 calculates an evaluation value of the candidate character obtained from the character recognition unit CR4 by weighting the accuracy (85%) of the candidate character obtained from the character recognition unit CR4 with the weight value (1.20) of the character recognition unit CR4.

そして、認識結果決定部126は、複数の候補文字のうち、評価値が最も高い候補文字を、「大」の個別文字画像GC2の認識結果に対応する確定文字に決定する。例えば、文字認識部CR3から得られる候補文字(「丈」)の評価値は、95(=90×1.05)であり、文字認識部CR4から得られる候補文字(「大」)の評価値は、102(=85×1.20)である。また、文字認識部CR2から得られる候補文字(「K」)の評価値は、30(=30×1.00)であり、文字認識部CR5から得られる候補文字(「ス」)の評価値は、60(=60×1.00)である。従って、図6に示す例では、複数の候補文字(「丈」、「大」、「K」及び「ス」)のうち、評価値が最も高い候補文字は、図6の星印で示されるように、評価値が102の「大」の文字である。このため、認識結果決定部126は、複数の候補文字のうち、評価値が最も高い「大」の文字を、「大」の個別文字画像GC2の認識結果に対応する確定文字に決定する。 Then, the recognition result determination unit 126 determines the candidate character with the highest evaluation value among the multiple candidate characters as the confirmed character corresponding to the recognition result of the individual character image GC2 of "大". For example, the evaluation value of the candidate character ("丈") obtained from the character recognition unit CR3 is 95 (= 90 x 1.05), and the evaluation value of the candidate character ("大") obtained from the character recognition unit CR4 is 102 (= 85 x 1.20). The evaluation value of the candidate character ("K") obtained from the character recognition unit CR2 is 30 (= 30 x 1.00), and the evaluation value of the candidate character ("ス") obtained from the character recognition unit CR5 is 60 (= 60 x 1.00). Therefore, in the example shown in FIG. 6, the candidate character with the highest evaluation value among the multiple candidate characters ("丈", "大", "K" and "ス") is the character "大" with an evaluation value of 102, as indicated by the star in FIG. 6. Therefore, the recognition result determination unit 126 determines the character "大" with the highest evaluation value among the multiple candidate characters as the confirmed character corresponding to the recognition result of the individual character image GC2 of "大".

このように、図6に示す例では、複数の文字認識部CR2~CR5のうち優先度が最も高い文字認識部CR4から得られる候補文字(「大」)が、「大」の個別文字画像GC2の認識結果に対応する確定文字に決定される。複数の文字認識部CR2~CR5のうち優先度が最も高い文字認識部CR4は、他の文字認識部CR2、CR3及びCR5に比べて、「住所」に関する文字列の認識に適している。例えば、文字認識部CR4は、複数の文字認識部CR2~CR5のうち、「住所」に関する文字列についての学習度が最も高い文字認識部CRである。このため、例えば、文字認識部CR4から得られる候補文字(「大」)が誤っている確率は、他の文字認識部CR(例えば、文字認識部CR3)から得られる候補文字が誤っている確率に比べて、低いと考えられる。 Thus, in the example shown in FIG. 6, the candidate character ("large") obtained from the character recognition unit CR4, which has the highest priority among the multiple character recognition units CR2 to CR5, is determined to be the confirmed character corresponding to the recognition result of the individual character image GC2 of "large". The character recognition unit CR4, which has the highest priority among the multiple character recognition units CR2 to CR5, is more suitable for recognizing character strings related to "address" than the other character recognition units CR2, CR3, and CR5. For example, the character recognition unit CR4 is the character recognition unit CR that has the highest learning level for character strings related to "address" among the multiple character recognition units CR2 to CR5. For this reason, for example, the probability that the candidate character ("large") obtained from the character recognition unit CR4 is incorrect is considered to be lower than the probability that the candidate character obtained from another character recognition unit CR (for example, character recognition unit CR3) is incorrect.

ここで、図6に示す例では、複数の候補文字のうち、確度が最も高い候補文字は、図6の二重丸で示されるように、確度が90%の「丈」の文字である。例えば、評価値を用いずに確定文字が決定される形態(以下、第1対比例とも称する)では、複数の候補文字のうち、確度が最も高い「丈」の文字が、「大」の個別文字画像GC2の認識結果に対応する確定文字に決定される。すなわち、第1対比例では、例えば、「住所」に関する文字列についての学習度が文字認識部CR4より低い文字認識部CR3から得られる候補文字(「丈」)が、「大」の個別文字画像GC2の認識結果に対応する確定文字に決定される。このため、第1対比例では、本実施形態に比べて、誤った文字が確定文字に決定される確率が高くなる。換言すれば、本実施形態では、第1対比例に比べて、誤った文字が確定文字に決定されることを抑制することができる。すなわち、本実施形態では、文字認識処理における文字の認識の精度を高めることができる。 Here, in the example shown in FIG. 6, the candidate character with the highest accuracy among the multiple candidate characters is the character "丈" with an accuracy of 90%, as shown by the double circle in FIG. 6. For example, in a form in which a confirmed character is determined without using an evaluation value (hereinafter also referred to as the first comparative example), the character "丈" with the highest accuracy among the multiple candidate characters is determined as the confirmed character corresponding to the recognition result of the individual character image GC2 of "大". That is, in the first comparative example, for example, a candidate character ("丈") obtained from the character recognition unit CR3, which has a lower learning level for character strings related to "address" than the character recognition unit CR4, is determined as the confirmed character corresponding to the recognition result of the individual character image GC2 of "大". For this reason, in the first comparative example, the probability that an incorrect character is determined as a confirmed character is higher than in the present embodiment. In other words, in the present embodiment, it is possible to suppress the determination of an incorrect character as a confirmed character compared to the first comparative example. That is, in the present embodiment, it is possible to improve the accuracy of character recognition in the character recognition process.

なお、確定文字決定処理は、図6に示した例に限定されない。例えば、評価値は、候補文字の確度と重み値との和であってもよい。この場合、各文字認識部CRの重み値は、図6において想定した重み値と異なる値に設定されてもよい。 The confirmed character determination process is not limited to the example shown in FIG. 6. For example, the evaluation value may be the sum of the probability of the candidate character and a weight value. In this case, the weight value of each character recognition unit CR may be set to a value different from the weight value assumed in FIG. 6.

また、例えば、複数の文字認識部CR2~CR5のうち優先度が最も高い文字認識部CR4による一の文字の認識結果として得られる候補文字を確定文字とするか否かは、後述する図10等に示されるように、重み値を用いずに決定されてもよい。以下では、一の文字に対する文字認識処理を実行した複数の文字認識部CRのうち、優先度が最も高い文字認識部CRは、第1優先度の文字認識部CRとも称される。また、以下では、第1優先度の文字認識部CRによる一の文字の認識結果として得られる候補文字は、第1優先度の候補文字とも称される。第1優先度の候補文字は、「第1候補文字」の一例である。 For example, whether or not to set a candidate character obtained as a result of recognition of a character by the character recognition unit CR4 having the highest priority among the multiple character recognition units CR2 to CR5 as a confirmed character may be determined without using a weight value, as shown in FIG. 10, which will be described later. In the following, the character recognition unit CR having the highest priority among the multiple character recognition units CR that performed character recognition processing on a character is also referred to as the first priority character recognition unit CR. In the following, a candidate character obtained as a result of recognition of a character by the first priority character recognition unit CR is also referred to as the first priority candidate character. The first priority candidate character is an example of a "first candidate character."

以下では、第1優先度の候補文字を確定文字とするか否かが重み値を用いずに決定される方法の概要を、図6に示した認識結果を例にして説明する。例えば、認識結果決定部126は、第1優先度の候補文字の確度が所定値以上か否かによって、第1優先度の文字認識部CR4を他の文字認識部CRより優先するか否かを決定してもよい。 Below, an overview of a method for determining whether or not a first-priority candidate character is to be determined as a confirmed character without using a weight value is described using the recognition result shown in FIG. 6 as an example. For example, the recognition result determination unit 126 may determine whether or not to prioritize the first-priority character recognition unit CR4 over other character recognition units CR depending on whether the accuracy of the first-priority candidate character is equal to or greater than a predetermined value.

例えば、所定値が80%の場合、第1優先度の文字認識部CR4による一の文字の認識結果として得られる第1優先度の候補文字の確度(85%)は、所定値以上である。この場合、認識結果決定部126は、第1優先度の候補文字(「大」)を確定文字に決定してもよい。すなわち、認識結果決定部126は、複数の文字認識部CRのうち優先度が最も高い文字認識部CRによる一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値以上の場合、複数の候補文字のうち、第1優先度の候補文字を確定文字に決定してもよい。 For example, when the predetermined value is 80%, the accuracy (85%) of the first priority candidate character obtained as the recognition result of a character by the first priority character recognition unit CR4 is equal to or greater than the predetermined value. In this case, the recognition result determination unit 126 may determine the first priority candidate character ("large") as the confirmed character. In other words, when the accuracy of the first priority candidate character obtained as the recognition result of a character by the character recognition unit CR with the highest priority among the multiple character recognition units CR is equal to or greater than the predetermined value, the recognition result determination unit 126 may determine the first priority candidate character among the multiple candidate characters as the confirmed character.

第1優先度の文字認識部CR4は、例えば、複数の文字認識部CR2~CR5のうち、「住所」に関する文字列についての学習度が最も高い文字認識部CRである。このため、第1優先度の候補文字の確度が所定値以上である場合、第1優先度の候補文字が誤っている確率は、他の文字認識部CRによる一の文字の認識結果として得られる候補文字が誤っている確率に比べて、低いと考えられる。従って、認識結果決定部126は、第1優先度の候補文字の確度が所定値以上の場合に第1優先度の候補文字を確定文字に決定することにより、誤った文字が確定文字に決定されることを抑制できる。 The first priority character recognition unit CR4 is, for example, the character recognition unit CR that has the highest degree of learning about character strings related to "address" among the multiple character recognition units CR2 to CR5. For this reason, when the accuracy of the first priority candidate character is equal to or greater than a predetermined value, the probability that the first priority candidate character is incorrect is considered to be lower than the probability that the candidate character obtained as the recognition result of a character by another character recognition unit CR is incorrect. Therefore, the recognition result determination unit 126 can prevent an incorrect character from being determined as the determined character by determining the first priority candidate character as the determined character when the accuracy of the first priority candidate character is equal to or greater than a predetermined value.

また、認識結果決定部126は、第1優先度の文字認識部CRによる一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値未満の場合、複数の候補文字のうち、確度が最も高い候補文字を、確定文字に決定してもよい。この場合、確度が所定値未満の候補文字が確定文字に決定されることが、抑制される。 In addition, when the accuracy of the first-priority candidate character obtained as the recognition result of a character by the first-priority character recognition unit CR is less than a predetermined value, the recognition result determination unit 126 may determine the candidate character with the highest accuracy among the multiple candidate characters as the confirmed character. In this case, candidate characters with accuracy less than the predetermined value are prevented from being determined as the confirmed character.

ここで、例えば、第1優先度の候補文字が確定文字として無条件に選択される形態(以下、第2対比例とも称する)では、第1優先度の候補文字の確度が所定値未満の場合でも、第1優先度の候補文字が確定文字に決定される。すなわち、第2対比例では、第1優先度の候補文字の確度が所定値未満の場合、確度が所定値以上の候補文字が存在しているか否かに拘わらず、第1優先度の候補文字が確定文字に決定される。一の文字の認識結果の確度が所定値未満の場合、一の文字の認識結果の確度が所定値以上の場合に比べて、一の文字が誤って認識されている確率が高い。従って、第2対比例では、第1優先度の候補文字の確度が所定値未満の場合に複数の候補文字のうちの確度が最も高い候補文字が確定文字に決定される形態に比べて、誤った文字が確定文字に決定される確率が高くなる。 Here, for example, in a form in which a first-priority candidate character is unconditionally selected as a confirmed character (hereinafter also referred to as the second comparison), even if the accuracy of the first-priority candidate character is less than a predetermined value, the first-priority candidate character is determined as a confirmed character. That is, in the second comparison, when the accuracy of the first-priority candidate character is less than a predetermined value, the first-priority candidate character is determined as a confirmed character regardless of whether or not there is a candidate character whose accuracy is equal to or greater than a predetermined value. When the accuracy of the recognition result of a character is less than a predetermined value, the probability that the character is erroneously recognized is higher than when the accuracy of the recognition result of a character is equal to or greater than a predetermined value. Therefore, in the second comparison, the probability that an incorrect character is determined as a confirmed character is higher than in a form in which the candidate character with the highest accuracy among multiple candidate characters is determined as a confirmed character when the accuracy of the first-priority candidate character is less than a predetermined value.

すなわち、第1優先度の候補文字の確度が所定値以上か否かによって、第1優先度の文字認識部CRを他の文字認識部CRより優先するか否かが決定される形態においても、誤った文字が確定文字に決定されることを抑制することができる。従って、本実施形態では、第1優先度の候補文字を確定文字とするか否かが重み値を用いずに決定される場合でも、文字認識処理における文字の認識の精度を高めることができる。 In other words, even in a configuration in which whether or not to prioritize the first-priority character recognition unit CR over other character recognition units CR is determined depending on whether the accuracy of the first-priority candidate character is equal to or greater than a predetermined value, it is possible to prevent an erroneous character from being determined as the confirmed character. Therefore, in this embodiment, even when whether or not to set the first-priority candidate character as the confirmed character is determined without using a weight value, it is possible to improve the accuracy of character recognition in the character recognition process.

なお、認識結果決定部126は、第1優先度の文字認識部CRによる一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値未満の場合、確定文字の決定を保留してもよい。この場合、例えば、後述する図7に示す内容確認画面CCHには、確定文字が表示されなくてもよいし、確定文字の決定が保留されたことを示す情報(例えば、「?」マーク等)が表示されてもよい。認識結果決定部126による確定文字の決定が保留された場合、例えば、ユーザに確定文字を入力又は選択させることにより、確定文字が決定されてもよい。 The recognition result determination unit 126 may suspend the determination of the confirmed character when the accuracy of the first priority candidate character obtained as the recognition result of a character by the first priority character recognition unit CR is less than a predetermined value. In this case, for example, the confirmed character may not be displayed on the content confirmation screen CCH shown in FIG. 7 described later, or information indicating that the determination of the confirmed character has been suspended (for example, a "?" mark, etc.) may be displayed. When the determination of the confirmed character by the recognition result determination unit 126 is suspended, the confirmed character may be determined, for example, by having the user input or select the confirmed character.

次に、図7を参照しながら、認識結果決定部126により決定された確定文字を確認するための内容確認画面CCHの概要について説明する。 Next, with reference to FIG. 7, we will explain the overview of the content confirmation screen CCH for confirming the confirmed characters determined by the recognition result determination unit 126.

図7は、内容確認画面CCHの概要の一例を示す説明図である。 Figure 7 is an explanatory diagram showing an example of the overview of the content confirmation screen CCH.

内容確認画面CCHは、例えば、表示装置28に表示される。例えば、内容確認画面CCHには、複数の項目名称、複数の項目名称に1対1に対応する複数の文字列画像GCL、複数の文字列画像GCLに1対1に対応する複数の認識文字列LMK、修正ボタンSSB、及び、確定ボタンKTBが表示される。なお、複数の項目名称は、申込書画像GMにおける複数の記載欄と1対1に対応する。図7では、複数の認識文字列LMKを互いに区別するために、複数の認識文字列LMKの各々の符号の末尾には、複数の文字列画像GCLのうちの対応する文字列画像GCLの符号の末尾に付された数字(1、2、3、4、5、6又は7)と同じ数字が付されている。 The content confirmation screen CCH is displayed, for example, on the display device 28. For example, the content confirmation screen CCH displays a plurality of item names, a plurality of character string images GCL that correspond one-to-one to the plurality of item names, a plurality of recognition character strings LMK that correspond one-to-one to the plurality of character string images GCL, a correction button SSB, and a confirmation button KTB. The plurality of item names correspond one-to-one to a plurality of entry fields in the application form image GM. In FIG. 7, in order to distinguish the plurality of recognition character strings LMK from one another, the same number (1, 2, 3, 4, 5, 6, or 7) is added to the end of the code of each of the plurality of recognition character strings LMK as the number added to the end of the code of the corresponding character string image GCL among the plurality of character string images GCL.

認識文字列LMKは、文字認識装置10において、申込書画像GMに含まれる文字列画像GCLに対して実行された文字認識処理の結果に基づいて得られた文字列である。従って、認識文字列LMKに含まれる複数の文字の各々は、文字認識装置10の認識結果決定部126により決定された確定文字である。 The recognized character string LMK is a character string obtained based on the result of the character recognition process performed on the character string image GCL included in the application form image GM in the character recognition device 10. Therefore, each of the multiple characters included in the recognized character string LMK is a confirmed character determined by the recognition result determination unit 126 of the character recognition device 10.

また、内容確認画面CCHには、注意マークMKが表示される場合がある。ここで、注意マークMKは、個別文字画像GCにより示される文字と確定文字とが異なる文字である可能性があると文字認識装置10が判断した場合に、内容確認画面CCHに表示される画像である。図7では、文字列画像GCL5に含まれる個別文字画像GC1の認識結果に対応する確定文字(「海」)が第1優先度の文字認識部CR4で認識されず、文字認識部CR3で認識された場合を想定する。このため、図7では、個別文字画像GC1により示される文字(「海」)と、個別文字画像GC1の認識結果に対応する確定文字(「海」)とが、異なる文字である可能性があると文字認識装置10が判断した場合を想定する。この場合、例えば、個別文字画像GC1の認識結果に対応する確定文字の表示位置に対応する位置に、注意マークMKが表示される。 In addition, a caution mark MK may be displayed on the content confirmation screen CCH. Here, the caution mark MK is an image that is displayed on the content confirmation screen CCH when the character recognition device 10 determines that the character shown by the individual character image GC and the confirmed character may be different characters. In FIG. 7, a case is assumed in which the confirmed character ("sea") corresponding to the recognition result of the individual character image GC1 included in the character string image GCL5 is not recognized by the first priority character recognition unit CR4 but is recognized by the character recognition unit CR3. Therefore, in FIG. 7, a case is assumed in which the character recognition device 10 determines that the character shown by the individual character image GC1 and the confirmed character ("sea") corresponding to the recognition result of the individual character image GC1 may be different characters. In this case, for example, the caution mark MK is displayed at a position corresponding to the display position of the confirmed character corresponding to the recognition result of the individual character image GC1.

なお、図7では、文字認識部CR3により正しく認識された候補文字(「海」)を認識結果決定部126が確定文字に決定した場合を想定している。すなわち、個別文字画像GC1により示される文字(「海」)と、個別文字画像GC1の認識結果に対応する確定文字(「海」)とが、異なる文字である可能性があると文字認識装置10が判断したが、最終的には、正しい候補文字(「海」)が確定文字に決定されている。 In FIG. 7, it is assumed that the candidate character ("umi") correctly recognized by the character recognition unit CR3 is determined as the confirmed character by the recognition result determination unit 126. That is, the character recognition device 10 has determined that the character ("umi") indicated by the individual character image GC1 and the confirmed character ("umi") corresponding to the recognition result of the individual character image GC1 may be different characters, but ultimately the correct candidate character ("umi") is determined as the confirmed character.

また、図6に示した例では、文字列画像GCL5に含まれる個別文字画像GC2の認識結果に対応する確定文字(「大」)が第1優先度の文字認識部CR4で認識されている。この場合、文字列画像GCL5に含まれる個別文字画像GC2により示される文字(「大」)と、個別文字画像GC2の認識結果に対応する確定文字(「大」)とが異なる文字である可能性があることを示す注意マークMKは、内容確認画面CCHに表示されない。すなわち、第1優先度の文字認識部CRで確定文字が認識されていない場合の確定文字の表示態様は、第1優先度の文字認識部CRで確定文字が認識された場合の確定文字の表示態様とは異なる。 In the example shown in FIG. 6, the confirmed character ("Large") corresponding to the recognition result of the individual character image GC2 included in the character string image GCL5 is recognized by the first priority character recognition unit CR4. In this case, a warning mark MK indicating that the character ("Large") indicated by the individual character image GC2 included in the character string image GCL5 and the confirmed character ("Large") corresponding to the recognition result of the individual character image GC2 may be different characters is not displayed on the content confirmation screen CCH. In other words, the display mode of the confirmed character when the confirmed character is not recognized by the first priority character recognition unit CR is different from the display mode of the confirmed character when the confirmed character is recognized by the first priority character recognition unit CR.

端末装置20を操作するオペレータは、注意マークMKを視認することにより、個別文字画像GCにより示される文字と確定文字とが異なる文字である可能性があることを認識できる。この結果、本実施形態では、注意マークMKが表示されない態様に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 By visually checking the attention mark MK, the operator operating the terminal device 20 can recognize that the character indicated by the individual character image GC and the confirmed character may be different characters. As a result, in this embodiment, the possibility of overlooking that the confirmed character is incorrect can be reduced compared to a configuration in which the attention mark MK is not displayed.

また、修正ボタンSSBは、確定文字を修正可能な状態とするためのGUI(Graphical User Interface)である。例えば、端末装置20を操作するオペレータは、内容確認画面CCHにおいて、個別文字画像GCと、当該個別文字画像GCに対応する確定文字とを比較する。そして、端末装置20を操作するオペレータは、確定文字が、個別文字画像GCにより示される文字とは異なる文字であると判断した場合に、修正ボタンSSBを選択(例えば、押下)する。 The correction button SSB is a GUI (Graphical User Interface) for making the confirmed character available for correction. For example, an operator operating the terminal device 20 compares an individual character image GC with the confirmed character corresponding to the individual character image GC on the content confirmation screen CCH. Then, when the operator operating the terminal device 20 determines that the confirmed character is different from the character shown by the individual character image GC, he or she selects (e.g., presses) the correction button SSB.

また、確定ボタンKTBは、内容確認画面CCHに表示された複数の認識文字列LMKを確定するためのGUIである。例えば、確定ボタンKTBが選択された場合、各認識文字列LMKに含まれる各確定文字が確定し、内容確認画面CCHの状態が、端末装置20を操作するオペレータが各確定文字を変更できない状態になる。これにより、文字認識システム1は、申込書画像GMに含まれる文字の認識結果を、内容確認画面CCHに表示される複数の確定文字であるとして確定する。 The Confirm button KTB is a GUI for confirming the multiple recognized character strings LMK displayed on the content confirmation screen CCH. For example, when the Confirm button KTB is selected, each confirmed character included in each recognized character string LMK is confirmed, and the state of the content confirmation screen CCH becomes a state in which the operator operating the terminal device 20 cannot change each confirmed character. As a result, the character recognition system 1 confirms the recognition results of the characters included in the application form image GM as the multiple confirmed characters displayed on the content confirmation screen CCH.

なお、内容確認画面CCHの例は、図7に示した例に限定されない。例えば、内容確認画面CCHに表示された注意マークMKにポインタを重ねた場合に、1つ以上の修正候補の文字を含むポップアップ画像が表示されてもよい。1つ以上の修正候補の文字は、例えば、複数の候補文字のうち、評価値が高い順に選択された所定数の候補文字であってもよい。あるいは、第1優先度の文字認識部CRによる一の文字の認識結果として2つ以上の候補文字が存在する場合、修正候補の文字は、第1優先度の文字認識部CRから得られる2つ以上の候補文字であってもよい。 Note that examples of the content confirmation screen CCH are not limited to the example shown in FIG. 7. For example, when the pointer is placed over the attention mark MK displayed on the content confirmation screen CCH, a pop-up image including one or more correction candidate characters may be displayed. The one or more correction candidate characters may be, for example, a predetermined number of candidate characters selected from a plurality of candidate characters in descending order of evaluation value. Alternatively, when there are two or more candidate characters as the recognition result of a character by the first priority character recognition unit CR, the correction candidate characters may be two or more candidate characters obtained from the first priority character recognition unit CR.

次に、図8を参照しながら、文字認識装置10の動作の概要について説明する。 Next, an overview of the operation of the character recognition device 10 will be described with reference to FIG.

図8は、図1に示した文字認識装置10の動作の一例を示すフローチャートである。図8に示す動作は、画像情報取得部122、記載内容認識部124、認識結果決定部126及び表示情報生成部128を含む制御部120として機能する処理装置12により、実行される。例えば、ステップS100では、処理装置12は画像情報取得部122として機能し、ステップS200、S220、S240、S260及びS400では、処理装置12は記載内容認識部124として機能する。また、ステップS300では、処理装置12は認識結果決定部126として機能し、ステップS500では、処理装置12は表示情報生成部128として機能する。 Figure 8 is a flowchart showing an example of the operation of the character recognition device 10 shown in Figure 1. The operation shown in Figure 8 is executed by the processing device 12 functioning as the control unit 120 including the image information acquisition unit 122, the written content recognition unit 124, the recognition result determination unit 126, and the display information generation unit 128. For example, in step S100, the processing device 12 functions as the image information acquisition unit 122, and in steps S200, S220, S240, S260, and S400, the processing device 12 functions as the written content recognition unit 124. In addition, in step S300, the processing device 12 functions as the recognition result determination unit 126, and in step S500, the processing device 12 functions as the display information generation unit 128.

先ず、ステップS100において、画像情報取得部122は、申込書画像GMを示す画像情報を端末装置20から取得する。 First, in step S100, the image information acquisition unit 122 acquires image information indicating the application form image GM from the terminal device 20.

次に、ステップS200において、記載内容認識部124は、ステップS100において取得された画像情報により示される申込書画像GMに含まれる複数の申込内容記載領域AKの各々を特定する。 Next, in step S200, the content recognition unit 124 identifies each of the multiple application content description areas AK included in the application form image GM indicated by the image information acquired in step S100.

次に、ステップS220において、記載内容認識部124は、ステップS200において特定された複数の申込内容記載領域AKの中から1つの申込内容記載領域AKを選択する。例えば、記載内容認識部124は、複数の申込内容記載領域AKのうち、文字認識処理が実行されていない1つの申込内容記載領域AKを選択する。 Next, in step S220, the description content recognition unit 124 selects one application content description area AK from the multiple application content description areas AK identified in step S200. For example, the description content recognition unit 124 selects one application content description area AK for which character recognition processing has not been performed from the multiple application content description areas AK.

次に、ステップS240において、記載内容認識部124は、ステップS220において選択された申込内容記載領域AKに表された文字列画像GCLに対する文字認識処理を実行する2つ以上の文字認識部CRを選択する。例えば、記載内容認識部124は、優先テーブルPTBLの複数のレコードのうち、ステップS220において選択された申込内容記載領域AKに対応する項目のレコードを参照し、参照したレコードに記憶された優先度に基づいて文字認識部CRを選択する。なお、ステップS240以降の説明では、特に断りがない場合、「文字列画像GCL」は、ステップS220において選択された申込内容記載領域AKに表された文字列画像GCLを意味するものとする。 Next, in step S240, the description content recognition unit 124 selects two or more character recognition units CR that perform character recognition processing on the character string image GCL displayed in the application content description area AK selected in step S220. For example, the description content recognition unit 124 refers to a record of an item corresponding to the application content description area AK selected in step S220 among multiple records in the priority table PTBL, and selects a character recognition unit CR based on the priority stored in the referenced record. Note that in the explanation from step S240 onwards, unless otherwise specified, "character string image GCL" means the character string image GCL displayed in the application content description area AK selected in step S220.

次に、ステップS260において、記載内容認識部124は、文字列画像GCLに対する文字認識処理を、ステップS240において選択された2つ以上の文字認識部CRに実行させる。すなわち、ステップS240において選択された2つ以上の文字認識部CRの各々は、文字列画像GCLに対して、文字認識処理を実行する。 Next, in step S260, the description recognition unit 124 causes the two or more character recognition units CR selected in step S240 to perform character recognition processing on the character string image GCL. That is, each of the two or more character recognition units CR selected in step S240 performs character recognition processing on the character string image GCL.

次に、ステップS300において、認識結果決定部126は、文字列画像GCLに含まれる複数の個別文字画像GCの各々の認識結果に対応する確定文字を決定する確定文字決定処理を、ステップS260における文字認識処理の結果に基づいて実行する。例えば、認識結果決定部126は、図6において説明されたように、複数の候補文字の各々の確度と、複数の文字認識部CRの各々の優先度とに基づいて複数の個別文字画像GCの各々の認識結果に対応する確定文字を決定する。 Next, in step S300, the recognition result determination unit 126 executes a confirmed character determination process to determine a confirmed character corresponding to each of the recognition results of the multiple individual character images GC included in the character string image GCL based on the result of the character recognition process in step S260. For example, as described in FIG. 6, the recognition result determination unit 126 determines a confirmed character corresponding to each of the recognition results of the multiple individual character images GC based on the accuracy of each of the multiple candidate characters and the priority of each of the multiple character recognition units CR.

次に、ステップS400において、記載内容認識部124は、ステップS200において特定された複数の申込内容記載領域AKの全てについて、ステップS260の文字認識処理が実行されたか否かを判定する。ステップS400における判定の結果が肯定の場合、処理装置12は、処理をステップS500に進める。一方、ステップS400における判定の結果が否定の場合、処理装置12は、処理をステップS220に戻す。 Next, in step S400, the description content recognition unit 124 determines whether or not the character recognition process in step S260 has been performed on all of the multiple application content description areas AK identified in step S200. If the result of the determination in step S400 is positive, the processing device 12 advances the process to step S500. On the other hand, if the result of the determination in step S400 is negative, the processing device 12 returns the process to step S220.

ステップS500において、表示情報生成部128は、認識結果決定部126により決定された確定文字を表示装置28に表示させる表示情報を生成する。例えば、表示情報生成部128は、内容確認画面CCHを表示装置28に表示させる表示情報を生成し、生成した表示情報を端末装置20に出力する。ステップS500の処理が実行されることにより、図8に示した動作は終了する。 In step S500, the display information generating unit 128 generates display information for displaying the confirmed characters determined by the recognition result determining unit 126 on the display device 28. For example, the display information generating unit 128 generates display information for displaying a content confirmation screen CCH on the display device 28, and outputs the generated display information to the terminal device 20. The operation shown in FIG. 8 is terminated by executing the process of step S500.

なお、文字認識装置10の動作は、図8に示した例に限定されない。例えば、ステップS300の処理は、ステップS400の処理より後に実行されてもよいし、ステップS200、S240、S260及びS400の一連の処理と並列に実行されてもよい。また、例えば、ステップS400の処理は、記載内容認識部124とは別の機能ブロック(例えば、認識結果決定部126等)により実行されてもよい。 The operation of the character recognition device 10 is not limited to the example shown in FIG. 8. For example, the process of step S300 may be executed after the process of step S400, or may be executed in parallel with the series of processes of steps S200, S240, S260, and S400. In addition, for example, the process of step S400 may be executed by a functional block (e.g., the recognition result determination unit 126, etc.) other than the written content recognition unit 124.

また、例えば、複数回繰り返されるステップS240の一部において、記載内容認識部124は、文字列画像GCLに対する文字認識処理を実行する文字認識部CRを1つのみ選択してもよい。また、例えば、ステップS240において選択される文字認識部CRの数の上限が予め決められていてもよい。この場合、ステップS240において選択される文字認識部CRの数の上限は、例えば、2つでもよい。ステップS240において選択される文字認識部CRの数の上限が2つの場合、例えば、文字認識部CR3及びCR4の一方又は両方は複数種類(実施の形態では6種類)の文字を認識できることが好ましい。 Also, for example, in a part of step S240 that is repeated multiple times, the written content recognition unit 124 may select only one character recognition unit CR that performs character recognition processing on the character string image GCL. Also, for example, an upper limit on the number of character recognition units CR selected in step S240 may be determined in advance. In this case, the upper limit on the number of character recognition units CR selected in step S240 may be, for example, two. When the upper limit on the number of character recognition units CR selected in step S240 is two, for example, it is preferable that one or both of the character recognition units CR3 and CR4 can recognize multiple types of characters (six types in the embodiment).

また、複数の項目の全てで、複数の文字認識部CRの全てが文字の認識に使用されてもよい。この場合、各項目において、複数の文字認識部CRの全てに対して優先度が決められている。また、複数の項目の全てで、複数の文字認識部CRの全てが文字の認識に使用される場合、例えば、ステップS240の処理は省かれる。 Also, all of the multiple character recognition units CR may be used to recognize characters in all of the multiple items. In this case, a priority is determined for all of the multiple character recognition units CR in each item. Also, when all of the multiple character recognition units CR are used to recognize characters in all of the multiple items, for example, the processing of step S240 is omitted.

次に、図9を参照しながら、確定文字決定処理のフローについて説明する。 Next, the flow of the finalized character determination process will be explained with reference to Figure 9.

図9は、図8に示した確定文字決定処理の一例を示すフローチャートである。図9に示す処理は、図8に示したステップS300の確定文字決定処理の一例である。図9に示す確定文字決定処理では、優先度に基づく重み値を用いて算出される評価値に基づいて、確定文字が決定される場合を想定する。ステップS320の処理は、例えば、図8のステップS260の処理が実行された後に実行される。なお、図9においても、特に断りがない場合、「文字列画像GCL」は、図8のステップS220において選択された申込内容記載領域AKに表された文字列画像GCLを意味するものとする。 Figure 9 is a flow chart showing an example of the confirmed character determination process shown in Figure 8. The process shown in Figure 9 is an example of the confirmed character determination process of step S300 shown in Figure 8. In the confirmed character determination process shown in Figure 9, it is assumed that the confirmed characters are determined based on an evaluation value calculated using a weight value based on priority. The process of step S320 is executed, for example, after the process of step S260 in Figure 8 is executed. Note that in Figure 9, unless otherwise specified, "character string image GCL" refers to the character string image GCL displayed in the application content entry area AK selected in step S220 in Figure 8.

先ず、ステップS320において、認識結果決定部126は、文字列画像GCLに含まれる複数の個別文字画像GCのうち、確定文字が決定されていない一の個別文字画像GCを特定する。 First, in step S320, the recognition result determination unit 126 identifies one individual character image GC for which a confirmed character has not been determined, from among the multiple individual character images GC contained in the character string image GCL.

次に、ステップS340において、認識結果決定部126は、ステップS320において特定された一の個別文字画像GCに対応する複数の候補文字の各々の評価値を算出する。なお、一の個別文字画像GCに対応する複数の候補文字は、例えば、図8のステップS240において選択された2つ以上の文字認識部CRによる一の個別文字画像GCの認識結果として得られる複数の候補文字である。また、複数の候補文字の各々の評価値は、例えば、当該候補文字の確度と、当該候補文字を認識した文字認識部CRの重み値との積で表される。 Next, in step S340, the recognition result determination unit 126 calculates an evaluation value for each of the multiple candidate characters corresponding to the individual character image GC identified in step S320. Note that the multiple candidate characters corresponding to the individual character image GC are, for example, multiple candidate characters obtained as the recognition result of the individual character image GC by two or more character recognition units CR selected in step S240 of FIG. 8. Also, the evaluation value for each of the multiple candidate characters is expressed, for example, as the product of the accuracy of the candidate character and the weight value of the character recognition unit CR that recognized the candidate character.

次に、ステップS360において、認識結果決定部126は、一の個別文字画像GCに対応する複数の候補文字のうち、ステップS340において算出された評価値が最も高い候補文字を、一の個別文字画像GCの認識結果に対応する確定文字に決定する。 Next, in step S360, the recognition result determination unit 126 determines the candidate character with the highest evaluation value calculated in step S340 from among the multiple candidate characters corresponding to one individual character image GC as the confirmed character corresponding to the recognition result of the one individual character image GC.

次に、ステップS380において、認識結果決定部126は、文字列画像GCLに含まれる複数の個別文字画像GCの全てについて、確定文字が決定されたか否かを判定する。ステップS380における判定の結果が否定の場合、処理装置12は、処理をステップS320に戻す。一方、ステップS380における判定の結果が肯定の場合、処理装置12は、確定文字決定処理を終了し、処理を図8のステップS400に進める。 Next, in step S380, the recognition result determination unit 126 determines whether or not a confirmed character has been determined for all of the multiple individual character images GC included in the character string image GCL. If the result of the determination in step S380 is negative, the processing device 12 returns the process to step S320. On the other hand, if the result of the determination in step S380 is positive, the processing device 12 ends the confirmed character determination process and proceeds to step S400 in FIG. 8.

次に、図10を参照しながら、確定文字決定処理の別の例について説明する。 Next, we will explain another example of the finalized character determination process with reference to Figure 10.

図10は、図8に示した確定文字決定処理の別の例を示すフローチャートである。図10に示す処理は、図8に示したステップS300の確定文字決定処理の別の例である。図9において説明した動作と同様の要素については、同様の符号を付し、詳細な説明を省略する。図10に示す確定文字決定処理では、優先度に基づく重み値が用いられない場合を想定する。例えば、図10に示す確定文字決定処理では、第1優先度の文字認識部CRによる一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値以上か否かによって、第1優先度の文字認識部CRを他の文字認識部CRより優先するか否かが決定される。ステップS320の処理は、例えば、図8のステップS260の処理が実行された後に実行される。なお、図10においても、特に断りがない場合、「文字列画像GCL」は、図8のステップS220において選択された申込内容記載領域AKに表された文字列画像GCLを意味するものとする。 Figure 10 is a flowchart showing another example of the confirmed character determination process shown in Figure 8. The process shown in Figure 10 is another example of the confirmed character determination process of step S300 shown in Figure 8. Elements similar to the operation described in Figure 9 are given the same reference numerals, and detailed description is omitted. In the confirmed character determination process shown in Figure 10, a case is assumed in which a weight value based on priority is not used. For example, in the confirmed character determination process shown in Figure 10, whether or not the first priority character recognition unit CR is prioritized over other character recognition units CR is determined depending on whether the accuracy of the first priority candidate character obtained as a recognition result of one character by the first priority character recognition unit CR is a predetermined value or more. The process of step S320 is executed, for example, after the process of step S260 in Figure 8 is executed. Note that, in Figure 10, unless otherwise specified, "character string image GCL" means the character string image GCL displayed in the application content description area AK selected in step S220 in Figure 8.

先ず、ステップS320において、認識結果決定部126は、文字列画像GCLに含まれる複数の個別文字画像GCのうち、確定文字が決定されていない一の個別文字画像GCを特定する。 First, in step S320, the recognition result determination unit 126 identifies one individual character image GC for which a confirmed character has not been determined, from among the multiple individual character images GC contained in the character string image GCL.

次に、ステップS342において、認識結果決定部126は、第1優先度の文字認識部CRによる一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値以上か否かを判定する。ステップS342における判定の結果が肯定の場合、処理装置12は、処理をステップS362に進める。一方、ステップS342における判定の結果が否定の場合、処理装置12は、処理をステップS364に進める。 Next, in step S342, the recognition result determination unit 126 determines whether the accuracy of the first priority candidate character obtained as the recognition result of one character by the first priority character recognition unit CR is equal to or greater than a predetermined value. If the result of the determination in step S342 is positive, the processing device 12 advances the process to step S362. On the other hand, if the result of the determination in step S342 is negative, the processing device 12 advances the process to step S364.

ステップS362において、認識結果決定部126は、第1優先度の候補文字を一の個別文字画像GCの認識結果に対応する確定文字に決定する。処理装置12は、ステップS362の処理を実行した後、処理をステップS380に進める。 In step S362, the recognition result determination unit 126 determines the candidate character with the first priority as the confirmed character corresponding to the recognition result of one individual character image GC. After executing the process of step S362, the processing device 12 advances the process to step S380.

ステップS364において、認識結果決定部126は、一の個別文字画像GCに対応する複数の候補文字のうち、確度が最も高い候補文字を、一の個別文字画像GCの認識結果に対応する確定文字に決定する。処理装置12は、ステップS364の処理を実行した後、処理をステップS380に進める。 In step S364, the recognition result determination unit 126 determines the candidate character with the highest degree of certainty among the multiple candidate characters corresponding to one individual character image GC as the confirmed character corresponding to the recognition result of the one individual character image GC. After executing the process of step S364, the processing device 12 proceeds to the process of step S380.

ステップS380において、認識結果決定部126は、文字列画像GCLに含まれる複数の個別文字画像GCの全てについて、確定文字が決定されたか否かを判定する。ステップS380における判定の結果が否定の場合、処理装置12は、処理をステップS320に戻す。一方、ステップS380における判定の結果が肯定の場合、処理装置12は、確定文字決定処理を終了し、処理を図8のステップS400に進める。 In step S380, the recognition result determination unit 126 determines whether or not a confirmed character has been determined for all of the multiple individual character images GC included in the character string image GCL. If the result of the determination in step S380 is negative, the processing device 12 returns the process to step S320. On the other hand, if the result of the determination in step S380 is positive, the processing device 12 ends the confirmed character determination process and proceeds to step S400 in FIG. 8.

以上、本実施形態では、文字認識装置10は、記載内容認識部124及び認識結果決定部126を有する。記載内容認識部124は、画像に含まれる文字を認識し、認識した文字の確度を算出する複数の文字認識処理の各々(複数の文字認識部CRの各々が実行する文字認識処理)により、1つ以上の項目を含む書類の画像である申込書画像GMに含まれる一の文字を認識する。文字の認識に使用する文字認識処理の優先度は、項目毎に決められている。認識結果決定部126は、複数の文字認識処理の各々による一の文字の認識結果として得られる複数の候補文字の1つを、一の文字の認識結果に対応する確定文字に決定する。具体的には、認識結果決定部126は、複数の候補文字の各々の確度と、複数の文字認識処理の各々の優先度とに基づいて、複数の候補文字の1つを、確定文字に決定する。 As described above, in this embodiment, the character recognition device 10 has a description content recognition unit 124 and a recognition result determination unit 126. The description content recognition unit 124 recognizes a character included in an image and recognizes a character included in an application form image GM, which is an image of a document including one or more items, by each of a plurality of character recognition processes (character recognition processes executed by each of a plurality of character recognition units CR) that recognize characters included in the image and calculate the accuracy of the recognized character. The priority of the character recognition process used for character recognition is determined for each item. The recognition result determination unit 126 determines one of a plurality of candidate characters obtained as a recognition result of a single character by each of the plurality of character recognition processes as a confirmed character corresponding to the recognition result of the single character. Specifically, the recognition result determination unit 126 determines one of a plurality of candidate characters as a confirmed character based on the accuracy of each of the plurality of candidate characters and the priority of each of the plurality of character recognition processes.

このように、本実施形態では、一の文字に対応する確定文字が複数の文字認識処理の結果に基づいて決定される。このため、本実施形態では、一の文字に対応する確定文字が1つの文字認識処理の結果に基づいて決定される態様に比べて、文字の認識の精度を高めることができる。さらに、本実施形態では、複数の候補文字の各々の確度と複数の文字認識処理の各々の優先度とに基づいて確定文字が決定されるため、複数の候補文字の各々の確度のみに基づいて確定文字が決定される態様に比べて、文字の認識の精度を高めることができる。 In this manner, in this embodiment, the confirmed character corresponding to one character is determined based on the results of multiple character recognition processes. Therefore, in this embodiment, the accuracy of character recognition can be improved compared to an aspect in which the confirmed character corresponding to one character is determined based on the result of one character recognition process. Furthermore, in this embodiment, the confirmed character is determined based on the accuracy of each of the multiple candidate characters and the priority of each of the multiple character recognition processes, so the accuracy of character recognition can be improved compared to an aspect in which the confirmed character is determined based only on the accuracy of each of the multiple candidate characters.

また、本実施形態では、複数の文字認識処理の各々には、優先度に基づく重み値が決められていてもよい。この場合、認識結果決定部126は、複数の候補文字の各々の確度を複数の文字認識処理の各々の重み値で重み付けすることにより、複数の候補文字の各々の評価値を算出する。そして、認識結果決定部126は、複数の候補文字のうち、評価値が最も高い候補文字を、確定文字に決定する。この場合、重み値を適切に設定することにより、誤った文字が確定文字に決定されることを抑制できる。例えば、本実施形態では、各項目において、複数の文字認識部CRの各々の学習度に応じて重み値を決定することにより、文字の認識の精度を高めることができる。 In addition, in this embodiment, a weight value based on priority may be set for each of the multiple character recognition processes. In this case, the recognition result determination unit 126 calculates an evaluation value for each of the multiple candidate characters by weighting the accuracy of each of the multiple candidate characters with the weight value of each of the multiple character recognition processes. Then, the recognition result determination unit 126 determines the candidate character with the highest evaluation value among the multiple candidate characters as the confirmed character. In this case, by appropriately setting the weight value, it is possible to prevent an incorrect character from being determined as the confirmed character. For example, in this embodiment, the accuracy of character recognition can be improved by determining a weight value for each item according to the learning degree of each of the multiple character recognition units CR.

また、本実施形態では、複数の文字認識処理の各々に、優先度に基づく重み値が決められていなくてもよい。この場合、認識結果決定部126は、複数の文字認識処理のうち優先度が最も高い文字認識処理による一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値以上の場合、複数の候補文字のうち、第1優先度の候補文字を確定文字に決定してもよい。これにより、本実施形態では、誤った文字が確定文字に決定されることを抑制することができ、文字の認識の精度を高めることができる。 In addition, in this embodiment, a weight value based on priority may not be determined for each of the multiple character recognition processes. In this case, when the accuracy of a first priority candidate character obtained as a recognition result of a character by a character recognition process with the highest priority among the multiple character recognition processes is equal to or greater than a predetermined value, the recognition result determination unit 126 may determine the first priority candidate character among the multiple candidate characters as the confirmed character. This makes it possible to prevent an incorrect character from being determined as the confirmed character in this embodiment, and improves the accuracy of character recognition.

また、認識結果決定部126は、複数の文字認識処理のうち優先度が最も高い文字認識処理による一の文字の認識結果として得られる第1優先度の候補文字の確度が所定値未満の場合、複数の候補文字のうち、確度が最も高い候補文字を、確定文字に決定してもよい。この場合においても、誤った文字が確定文字に決定されることを抑制することができ、文字の認識の精度を高めることができる。 In addition, when the accuracy of a first-priority candidate character obtained as a recognition result of a character by a character recognition process with the highest priority among the multiple character recognition processes is less than a predetermined value, the recognition result determination unit 126 may determine the candidate character with the highest accuracy among the multiple candidate characters as the confirmed character. Even in this case, it is possible to prevent an incorrect character from being determined as the confirmed character, and the accuracy of character recognition can be improved.

また、本実施形態では、認識結果決定部126により決定された確定文字を表示装置28に表示させる表示情報生成部128をさらに有する。表示情報生成部128は、複数の文字認識処理のうち優先度が最も高い文字認識処理で確定文字が認識されていない場合の確定文字の表示態様を、複数の文字認識処理のうちの優先度が最も高い文字認識処理で確定文字が認識された場合の確定文字の表示態様とは異ならせる。このため、オペレータは、例えば、一の確定文字の表示態様が他の確定文字の表示態様と異なる場合、一の確定文字が誤っている可能性があることを認識できる。この結果、本実施形態では、確定文字が誤っている可能性がある場合においても確定文字の表示態様が変化しない場合に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 In addition, this embodiment further includes a display information generating unit 128 that displays the confirmed character determined by the recognition result determining unit 126 on the display device 28. The display information generating unit 128 changes the display mode of the confirmed character when the confirmed character is not recognized in the character recognition process having the highest priority among the multiple character recognition processes from the display mode of the confirmed character when the confirmed character is recognized in the character recognition process having the highest priority among the multiple character recognition processes. Therefore, for example, when the display mode of one confirmed character differs from the display mode of other confirmed characters, the operator can recognize that one confirmed character may be incorrect. As a result, in this embodiment, the possibility of overlooking that the confirmed character is incorrect can be reduced compared to when the display mode of the confirmed character does not change even when the confirmed character may be incorrect.

[2.第2実施形態]
次に、図11を参照しながら、第2実施形態に係る文字認識装置10の概要の一例について説明する。
[2. Second embodiment]
Next, an example of an overview of the character recognition device 10 according to the second embodiment will be described with reference to FIG.

図11は、第2実施形態に係る文字認識装置10の概要を説明するための説明図である。図1から図10において説明した要素と同様の要素については、同様の符号を付し、詳細な説明を省略する。 Figure 11 is an explanatory diagram for explaining an overview of a character recognition device 10 according to the second embodiment. Elements similar to those explained in Figures 1 to 10 are given the same reference numerals, and detailed explanations are omitted.

図11に示す文字認識装置10は、図3に示した文字認識装置10と同一の構成である。例えば、文字認識装置10は、処理装置12、記憶装置14及び通信装置16を有する。但し、記憶装置14に記憶される制御プログラムPG2は、図3に示した制御プログラムPG1と相違する。なお、制御プログラムPG2は、「プログラム」の一例である。本実施形態では、制御プログラムPG2は、例えば、文字認識装置10が文字認識処理を実行するためのアプリケーションプログラムを含む。但し、制御プログラムPG2は、例えば、処理装置12が文字認識装置10の各部を制御するためのオペレーティングシステムプログラムを含んでもよい。 The character recognition device 10 shown in FIG. 11 has the same configuration as the character recognition device 10 shown in FIG. 3. For example, the character recognition device 10 has a processing device 12, a storage device 14, and a communication device 16. However, the control program PG2 stored in the storage device 14 differs from the control program PG1 shown in FIG. 3. Note that the control program PG2 is an example of a "program." In this embodiment, the control program PG2 includes, for example, an application program that causes the character recognition device 10 to execute character recognition processing. However, the control program PG2 may include, for example, an operating system program that causes the processing device 12 to control each part of the character recognition device 10.

また、本実施形態では、各項目の記載欄(より詳細には、申込内容記載領域AK)に記載された文字の認識に使用する文字認識部CRを示す情報として、優先度が優先テーブルPTBLに記憶されている場合を想定する。さらに、本実施形態では、各項目の記載欄に記載された文字の認識に使用する文字認識部CRの数が1つ以上2つ以下である場合を想定する。複数の項目のうちの少なくとも1つの項目では、2つの文字認識部CRが文字の認識に使用される。2つの文字認識部CRの優先度は、互いに同じでもよいし、異なってもよい。本実施形態では、文字の認識に使用される2つの文字認識部CRの優先度が互いに同じ場合を想定する。各項目において、文字の認識に使用される2つの文字認識部CRの一方により実行される文字認識処理は、「第1文字認識処理」の一例であり、2つの文字認識部CRの他方により実行される文字認識処理は、「第2文字認識処理」の一例である。 In addition, in this embodiment, it is assumed that the priority is stored in the priority table PTBL as information indicating the character recognition unit CR used to recognize the characters written in the entry field of each item (more specifically, the application content entry area AK). Furthermore, in this embodiment, it is assumed that the number of character recognition units CR used to recognize the characters written in the entry field of each item is one or more and two or less. In at least one item of the multiple items, two character recognition units CR are used to recognize the characters. The priorities of the two character recognition units CR may be the same or different. In this embodiment, it is assumed that the priorities of the two character recognition units CR used to recognize the characters are the same. In each item, the character recognition process performed by one of the two character recognition units CR used to recognize the characters is an example of a "first character recognition process", and the character recognition process performed by the other of the two character recognition units CR is an example of a "second character recognition process".

図11に示す処理装置12は、図3に示した制御プログラムPG1の代わりに制御プログラムPG2を実行することを除いて、図3に示した処理装置12と同様である。例えば、処理装置12は、記憶装置14から読み出した制御プログラムPG2を実行することによって、制御部120Aとして機能する。 The processing device 12 shown in FIG. 11 is similar to the processing device 12 shown in FIG. 3, except that the processing device 12 executes a control program PG2 instead of the control program PG1 shown in FIG. 3. For example, the processing device 12 functions as a control unit 120A by executing the control program PG2 read from the storage device 14.

制御部120Aは、認識結果決定部126の代わりに認識結果決定部126Aを有することを除いて、図4に示した制御部120と同様である。例えば、制御部120Aは、画像情報取得部122、記載内容認識部124、認識結果決定部126A及び表示情報生成部128を有する。認識結果決定部126Aは、「決定部」の一例である。 The control unit 120A is similar to the control unit 120 shown in FIG. 4, except that it has a recognition result determination unit 126A instead of the recognition result determination unit 126. For example, the control unit 120A has an image information acquisition unit 122, a description content recognition unit 124, a recognition result determination unit 126A, and a display information generation unit 128. The recognition result determination unit 126A is an example of a "determination unit."

画像情報取得部122及び記載内容認識部124は、図4に示した画像情報取得部122及び記載内容認識部124と同様である。但し、記載内容認識部124が有する複数の文字認識部CRの各々は、一の文字の認識結果として、1つ以上の候補文字及び1つ以上の候補文字の各々の確度を出力する。 The image information acquisition unit 122 and the written content recognition unit 124 are the same as the image information acquisition unit 122 and the written content recognition unit 124 shown in FIG. 4. However, each of the multiple character recognition units CR of the written content recognition unit 124 outputs one or more candidate characters and the accuracy of each of the one or more candidate characters as the recognition result of one character.

認識結果決定部126Aは、記載内容認識部124による一の文字に対する文字認識処理の結果を示す認識情報を取得する。例えば、認識情報は、複数の文字認識部CRのうちの2つの文字認識部CRの各々により実行された文字認識処理による一の文字の認識結果、又は、複数の文字認識部CRのうちの1つ文字認識部CRにより実行された文字認識処理による一の文字の認識結果を示す。2つの文字認識部CRのうちの一の文字認識部CR又は1つの文字認識部CRにより実行された文字認識処理による一の文字の認識結果は、例えば、一の文字の認識結果の候補となる1つ以上の候補文字、及び、1つ以上の候補文字の確度を含む。 The recognition result determination unit 126A acquires recognition information indicating the result of character recognition processing for one character by the written content recognition unit 124. For example, the recognition information indicates the recognition result of one character by character recognition processing performed by each of two character recognition units CR out of the multiple character recognition units CR, or the recognition result of one character by character recognition processing performed by one character recognition unit CR out of the multiple character recognition units CR. The recognition result of one character by character recognition processing performed by one character recognition unit CR out of the two character recognition units CR or one character recognition unit CR includes, for example, one or more candidate characters that are candidates for the recognition result of the one character, and the accuracy of the one or more candidate characters.

なお、2つの文字認識部CRの一方の文字認識処理による一の文字の認識結果として得られる1つ以上の候補文字は、「第1候補文字」の一例であり、2つの文字認識部CRの他方の文字認識処理による一の文字の認識結果として得られる1つ以上の候補文字は、「第2候補文字」の一例である。以下では、一の文字に対する文字認識処理を実行した2つの文字認識部CRの一方の認識結果として得られる候補文字は、第1候補文字とも称され、2つの文字認識部CRの他方の認識結果として得られる候補文字は、第2候補文字とも称される。 Note that one or more candidate characters obtained as a recognition result of a character by the character recognition process of one of the two character recognition units CR are an example of "first candidate characters," and one or more candidate characters obtained as a recognition result of a character by the character recognition process of the other of the two character recognition units CR are an example of "second candidate characters." In the following, a candidate character obtained as a recognition result of one of the two character recognition units CR that performed character recognition processing on a character is also referred to as a first candidate character, and a candidate character obtained as a recognition result of the other of the two character recognition units CR is also referred to as a second candidate character.

例えば、認識結果決定部126Aは、1つ以上の第1候補文字と1つ以上の第2候補文字との両方に含まれる共通文字が存在する場合、共通文字を一の文字の認識結果に対応する確定文字とするか否かを決定する。共通文字を一の文字の認識結果に対応する確定文字とするか否かを決定する処理を含む確定文字決定処理については、後述する図12において説明される。 For example, when a common character is present that is included in both one or more first candidate characters and one or more second candidate characters, the recognition result determination unit 126A determines whether or not to make the common character a confirmed character corresponding to the recognition result of a character. The confirmed character determination process, which includes the process of determining whether or not to make the common character a confirmed character corresponding to the recognition result of a character, is described later in FIG. 12.

表示情報生成部128は、確定文字の表示形態を異ならせる条件を除いて、図4に示した表示情報生成部128と同様である。例えば、表示情報生成部128は、共通文字が存在しない場合の確定文字の表示態様を、共通文字が存在する場合の確定文字の表示態様とは異ならせる。具体的には、例えば、表示情報生成部128は、一の文字の認識結果として得られた複数の候補文字の中に共通文字が存在しない場合、内容確認画面CCH内に注意マークMKを表示する表示情報を生成し、生成した表示情報を端末装置20に出力する。これにより、例えば、内容確認画面CCHのうち、一の文字の認識結果に対応する確定文字の表示位置に対応する位置に、注意マークMKが表示される。 The display information generating unit 128 is similar to the display information generating unit 128 shown in FIG. 4, except for the conditions for changing the display mode of the confirmed character. For example, the display information generating unit 128 changes the display mode of the confirmed character when there is no common character from the display mode of the confirmed character when there is a common character. Specifically, for example, when there is no common character among the multiple candidate characters obtained as the recognition result of one character, the display information generating unit 128 generates display information for displaying a caution mark MK in the content confirmation screen CCH, and outputs the generated display information to the terminal device 20. As a result, for example, the caution mark MK is displayed in a position on the content confirmation screen CCH corresponding to the display position of the confirmed character corresponding to the recognition result of one character.

例えば、2つの文字認識部CRによる一の文字に対する文字認識の精度が低い場合、2つの文字認識部CRによる一の文字に対する文字認識の精度が高い場合に比べて、共通文字が存在しない確率が高いと考えられる。従って、2つの文字認識部CRによる一の文字の認識結果として得られた複数の候補文字の中に共通文字が存在しない場合、共通文字が存在する場合に比べて、誤った文字が確定文字に決定される確率が高いと考えられる。このため、端末装置20を操作するオペレータは、注意マークMKを視認することにより、個別文字画像GCにより示される文字と確定文字とが異なる文字である可能性があることを認識できる。この結果、本実施形態では、注意マークMKが表示されない態様に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 For example, when the accuracy of character recognition for one character by the two character recognition units CR is low, it is considered that there is a higher probability that no common characters exist compared to when the accuracy of character recognition for one character by the two character recognition units CR is high. Therefore, when there is no common character among the multiple candidate characters obtained as the recognition result of one character by the two character recognition units CR, it is considered that there is a higher probability that an incorrect character will be determined as the confirmed character compared to when a common character exists. For this reason, by visually checking the attention mark MK, the operator operating the terminal device 20 can recognize that the character indicated by the individual character image GC and the confirmed character may be different characters. As a result, in this embodiment, it is possible to reduce the possibility of overlooking that the confirmed character is incorrect compared to an aspect in which the attention mark MK is not displayed.

なお、制御部120Aの動作は、確定文字決定処理を除いて、図4に示した制御部120の動作と同様である。例えば、制御部120Aの動作は、図8に示したステップS300の確定文字決定処理を除いて、図8に示した動作と同様である。 The operation of the control unit 120A is the same as the operation of the control unit 120 shown in FIG. 4, except for the confirmed character determination process of step S300 shown in FIG. 8. For example, the operation of the control unit 120A is the same as the operation shown in FIG. 8, except for the confirmed character determination process of step S300 shown in FIG.

次に、図12を参照しながら、認識結果決定部126Aによる確定文字決定処理の一例について説明する。 Next, an example of the confirmed character determination process performed by the recognition result determination unit 126A will be described with reference to FIG. 12.

図12は、図11に示した認識結果決定部126Aの動作の一例を説明するための説明図である。図12では、上述した図6と同様に、「住所」に係る申込内容記載領域AKに記載された文字列を示す文字列画像GCL5に対して文字認識処理が実行された場合を例にして、「大」の個別文字画像GC2の認識結果に対応する確定文字の決定方法の一例が説明される。但し、図12では、説明を分かり易くするために、確度等を図6に示した例と異ならせている箇所がある。 Figure 12 is an explanatory diagram for explaining an example of the operation of the recognition result determination unit 126A shown in Figure 11. As with Figure 6 described above, Figure 12 explains an example of a method for determining a confirmed character corresponding to the recognition result of individual character image GC2 of "large", using as an example a case where character recognition processing is performed on character string image GCL5 showing a character string written in application content entry area AK related to "address". However, in Figure 12, in order to make the explanation easier to understand, there are some parts where the accuracy, etc. are different from the example shown in Figure 6.

図12では、文字列画像GCL5の文字の認識に使用される文字認識部CRとして、文字認識部CR3及びCR4が選択された場合を想定する。この場合、文字認識部CR3及びCR4の一方により実行される文字認識処理が「第1文字認識処理」に該当し、文字認識部CR3及びCR4の他方により実行される文字認識処理が「第2文字認識処理」に該当する。以下では、文字認識部CR3の認識結果として得られる候補文字は、第1候補文字とも称され、文字認識部CR4の認識結果として得られる候補文字は、第2候補文字とも称される。 In FIG. 12, it is assumed that character recognition units CR3 and CR4 are selected as the character recognition units CR used to recognize characters in character string image GCL5. In this case, the character recognition process performed by one of character recognition units CR3 and CR4 corresponds to the "first character recognition process," and the character recognition process performed by the other of character recognition units CR3 and CR4 corresponds to the "second character recognition process." Hereinafter, the candidate characters obtained as the recognition results of character recognition unit CR3 are also referred to as first candidate characters, and the candidate characters obtained as the recognition results of character recognition unit CR4 are also referred to as second candidate characters.

図12に示す例では、認識結果決定部126Aは、文字認識部CR3による「大」の個別文字画像GC2に対する文字認識処理の結果として、「丈」、「太」、「大」、「火」及び「木」の文字を含む複数の第1候補文字と、複数の第1候補文字の各々の確度とを取得する。さらに、認識結果決定部126Aは、文字認識部CR4による「大」の個別文字画像GC2に対する文字認識処理の結果として、「犬」、「大」、「太」、「木」及び「丈」の文字を含む複数の第2候補文字と、複数の第2候補文字の各々の確度とを取得する。 In the example shown in FIG. 12, the recognition result determination unit 126A obtains a plurality of first candidate characters including the characters "丈", "太", "大", "火", and "木" as a result of the character recognition process performed by the character recognition unit CR3 on the individual character image GC2 of "大" and the accuracy of each of the plurality of first candidate characters. Furthermore, the recognition result determination unit 126A obtains a plurality of second candidate characters including the characters "犬", "大", "太", "木", and "丈" as a result of the character recognition process performed by the character recognition unit CR4 on the individual character image GC2 of "大".

認識結果決定部126Aは、複数の第1候補文字と複数の第2候補文字とを含む複数の候補文字から、複数の第1候補文字と複数の第2候補文字との両方に存在する共通文字を検索する。図12では、「丈」、「太」、「大」及び「木」の文字が、複数の第1候補文字と複数の第2候補文字との両方に存在する場合を想定する。従って、認識結果決定部126Aは、「丈」、「太」、「大」及び「木」の文字を共通文字として認識する。 The recognition result determination unit 126A searches for common characters that exist in both the first candidate characters and the second candidate characters from among multiple candidate characters including multiple first candidate characters and multiple second candidate characters. In FIG. 12, it is assumed that the characters "丈", "太", "大" and "木" exist in both the first candidate characters and the second candidate characters. Therefore, the recognition result determination unit 126A recognizes the characters "丈", "太", "大" and "木" as common characters.

そして、認識結果決定部126Aは、第1条件及び第2条件の両方の条件を満たす1つ以上の共通文字が存在するか否かに基づいて、共通文字を一の文字の認識結果に対応する確定文字とするか否かを決定する。第1条件は、1つ以上の第1候補文字に含まれる共通文字の確度である第1確度、及び、1つ以上の第2候補文字に含まれる共通文字の確度である第2確度のうちの高い方の確度に関する条件である。また、第2条件は、第1確度と第2確度との差異の程度に関する条件である。具体的には、第1条件は、例えば、第1確度及び第2確度の高い方の確度が所定の確度以上であるという条件であり、第2条件は、第1確度と第2確度との差分の絶対値が所定値以下であるという条件である。 Then, the recognition result determination unit 126A determines whether or not to set a common character as a confirmed character corresponding to a recognition result of one character, based on whether or not there are one or more common characters that satisfy both the first and second conditions. The first condition is a condition regarding the higher of the first accuracy, which is the accuracy of a common character included in one or more first candidate characters, and the second accuracy, which is the accuracy of a common character included in one or more second candidate characters. The second condition is a condition regarding the degree of difference between the first accuracy and the second accuracy. Specifically, the first condition is, for example, a condition that the higher of the first accuracy and the second accuracy is equal to or higher than a predetermined accuracy, and the second condition is a condition that the absolute value of the difference between the first accuracy and the second accuracy is equal to or lower than a predetermined value.

図12では、第1条件が、第1確度及び第2確度の高い方の確度が80%以上であるという条件であり、第2条件が、第1確度と第2確度との差分の絶対値が20%以下であるという条件である場合を想定する。この場合、複数の共通文字(「丈」、「太」、「大」及び「木」)のうち、「丈」の文字は、第1確度と第2確度との差分が40%であるため、第2条件を満たさない。「太」の文字は、第1確度及び第2確度の高い方の確度が85%であり、第1確度と第2確度との差分が5%であるため、第1条件及び第2条件の両方の条件を満たす。「大」の文字は、第1確度及び第2確度の高い方の確度が87%であり、第1確度と第2確度との差分が5%であるため、第1条件及び第2条件の両方の条件を満たす。また、「木」の文字は、第1確度及び第2確度の高い方の確度が60%であるため、第1条件を満たさない。 In FIG. 12, it is assumed that the first condition is that the higher of the first and second probabilities is 80% or more, and the second condition is that the absolute value of the difference between the first and second probabilities is 20% or less. In this case, among the multiple common characters ("丈", "太", "大" and "木"), the character "丈" does not satisfy the second condition because the difference between the first and second probabilities is 40%. The character "太" satisfies both the first and second conditions because the higher of the first and second probabilities is 85% and the difference between the first and second probabilities is 5%. The character "大" satisfies both the first and second conditions because the higher of the first and second probabilities is 87% and the difference between the first and second probabilities is 5%. In addition, the character "木" does not satisfy the first condition because the higher of the first and second probabilities is 60%.

このため、認識結果決定部126Aは、複数の共通文字(「丈」、「太」、「大」及び「木」)のうち、「太」及び「大」の文字を第1条件及び第2条件の両方の条件を満たす共通文字として特定する。例えば、認識結果決定部126Aは、共通文字が第1条件及び第2条件の両方の条件を満たす場合、第1条件及び第2条件の両方の条件を満たす共通文字を、一の文字の認識結果に対応する確定文字の候補である確定候補文字に決定する。すなわち、認識結果決定部126Aは、「太」及び「大」の文字を確定候補文字に決定する。認識結果決定部126Aは、複数の確定候補文字が存在する場合、複数の確定候補文字の1つを、確定文字に決定する。 Therefore, the recognition result determination unit 126A identifies the characters "太" and "大" from among the multiple common characters ("丈", "太", "大" and "木") as common characters that satisfy both the first and second conditions. For example, when a common character satisfies both the first and second conditions, the recognition result determination unit 126A determines the common character that satisfies both the first and second conditions as a confirmed candidate character that is a candidate for the confirmed character corresponding to the recognition result of one character. In other words, the recognition result determination unit 126A determines the characters "太" and "大" as confirmed candidate characters. When there are multiple confirmed candidate characters, the recognition result determination unit 126A determines one of the multiple confirmed candidate characters as the confirmed character.

なお、確定候補文字が1つの場合、認識結果決定部126Aは、確定候補文字を確定文字に決定する。以下では、複数の確定候補文字が存在する場合の確定文字の決定方法の例として、第1の決定方法、第2の決定方法及び第3の決定方法を説明する。但し、複数の確定候補文字が存在する場合の確定文字の決定方法は、以下の第1の決定方法、第2の決定方法及び第3の決定方法に限定されない。 When there is one confirmed candidate character, the recognition result determination unit 126A determines the confirmed candidate character as the confirmed character. Below, the first determination method, the second determination method, and the third determination method are described as examples of methods for determining a confirmed character when there are multiple confirmed candidate characters. However, the methods for determining a confirmed character when there are multiple confirmed candidate characters are not limited to the first determination method, the second determination method, and the third determination method described below.

第1の決定方法では、認識結果決定部126Aは、複数の確定候補文字の中で確度が最も高い確定候補文字を、確定文字に決定する。図12に示す認識結果では、2つの確定候補文字(「太」及び「大」)の中で、「大」の文字の確度が最も高い。このため、第1の決定方法では、認識結果決定部126Aは、2つの確定候補文字(「太」及び「大」)の中で、確度が最も高い確定候補文字(「大」)を確定文字に決定する。第1の決定方法では、第1確度と第2確度との平均値の算出等の演算を行うことなく確定文字を決定することができるため、確定文字決定処理が煩雑になることを抑制することができる。 In the first determination method, the recognition result determination unit 126A determines the confirmed candidate character with the highest certainty among multiple confirmed candidate characters as the confirmed character. In the recognition result shown in FIG. 12, of the two confirmed candidate characters ("bold" and "large"), the character "large" has the highest certainty. Therefore, in the first determination method, the recognition result determination unit 126A determines the confirmed candidate character with the highest certainty ("large") among the two confirmed candidate characters ("bold" and "large") as the confirmed character. In the first determination method, the confirmed character can be determined without performing calculations such as calculating the average value of the first certainty and the second certainty, which makes it possible to prevent the confirmed character determination process from becoming complicated.

第2の決定方法では、認識結果決定部126Aは、複数の確定候補文字の中で、第1確度と第2確度との平均値が最も高い確定候補文字を、確定文字に決定する。「太」の文字の確度の平均値は、82.5%(=(85%+80%)/2)であり、「大」の確度の平均値は、84.5%(=(82%+87%)/2)である。このため、第2の決定方法では、認識結果決定部126Aは、2つの確定候補文字(「太」及び「大」)の中で、確度の平均値が最も高い確定候補文字(「大」)を確定文字に決定する。第2の決定方法では、複雑な演算を用いることなく単純な演算(第1確度と第2確度との平均値の算出)により確定文字を決定することができるため、確定文字決定処理が煩雑になることを抑制することができる。 In the second determination method, the recognition result determination unit 126A determines, as the determined character, the determined candidate character with the highest average value of the first and second probabilities among the multiple determined candidate characters. The average value of the probabilities of the character "bold" is 82.5% (= (85% + 80%)/2), and the average value of the probabilities of "large" is 84.5% (= (82% + 87%)/2). Therefore, in the second determination method, the recognition result determination unit 126A determines, as the determined character, the determined candidate character ("large") with the highest average probabilities among the two determined candidate characters ("bold" and "large"). In the second determination method, the determined character can be determined by a simple calculation (calculation of the average value of the first and second probabilities) without using a complex calculation, and therefore the determined character determination process can be prevented from becoming complicated.

第3の決定方法では、認識結果決定部126Aは、複数の確定候補文字の中で評価値が最も高い確定候補文字を、確定文字に決定する。評価値は、例えば、評価値をEv、第1確度及び第2確度の高い方の確度をACmax、第1確度と第2確度との差分の絶対値をACdiffとした場合、係数α及びβを用いて、下記の式(1)で表される。なお、式(1)の“*”は、乗算を示す。係数α及びβは、0より大きい実数である。
Ev=ACmax*α-ACdiff*β ・・・(1)
In the third determination method, the recognition result determination unit 126A determines the confirmed candidate character with the highest evaluation value among multiple confirmed candidate characters as the confirmed character. For example, if the evaluation value is Ev, the higher of the first and second accuracies is ACmax, and the absolute value of the difference between the first and second accuracies is ACdiff, the evaluation value is expressed by the following formula (1) using coefficients α and β. Note that "*" in formula (1) indicates multiplication. The coefficients α and β are real numbers greater than 0.
Ev=ACmax*α−ACdiff*β (1)

このように、第3の決定方法では、第1確度及び第2確度の高い方の確度(ACmax)と、第1確度と第2確度との差分の絶対値(ACdiff)とに基づく評価値(Ev)を用いて確定文字が決定される。このため、第3の決定方法では、例えば、上述の式(1)で表される評価値(Ev)を用いずに確定文字が決定される場合に比べて、精度の高い確定文字の決定を行うことができる。 In this way, in the third determination method, the confirmed character is determined using an evaluation value (Ev) based on the higher of the first and second accuracies (ACmax) and the absolute value of the difference between the first and second accuracies (ACdiff). Therefore, in the third determination method, the confirmed character can be determined with higher accuracy than when the confirmed character is determined without using the evaluation value (Ev) expressed by the above-mentioned formula (1).

なお、評価値(Ev)と第1確度及び第2確度との関係は、上述の式(1)に限定されない。例えば、評価値(Ev)は、上述の式(1)において、第1確度及び第2確度の高い方の確度(Acmax)の代わりに、第1確度及び第2確度の平均値を用いて算出されてもよい。また、評価値(Ev)は、第1確度と第2確度との差分の絶対値(ACdiff)の代わりに、第1確度と第2確度との比を用いて算出されてもよい。第1確度と第2確度との比は、例えば、第1確度及び第2確度の高い方の確度を、第1確度及び第2確度の低い方の確度で除算した値である。第1確度及び第2確度の低い方の確度を、第1確度及び第2確度の高い方の確度で除算した値を第1確度と第2確度との比とする場合、上述の式(1)において、係数βは、負の実数になる。 The relationship between the evaluation value (Ev) and the first and second accuracies is not limited to the above formula (1). For example, the evaluation value (Ev) may be calculated using the average value of the first and second accuracies instead of the higher of the first and second accuracies (Acmax) in the above formula (1). The evaluation value (Ev) may also be calculated using the ratio of the first and second accuracies instead of the absolute value of the difference between the first and second accuracies (ACdiff). The ratio of the first and second accuracies is, for example, a value obtained by dividing the higher of the first and second accuracies by the lower of the first and second accuracies. When the value obtained by dividing the lower of the first and second accuracies by the higher of the first and second accuracies is used as the ratio of the first and second accuracies, the coefficient β in the above formula (1) becomes a negative real number.

ここで、図12に示す例では、複数の共通文字のうち、確度が最も高い共通文字は、確度が90%の「丈」の文字である。「丈」の文字の確度は90%であるが、文字認識部CR4では、「丈」の文字の確度は50%である。このため、「丈」の文字は、第1確度及び第2確度のうちの高い方の確度に関する第1条件を満たすが、第1確度と第2確度との差異の程度に関する第2条件を満たさない。第1条件及び第2条件の一方のみを満たす共通文字が確定文字に決定された場合、第1条件及び第2条件の両方を満たす共通文字が確定文字に決定される場合に比べて、誤った文字が確定文字に決定される確率が高いと考えられる。 Here, in the example shown in FIG. 12, of the multiple common characters, the common character with the highest accuracy is the character "丈", which has an accuracy of 90%. The accuracy of the character "丈" is 90%, but in character recognition unit CR4, the accuracy of the character "丈" is 50%. Therefore, the character "丈" satisfies the first condition related to the higher of the first and second accuracy, but does not satisfy the second condition related to the degree of difference between the first and second accuracy. When a common character that satisfies only one of the first and second conditions is determined as the confirmed character, it is considered that there is a higher probability that an incorrect character will be determined as the confirmed character than when a common character that satisfies both the first and second conditions is determined as the confirmed character.

本実施形態では、第1条件及び第2条件の両方の条件を満たす共通文字を確定文字に決定することにより、第1条件及び第2条件の一方又は両方を満たさない共通文字が確定文字に決定される場合に比べて、誤った文字が確定文字に決定されることを抑制することができる。 In this embodiment, by determining a common character that satisfies both the first and second conditions as the confirmed character, it is possible to prevent an incorrect character from being determined as the confirmed character, compared to a case in which a common character that does not satisfy either or both of the first and second conditions is determined as the confirmed character.

なお、確定文字の決定方法は、上述した例に限定されない。例えば、認識結果決定部126Aは、第1条件及び第2条件のいずれも考慮せずに、複数の共通文字の中で確度が最も高い共通文字を確定文字に決定してもよい。あるいは、認識結果決定部126Aは、第1条件及び第2条件のいずれも考慮せずに、複数の共通文字の中で、第1確度と第2確度との平均値が最も高い共通文字を確定文字に決定してもよい。あるいは、認識結果決定部126Aは、第1条件及び第2条件のいずれも考慮せずに、複数の共通文字の中で、上述の式(1)で表される評価値が最も高い共通文字を確定文字に決定してもよい。 The method of determining the confirmed character is not limited to the above example. For example, the recognition result determination unit 126A may determine the common character with the highest accuracy among the multiple common characters as the confirmed character without considering either the first condition or the second condition. Alternatively, the recognition result determination unit 126A may determine the common character with the highest average value of the first accuracy and the second accuracy among the multiple common characters as the confirmed character without considering either the first condition or the second condition. Alternatively, the recognition result determination unit 126A may determine the common character with the highest evaluation value represented by the above formula (1) among the multiple common characters as the confirmed character without considering either the first condition or the second condition.

第1条件及び第2条件のいずれも考慮されずに共通文字が確定文字に決定される場合でも、複数の候補文字のうち確度が最も高い候補文字が確定文字に無条件で決定される形態に比べて、誤った文字が確定文字に決定される確率が低いと考えられる。以下では、複数の候補文字のうち確度が最も高い候補文字が確定文字に無条件で決定される形態は、第3対比例とも称される。 Even when a common character is determined as a confirmed character without considering either the first or second condition, the probability of an incorrect character being determined as a confirmed character is considered to be lower than in a case where a candidate character with the highest probability among multiple candidate characters is unconditionally determined as a confirmed character. Hereinafter, the case where a candidate character with the highest probability among multiple candidate characters is unconditionally determined as a confirmed character is also referred to as the third comparison.

例えば、図12に示す認識結果では、複数の候補文字のうち、確度が最も高い候補文字は、確度が92%の「犬」の文字である。「犬」の文字は、文字認識部CR4による一の文字の認識結果として得られる複数の第2候補文字に含まれているが、文字認識部CR3による一の文字の認識結果として得られる複数の第1候補文字には含まれていない。このため、第3対比例では、誤った文字(「犬」)が、「大」の個別文字画像GC2の認識結果に対応する確定文字に決定される。なお、「大」の個別文字画像GC2の認識結果に対応する確定文字として正しい候補文字(「大」)は、複数の共通文字に含まれている。このため、第1条件及び第2条件のいずれも考慮されずに、複数の共通文字の1つが確定文字に決定される場合でも、第3対比例に比べて、誤った文字が確定文字に決定される確率が低いと考えられる。すなわち、本実施形態では、確定文字の決定に第1条件及び第2条件のいずれも考慮されない場合でも、1つ以上の共通文字の1つを確定文字に決定することにより、第3対比例に比べて、誤った文字が確定文字に決定されることを抑制することができる。 For example, in the recognition result shown in FIG. 12, the candidate character with the highest accuracy among the multiple candidate characters is the character "犬" with an accuracy of 92%. The character "犬" is included in the multiple second candidate characters obtained as the recognition result of one character by the character recognition unit CR4, but is not included in the multiple first candidate characters obtained as the recognition result of one character by the character recognition unit CR3. Therefore, in the third comparison example, an incorrect character ("犬") is determined as the confirmed character corresponding to the recognition result of the individual character image GC2 of "大". Note that the correct candidate character ("大") as the confirmed character corresponding to the recognition result of the individual character image GC2 of "大" is included in the multiple common characters. Therefore, even if one of the multiple common characters is determined as the confirmed character without considering either the first or second condition, it is considered that the probability of an incorrect character being determined as the confirmed character is lower than in the third comparison example. That is, in this embodiment, even if neither the first nor the second condition is taken into account in determining the confirmed character, by determining one of one or more common characters as the confirmed character, it is possible to prevent an incorrect character from being determined as the confirmed character, compared to the third comparison example.

次に、図13を参照しながら、認識結果決定部126Aによる確定文字決定処理のフローについて説明する。 Next, the flow of the confirmed character determination process performed by the recognition result determination unit 126A will be described with reference to FIG. 13.

図13は、図11に示した認識結果決定部126Aの動作の一例を示すフローチャートである。図13に示す確定文字決定処理では、第1確度及び第2確度のうちの高い方の確度に関する第1条件、及び、第1確度と第2確度との差異の程度に関する第2条件が確定文字の決定に用いられる場合を想定する。 Fig. 13 is a flowchart showing an example of the operation of the recognition result determination unit 126A shown in Fig. 11. In the confirmed character determination process shown in Fig. 13, it is assumed that a first condition related to the higher of the first and second accuracies, and a second condition related to the degree of difference between the first and second accuracies, are used to determine the confirmed character.

図13に示す確定文字決定処理は、例えば、図8に示した動作において、ステップS300の確定文字決定処理として実行される。例えば、ステップS320の処理は、図8のステップS260の処理が実行された後に実行される。図9及び図10において説明した動作と同様の要素については、同様の符号を付し、詳細な説明を省略する。 The confirmed character determination process shown in FIG. 13 is executed, for example, as the confirmed character determination process of step S300 in the operation shown in FIG. 8. For example, the process of step S320 is executed after the process of step S260 in FIG. 8 is executed. Elements similar to those in the operation described in FIG. 9 and FIG. 10 are given the same reference numerals and detailed description is omitted.

なお、図13においても、特に断りがない場合、「文字列画像GCL」は、図8のステップS220において選択された申込内容記載領域AKに表された文字列画像GCLを意味するものとする。また、図13では、図8のステップS240において2つの文字認識部CRが選択された場合を想定する。なお、図8のステップS240において選択された文字認識部CRの数が1つの場合、ステップS350からステップS372までの一連の処理が省かれ、ステップS320、S374及びS380の一連の処理が実行される。 In FIG. 13, unless otherwise specified, "character string image GCL" refers to the character string image GCL displayed in the application content entry area AK selected in step S220 of FIG. 8. Also, FIG. 13 assumes that two character recognition units CR were selected in step S240 of FIG. 8. Note that if one character recognition unit CR is selected in step S240 of FIG. 8, the series of processes from step S350 to step S372 is omitted, and the series of processes from step S320, S374, and S380 is executed.

先ず、ステップS320において、認識結果決定部126Aは、文字列画像GCLに含まれる複数の個別文字画像GCのうち、確定文字が決定されていない一の個別文字画像GCを特定する。 First, in step S320, the recognition result determination unit 126A identifies one individual character image GC for which a confirmed character has not been determined, from among the multiple individual character images GC contained in the character string image GCL.

次に、ステップS350において、認識結果決定部126Aは、一の個別文字画像GCに対応する複数の候補文字から共通文字を検索する。 Next, in step S350, the recognition result determination unit 126A searches for a common character from among multiple candidate characters corresponding to one individual character image GC.

次に、ステップS352において、認識結果決定部126Aは、共通文字が存在するか否かを判定する。すなわち、認識結果決定部126Aは、共通文字が複数の候補文字から検索されたか否かを判定する。ステップS352における判定の結果が肯定の場合、処理装置12は、処理をステップS354に進める。一方、ステップS352における判定の結果が否定の場合、処理装置12は、処理をステップS374に進める。 Next, in step S352, the recognition result determination unit 126A determines whether or not a common character exists. That is, the recognition result determination unit 126A determines whether or not a common character has been searched for among multiple candidate characters. If the result of the determination in step S352 is positive, the processing device 12 advances the process to step S354. On the other hand, if the result of the determination in step S352 is negative, the processing device 12 advances the process to step S374.

ステップS354において、認識結果決定部126Aは、第1条件を満たす共通文字が存在するか否かを判定する。ステップS354における判定の結果が肯定の場合、処理装置12は、処理をステップS356に進める。一方、ステップS354における判定の結果が否定の場合、処理装置12は、処理をステップS374に進める。 In step S354, the recognition result determination unit 126A determines whether or not a common character that satisfies the first condition exists. If the result of the determination in step S354 is positive, the processing device 12 proceeds to step S356. On the other hand, if the result of the determination in step S354 is negative, the processing device 12 proceeds to step S374.

ステップS356において、認識結果決定部126Aは、第2条件を満たす共通文字が存在するか否かを判定する。ステップS356における判定の結果が肯定の場合、処理装置12は、処理をステップS370に進める。一方、ステップS356における判定の結果が否定の場合、処理装置12は、処理をステップS372に進める。 In step S356, the recognition result determination unit 126A determines whether or not a common character that satisfies the second condition is present. If the result of the determination in step S356 is positive, the processing device 12 advances the process to step S370. On the other hand, if the result of the determination in step S356 is negative, the processing device 12 advances the process to step S372.

ステップS370において、認識結果決定部126Aは、第1条件及び第2条件の両方の条件を満たす共通文字(すなわち、確定候補文字)の1つを確定文字に決定する。なお、例えば、複数の確定候補文字が存在する場合、認識結果決定部126Aは、上述した図12において説明された第1の決定方法、第2の決定方法及び第3の決定方法のいずれかにより、複数の確定候補文字の1つを確定文字に決定してもよい。処理装置12は、ステップS370の処理を実行した後、処理をステップS380に進める。 In step S370, the recognition result determination unit 126A determines one of the common characters (i.e., the confirmed candidate characters) that satisfies both the first and second conditions as the confirmed character. Note that, for example, if there are multiple confirmed candidate characters, the recognition result determination unit 126A may determine one of the multiple confirmed candidate characters as the confirmed character by any of the first determination method, the second determination method, and the third determination method described in FIG. 12 above. After executing the process of step S370, the processing device 12 advances the process to step S380.

ステップS372において、認識結果決定部126Aは、第1条件を満たす共通文字の1つを確定文字に決定する。例えば、第1条件を満たす共通文字が複数存在する場合、認識結果決定部126Aは、第1条件を満たす複数の共通文字のうち、確度が最も高い共通文字を確定文字に決定する。あるいは、認識結果決定部126Aは、第1条件を満たす複数の共通文字の中で、上述の式(1)で表される評価値が最も高い共通文字を確定文字に決定してもよい。処理装置12は、ステップS372の処理を実行した後、処理をステップS380に進める。 In step S372, the recognition result determination unit 126A determines one of the common characters that satisfy the first condition as the confirmed character. For example, if there are multiple common characters that satisfy the first condition, the recognition result determination unit 126A determines the common character with the highest probability among the multiple common characters that satisfy the first condition as the confirmed character. Alternatively, the recognition result determination unit 126A may determine the common character with the highest evaluation value represented by the above-mentioned formula (1) among the multiple common characters that satisfy the first condition as the confirmed character. After executing the process of step S372, the processing device 12 advances the process to step S380.

ステップS374において、認識結果決定部126Aは、複数の候補文字の1つを確定文字に決定する。例えば、認識結果決定部126Aは、複数の候補文字のうち、確度が最も高い候補文字を確定文字に決定する。処理装置12は、ステップS374の処理を実行した後、処理をステップS380に進める。 In step S374, the recognition result determination unit 126A determines one of the multiple candidate characters as the confirmed character. For example, the recognition result determination unit 126A determines the candidate character with the highest degree of certainty among the multiple candidate characters as the confirmed character. After executing the process of step S374, the processing device 12 advances the process to step S380.

ステップS380において、認識結果決定部126Aは、文字列画像GCLに含まれる複数の個別文字画像GCの全てについて、確定文字が決定されたか否かを判定する。ステップS380における判定の結果が否定の場合、処理装置12は、処理をステップS320に戻す。一方、ステップS380における判定の結果が肯定の場合、処理装置12は、確定文字決定処理を終了し、処理を図8のステップS400に進める。 In step S380, the recognition result determination unit 126A determines whether or not a confirmed character has been determined for all of the multiple individual character images GC included in the character string image GCL. If the result of the determination in step S380 is negative, the processing device 12 returns the process to step S320. On the other hand, if the result of the determination in step S380 is positive, the processing device 12 ends the confirmed character determination process and proceeds to step S400 in FIG. 8.

なお、認識結果決定部126Aの動作は、図13に示した例に限定されない。例えば、認識結果決定部126Aは、ステップS356の判定の代わりに、第1条件及び第2条件の両方の条件を満たす共通文字(すなわち、確定候補文字)が存在するか否かの判定を、ステップS354の判定の前に実行してもよい。この場合、ステップS354の判定は、確定候補文字が存在しない場合に実行され、ステップS372の処理は、ステップS354における判定の結果が肯定の場合に実行される。 The operation of the recognition result determination unit 126A is not limited to the example shown in FIG. 13. For example, instead of the determination in step S356, the recognition result determination unit 126A may determine whether or not a common character (i.e., a confirmed candidate character) that satisfies both the first and second conditions is present before the determination in step S354. In this case, the determination in step S354 is performed when a confirmed candidate character is not present, and the process in step S372 is performed when the result of the determination in step S354 is positive.

また、例えば、認識結果決定部126Aは、ステップS356における判定の結果が否定の場合、ステップS374の処理を実行してもよい。すなわち、ステップS372の処理が省かれてもよい。また、例えば、認識結果決定部126Aは、ステップS354における判定の結果が否定の場合、ステップS374において、共通文字の1つを確定文字に決定してもよい。例えば、認識結果決定部126Aは、ステップS354における判定の結果が否定の場合、複数の共通文字の中で、上述の式(1)で表される評価値が最も高い共通文字を確定文字に決定してもよい。 Also, for example, if the result of the determination in step S356 is negative, the recognition result determination unit 126A may execute the process of step S374. That is, the process of step S372 may be omitted. Also, for example, if the result of the determination in step S354 is negative, the recognition result determination unit 126A may determine one of the common characters as the confirmed character in step S374. For example, if the result of the determination in step S354 is negative, the recognition result determination unit 126A may determine the common character having the highest evaluation value represented by the above-mentioned formula (1) among the multiple common characters as the confirmed character.

以上、本実施形態では、文字認識装置10は、記載内容認識部124及び認識結果決定部126Aを有する。記載内容認識部124は、画像に含まれる文字を認識し、認識した文字の確度を算出する第1文字認識処理、及び、画像に含まれる文字を認識し、認識した文字の確度を算出する第2文字認識処理の各々(2つの文字認識部CRの各々が実行する文字認識処理)により、申込書画像GMに含まれる一の文字を認識する。認識結果決定部126Aは、第1文字認識処理による一の文字の認識結果として得られる1つ以上の第1候補文字と、第2文字認識処理による一の文字の認識結果として得られる1つ以上の第2候補文字との両方に含まれる共通文字が存在する場合、共通文字を一の文字の認識結果に対応する確定文字とするか否かを決定する。 As described above, in this embodiment, the character recognition device 10 has a description content recognition unit 124 and a recognition result determination unit 126A. The description content recognition unit 124 recognizes a character included in the application form image GM by each of a first character recognition process that recognizes a character included in an image and calculates the accuracy of the recognized character, and a second character recognition process that recognizes a character included in an image and calculates the accuracy of the recognized character (character recognition processes executed by each of the two character recognition units CR). When there is a common character included in both one or more first candidate characters obtained as a recognition result of a character by the first character recognition process and one or more second candidate characters obtained as a recognition result of a character by the second character recognition process, the recognition result determination unit 126A determines whether or not to set the common character as a confirmed character corresponding to the recognition result of the character.

第1候補文字及び第2候補文字を含む複数の候補文字のうち、第1候補文字と第2候補文字との両方に含まれる共通文字は、一の文字の認識結果として第1文字認識処理及び第2文字認識処理の両方で認識された候補文字である。すなわち、共通文字以外の候補文字は、一の文字の認識結果として第1文字認識処理及び第2文字認識処理の一方のみで認識された候補文字である。従って、一の文字の認識結果として正しい候補文字が共通文字に含まれる確率は、一の文字の認識結果として正しい候補文字が共通文字以外の候補文字に含まれる確率に比べて高いと考えられる。本実施形態では、共通文字が存在する場合、共通文字を確定文字とするか否かが決定されるため、誤った文字が確定文字に決定されることを抑制することができる。すなわち、本実施形態では、文字認識処理における文字の認識の精度を高めることができる。 Of the multiple candidate characters including the first candidate character and the second candidate character, the common character included in both the first candidate character and the second candidate character is a candidate character recognized in both the first character recognition process and the second character recognition process as a recognition result of one character. In other words, the candidate characters other than the common character are candidate characters recognized in only one of the first character recognition process and the second character recognition process as a recognition result of one character. Therefore, it is considered that the probability that a correct candidate character is included in the common characters as a recognition result of one character is higher than the probability that a correct candidate character is included in the candidate characters other than the common characters as a recognition result of one character. In this embodiment, when a common character exists, it is determined whether or not the common character is to be the confirmed character, so that it is possible to prevent an incorrect character from being determined as the confirmed character. In other words, in this embodiment, it is possible to improve the accuracy of character recognition in the character recognition process.

また、本実施形態では、認識結果決定部126Aは、共通文字が、第1条件及び第2条件の両方の条件を満たす場合、共通文字を確定文字の候補である確定候補文字に決定してもよい。第1条件は、1つ以上の第1候補文字に含まれる共通文字の確度である第1確度、及び、1つ以上の第2候補文字に含まれる共通文字の確度である第2確度のうちの高い方の確度に関する条件である。第2条件は、第1確度と第2確度との差異の程度に関する条件である。第1条件及び第2条件の両方の条件を満たす共通文字に正しい候補文字が含まれる確率は、第1条件及び第2条件の一方又は両方を満たさない共通文字に正しい候補文字が含まれる確率に比べて高いと考えられる。従って、本実施形態では、第1条件及び第2条件の両方の条件を満たす共通文字を確定候補文字に決定することにより、共通文字が確定文字に無条件に決定される形態に比べて、誤った文字が確定文字に決定されることを抑制することができる。 In addition, in this embodiment, the recognition result determination unit 126A may determine a common character as a confirmed candidate character that is a candidate for a confirmed character when the common character satisfies both the first condition and the second condition. The first condition is a condition related to the higher of the first accuracy, which is the accuracy of a common character included in one or more first candidate characters, and the second accuracy, which is the accuracy of a common character included in one or more second candidate characters. The second condition is a condition related to the degree of difference between the first accuracy and the second accuracy. It is considered that the probability that a correct candidate character is included in a common character that satisfies both the first condition and the second condition is higher than the probability that a correct candidate character is included in a common character that does not satisfy one or both of the first condition and the second condition. Therefore, in this embodiment, by determining a common character that satisfies both the first condition and the second condition as a confirmed candidate character, it is possible to suppress an incorrect character from being determined as a confirmed character compared to a form in which a common character is unconditionally determined as a confirmed character.

例えば、本実施形態では、第1条件は、第1確度及び第2確度のうちの高い方の確度が所定の確度以上であるという条件で、第2条件は、第1確度と第2確度との差分が所定値以下であるという条件であってもよい。第1条件及び第2条件の両方の条件を満たす共通文字は、第1確度及び第2確度のうちの高い方の確度が所定の確度以上であり、第1確度と第2確度との差分が所定値以下である。すなわち、第1条件及び第2条件の両方の条件を満たす共通文字は、第1条件を満たさない共通文字に比べて、第1確度及び第2確度のうちの高い方の確度が高く、かつ、第2条件を満たさない共通文字に比べて、第1確度と第2確度との差分が小さい。このため、第1条件及び第2条件の両方の条件を満たす共通文字は、第1条件及び第2条件の一方又は両方を満たさない共通文字に比べて、文字の認識の精度が高いと考えられる。従って、本実施形態では、第1条件及び第2条件の両方の条件を満たす共通文字を確定候補文字に決定することにより、文字認識処理における文字の認識の精度を高めることができる。 For example, in this embodiment, the first condition may be a condition that the higher of the first and second accuracies is equal to or higher than a predetermined accuracy, and the second condition may be a condition that the difference between the first and second accuracies is equal to or lower than a predetermined value. A common character that satisfies both the first and second conditions has a higher of the first and second accuracies equal to or higher than a predetermined accuracy, and the difference between the first and second accuracies is equal to or lower than a predetermined value. That is, a common character that satisfies both the first and second conditions has a higher of the higher of the first and second accuracies than a common character that does not satisfy the first condition, and has a smaller difference between the first and second accuracies than a common character that does not satisfy the second condition. Therefore, a common character that satisfies both the first and second conditions is considered to have a higher character recognition accuracy than a common character that does not satisfy one or both of the first and second conditions. Therefore, in this embodiment, by determining a common character that satisfies both the first and second conditions as a confirmed candidate character, it is possible to improve the accuracy of character recognition in the character recognition process.

また、本実施形態では、認識結果決定部126Aは、確定候補文字が複数存在する場合、複数の確定候補文字の中で確度が最も高い確定候補文字を確定文字に決定してもよい。この場合においても、誤った文字が確定文字に決定されることを抑制することができ、文字認識処理における文字の認識の精度を高めることができる。 In addition, in this embodiment, when there are multiple confirmed candidate characters, the recognition result determination unit 126A may determine the confirmed candidate character with the highest degree of certainty among the multiple confirmed candidate characters as the confirmed character. Even in this case, it is possible to prevent an incorrect character from being determined as the confirmed character, and the accuracy of character recognition in the character recognition process can be improved.

また、本実施形態では、認識結果決定部126Aは、確定候補文字が複数存在する場合、複数の確定候補文字の中で、第1確度と第2確度との平均値が最も高い確定候補文字を確定文字に決定してもよい。この場合においても、誤った文字が確定文字に決定されることを抑制することができ、文字認識処理における文字の認識の精度を高めることができる。 In addition, in this embodiment, when there are multiple confirmed candidate characters, the recognition result determination unit 126A may determine, as the confirmed character, the confirmed candidate character having the highest average value of the first probability and the second probability among the multiple confirmed candidate characters. Even in this case, it is possible to prevent an incorrect character from being determined as the confirmed character, and it is possible to improve the accuracy of character recognition in the character recognition process.

また、本実施形態では、上述の第1条件及び第2条件は設定されなくてもよい。第1条件及び第2条件が設定されない形態では、認識結果決定部126Aは、共通文字が複数存在する場合、複数の共通文字の中で確度が最も高い共通文字を確定文字に決定してもよい。この場合においても、複数の候補文字のうち確度が最も高い候補文字が確定文字に無条件で決定される場合に比べて、誤った文字が確定文字に決定されることを抑制することができ、文字認識処理における文字の認識の精度を高めることができる。 In addition, in this embodiment, the above-mentioned first and second conditions do not have to be set. In a form in which the first and second conditions are not set, when there are multiple common characters, the recognition result determination unit 126A may determine the common character with the highest probability among the multiple common characters as the confirmed character. Even in this case, it is possible to prevent an incorrect character from being determined as the confirmed character, compared to a case in which the candidate character with the highest probability among multiple candidate characters is unconditionally determined as the confirmed character, and the accuracy of character recognition in the character recognition process can be improved.

あるいは、第1条件及び第2条件が設定されない形態では、認識結果決定部126Aは、共通文字が複数存在する場合、複数の共通文字の中で、第1確度と第2確度との平均値が最も高い共通文字を確定文字に決定してもよい。この場合においても、複数の候補文字のうち確度が最も高い候補文字が確定文字に無条件で決定される場合に比べて、誤った文字が確定文字に決定されることを抑制することができ、文字認識処理における文字の認識の精度を高めることができる。 Alternatively, in a form in which the first condition and the second condition are not set, when there are multiple common characters, the recognition result determination unit 126A may determine, among the multiple common characters, the common character with the highest average value of the first probability and the second probability as the confirmed character. Even in this case, it is possible to prevent an incorrect character from being determined as the confirmed character, compared to a case in which the candidate character with the highest probability among multiple candidate characters is unconditionally determined as the confirmed character, and the accuracy of character recognition in the character recognition process can be improved.

また、本実施形態では、認識結果決定部126Aにより決定された確定文字を表示装置28に表示させる表示情報生成部128をさらに有する。表示情報生成部128は、共通文字が存在しない場合の確定文字の表示態様を、共通文字が存在する場合の確定文字の表示態様とは異ならせる。共通文字が存在しない場合、共通文字が存在する場合に比べて、2つの文字認識部CRによる一の文字に対する文字認識の精度が低いと考えられる。すなわち、共通文字が存在しない場合、共通文字が存在する場合に比べて、誤った文字が確定文字に決定される確率が高いと考えられる。このため、オペレータは、例えば、一の確定文字の表示態様が他の確定文字の表示態様と異なる場合、一の確定文字が誤っている可能性があることを認識できる。この結果、本実施形態では、確定文字が誤っている可能性がある場合においても確定文字の表示態様が変化しない場合に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 In addition, in this embodiment, the display information generating unit 128 is further provided, which displays the confirmed character determined by the recognition result determining unit 126A on the display device 28. The display information generating unit 128 makes the display mode of the confirmed character when there is no common character different from the display mode of the confirmed character when there is a common character. When there is no common character, the accuracy of character recognition for one character by the two character recognition units CR is considered to be lower than when there is a common character. In other words, when there is no common character, the probability that an incorrect character is determined as the confirmed character is considered to be higher than when there is a common character. For this reason, for example, when the display mode of one confirmed character is different from the display mode of other confirmed characters, the operator can recognize that one confirmed character may be incorrect. As a result, in this embodiment, the possibility of overlooking that the confirmed character is incorrect can be reduced compared to when the display mode of the confirmed character does not change even when there is a possibility that the confirmed character is incorrect.

また、本実施形態では、上述した第1実施形態と同様に、項目毎に重み値が文字認識部CRに対応付けられてもよい。 Furthermore, in this embodiment, a weight value may be associated with the character recognition unit CR for each item, as in the first embodiment described above.

[3.第3実施形態]
次に、図14を参照しながら、第3実施形態に係る文字認識装置10の概要の一例について説明する。
[3. Third embodiment]
Next, an example of an overview of the character recognition device 10 according to the third embodiment will be described with reference to FIG.

図14は、第3実施形態に係る文字認識装置10の概要を説明するための説明図である。図1から図13において説明した要素と同様の要素については、同様の符号を付し、詳細な説明を省略する。 Figure 14 is an explanatory diagram for explaining an overview of a character recognition device 10 according to the third embodiment. Elements similar to those explained in Figures 1 to 13 are given the same reference numerals and detailed explanations are omitted.

図14に示す文字認識装置10は、図11に示した文字認識装置10と同一の構成である。例えば、文字認識装置10は、処理装置12、記憶装置14及び通信装置16を有する。但し、記憶装置14に記憶される制御プログラムPG3は、図11に示した制御プログラムPG2と相違する。なお、制御プログラムPG3は、「プログラム」の一例である。本実施形態では、制御プログラムPG3は、例えば、文字認識装置10が文字認識処理を実行するためのアプリケーションプログラムを含む。但し、制御プログラムPG3は、例えば、処理装置12が文字認識装置10の各部を制御するためのオペレーティングシステムプログラムを含んでもよい。 The character recognition device 10 shown in FIG. 14 has the same configuration as the character recognition device 10 shown in FIG. 11. For example, the character recognition device 10 has a processing device 12, a storage device 14, and a communication device 16. However, the control program PG3 stored in the storage device 14 differs from the control program PG2 shown in FIG. 11. Note that the control program PG3 is an example of a "program." In this embodiment, the control program PG3 includes, for example, an application program that causes the character recognition device 10 to execute character recognition processing. However, the control program PG3 may also include, for example, an operating system program that causes the processing device 12 to control each part of the character recognition device 10.

また、本実施形態では、優先テーブルPTBL、及び、各項目の記載欄に記載された文字の認識に使用する文字認識部CRの数の上限等は、上述した第2実施形態と同様である。例えば、本実施形態では、各項目において1つ以上2つ以下の文字認識部CRが文字の認識に使用され、複数の項目のうちの少なくとも1つの項目では、2つの文字認識部CRが文字の認識に使用される。以下では、文字の認識に使用される2つの文字認識部CRの一方は、第1の文字認識部CRとも称され、2つの文字認識部CRの他方は、第2の文字認識部CRとも称される。 In addition, in this embodiment, the priority table PTBL and the upper limit of the number of character recognition units CR used to recognize characters written in the description column of each item are the same as those in the second embodiment described above. For example, in this embodiment, one to two character recognition units CR are used to recognize characters in each item, and two character recognition units CR are used to recognize characters in at least one item of the multiple items. Hereinafter, one of the two character recognition units CR used to recognize characters is also referred to as the first character recognition unit CR, and the other of the two character recognition units CR is also referred to as the second character recognition unit CR.

本実施形態では、第1の文字認識部CRが、申込書画像GMに含まれる文字列を構成する複数の文字を認識し、第2の文字認識部CRが、申込書画像GMに含まれる文字列を構成する複数の文字のうち一の文字を認識する場合を想定する。第1の文字認識部CRにより実行される文字認識処理は、「第1文字認識処理」の一例であり、第2の文字認識部CRにより実行される文字認識処理は、「第2文字認識処理」の一例である。また、申込書画像GMは、「画像」の一例である。申込書画像GMに含まれる文字列画像GCLにより示される文字列が申込書画像GMに含まれる文字列に該当する。 In this embodiment, it is assumed that the first character recognition unit CR recognizes multiple characters that make up a character string included in the application form image GM, and the second character recognition unit CR recognizes one character out of the multiple characters that make up the character string included in the application form image GM. The character recognition process performed by the first character recognition unit CR is an example of a "first character recognition process," and the character recognition process performed by the second character recognition unit CR is an example of a "second character recognition process." Additionally, the application form image GM is an example of an "image." The character string indicated by the character string image GCL included in the application form image GM corresponds to the character string included in the application form image GM.

図14に示す処理装置12は、図11に示した制御プログラムPG2の代わりに制御プログラムPG3を実行することを除いて、図11に示した処理装置12と同様である。例えば、処理装置12は、記憶装置14から読み出した制御プログラムPG3を実行することによって、制御部120Bとして機能する。 The processing device 12 shown in FIG. 14 is similar to the processing device 12 shown in FIG. 11, except that the processing device 12 executes the control program PG3 instead of the control program PG2 shown in FIG. 11. For example, the processing device 12 functions as the control unit 120B by executing the control program PG3 read from the storage device 14.

制御部120Bは、認識結果決定部126Aの代わりに認識結果決定部126Bを有することを除いて、図11に示した制御部120Aと同様である。例えば、制御部120Bは、画像情報取得部122、記載内容認識部124、認識結果決定部126B及び表示情報生成部128を有する。認識結果決定部126Bは、「決定部」の一例である。 The control unit 120B is similar to the control unit 120A shown in FIG. 11, except that it has a recognition result determination unit 126B instead of the recognition result determination unit 126A. For example, the control unit 120B has an image information acquisition unit 122, a description content recognition unit 124, a recognition result determination unit 126B, and a display information generation unit 128. The recognition result determination unit 126B is an example of a "determination unit."

画像情報取得部122及び記載内容認識部124は、図11に示した画像情報取得部122及び記載内容認識部124と同様である。但し、記載内容認識部124が有する複数の文字認識部CRは、第1の文字認識部CR及び第2の文字認識部CRを含む。また、第1の文字認識部CRは、申込書画像GMに含まれる文字列の認識結果として、文字列を構成する複数の文字の各々の候補文字及び各候補文字の確度を出力する。第2の文字認識部CRは、複数の文字のうち一の文字の認識結果として、候補文字及び候補文字の確度を出力する。 The image information acquisition unit 122 and the description content recognition unit 124 are similar to the image information acquisition unit 122 and the description content recognition unit 124 shown in FIG. 11. However, the multiple character recognition units CR of the description content recognition unit 124 include a first character recognition unit CR and a second character recognition unit CR. Furthermore, the first character recognition unit CR outputs candidate characters and the accuracy of each candidate character for each of the multiple characters that make up the character string as a recognition result of the character string included in the application form image GM. The second character recognition unit CR outputs candidate characters and the accuracy of the candidate characters as a recognition result of one of the multiple characters.

第1の文字認識部CRによる一の文字の認識結果として得られる候補文字は、「第1候補文字」の一例であり、第2の文字認識部CRによる一の文字の認識結果として得られる候補文字は、「第2候補文字」の一例である。以下では、第1の文字認識部CRによる一の文字の認識結果として得られる候補文字は、第1候補文字とも称され、第2の文字認識部CRによる一の文字の認識結果として得られる候補文字は、第2候補文字とも称される。 A candidate character obtained as a result of the recognition of a character by the first character recognition unit CR is an example of a "first candidate character," and a candidate character obtained as a result of the recognition of a character by the second character recognition unit CR is an example of a "second candidate character." Hereinafter, a candidate character obtained as a result of the recognition of a character by the first character recognition unit CR is also referred to as a first candidate character, and a candidate character obtained as a result of the recognition of a character by the second character recognition unit CR is also referred to as a second candidate character.

認識結果決定部126Bは、記載内容認識部124による一の文字に対する文字認識処理の結果を示す認識情報を取得する。例えば、認識情報は、第1の文字認識部CRにより実行された文字認識処理による文字列(一の文字を含む文字列)の認識結果、及び、第2の文字認識部CRにより実行された文字認識処理による一の文字の認識結果を示す。 The recognition result determination unit 126B acquires recognition information indicating the result of character recognition processing for a single character by the written content recognition unit 124. For example, the recognition information indicates the recognition result of a character string (a character string including the single character) by character recognition processing performed by the first character recognition unit CR, and the recognition result of the single character by character recognition processing performed by the second character recognition unit CR.

例えば、認識結果決定部126Bは、第1候補文字と第2候補文字とが互いに同じ文字である場合、当該同じ文字を一の文字の認識結果に対応する確定文字に決定する。 For example, when the first candidate character and the second candidate character are the same character, the recognition result determination unit 126B determines the same character as the confirmed character corresponding to the recognition result of one character.

表示情報生成部128は、確定文字の表示形態を異ならせる条件を除いて、図11に示した表示情報生成部128と同様である。例えば、表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なる場合の確定文字の表示態様を、第1候補文字と第2候補文字とが互いに同じ場合の確定文字の表示態様とは異ならせる。具体的には、例えば、表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なる場合、内容確認画面CCH内に注意マークMKを表示する表示情報を生成し、生成した表示情報を端末装置20に出力する。これにより、例えば、内容確認画面CCHのうち、一の文字の認識結果に対応する確定文字の表示位置に対応する位置に、注意マークMKが表示される。 The display information generating unit 128 is similar to the display information generating unit 128 shown in FIG. 11 except for the conditions for differentiating the display form of the confirmed character. For example, the display information generating unit 128 makes the display form of the confirmed character when the first candidate character and the second candidate character are different from the display form of the confirmed character when the first candidate character and the second candidate character are the same. Specifically, for example, when the first candidate character and the second candidate character are different from each other, the display information generating unit 128 generates display information for displaying a caution mark MK in the content confirmation screen CCH and outputs the generated display information to the terminal device 20. As a result, for example, the caution mark MK is displayed in a position on the content confirmation screen CCH corresponding to the display position of the confirmed character corresponding to the recognition result of one character.

例えば、第1候補文字と第2候補文字とが互いに異なる場合、第1候補文字と第2候補文字とが互いに同じ場合に比べて、誤った文字が確定文字に決定される確率が高いと考えられる。このため、端末装置20を操作するオペレータは、注意マークMKを視認することにより、個別文字画像GCにより示される文字と確定文字とが異なる文字である可能性があることを認識できる。この結果、本実施形態では、注意マークMKが表示されない態様に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 For example, when the first candidate character and the second candidate character are different from each other, it is considered that there is a higher probability that an incorrect character will be determined as the confirmed character compared to when the first candidate character and the second candidate character are the same from each other. Therefore, by visually checking the attention mark MK, the operator operating the terminal device 20 can recognize that the character indicated by the individual character image GC and the confirmed character may be different characters. As a result, in this embodiment, it is possible to reduce the possibility of overlooking that the confirmed character is incorrect compared to an aspect in which the attention mark MK is not displayed.

なお、表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なり、かつ、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合の確定文字の表示態様を、第1候補文字と第2候補文字とが互いに同じ場合の確定文字の表示態様とは異ならせてもよい。例えば、表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なり、かつ、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合、内容確認画面CCH内に注意マークMKを表示する表示情報を生成してもよい。 In addition, the display information generating unit 128 may cause the display mode of the confirmed character when the first candidate character and the second candidate character are different from each other and the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more to be different from the display mode of the confirmed character when the first candidate character and the second candidate character are the same. For example, the display information generating unit 128 may generate display information that displays a caution mark MK in the content confirmation screen CCH when the first candidate character and the second candidate character are different from each other and the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more.

例えば、第1候補文字と第2候補文字とが互いに異なる場合でも、第1候補文字の確度と第2候補文字の確度との差分が所定値未満の場合、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合に比べて、確定文字が正しい確率が高いと考えられる。従って、例えば、第1候補文字と第2候補文字とが互いに異なり、かつ、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合に、内容確認画面CCH内に注意マークMKが表示される形態では、注意マークMKを効果的に表示できる。注意マークMKを効果的に表示するとは、例えば、確定文字が正しい場合に注意マークMKが頻繁に表示されることを抑制することである。 For example, even if the first candidate character and the second candidate character are different from each other, if the difference between the accuracy of the first candidate character and the accuracy of the second candidate character is less than a predetermined value, the confirmed character is considered to have a higher probability of being correct than when the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more. Therefore, for example, when the first candidate character and the second candidate character are different from each other and the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more, in a form in which a warning mark MK is displayed in the content confirmation screen CCH, the warning mark MK can be displayed effectively. Displaying the warning mark MK effectively means, for example, suppressing the warning mark MK from being displayed frequently when the confirmed character is correct.

また、表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なる場合の確定文字の表示態様を、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合と、第1候補文字の確度と第2候補文字の確度との差分が所定値未満の場合とで異ならせてもよい。例えば、表示情報生成部128は、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合と、第1候補文字の確度と第2候補文字の確度との差分が所定値未満の場合とで、注意マークMKの色等を異ならせてもよい。この場合、例えば、端末装置20を操作するオペレータは、注意マークMKの色を視認することにより、個別文字画像GCにより示される文字と確定文字とが異なる文字である可能性の程度を認識できる。 In addition, the display information generating unit 128 may change the display mode of the confirmed character when the first candidate character and the second candidate character are different between a case where the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more and a case where the difference between the accuracy of the first candidate character and the accuracy of the second candidate character is less than a predetermined value. For example, the display information generating unit 128 may change the color of the attention mark MK between a case where the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more and a case where the difference between the accuracy of the first candidate character and the accuracy of the second candidate character is less than a predetermined value. In this case, for example, an operator operating the terminal device 20 can recognize the degree of possibility that the character indicated by the individual character image GC and the confirmed character are different characters by visually checking the color of the attention mark MK.

なお、制御部120Bの動作は、確定文字決定処理を除いて、図11に示した制御部120Aの動作と同様である。例えば、制御部120Bの動作は、後述する図15において説明される確定文字決定処理を図8に示したステップS300において実行することを除いて、図8に示した動作と同様である。 The operation of control unit 120B is the same as that of control unit 120A shown in FIG. 11, except for the confirmed character determination process. For example, the operation of control unit 120B is the same as that shown in FIG. 8, except that the confirmed character determination process described in FIG. 15, which will be described later, is executed in step S300 shown in FIG. 8.

次に、図15を参照しながら、認識結果決定部126Bによる確定文字決定処理の一例について説明する。 Next, an example of the confirmed character determination process performed by the recognition result determination unit 126B will be described with reference to FIG. 15.

図15は、図14に示した認識結果決定部126Bの動作の一例を説明するための説明図である。図15では、「住所」に係る申込内容記載領域AKに記載された文字列を示す文字列画像GCL5に対して文字認識処理が実行された場合を例にして、「東」、「青」及び「海」の個別文字画像GCの認識結果に対応する確定文字の決定方法の一例が説明される。 Fig. 15 is an explanatory diagram for explaining an example of the operation of the recognition result determination unit 126B shown in Fig. 14. Fig. 15 illustrates an example of a method for determining confirmed characters corresponding to the recognition results of the individual character images GC of "east", "blue", and "sea", using as an example a case where character recognition processing is performed on a character string image GCL5 showing a character string written in the application content entry area AK related to "address".

なお、図15では、文字列画像GCL5の文字の認識に使用される文字認識部CRとして、文字認識部CR3及びCR4が選択された場合を想定する。さらに、図15では、文字認識部CR4が第1の文字認識部CRであり、文字認識部CR3が第2の文字認識部CRである場合を想定する。また、図15では、文字認識部CR4が、住所に関する辞書(以下、住所辞書とも称する)を用いて、一の文字を含む文字列の認識結果である候補文字列を特定する場合を想定する。 In FIG. 15, it is assumed that character recognition units CR3 and CR4 are selected as the character recognition units CR used to recognize characters in character string image GCL5. Furthermore, in FIG. 15, it is assumed that character recognition unit CR4 is the first character recognition unit CR, and character recognition unit CR3 is the second character recognition unit CR. Also, in FIG. 15, it is assumed that character recognition unit CR4 uses a dictionary related to addresses (hereinafter also referred to as an address dictionary) to identify candidate character strings that are the recognition results of character strings that include a certain character.

図15では、文字認識部CR4による「東」及び「青」の個別文字画像GCの認識結果に対応する2つの第1候補文字が、それぞれ「東」及び「青」の文字である場合を想定する。また、図15では、文字認識部CR4による「海」の個別文字画像GC1の認識結果に対応する第1候補文字の候補が「海」、「梅」及び「侮」の文字である場合を想定する。 In FIG. 15, it is assumed that the two first candidate characters corresponding to the recognition result of the individual character images GC of "東" and "青" by the character recognition unit CR4 are the characters "東" and "青", respectively. Also, in FIG. 15, it is assumed that the first candidate characters corresponding to the recognition result of the individual character image GC1 of "海" by the character recognition unit CR4 are the characters "海", "梅" and "突っ伏".

文字認識部CR4は、「東」及び「青」の個別文字画像GCの認識結果に対応する2つの第1候補文字と、「海」の個別文字画像GC1の認識結果に対応する第1候補文字の候補との組み合わせによる文字列が、住所辞書に登録されているか否かを判定する。図15の×印は文字列が住所辞書に登録されていないことを示し、図15の丸印は文字列が住所辞書に登録されていることを示す。例えば、文字認識部CR4は、「東青海」及び「東青侮」の文字列が住所辞書に登録されていないため、「東青海」及び「東青侮」の文字列は候補文字列でないと判定する。また、文字認識部CR4は、「東青梅」の文字列が住所辞書に登録されているため、「東青梅」の文字列を候補文字列に決定する。すなわち、文字認識部CR4は、「梅」の文字を、「海」の個別文字画像GC1の認識結果に対応する第1候補文字に決定する。 The character recognition unit CR4 judges whether a character string formed by a combination of two first candidate characters corresponding to the recognition results of the individual character images GC of "Higashi" and "Ao" and a first candidate character corresponding to the recognition result of the individual character image GC1 of "Umi" is registered in the address dictionary. An x mark in FIG. 15 indicates that the character string is not registered in the address dictionary, and a circle mark in FIG. 15 indicates that the character string is registered in the address dictionary. For example, the character recognition unit CR4 judges that the character strings "Higashi Aoumi" and "Higashi Aoumi" are not candidate character strings because the character strings "Higashi Aoumi" and "Higashi Aoumi" are not registered in the address dictionary. Furthermore, the character recognition unit CR4 determines that the character string "Higashi Aoumi" is a candidate character string because the character string "Higashi Aoume" is registered in the address dictionary. In other words, the character recognition unit CR4 determines that the character string "Ume" is the first candidate character corresponding to the recognition result of the individual character image GC1 of "Umi".

一方、文字認識部CR3は、「海」の個別文字画像GC1の認識結果に対応する第2候補文字の候補(「海」、「梅」及び「侮」)のうち、最も確度が高い「海」の文字を、「海」の個別文字画像GC1の認識結果に対応する第2候補文字に決定する。なお、図15では、文字認識部CR3による「東」及び「青」の個別文字画像GCの認識結果に対応する2つの第2候補文字が、それぞれ「東」及び「青」の文字である場合を想定する。 On the other hand, the character recognition unit CR3 determines the character "海" with the highest accuracy among the second candidate character candidates ("海", "梅" and "臭") corresponding to the recognition result of the individual character image GC1 of "海" as the second candidate character corresponding to the recognition result of the individual character image GC1 of "海". Note that in FIG. 15, it is assumed that the two second candidate characters corresponding to the recognition result of the individual character images GC of "東" and "青" by the character recognition unit CR3 are the characters "東" and "青", respectively.

認識結果決定部126Bは、文字認識部CR4による「東」の個別文字画像GCに対する文字認識処理の結果として、第1候補文字(「東」)と第1候補文字の確度(90%)とを取得する。さらに、認識結果決定部126Bは、文字認識部CR3による「東」の個別文字画像GCに対する文字認識処理の結果として、第2候補文字(「東」)と第2候補文字の確度(88%)とを取得する。認識結果決定部126Bは、第1候補文字(「東」)と第2候補文字(「東」)とが互いに同じであるため、「東」の文字を、「東」の個別文字画像GCの認識結果に対応する確定文字に決定する。同様に、認識結果決定部126Bは、「青」の個別文字画像GCに対する文字認識処理の結果として得られる第1候補文字(「青」)と第2候補文字(「青」)とが互いに同じであるため、「青」の文字を、「青」の個別文字画像GCの認識結果に対応する確定文字に決定する。 The recognition result determination unit 126B obtains the first candidate character ("Higashi") and the accuracy (90%) of the first candidate character as a result of the character recognition process performed by the character recognition unit CR4 on the individual character image GC of "Higashi". Furthermore, the recognition result determination unit 126B obtains the second candidate character ("Higashi") and the accuracy (88%) of the second candidate character as a result of the character recognition process performed by the character recognition unit CR3 on the individual character image GC of "Higashi". Because the first candidate character ("Higashi") and the second candidate character ("Higashi") are the same, the recognition result determination unit 126B determines the character "Higashi" as the confirmed character corresponding to the recognition result of the individual character image GC of "Higashi". Similarly, because the first candidate character ("blue") and the second candidate character ("blue") obtained as a result of the character recognition process on the individual character image GC of "blue" are the same, the recognition result determination unit 126B determines the character "blue" as the confirmed character corresponding to the recognition result of the individual character image GC of "blue."

また、認識結果決定部126Bは、文字認識部CR4による「海」の個別文字画像GC1に対する文字認識処理の結果として、第1候補文字(「梅」)と第1候補文字の確度(30%)とを取得する。さらに、認識結果決定部126Bは、文字認識部CR3による「海」の個別文字画像GC1に対する文字認識処理の結果として、第2候補文字(「海」)と第2候補文字の確度(90%)とを取得する。 The recognition result determination unit 126B also obtains the first candidate character ("Ume") and the accuracy (30%) of the first candidate character as a result of the character recognition process performed by the character recognition unit CR4 on the individual character image GC1 of "Umi". The recognition result determination unit 126B also obtains the second candidate character ("Umi") and the accuracy (90%) of the second candidate character as a result of the character recognition process performed by the character recognition unit CR3 on the individual character image GC1 of "Umi".

認識結果決定部126Bは、第1候補文字(「梅」)と第2候補文字(「海」)とが互いに異なるが、第1候補文字(「梅」)を、「海」の個別文字画像GC1の認識結果に対応する確定文字に決定する。但し、認識結果決定部126Bは、第1候補文字(「梅」)と第2候補文字(「海」)とが互いに異なるため、第1候補文字と第2候補文字とが互いに異なることを、表示情報生成部128に通知する。そして、表示情報生成部128は、例えば、内容確認画面CCH内に注意マークMKを表示する表示情報を生成し、生成した表示情報を端末装置20に出力する。これにより、例えば、内容確認画面CCHのうち、「海」の個別文字画像GC1の認識結果に対応する確定文字の表示位置に対応する位置に、注意マークMKが表示される。 Although the first candidate character ("ume") and the second candidate character ("umi") are different from each other, the recognition result determination unit 126B determines the first candidate character ("ume") as the confirmed character corresponding to the recognition result of the individual character image GC1 of "umi". However, since the first candidate character ("ume") and the second candidate character ("umi") are different from each other, the recognition result determination unit 126B notifies the display information generation unit 128 that the first candidate character and the second candidate character are different from each other. Then, the display information generation unit 128 generates display information for displaying a caution mark MK in the content confirmation screen CCH, for example, and outputs the generated display information to the terminal device 20. As a result, the caution mark MK is displayed in a position on the content confirmation screen CCH corresponding to the display position of the confirmed character corresponding to the recognition result of the individual character image GC1 of "umi".

なお、認識結果決定部126Bの動作は、上述の例に限定されない。例えば、認識結果決定部126Bは、第1候補文字(「梅」)と第2候補文字(「海」)とが互いに異なる場合、第1候補文字及び第2候補文字のうち確度が高い第2候補文字(「海」)を、「海」の個別文字画像GC1の認識結果に対応する確定文字に決定してもよい。すなわち、認識結果決定部126Bは、第1候補文字と第2候補文字とが互いに異なる場合、第1候補文字及び第2候補文字のうち確度が高い候補文字を確定文字に決定してもよい。この場合においても、認識結果決定部126Bは、第1候補文字と第2候補文字とが互いに異なることを、表示情報生成部128に通知する。 Note that the operation of the recognition result determination unit 126B is not limited to the above example. For example, when the first candidate character ("ume") and the second candidate character ("umi") are different from each other, the recognition result determination unit 126B may determine the second candidate character ("umi"), which has a higher probability among the first and second candidate characters, as the confirmed character corresponding to the recognition result of the individual character image GC1 of "umi". In other words, when the first candidate character and the second candidate character are different from each other, the recognition result determination unit 126B may determine the first candidate character and the second candidate character, which has a higher probability, as the confirmed character. Even in this case, the recognition result determination unit 126B notifies the display information generation unit 128 that the first candidate character and the second candidate character are different from each other.

あるいは、認識結果決定部126Bは、第1候補文字と第2候補文字とが互いに異なる場合、第2候補文字の確度から第1候補文字の確度を減算した値である判定値に基づいて、第1候補文字及び第2候補文字の一方を確定文字に決定してもよい。具体的には、例えば、認識結果決定部126Bは、判定値が所定値未満の場合、第1候補文字を確定文字に決定し、判定値が所定値以上の場合、第2候補文字を確定文字に決定してもよい。 Alternatively, when the first candidate character and the second candidate character are different from each other, the recognition result determination unit 126B may determine one of the first candidate character and the second candidate character as the confirmed character based on a determination value that is a value obtained by subtracting the accuracy of the first candidate character from the accuracy of the second candidate character. Specifically, for example, the recognition result determination unit 126B may determine the first candidate character as the confirmed character when the determination value is less than a predetermined value, and may determine the second candidate character as the confirmed character when the determination value is equal to or greater than the predetermined value.

また、認識結果決定部126Bは、第1候補文字と第2候補文字とが互いに異なり、かつ、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合、第1候補文字と第2候補文字とが互いに異なることを、表示情報生成部128に通知してもよい。 In addition, when the first candidate character and the second candidate character are different from each other and the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more, the recognition result determination unit 126B may notify the display information generation unit 128 that the first candidate character and the second candidate character are different from each other.

以上、本実施形態では、文字認識装置10は、記載内容認識部124及び認識結果決定部126Bを有する。記載内容認識部124は、申込書画像GMに含まれる文字列を構成する複数の文字を認識する第1文字認識処理、及び、申込書画像GMに含まれる複数の文字のうち一の文字を認識する第2文字認識処理を実行する。認識結果決定部126Bは、第1文字認識処理による一の文字の認識結果として得られる第1候補文字と、第2文字認識処理による一の文字の認識結果として得られる第2候補文字とが、互いに同じ文字である場合、同じ文字を、一の文字の認識結果に対応する確定文字に決定する。 As described above, in this embodiment, the character recognition device 10 has a written content recognition unit 124 and a recognition result determination unit 126B. The written content recognition unit 124 executes a first character recognition process that recognizes multiple characters that make up a character string included in the application form image GM, and a second character recognition process that recognizes one of the multiple characters included in the application form image GM. If a first candidate character obtained as a recognition result of a single character by the first character recognition process and a second candidate character obtained as a recognition result of a single character by the second character recognition process are the same character, the recognition result determination unit 126B determines the same character as a confirmed character corresponding to the recognition result of the single character.

第1候補文字と第2候補文字とが互いに同じ場合、第1候補文字と第2候補文字とが互いに異なる場合に比べて、誤った文字が確定文字に決定される確率が低いと考えられる。本実施形態では、第1候補文字と第2候補文字とが互いに同じ文字である場合に当該同じ文字が確定文字に決定されるため、誤った文字が確定文字に決定されることを抑制することができ、文字認識処理における文字の認識の精度を高めることができる。 When the first candidate character and the second candidate character are the same, it is considered that the probability of an incorrect character being determined as the confirmed character is lower than when the first candidate character and the second candidate character are different. In this embodiment, when the first candidate character and the second candidate character are the same, the same character is determined as the confirmed character, so that it is possible to prevent an incorrect character from being determined as the confirmed character, and it is possible to improve the accuracy of character recognition in the character recognition process.

また、本実施形態では、認識結果決定部126Bにより決定された確定文字を表示装置28に表示させる表示情報生成部128をさらに有する。表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なる場合の確定文字の表示態様を、第1候補文字と第2候補文字とが互いに同じ場合の確定文字の表示態様とは異ならせる。このため、オペレータは、例えば、一の確定文字の表示態様が他の確定文字の表示態様と異なる場合、一の確定文字が誤っている可能性があることを認識できる。この結果、本実施形態では、確定文字が誤っている可能性がある場合においても確定文字の表示態様が変化しない場合に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 In addition, this embodiment further includes a display information generating unit 128 that displays the confirmed characters determined by the recognition result determining unit 126B on the display device 28. The display information generating unit 128 makes the display mode of the confirmed characters when the first and second candidate characters are different from the display mode of the confirmed characters when the first and second candidate characters are the same. For this reason, for example, when the display mode of one confirmed character is different from the display mode of other confirmed characters, the operator can recognize that one confirmed character may be incorrect. As a result, in this embodiment, the possibility of overlooking that a confirmed character is incorrect can be reduced compared to when the display mode of the confirmed character does not change even when there is a possibility that the confirmed character is incorrect.

また、本実施形態では、表示情報生成部128は、第1候補文字と第2候補文字とが互いに異なり、かつ、第1候補文字の確度が第2候補文字の確度より所定値以上低い場合の確定文字の表示態様を、第1候補文字と第2候補文字とが互いに同じ場合の確定文字の表示態様とは異ならせてもよい。この場合においても、確定文字が誤っている可能性がある場合においても確定文字の表示態様が変化しない場合に比べて、確定文字が誤っていることを見落とす可能性を低減することができる。 In addition, in this embodiment, the display information generating unit 128 may change the display mode of the confirmed character when the first candidate character and the second candidate character are different and the accuracy of the first candidate character is lower than the accuracy of the second candidate character by a predetermined value or more from the display mode of the confirmed character when the first candidate character and the second candidate character are the same. Even in this case, it is possible to reduce the possibility of overlooking that the confirmed character is incorrect, compared to a case in which the display mode of the confirmed character does not change even when there is a possibility that the confirmed character is incorrect.

また、本実施形態では、上述した第1実施形態と同様に、項目毎に重み値が文字認識部CRに対応付けられてもよい。 Furthermore, in this embodiment, a weight value may be associated with the character recognition unit CR for each item, as in the first embodiment described above.

[4.変形例]
本発明は、以上に例示した実施形態に限定されない。具体的な変形の態様を以下に例示する。以下の例示から任意に選択された2以上の態様を併合してもよい。
[4. Modifications]
The present invention is not limited to the above-described embodiment. Specific modified aspects are exemplified below. Two or more aspects selected from the following examples may be combined.

[第1変形例]
上述した第1実施形態では、項目毎に重み値が文字認識部CRに対応付けられる場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、重み値は、各文字認識部CRにおいて、文字毎に対応付けられてもよい。
[First Modification]
In the first embodiment described above, a weight value is associated with each item in the character recognition unit CR, but the present invention is not limited to this. For example, a weight value may be associated with each character in each character recognition unit CR.

図16は、第1変形例に係る重みテーブルWTNLの一例を説明するための説明図である。本変形例では、重みテーブルWTNLが優先テーブルPTBLとは別に設けられる場合を想定する。例えば、記憶装置14は、制御プログラムPG1、優先テーブルPTBL、重みテーブルWTNL及び複数の学習モデルLMを記憶する。例えば、重みテーブルWTNLは、認識結果決定部126が評価値を算出する場合に認識結果決定部126により参照される。なお、文字の認識に使用する文字認識部CRを記載内容認識部124が複数の文字認識部CRから選択する場合には、優先テーブルPTBLが記載内容認識部124により参照される。 Figure 16 is an explanatory diagram for explaining an example of a weight table WTNL according to the first modified example. In this modified example, it is assumed that the weight table WTNL is provided separately from the priority table PTBL. For example, the storage device 14 stores the control program PG1, the priority table PTBL, the weight table WTNL, and multiple learning models LM. For example, the weight table WTNL is referenced by the recognition result determination unit 126 when the recognition result determination unit 126 calculates an evaluation value. Note that when the written content recognition unit 124 selects a character recognition unit CR to be used for character recognition from multiple character recognition units CR, the written content recognition unit 124 references the priority table PTBL.

重みテーブルWTNLは、例えば、文字認識部CR毎に管理される。また、各文字認識部CRの重みテーブルWTNLは、例えば、所定のタイミングで更新される。例えば、各文字認識部CRの重みテーブルWTNLは、過去に確定文字として決定され、かつ、正しい文字に修正された1つ以上の候補文字と1対1に対応する複数のレコードを有する。すなわち、図16に示す例では、過去に確定文字として決定されたことのない候補文字、及び、修正されたことのない候補文字は、重みテーブルWTNLに登録されていない。本変形例では、重みテーブルWTNLに登録されていない文字(例えば、過去に確定文字として決定されたことのない候補文字、及び、修正されたことのない候補文字等)の重み値は、1として扱われる。 The weight table WTNL is managed for each character recognition unit CR, for example. The weight table WTNL of each character recognition unit CR is updated, for example, at a predetermined timing. For example, the weight table WTNL of each character recognition unit CR has a plurality of records that correspond one-to-one to one or more candidate characters that have been previously determined as confirmed characters and have been corrected to the correct character. That is, in the example shown in FIG. 16, candidate characters that have not previously been determined as confirmed characters and candidate characters that have not been corrected are not registered in the weight table WTNL. In this modified example, the weight value of characters that are not registered in the weight table WTNL (for example, candidate characters that have not previously been determined as confirmed characters and candidate characters that have not been corrected, etc.) is treated as 1.

各文字認識部CRの重みテーブルWTNLにおいて、各レコードは、文字ID及び重み値を有する。文字IDは、当該文字認識部CRが認識する複数の文字の中から、各文字を識別するための情報であり、各文字を示す情報である。例えば、文字IDは、各文字に割り当てられた文字コードであってもよい。なお、図16では、説明を分かり易くするために、文字IDにより示される文字も図示されている。 In the weight table WTNL of each character recognition unit CR, each record has a character ID and a weight value. The character ID is information for identifying each character from among the multiple characters recognized by the character recognition unit CR, and is information indicating each character. For example, the character ID may be a character code assigned to each character. Note that, in FIG. 16, the characters indicated by the character IDs are also illustrated for ease of understanding.

重み値は、例えば、文字IDにより示される文字に対応付けられた重み値である。重み値は、0以上1以下の実数である。但し、上述したように、図16に示す例では、1の重み値は、重みテーブルWTNLに登録されていない文字に対応付けられるため、重みテーブルWTNLに登録された文字に対応付けられる重み値は、0以上1未満の実数である。 The weight value is, for example, a weight value associated with a character indicated by a character ID. The weight value is a real number between 0 and 1. However, as described above, in the example shown in FIG. 16, a weight value of 1 is associated with a character that is not registered in the weight table WTNL, so the weight values associated with characters registered in the weight table WTNL are real numbers between 0 and 1.

例えば、修正回数が多い文字の重み値は、修正回数が少ない文字の重み値より小さい値に設定される。なお、例えば、文字認識部CR3が「木」の個別文字画像GCを「大」の文字と誤って認識し、文字認識部CR3から得られる誤った候補文字(「大」)が確定文字に決定された場合、「大」の文字が「木」の文字に修正されるため、「大」の文字の修正回数にカウントされる。また、文字認識部CR3が、「木」の個別文字画像GCを誤った文字に認識したことがある場合でも、「木」以外の個別文字画像GCを「木」の文字と誤って認識したことがない場合、「木」の文字の修正回数は0である。 For example, the weight value of a character that has been corrected many times is set to a smaller value than the weight value of a character that has been corrected few times. For example, if the character recognition unit CR3 erroneously recognizes the individual character image GC of "木" as the character "大" and the incorrect candidate character ("大") obtained from the character recognition unit CR3 is determined to be the confirmed character, the character "大" is corrected to the character "木", and this is counted in the number of corrections of the character "大". Also, even if the character recognition unit CR3 has previously recognized the individual character image GC of "木" as an incorrect character, if it has never previously recognized an individual character image GC other than "木" as the character "木", the number of corrections of the character "木" is 0.

なお、重みテーブルWTNLは、図16に示した例に限定されない。例えば、重みテーブルWTNLは、重みテーブルWTNLに登録された各文字に対応付けて、当該文字が初めて重みテーブルWTNLに登録されてから当該文字が確定文字として決定された回数を記憶してもよい。この場合、重み値は、確定文字として決定された回数に対する修正回数の比率(以下、修正率とも称する)を考慮して設定されてもよい。例えば、修正率が高い文字の重み値は、修正率が低い文字の重み値より小さい値に設定されてもよい。 Note that the weight table WTNL is not limited to the example shown in FIG. 16. For example, the weight table WTNL may store, in association with each character registered in the weight table WTNL, the number of times that the character has been determined as a confirmed character since the character was first registered in the weight table WTNL. In this case, the weight value may be set taking into consideration the ratio of the number of corrections to the number of times that the character has been determined as a confirmed character (hereinafter also referred to as the correction rate). For example, the weight value of a character with a high correction rate may be set to a value smaller than the weight value of a character with a low correction rate.

あるいは、各文字認識部CRの重みテーブルWTNLは、当該文字認識部CRが認識可能な全ての文字と1対1に対応する複数のレコードを有してもよい。この場合、各文字認識部CRの重みテーブルWTNLは、各文字について、確定文字として決定された回数を記憶してもよい。この場合においても、重み値は、修正率を考慮して設定されてもよい。 Alternatively, the weight table WTNL of each character recognition unit CR may have multiple records that correspond one-to-one with all characters that the character recognition unit CR can recognize. In this case, the weight table WTNL of each character recognition unit CR may store the number of times each character has been determined as a confirmed character. Even in this case, the weight value may be set taking into account the correction rate.

次に、図17を参照しながら、重みテーブルWTNLを用いた確定文字決定処理の一例について説明する。 Next, with reference to FIG. 17, we will explain an example of a process for determining a confirmed character using the weight table WTNL.

図17は、第1変形例に係る確定文字決定処理の一例を説明するための説明図である。図17では、上述した図6と同様に、「住所」に係る申込内容記載領域AKに記載された文字列を示す文字列画像GCL5に対して文字認識処理が実行された場合を例にして、「大」の個別文字画像GC2の認識結果に対応する確定文字の決定方法の一例が説明される。但し、図17では、説明を分かり易くするために、確度等を図6に示した例と異ならせている箇所がある。 Figure 17 is an explanatory diagram for explaining an example of the confirmed character determination process according to the first modified example. As with Figure 6 described above, Figure 17 explains an example of a method for determining confirmed characters corresponding to the recognition result of individual character image GC2 of "large", using as an example a case where character recognition process is performed on character string image GCL5 showing a character string written in application content entry area AK related to "address". However, in Figure 17, in order to make the explanation easier to understand, there are some parts where the accuracy etc. are different from the example shown in Figure 6.

なお、図17では、認識結果決定部126が図16に示した重みテーブルWTNLを参照する場合を想定する。さらに、図17では、説明を分かり易くするために、文字列画像GCL5の文字の認識に使用される文字認識部CRとして、文字認識部CR3及びCR4が選択された場合を想定する。 In FIG. 17, it is assumed that the recognition result determination unit 126 refers to the weighting table WTNL shown in FIG. 16. Furthermore, in order to make the explanation easier to understand, FIG. 17 also assumes that the character recognition units CR3 and CR4 are selected as the character recognition units CR used to recognize the characters in the character string image GCL5.

図17に示す例では、認識結果決定部126は、文字認識部CR3による「大」の個別文字画像GCに対する文字認識処理の結果として、「丈」、「太」、「大」、「火」及び「木」の文字を含む複数の候補文字と、複数の候補文字の各々の確度とを、取得する。さらに、認識結果決定部126は、文字認識部CR4による「大」の個別文字画像GCに対する文字認識処理の結果として、「犬」、「大」、「太」、「木」及び「丈」の文字を含む複数の候補文字と、複数の候補文字の各々の確度とを、取得する。 In the example shown in FIG. 17, the recognition result determination unit 126 obtains multiple candidate characters including the characters "丈", "太", "大", "火", and "木" as a result of character recognition processing performed by the character recognition unit CR3 on the individual character image GC of "大" and the accuracy of each of the multiple candidate characters. Furthermore, the recognition result determination unit 126 obtains multiple candidate characters including the characters "犬", "大", "太", "木" and "丈" as a result of character recognition processing performed by the character recognition unit CR4 on the individual character image GC of "大".

認識結果決定部126は、複数の候補文字の各々の確度を複数の候補文字の各々の確度重み値で重み付けすることにより、評価値を算出する。例えば、各候補文字の評価値は、各候補文字の確度と各候補文字の重み値との積で表される。具体的には、認識結果決定部126は、例えば、文字認識部CR3から得られる「丈」の候補文字の確度(90%)と「丈」の候補文字の重み値(0.8)との積(90*0.8=72)を、「丈」の候補文字の評価値として算出する。文字認識部CR3から得られる複数の候補文字のうちの「丈」以外の候補文字の各々、及び、文字認識部CR4から得られる複数の候補文字の各々についても、「丈」の候補文字と同様に、評価値が算出される。 The recognition result determination unit 126 calculates an evaluation value by weighting the accuracy of each of the multiple candidate characters by the accuracy weight value of each of the multiple candidate characters. For example, the evaluation value of each candidate character is expressed as the product of the accuracy of each candidate character and the weight value of each candidate character. Specifically, the recognition result determination unit 126 calculates the product (90*0.8=72) of the accuracy of the candidate character "丈" obtained from the character recognition unit CR3 and the weight value of the candidate character "丈" (0.8) as the evaluation value of the candidate character "丈". Evaluation values are calculated for each of the candidate characters other than "丈" among the multiple candidate characters obtained from the character recognition unit CR3 and for each of the multiple candidate characters obtained from the character recognition unit CR4 in the same way as for the candidate character "丈".

そして、認識結果決定部126は、文字認識部CR3及びCR4の各々による「大」の個別文字画像GC2の認識結果として得られる複数の候補文字のうち、評価値が最も高い候補文字を、「大」の個別文字画像GCの認識結果に対応する確定文字に決定する。なお、評価値が最も高い候補文字が複数存在する場合、認識結果決定部126は、当該複数の候補文字のうち、優先度が最も高い候補文字を確定文字に決定してもよい。すなわち、認識結果決定部126は、複数の候補文字の各々の確度と、複数の候補文字の各々の重み値と、複数の文字認識部CRの各々の優先度とに基づいて、複数の候補文字の1つを、確定文字に決定してもよい。あるいは、認識結果決定部126は、評価値が最も高い候補文字が複数存在する場合、当該複数の候補文字のうち、確度が最も高い候補文字を確定文字に決定してもよい。 Then, the recognition result determination unit 126 determines the candidate character with the highest evaluation value among the multiple candidate characters obtained as the recognition result of the individual character image GC2 of "大" by each of the character recognition units CR3 and CR4 as the confirmed character corresponding to the recognition result of the individual character image GC of "大". Note that, when there are multiple candidate characters with the highest evaluation values, the recognition result determination unit 126 may determine the candidate character with the highest priority among the multiple candidate characters as the confirmed character. That is, the recognition result determination unit 126 may determine one of the multiple candidate characters as the confirmed character based on the accuracy of each of the multiple candidate characters, the weight value of each of the multiple candidate characters, and the priority of each of the multiple character recognition units CR. Alternatively, when there are multiple candidate characters with the highest evaluation values, the recognition result determination unit 126 may determine the candidate character with the highest accuracy among the multiple candidate characters as the confirmed character.

ここで、図17に示す例では、複数の候補文字のうち、確度が最も高い候補文字は、図17の二重丸で示されるように、確度が92%の「犬」の文字である。例えば、文字毎に重み値が設定されていない形態(以下、第4対比例とも称する)では、複数の候補文字のうち、確度が最も高い「犬」の文字が、「大」の個別文字画像GCの認識結果に対応する確定文字に決定される。すなわち、第4対比例では、文字認識部CR4から得られる複数の候補文字のうち、修正回数が「大」の文字より多い「犬」の文字が、「大」の個別文字画像GCの認識結果に対応する確定文字に決定される。このため、第4対比例では、本変形例に比べて、誤った文字が確定文字に決定される確率が高くなる。換言すれば、本変形例では、第4対比例に比べて、誤った文字が確定文字に決定されることを抑制することができる。 Here, in the example shown in FIG. 17, the candidate character with the highest accuracy among the multiple candidate characters is the character "dog" with an accuracy of 92%, as shown by the double circle in FIG. 17. For example, in a form in which a weight value is not set for each character (hereinafter also referred to as the fourth comparative example), the character "dog" with the highest accuracy among the multiple candidate characters is determined as the confirmed character corresponding to the recognition result of the individual character image GC of "large". That is, in the fourth comparative example, the character "dog" which has been corrected more times than the character "large" among the multiple candidate characters obtained from the character recognition unit CR4 is determined as the confirmed character corresponding to the recognition result of the individual character image GC of "large". For this reason, in the fourth comparative example, the probability that an incorrect character is determined as a confirmed character is higher than in this modified example. In other words, in this modified example, it is possible to suppress an incorrect character from being determined as a confirmed character compared to the fourth comparative example.

以上、本変形例においても、上述した第1実施形態と同様の効果を得ることができる。なお、文字の認識に使用する文字認識部CRの優先度が、当該文字の修正回数又は修正率に応じて、文字毎に決定されてもよい。また、上述した第2実施形態及び第3実施形態においても、本変形例と同様に、各文字認識部CRにより認識される文字毎に重み値が対応付けられてもよい。 As described above, in this modified example, the same effect as in the first embodiment described above can be obtained. Note that the priority of the character recognition unit CR used to recognize a character may be determined for each character depending on the number of times or the correction rate of the character. Also, in the second and third embodiments described above, a weight value may be associated with each character recognized by each character recognition unit CR, as in this modified example.

[第2変形例]
上述した実施形態及び変形例では、文字認識装置10と端末装置20とが互いに別体である場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、文字認識装置10と端末装置20とは、一体として構成されてもよい。
[Second Modification]
In the above-described embodiment and modified example, the character recognition device 10 and the terminal device 20 are separate from each other, but the present invention is not limited to such an embodiment. For example, the character recognition device 10 and the terminal device 20 may be configured as an integrated unit.

図18は、第2変形例に係る文字認識システム1Aの一例を示す図である。図1から図17において説明された要素と同様の要素については、同一の符号が付され、詳細な説明は省略される。 Figure 18 is a diagram showing an example of a character recognition system 1A according to the second modified example. Elements similar to those described in Figures 1 to 17 are given the same reference numerals, and detailed descriptions are omitted.

文字認識システム1Aは、文字認識装置10A及び画像入力装置30を有する。例えば、文字認識装置10Aは、画像入力装置30と通信可能に接続される。なお、文字認識装置10Aと画像入力装置30との接続は、有線及び無線の一方を用いた接続であってもよいし、有線及び無線の両方を用いた接続であってもよい。 The character recognition system 1A has a character recognition device 10A and an image input device 30. For example, the character recognition device 10A is communicatively connected to the image input device 30. Note that the connection between the character recognition device 10A and the image input device 30 may be a wired or wireless connection, or may be both a wired and wireless connection.

文字認識装置10Aは、文字認識装置10Aの各部を制御する処理装置12と、各種情報を記憶する記憶装置14と、通信装置16と、文字認識装置10Aのオペレータの操作を受け付ける操作装置27と、画像等を表示する表示装置28とを有する。文字認識装置10Aは、操作装置27及び表示装置28を有することを除いて、図3に示した文字認識装置10と同様である。但し、文字認識装置10Aでは、制御プログラムPG1の代わりに制御プログラムPG4を処理装置12が実行する点が、文字認識装置10と相違する。このため、記憶装置14は、制御プログラムPG1の代わりに制御プログラムPG4を記憶する。なお、文字認識装置10Aは、「情報処理装置」の別の例であり、制御プログラムPG4は、「プログラム」の別の例である。 Character recognition device 10A has a processing device 12 that controls each part of character recognition device 10A, a storage device 14 that stores various information, a communication device 16, an operation device 27 that accepts operations by an operator of character recognition device 10A, and a display device 28 that displays images, etc. Character recognition device 10A is similar to character recognition device 10 shown in FIG. 3 except that it has operation device 27 and display device 28. However, character recognition device 10A differs from character recognition device 10 in that processing device 12 executes control program PG4 instead of control program PG1. Therefore, storage device 14 stores control program PG4 instead of control program PG1. Character recognition device 10A is another example of an "information processing device", and control program PG4 is another example of a "program".

本変形例では、制御プログラムPG4は、例えば、文字認識装置10Aが文字認識処理を実行するためのアプリケーションプログラムを含む。但し、制御プログラムPG4は、例えば、処理装置12が文字認識装置10Aの各部を制御するためのオペレーティングシステムプログラムを含んでもよい。制御プログラムPG4は、他の装置から送信されてもよい。 In this modified example, the control program PG4 includes, for example, an application program for the character recognition device 10A to execute the character recognition process. However, the control program PG4 may also include, for example, an operating system program for the processing device 12 to control each part of the character recognition device 10A. The control program PG4 may be transmitted from another device.

制御プログラムPG4に含まれるアプリケーションプログラムに従って動作する処理装置12は、例えば、画像情報取得部122、記載内容認識部124、認識結果決定部126及び表示情報生成部128を含む制御部120として機能する。図18に示す処理装置12により実現される制御部120は、端末装置20を介して実行した処理を端末装置20を介さずに実行することを除いて、図4に示した制御部120と同様である。例えば、画像情報取得部122は、文字認識処理の対象となる画像を示す画像情報を画像入力装置30から取得する。また、例えば、表示情報生成部128は、内容確認画面CCH等の画像を表示装置28に表示させるための表示情報を、表示装置28に出力する。 The processing device 12, which operates according to an application program included in the control program PG4, functions as a control unit 120 including, for example, an image information acquisition unit 122, a description recognition unit 124, a recognition result determination unit 126, and a display information generation unit 128. The control unit 120 realized by the processing device 12 shown in FIG. 18 is similar to the control unit 120 shown in FIG. 4, except that the processing executed via the terminal device 20 is executed without the terminal device 20. For example, the image information acquisition unit 122 acquires image information indicating an image to be subjected to character recognition processing from the image input device 30. Also, for example, the display information generation unit 128 outputs display information to the display device 28 for displaying an image such as a content confirmation screen CCH on the display device 28.

なお、文字認識システム1Aの構成は、図18に示した例に限定されない。例えば、画像入力装置30は、文字認識装置10Aに含まれてもよい。また、例えば、文字認識装置10Aは、表示装置28を含まなくてもよい。文字認識装置10Aは、表示装置28を含まない場合、表示装置28と通信可能に接続される。文字認識装置10Aと表示装置28との接続は、有線及び無線の一方を用いた接続であってもよいし、有線及び無線の両方を用いた接続であってもよい。また、制御プログラムPG4に含まれるアプリケーションプログラムに従って動作する処理装置12は、例えば、制御部120Aとして機能してもよいし、制御部120Bとして機能してもよい。なお、処理装置12が制御部120Bとして機能する場合、例えば、重みテーブルWTBLが記憶装置14に記憶されている。 The configuration of the character recognition system 1A is not limited to the example shown in FIG. 18. For example, the image input device 30 may be included in the character recognition device 10A. Also, for example, the character recognition device 10A may not include the display device 28. When the character recognition device 10A does not include the display device 28, it is connected to the display device 28 so as to be able to communicate with it. The connection between the character recognition device 10A and the display device 28 may be a wired or wireless connection, or may be a wired and wireless connection. Also, the processing device 12 that operates according to the application program included in the control program PG4 may function as, for example, the control unit 120A or may function as the control unit 120B. When the processing device 12 functions as the control unit 120B, for example, a weight table WTBL is stored in the storage device 14.

以上、本変形例においても、上述した実施形態及び変形例と同様の効果を得ることができる。 As described above, this modified example can also achieve the same effects as the above-mentioned embodiment and modified examples.

[第3変形例]
上述した実施形態及び変形例において、文字認識装置10又は10Aは、文字認識処理の結果に対する修正の内容を学習してもよい。以上、本変形例においても、上述した実施形態及び変形例と同様の効果を得ることができる。
[Third Modification]
In the above-described embodiment and modified example, the character recognition device 10 or 10A may learn the content of corrections to the results of the character recognition process. As described above, the modified example can also achieve the same effects as the above-described embodiment and modified example.

[第4変形例]
上述した実施形態及び変形例では、文字認識処理の対象となる画像が申込書画像GMである場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、文字認識処理の対象となる画像は、処方箋、経理書類(例えば、請求書、決算書、振込用紙及び見積書等)、及び、記録用紙(例えば、実験等における測定値が記録された用紙等)等の書類の画像であってもよい。
[Fourth Modification]
In the above-mentioned embodiment and modified example, the image to be subjected to the character recognition process is the application form image GM, but the present invention is not limited to such an embodiment. For example, the image to be subjected to the character recognition process may be an image of a document such as a prescription, an accounting document (e.g., an invoice, a financial statement, a transfer form, an estimate, etc.), and a recording sheet (e.g., a sheet on which measured values in an experiment, etc. are recorded, etc.).

1、1A…文字認識システム、10、10A…文字認識装置、12…処理装置、14…記憶装置、16…通信装置、20…端末装置、27…操作装置、28…表示装置、30…画像入力装置、120、120A、120B…制御部、122…画像情報取得部、124…記載内容認識部、126…認識結果決定部、128…表示情報生成部、CCH…内容確認画面、CR…文字認識部、GM…申込書画像、LM…学習モデル、NW…ネットワーク、MK…注意マーク、PTBL…優先テーブル、WTBL…重みテーブル。 1, 1A...character recognition system, 10, 10A...character recognition device, 12...processing device, 14...storage device, 16...communication device, 20...terminal device, 27...operation device, 28...display device, 30...image input device, 120, 120A, 120B...control unit, 122...image information acquisition unit, 124...content recognition unit, 126...recognition result determination unit, 128...display information generation unit, CCH...content confirmation screen, CR...character recognition unit, GM...application form image, LM...learning model, NW...network, MK...attention mark, PTBL...priority table, WTBL...weight table.

Claims (11)

画像に含まれる文字を認識し、認識した文字の確度を算出する複数の文字認識処理の各々により、媒体の画像である字画像に、前記媒体に記載すべき内容の項目毎に表された文字列の一の文字を認識する認識部と、
前記複数の文字認識処理の各々による前記一の文字の認識結果として得られる複数の候補文字の1つを、前記一の文字の認識結果に対応する確定文字に決定する決定部と、
を備え、
文字の認識に使用する文字認識処理の優先度が前記項目毎に決められており、
前記決定部は、
前記複数の候補文字の各々の確度と、前記複数の文字認識処理の各々の前記優先度とに基づいて、前記複数の候補文字の1つを、前記確定文字に決定する、
ことを特徴とする情報処理装置。
a recognition unit that recognizes one character of a character string represented for each item of contents to be written on a medium in a character image that is an image of the medium by each of a plurality of character recognition processes that recognize characters included in the image and calculate the accuracy of the recognized characters;
a determination unit that determines one of a plurality of candidate characters obtained as a recognition result of the one character by each of the plurality of character recognition processes as a confirmed character corresponding to the recognition result of the one character;
Equipped with
A priority of a character recognition process to be used for character recognition is determined for each of the above items,
The determination unit is
determining one of the plurality of candidate characters as the determined character based on the certainty of each of the plurality of candidate characters and the priority of each of the plurality of character recognition processes;
23. An information processing apparatus comprising:
前記複数の文字認識処理の各々には、前記優先度に基づく重み値が決められており、
前記決定部は、
前記複数の候補文字の各々の確度を前記複数の文字認識処理の各々の前記重み値で重み付けすることにより、前記複数の候補文字の各々の評価値を算出し、
前記複数の候補文字のうち、前記評価値が最も高い候補文字を、前記確定文字に決定する、
請求項1に記載の情報処理装置。
a weight value based on the priority level is determined for each of the plurality of character recognition processes;
The determination unit is
calculating an evaluation value for each of the plurality of candidate characters by weighting the likelihood of each of the plurality of candidate characters with the weight value for each of the plurality of character recognition processes;
determining, from among the plurality of candidate characters, the candidate character having the highest evaluation value as the confirmed character;
The information processing device according to claim 1 .
前記決定部は、
前記複数の文字認識処理のうち前記優先度が最も高い文字認識処理による前記一の文字の認識結果として得られる第1候補文字の確度が所定値以上の場合、前記複数の候補文字のうち、前記第1候補文字を前記確定文字に決定する、
請求項1に記載の情報処理装置。
The determination unit is
determining, among the plurality of candidate characters, the first candidate character as the confirmed character when the accuracy of a first candidate character obtained as a recognition result of the one character by the character recognition process having the highest priority among the plurality of character recognition processes is equal to or greater than a predetermined value;
The information processing device according to claim 1 .
前記決定部により決定された前記確定文字を表示部に表示させる表示制御部をさらに備え、
前記表示制御部は、
前記複数の文字認識処理のうち前記優先度が最も高い文字認識処理で前記確定文字が認識されていない場合の前記確定文字の表示態様を、前記複数の文字認識処理のうちの前記優先度が最も高い文字認識処理で前記確定文字が認識された場合の前記確定文字の表示態様とは異ならせる、
請求項1から3のいずれか1項に記載の情報処理装置。
A display control unit that displays the determined character determined by the determination unit on a display unit,
The display control unit is
a display mode of the confirmed character when the confirmed character is not recognized in the character recognition process having the highest priority among the plurality of character recognition processes is made different from a display mode of the confirmed character when the confirmed character is recognized in the character recognition process having the highest priority among the plurality of character recognition processes;
The information processing device according to claim 1 .
画像に含まれる文字を認識し、認識した文字の確度を算出する第1文字認識処理、及び、画像に含まれる文字を認識し、認識した文字の確度を算出する第2文字認識処理の各々により、文字画像に含まれる一の文字を認識する認識部と、
前記第1文字認識処理による前記一の文字の認識結果として得られる1つ以上の第1候補文字と、前記第2文字認識処理による前記一の文字の認識結果として得られる1つ以上の第2候補文字との両方に含まれる共通文字が存在する場合、前記共通文字を前記一の文字の認識結果に対応する確定文字とするか否かを決定する決定部と、
を備え、
前記決定部は、
前記共通文字が、前記1つ以上の第1候補文字に含まれる前記共通文字の確度である第1確度、及び、前記1つ以上の第2候補文字に含まれる前記共通文字の確度である第2確度のうちの高い方の確度に関する条件である第1条件、及び、前記第1確度と前記第2確度との差異の程度に関する条件である第2条件の両方の条件を満たす場合、前記共通文字を前記確定文字の候補である確定候補文字に決定する、
ことを特徴とする情報処理装置。
a recognition unit that recognizes a character included in a character image by a first character recognition process that recognizes a character included in an image and calculates a probability of the recognized character, and a second character recognition process that recognizes a character included in an image and calculates a probability of the recognized character;
a determination unit that, when a common character exists that is included in both one or more first candidate characters obtained as a recognition result of the one character by the first character recognition process and one or more second candidate characters obtained as a recognition result of the one character by the second character recognition process, determines whether or not the common character is to be a confirmed character corresponding to the recognition result of the one character;
Equipped with
The determination unit is
determining the common character as a confirmed candidate character that is a candidate for the confirmed character when the common character satisfies both a first condition that is a condition on the higher of a first probability that is a probability of the common character included in the one or more first candidate characters and a second probability that is a probability of the common character included in the one or more second candidate characters, and a second condition that is a condition on the degree of difference between the first probability and the second probability.
23. An information processing apparatus comprising:
前記第1条件は、
前記高い方の確度が所定の確度以上であるという条件であり、
前記第2条件は、
前記第1確度と前記第2確度との差分が所定値以下であるという条件である、
請求項5に記載の情報処理装置。
The first condition is:
The condition is that the higher probability is equal to or greater than a predetermined probability,
The second condition is:
A condition that a difference between the first accuracy and the second accuracy is equal to or smaller than a predetermined value.
The information processing device according to claim 5 .
前記決定部は、
前記確定候補文字が複数存在する場合、
数の前記確定候補文字の中で確度が最も高い確定候補文字を、前記確定文字に決定する、
請求項6に記載の情報処理装置。
The determination unit is
When there are a plurality of confirmed candidate characters,
determining a confirmed candidate character having the highest degree of certainty among the plurality of confirmed candidate characters as the confirmed character;
The information processing device according to claim 6.
前記決定部は、
前記確定候補文字が複数存在する場合、
数の前記確定候補文字の中で、前記第1確度と前記第2確度との平均値が最も高い確定候補文字を、前記確定文字に決定する、
請求項6に記載の情報処理装置。
The determination unit is
When there are a plurality of confirmed candidate characters,
determining, as the confirmed character, a confirmed candidate character having the highest average value of the first probability and the second probability among the plurality of confirmed candidate characters;
The information processing device according to claim 6.
画像に含まれる文字を認識し、認識した文字の確度を算出する第1文字認識処理、及び、画像に含まれる文字を認識し、認識した文字の確度を算出する第2文字認識処理の各々により、文字画像に含まれる一の文字を認識する認識部と、
前記第1文字認識処理による前記一の文字の認識結果として得られる1つ以上の第1候補文字と、前記第2文字認識処理による前記一の文字の認識結果として得られる1つ以上の第2候補文字との両方に含まれる共通文字が存在する場合、前記共通文字を前記一の文字の認識結果に対応する確定文字とするか否かを決定する決定部と、
を備え、
前記決定部は、
前記共通文字が複数存在する場合、
数の前記共通文字の中で、前記1つ以上の第1候補文字に含まれる前記共通文字の確度である第1確度と、前記1つ以上の第2候補文字に含まれる前記共通文字の確度である第2確度との平均値が最も高い共通文字を、前記確定文字の候補である確定候補文字に決定する、
ことを特徴とする情報処理装置。
a recognition unit that recognizes a character included in a character image by a first character recognition process that recognizes a character included in an image and calculates a probability of the recognized character, and a second character recognition process that recognizes a character included in an image and calculates a probability of the recognized character;
a determination unit that, when a common character exists that is included in both one or more first candidate characters obtained as a recognition result of the one character by the first character recognition process and one or more second candidate characters obtained as a recognition result of the one character by the second character recognition process, determines whether or not the common character is to be a confirmed character corresponding to the recognition result of the one character;
Equipped with
The determination unit is
If there are multiple common characters,
determining, among the plurality of common characters, a common character having the highest average value of a first probability, which is a probability of the common character included in the one or more first candidate characters, and a second probability, which is a probability of the common character included in the one or more second candidate characters, as a confirmed candidate character that is a candidate for the confirmed character;
23. An information processing apparatus comprising:
プロセッサを、
画像に含まれる文字を認識し、認識した文字の確度を算出する複数の文字認識処理の各々により、媒体の画像である文字画像に、前記媒体に記載すべき内容の項目毎に表された文字列の一の文字を認識する認識部と、
前記複数の文字認識処理の各々による前記一の文字の認識結果として得られる複数の候補文字の1つを、前記一の文字の認識結果に対応する確定文字に決定する決定部と、
として機能させ、
文字の認識に使用する文字認識処理の優先度が前記項目毎に決められており、
前記決定部は、
前記複数の候補文字の各々の確度と、前記複数の文字認識処理の各々の前記優先度とに基づいて、前記複数の候補文字の1つを、前記確定文字に決定する、
プログラム。
The processor,
a recognition unit that recognizes one character of a character string represented for each item of contents to be written on a medium in a character image that is an image of the medium by each of a plurality of character recognition processes that recognize characters included in the image and calculate the accuracy of the recognized characters;
a determination unit that determines one of a plurality of candidate characters obtained as a recognition result of the one character by each of the plurality of character recognition processes as a confirmed character corresponding to the recognition result of the one character;
Function as a
A priority of a character recognition process to be used for character recognition is determined for each of the above items,
The determination unit is
determining one of the plurality of candidate characters as the determined character based on the certainty of each of the plurality of candidate characters and the priority of each of the plurality of character recognition processes;
program.
画像に含まれる文字を認識し、認識した文字の確度を算出する複数の文字認識処理の各々により、媒体の画像である文字画像に、前記媒体に記載すべき内容の項目毎に表された文字列の一の文字を認識し、前記一の文字の認識結果として得られる複数の候補文字の1つを、前記一の文字の認識結果に対応する確定文字に決定する情報処理方法であって、
前記複数の文字認識処理には、前記項目毎に優先度が決められており、
前記複数の候補文字の各々の確度と、前記複数の文字認識処理の各々の前記優先度とに基づいて、前記複数の候補文字の1つを、前記確定文字に決定する、
ことを特徴とする情報処理方法。
An information processing method for recognizing one character of a character string represented for each item of contents to be written on a medium in a character image that is an image of a medium by performing a plurality of character recognition processes that recognize characters included in an image and calculate the accuracy of the recognized character, and determining one of a plurality of candidate characters obtained as a recognition result of the one character as a confirmed character corresponding to the recognition result of the one character, comprising:
A priority is assigned to each of the plurality of character recognition processes,
determining one of the plurality of candidate characters as the determined character based on the certainty of each of the plurality of candidate characters and the priority of each of the plurality of character recognition processes;
23. An information processing method comprising:
JP2021154632A 2021-09-22 2021-09-22 Information processing device, program, and information processing method Active JP7642944B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2021154632A JP7642944B2 (en) 2021-09-22 2021-09-22 Information processing device, program, and information processing method
PCT/JP2022/031371 WO2023047858A1 (en) 2021-09-22 2022-08-19 Information processing device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021154632A JP7642944B2 (en) 2021-09-22 2021-09-22 Information processing device, program, and information processing method

Publications (3)

Publication Number Publication Date
JP2023045981A JP2023045981A (en) 2023-04-03
JP2023045981A5 JP2023045981A5 (en) 2024-02-28
JP7642944B2 true JP7642944B2 (en) 2025-03-11

Family

ID=85719451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021154632A Active JP7642944B2 (en) 2021-09-22 2021-09-22 Information processing device, program, and information processing method

Country Status (2)

Country Link
JP (1) JP7642944B2 (en)
WO (1) WO2023047858A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2797721B2 (en) * 1991-01-08 1998-09-17 日本電気株式会社 Character recognition device
JP5003051B2 (en) * 2006-08-01 2012-08-15 日本電気株式会社 Automatic mail sorting machine and automatic mail sorting method
JP2008040598A (en) * 2006-08-02 2008-02-21 Canon Inc Image input device
JP2020095374A (en) * 2018-12-11 2020-06-18 沖電気工業株式会社 Character recognition system, character recognition device, program and character recognition method

Also Published As

Publication number Publication date
JP2023045981A (en) 2023-04-03
WO2023047858A1 (en) 2023-03-30

Similar Documents

Publication Publication Date Title
CN112185520B (en) Text structuring processing system and method for medical pathology report picture
US10963717B1 (en) Auto-correction of pattern defined strings
CN113168498A (en) Language correction system and method thereof, and language correction model learning method in system
CN115039144B (en) Method and computing device for processing mathematics and text in handwriting
AU2019306148A1 (en) Improved request handling
US11972490B2 (en) Determining a category of a request by word vector representation of a natural language text string with a similarity value
JP2019160236A (en) Learning data generation method, learning data generation program and data structure
CN115223188A (en) Bill information processing method, device, electronic device and computer storage medium
JP6600973B2 (en) Character recognition device, character recognition processing system, and program
Humphries et al. Unlocking the archives: Using large language models to transcribe handwritten historical documents
JP7642944B2 (en) Information processing device, program, and information processing method
JP7367139B2 (en) Data search method and system
JP7021496B2 (en) Information processing equipment and programs
JP2022116983A (en) Image processing apparatus, image processing method, and program
JP7719878B2 (en) Information processing system, item value extraction method, model generation method and program
JP7828298B2 (en) Review System
JP2020184275A (en) Image processing equipment, image processing methods, and programs
JP7317612B2 (en) Information processing device, information processing method and program
CN114969358A (en) Entity linking method, device, electronic equipment and storage medium
JP7619566B2 (en) Information processing device, program, and information processing method
CN114330323A (en) Entity relationship joint extraction method and device, computer terminal and storage medium
JP2022075467A (en) Data processing equipment, data processing methods and programs
JP6511942B2 (en) INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING PROGRAM
JP6736742B1 (en) Form processing program, form processing device, form processing method
JP2007280413A (en) Automatic input device of financial statement

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241225

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: 20250114

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250123

R150 Certificate of patent or registration of utility model

Ref document number: 7642944

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350