JP7619566B2 - Information processing device, program, and information processing method - Google Patents
Information processing device, program, and information processing method Download PDFInfo
- Publication number
- JP7619566B2 JP7619566B2 JP2021104847A JP2021104847A JP7619566B2 JP 7619566 B2 JP7619566 B2 JP 7619566B2 JP 2021104847 A JP2021104847 A JP 2021104847A JP 2021104847 A JP2021104847 A JP 2021104847A JP 7619566 B2 JP7619566 B2 JP 7619566B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- recognition
- unit
- image
- candidate
- 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
Links
Images
Landscapes
- Character Discrimination (AREA)
Description
本発明は、情報処理装置、及び、プログラムに関する。 The present invention relates to an information processing device and a program.
画像に含まれる文字を認識する文字認識処理に関する技術が提案されている(例えば、特許文献1参照)。 Technology has been proposed for character recognition processing that recognizes characters contained in an image (see, for example, Patent Document 1).
しかし、従来の技術において、文字認識処理における文字の認識の精度を如何に高めようとしても、文字認識処理において誤認識の発生を完全に防止することは難しい。そして、文字認識処理において誤認識が発生した場合に、文字認識処理の結果を確認するオペレータが、文字認識処理における誤認識の発生を見落としてしまう可能性があった。 However, in conventional technology, no matter how much one tries to improve the accuracy of character recognition in character recognition processing, it is difficult to completely prevent the occurrence of misrecognition in character recognition processing. Furthermore, when a misrecognition occurs in character recognition processing, there is a possibility that an operator checking the results of the character recognition processing may overlook the occurrence of the misrecognition in the character recognition processing.
本発明は、上述した事情に鑑みてなされたものであり、従来の技術と比較して、文字認識処理における誤認識の発生が見落とされるリスクを低減することを可能とする技術の提供を、解決課題の一つとする。 The present invention has been made in consideration of the above-mentioned circumstances, and one of the problems to be solved is to provide a technology that can reduce the risk of overlooking misrecognition during character recognition processing compared to conventional technologies.
以上の課題を解決するために、本発明に係る情報処理装置は、画像に含まれる文字を認識する第1の文字認識処理、及び、画像に含まれる文字を認識する第2の文字認識処理の各々により、文字画像に表された一の文字を認識する認識部と、前記第1の文字認識処理による前記一の文字の認識結果である第1文字、及び、前記第2の文字認識処理による前記一の文字の認識結果である第2文字が、同一の文字である場合、前記第1文字及び前記第2文字を、前記一の文字の認識結果に対応する確定文字として決定し、前記第1文字及び前記第2文字が、異なる文字である場合、前記第1文字及び前記第2文字のうち一方を、前記一の文字の認識結果に対応する候補文字として決定する決定部と、前記決定部により決定された前記確定文字または前記候補文字を表示部に表示させる表示制御部と、を備え、前記表示制御部は、前記候補文字を前記確定文字とは異なる態様で前記表示部に表示させる、ことを特徴とする。 In order to solve the above problems, the information processing device according to the present invention includes a recognition unit that recognizes a character represented in a character image by a first character recognition process that recognizes a character included in an image and a second character recognition process that recognizes a character included in an image, and a determination unit that, if a first character that is the recognition result of the one character by the first character recognition process and a second character that is the recognition result of the one character by the second character recognition process are the same character, determines the first character and the second character as a confirmed character corresponding to the recognition result of the one character, and, if the first character and the second character are different characters, determines one of the first character and the second character as a candidate character corresponding to the recognition result of the one character; and a display control unit that causes the confirmed character or the candidate character determined by the determination unit to be displayed on a display unit, and the display control unit causes the candidate character to be displayed on the display unit in a manner different from the confirmed character.
また、本発明に係るプログラムは、プロセッサを、画像に含まれる文字を認識する第1の文字認識処理、及び、画像に含まれる文字を認識する第2の文字認識処理の各々により、文字画像に表された一の文字を認識する認識部と、前記第1の文字認識処理による前記一の文字の認識結果である第1文字、及び、前記第2の文字認識処理による前記一の文字の認識結果である第2文字が、同一の文字である場合、前記第1文字及び前記第2文字を、前記一の文字の認識結果に対応する確定文字として決定し、前記第1文字及び前記第2文字が、異なる文字である場合、前記第1文字及び前記第2文字のうち一方を、前記一の文字の認識結果に対応する候補文字として決定する決定部と、前記決定部により決定された前記確定文字または前記候補文字を表示部に表示させる表示制御部と、して機能させ、前記表示制御部は、前記候補文字を前記確定文字とは異なる態様で前記表示部に表示させる、ことを特徴とする。 The program according to the present invention causes a processor to function as a recognition unit that recognizes a character represented in a character image by a first character recognition process that recognizes a character included in an image and a second character recognition process that recognizes a character included in an image, a determination unit that determines the first character and the second character as confirmed characters corresponding to the recognition result of the one character when a first character that is the recognition result of the one character by the first character recognition process and a second character that is the recognition result of the one character by the second character recognition process are the same character, and determines one of the first character and the second character as a candidate character corresponding to the recognition result of the one character when the first character and the second character are different characters, and a display control unit that displays the confirmed character or the candidate character determined by the determination unit on a display unit, and the display control unit displays the candidate character on the display unit in a manner different from the confirmed character.
本発明によれば、従来の技術と比較して、文字認識処理における誤認識の発生が見落とされるリスクを低減することが可能となる。 Compared to conventional techniques, the present invention makes it possible to reduce the risk of overlooking misrecognition during character recognition processing.
以下、本発明を実施するための形態について図面を参照して説明する。なお、各図において、各部の寸法及び縮尺は、実際のものと適宜に異ならせてある。また、以下に述べる実施の形態は、本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの形態に限られるものではない。 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 specific 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.
[A.実施形態]
以下、本発明の実施形態を説明する。
A. Embodiments
Hereinafter, an embodiment of the present invention will be described.
<1.文字認識システムの概要>
以下、図1乃至図4を参照しつつ、文字認識システムSysの概要について説明する。
1. Overview of the character recognition system
The character recognition system Sys will be outlined below with reference to FIGS.
図1は、本実施形態に係る文字認識システムSysの構成の一例を説明するための説明図である。 Figure 1 is an explanatory diagram for explaining an example of the configuration of a character recognition system Sys according to this embodiment.
図1に例示するように、文字認識システムSysは、文字認識装置1と、端末装置3と、撮像装置5と、を備える。
As illustrated in FIG. 1, the character recognition system Sys includes a
文字認識装置1(「情報処理装置」の一例)は、例えば、光学文字認識(OCR:Optical Character Recognition)技術を用いて、画像に含まれる文字を認識する文字認識処理を実行する。本実施形態では、文字認識装置1による文字認識処理の対象となる画像が、所定のサービスに入会するための入会申込書を撮像した申込書画像GMである場合を、一例として想定する。なお、申込書画像GMについては、図2において後述する。
The character recognition device 1 (an example of an "information processing device") executes character recognition processing to recognize characters contained in an image, for example, using optical character recognition (OCR) technology. In this embodiment, it is assumed, as an example, that the image to be subjected to character recognition processing by the
撮像装置5は、例えば、カメラまたはイメージスキャナ等の光学的な装置であり、入会申込書を撮像し、当該撮像の結果得られた申込書画像GMを示す画像情報JGを、端末装置3に供給する。
The
端末装置3は、画像を表示可能な表示部31と、端末装置3のオペレータの操作を受け付ける操作部32と、を備える。なお、端末装置3としては、パーソナルコンピュータ等の据置型の情報機器であってもよいし、タブレット端末、または、スマートフォン等の可搬型の情報端末であってもよい。
The
本実施形態において、端末装置3は、ネットワークNWを介して文字認識装置1と通信可能であり、撮像装置5から供給された画像情報JGを、ネットワークNWを介して文字認識装置1に送信する。そして、文字認識装置1は、端末装置3から画像情報JGが供給されると、端末装置3から供給された画像情報JGの示す申込書画像GMに対して文字認識処理を施す。その後、文字認識装置1は、申込書画像GMに対する文字認識処理による認識の結果に基づいて、表示部31に申込内容表示画像GHを表示させるための表示情報JHを生成し、生成した表示情報JHを、端末装置3に対して送信する。そして、端末装置3は、文字認識装置1から表示情報JHが供給されると、文字認識装置1から供給された表示情報JHに基づいて、表示部31に申込内容表示画像GHを表示させる。なお、申込内容表示画像GHについては、図3及び図4において後述する。
In this embodiment, the
図2は、申込書画像GMの一例を説明するための説明図である。 Figure 2 is an explanatory diagram for explaining an example of an application form image GM.
図2に例示するように、申込書画像GMは、複数の記載欄を含む。複数の記載欄の各々は、当該記載欄に記載すべき申込内容の項目の名称である項目名称が記載された項目名称記載領域AMと、当該記載欄に係る申込内容が記載された申込内容記載領域AKと、を含む。以下では、申込書画像GMのうち、申込内容記載領域AKに記載された申込内容に係る文字列を示す画像を、文字列画像GCLと称する。また、以下では、文字列画像GCLのうち、文字列画像GCLの示す文字列に含まれる複数の文字の各々を示す画像を、文字画像GCと称する。すなわち、文字列画像GCLは、複数の文字画像GCを含む画像である。 As shown in FIG. 2, the application form image GM includes multiple fields. Each of the multiple fields includes an item name writing area AM in which an item name, which is the name of an item of the application content to be written in that field, is written, and an application content writing area AK in which the application content related to that field is written. In the following, an image of the application form image GM that shows a character string related to the application content written in the application content writing area AK is referred to as a character string image GCL. In the following, an image of the character string image GCL that shows each of the multiple characters included in the character string shown by the character string image GCL is referred to as a character image GC. In other words, the character string image GCL is an image that includes multiple character images GC.
なお、本実施形態では、一例として、入会申込書が、図2に示すように、「申込番号」に係る記載欄と、「カナ氏名」に係る記載欄と、「氏名」に係る記載欄と、「郵便番号」に係る記載欄と、「住所」に係る記載欄と、「メール」に係る記載欄と、「電話番号」に係る記載欄と、を有する場合を想定する。そして、以下では、申込書画像GMのうち、「申込番号」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL1と称し、「カナ氏名」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL2と称し、「氏名」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL3と称し、「郵便番号」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL4と称し、「住所」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL5と称し、「メール」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL6と称し、「電話番号」に係る記載欄に記載された申込内容を示す文字列画像GCLを、文字列画像GCL7と称する場合がある。 In this embodiment, as an example, it is assumed that the membership application form has a field for the "application number," a field for the "kana name," a field for the "name," a field for the "postal code," a field for the "address," a field for the "email," and a field for the "telephone number," as shown in Figure 2. In the following, in the application form image GM, the character string image GCL showing the application contents written in the field related to "application number" may be referred to as character string image GCL1, the character string image GCL showing the application contents written in the field related to "kana name" may be referred to as character string image GCL2, the character string image GCL showing the application contents written in the field related to "name" may be referred to as character string image GCL3, the character string image GCL showing the application contents written in the field related to "zip code" may be referred to as character string image GCL4, the character string image GCL showing the application contents written in the field related to "address" may be referred to as character string image GCL5, the character string image GCL showing the application contents written in the field related to "email" may be referred to as character string image GCL6, and the character string image GCL showing the application contents written in the field related to "telephone number" may be referred to as character string image GCL7.
なお、以下では、文字認識装置1が、図2に例示するフォーマットを有する申込書画像GMを、文字認識処理の対象とする場合を想定するが、本発明はこのような態様に限定されるものではない。本実施形態において、文字認識装置1は、任意のフォーマットを有する書類を、文字認識処理の対象とすることができる。また、以下では、記載欄に記載された申込内容が、手書きされた文字である手書文字により記載される場合を想定するが、本発明はこのような態様に限定されるものではない。本実施形態において、記載欄に記載された複数の申込内容のうち、一部または全部が、活字により記載されていてもよい。
In the following, it is assumed that the
図3は、申込内容表示画像GHの一例を説明するための説明図である。 Figure 3 is an explanatory diagram illustrating an example of an application content display image GH.
図3に例示するように、申込内容表示画像GHは、申込書画像GMにおける複数の記載欄に1対1に対応する複数の項目名称と、申込書画像GMにおける複数の記載欄に1対1に対応する複数の文字列画像GCL(文字列画像GCL1~GCL7)と、申込書画像GMにおける複数の記載欄に1対1に対応する複数の認識文字列LMK(認識文字列LMK1~LMK7)と、を含む。 As shown in FIG. 3, the application content display image GH includes a plurality of item names that correspond one-to-one to a plurality of entry fields in the application form image GM, a plurality of character string images GCL (character string images GCL1 to GCL7) that correspond one-to-one to a plurality of entry fields in the application form image GM, and a plurality of recognition character strings LMK (recognition character strings LMK1 to LMK7) that correspond one-to-one to a plurality of entry fields in the application form image GM.
ここで、認識文字列LMKとは、文字認識装置1において、申込書画像GMに含まれる文字列画像GCLに対して実行された文字認識処理の結果に基づいて得られた文字列である。以下では、認識文字列LMKに含まれる複数の文字の各々を、表示文字RHと称する。すなわち、表示文字RHとは、文字認識装置1において、文字画像GCに対して実行された文字認識処理の結果に基づいて得られた文字である。
Here, the recognized character string LMK is a character string obtained based on the result of character recognition processing performed by the
また、図3に例示するように、申込内容表示画像GHは、注意喚起マークMKを含む場合がある。ここで、注意喚起マークMKとは、文字認識装置1において、文字画像GCに対して文字認識処理が実行され、当該文字認識処理の結果に基づいて表示文字RHが決定された場合に、文字認識装置1が、文字画像GCの示す文字と、表示文字RHとが異なる文字である可能性があると判断した場合に、申込内容表示画像GHにおいて表示する画像である。例えば、図3に示す例では、文字認識装置1が、文字列画像GCL5に含まれる文字画像GC1の示す文字と、認識文字列LMK5に含まれる表示文字RH1である「丈」とが、異なる文字である可能性があると判断したため、当該文字画像GC1及び表示文字RH1に対応する位置に、注意喚起マークMK1が表示される場合を例示している。また、図3に示す例では、文字認識装置1が、文字列画像GCL7に含まれる文字画像GC2の示す文字と、認識文字列LMK7に含まれる表示文字RH2である「7」とが、異なる文字である可能性があると判断したため、当該文字画像GC2及び表示文字RH2に対応する位置に、注意喚起マークMK2が表示される場合を例示している。
As shown in FIG. 3, the application content display image GH may include a warning mark MK. Here, the warning mark MK is an image that is displayed in the application content display image GH when the
また、図3に例示するように、申込内容表示画像GHは、修正ボタンSSBを含む。
ここで、修正ボタンSSBとは、端末装置3を操作するオペレータが、申込内容表示画像GHにおいて、文字画像GCと、当該文字画像GCに対応する表示文字RHとを比較し、表示文字RHが、文字画像GCの示す文字とは異なる文字であると判断した場合に、表示文字RHを修正可能な状態とするためのボタンである。
As shown in FIG. 3, the application content display image GH includes a correction button SSB.
Here, the correction button SSB is a button for making the displayed character RH modifiable when the operator operating the
図4は、修正ボタンSSBが押下された場合における、申込内容表示画像GHの一例を説明するための説明図である。 Figure 4 is an explanatory diagram showing an example of the application content display image GH when the edit button SSB is pressed.
図4に例示するように、申込内容表示画像GHにおいて、修正ボタンSSBが押下されると、端末装置3を操作するオペレータは、各認識文字列LMKを編集することができるようになる。具体的には、申込内容表示画像GHにおいて、修正ボタンSSBが押下された場合に、端末装置3を操作するオペレータは、端末装置3を操作するオペレータが選択した表示文字RHに対応する位置に、カーソルCSRを配置することで、当該表示文字RHを編集可能な状態にする。
As shown in FIG. 4, when the edit button SSB is pressed in the application content display image GH, the operator operating the
また、図4に例示するように、申込内容表示画像GHにおいて、修正ボタンSSBが押下され、端末装置3を操作するオペレータが、表示文字RHに対応する位置にカーソルCSRを配置し、当該表示文字RHを編集可能な状態とした場合に、当該表示文字RHに対応する修正候補文字RZが表示されたポップアップ画像PRZが、表示文字RHに対応する位置に表示される。ここで、修正候補文字RZとは、表示文字RHの修正候補となる文字である。より具体的には、修正候補文字RZとは、表示文字RHに対応する文字画像GCに対して文字認識処理を実行することで得られる複数の認識候補文字Rのうち、表示文字RHとは異なる認識候補文字Rである。ここで、認識候補文字Rとは、表示文字RHに対応する文字画像GCに対して文字認識処理を実行することで得られる、当該文字画像GCの示す文字の候補となる文字である。
そして、端末装置3を操作するオペレータは、ポップアップ画像PRZに表示された修正候補文字RZを選択することで、表示文字RHを修正候補文字RZに置き換えることができる。
Also, as shown in FIG. 4, when the correction button SSB is pressed in the application content display image GH, and the operator who operates the
Then, the operator operating the
なお、図4では、端末装置3を操作するオペレータが、認識文字列LMK5に含まれる表示文字RH1である「丈」に対して、カーソルCSRを配置し、当該表示文字RH1を編集可能な状態とした場合を例示している。そして、図4では、表示文字RH1である「丈」に対応して、修正候補文字RZ-1である「太」と、修正候補文字RZ-2である「大」と、修正候補文字RZ-3である「犬」と、が存在し、これらの修正候補文字RZ1~RZ3が表示されたポップアップ画像PRZが、表示文字RH1の近傍に表示される場合を例示している。そして、図4では、端末装置3を操作するオペレータは、ポップアップ画像PRZに表示された修正候補文字RZ1~RZ3の中から一の修正候補文字RZを選択することで、表示文字RH1を一の修正候補文字RZに修正することができる。例えば、図4において、端末装置3を操作するオペレータが、ポップアップ画像PRZに表示された、修正候補文字RZ-1(太)、修正候補文字RZ-2(大)、及び、修正候補文字RZ-3(犬)の中から、修正候補文字RZ-2である「大」を選択した場合、表示文字RH1は、「丈」から「大」に修正(変更)されることになる。
In addition, FIG. 4 illustrates a case where an operator operating the
また、図3及び図4に例示するように、申込内容表示画像GHは、確定ボタンKTBを含む。
ここで、確定ボタンKTBとは、申込内容表示画像GHに含まれる複数の認識文字列LMKを確定するためのボタンである。確定ボタンKTBが押下された場合、各認識文字列LMKに含まれる各表示文字RHが確定し、端末装置3を操作するオペレータが各表示文字RHを変更できない状態となる。これにより、文字認識システムSysは、申込書画像GMに含まれる文字の認識結果を、申込内容表示画像GHに表示される複数の表示文字RHであるとして確定する。
As shown in Figs. 3 and 4, the application content display image GH includes a confirmation button KTB.
Here, the Confirm button KTB is a button for confirming the multiple recognized character strings LMK included in the application content display image GH. When the Confirm button KTB is pressed, each display character RH included in each recognized character string LMK is confirmed, and the operator operating the
なお、本実施形態では、表示部31において申込内容表示画像GHが表示された状態で修正ボタンSSBが押下された場合に限り、端末装置3を操作するオペレータが各認識文字列LMKを編集可能となる態様を例示しているが、本発明はこのような態様に限定されるものではない。例えば、端末装置3を操作するオペレータは、表示部31において申込内容表示画像GHが表示された時点で、認識文字列LMKを編集可能であってもよい。この場合、申込内容表示画像GHは、修正ボタンSSBを含まなくてもよい。
In this embodiment, an example is given of an aspect in which the operator operating the
<2.文字認識装置の機能>
以下、図5乃至図8を参照しつつ、文字認識装置1の機能について説明する。
2. Functions of the character recognition device
The functions of the
図5は、文字認識装置1の構成の一例を示す機能ブロック図である。
Figure 5 is a functional block diagram showing an example of the configuration of the
図5に例示するように、文字認識装置1は、文字認識装置1の各部を制御する制御部11と、各種情報を記憶する記憶部12と、文字認識装置1の外部に存在する外部装置との間の通信を実行する通信部13と、を備える。
As illustrated in FIG. 5, the
図5に例示するように、制御部11は、画像情報取得部111と、文字領域特定部112と、記載内容認識部113と、認識結果決定部114と、表示情報生成部115と、操作受付部116と、学習実行部117と、を備える。
As illustrated in FIG. 5, the
画像情報取得部111は、端末装置3から画像情報JGを取得する。
文字領域特定部112は、画像情報取得部111の取得した画像情報JGの示す申込書画像GMにおいて、複数の申込内容記載領域AKを特定する。具体的には、文字領域特定部112は、例えば、記憶部12に記憶された申込書画像GMのレイアウトに関する情報(図示省略)に基づいて、申込書画像GMに含まれる複数の申込内容記載領域AKを特定する。
The image
The character
記載内容認識部113(「認識部」の一例)は、申込内容記載領域AKに表された文字列画像GCLに含まれる各文字画像GCに対して、文字認識処理を施すことで、当該文字画像GCの示す文字の認識結果として、1または複数の認識候補文字Rを特定する。 The description content recognition unit 113 (an example of a "recognition unit") performs character recognition processing on each character image GC contained in the character string image GCL displayed in the application content description area AK, thereby identifying one or more recognition candidate characters R as the recognition result of the character indicated by the character image GC.
具体的には、記載内容認識部113は、M個の文字認識部RG[1]~RG[M]を備える。ここで、値Mは、M≧2を満たす自然数である。なお、以下では、M個の文字認識部RG[1]~RG[M]のうち、m番目の文字認識部RGを、文字認識部RG[m]と称する場合がある。ここで、変数mは、1≦m≦Mを満たす自然数である。文字認識部RG[m]は、文字画像GCに対して文字認識処理を施すことで、当該文字画像GCの示す文字の認識結果として、1または複数の認識候補文字Rを特定することができる。
なお、文字認識部RG[m]による文字認識処理には、様々な方法を適用できるが、本実施形態では、一例として、光学文字認識(OCR:Optical character recognition)による方法を適用する場合を想定する。
Specifically, the written
Note that various methods can be applied to the character recognition process by the character recognition unit RG[m]. In this embodiment, however, as an example, it is assumed that a method based on optical character recognition (OCR) is applied.
また、本実施形態において、記載内容認識部113は、M個の文字認識部RG[1]~RG[M]の中から、W個の文字認識部RGを選択し、当該選択されたW個の文字認識部RGの各々に、文字認識処理を実行させる。ここで、Wは、2≦W≦Mを満たす自然数である。なお、本実施形態では、一例として、「W=2」である場合を想定する。そして、以下では、選択されたW個(=2個)の文字認識部RGを、文字認識部RG[m1]及び文字認識部RG[m2]と称する。ここで、変数m1は、1≦m1≦Mを満たす自然数であり、また、変数m2は、1≦m2≦Mを満たす自然数である。
In this embodiment, the written
認識結果決定部114(「決定部」の一例)は、記載内容認識部113が、文字画像GCの示す文字の認識結果として特定した、1または複数の認識候補文字Rの中から、一の認識候補文字Rを、表示文字RHとして決定する。
表示情報生成部115(「表示制御部部」の一例)は、認識結果決定部114により決定された表示文字RHを表す申込内容表示画像GHを、表示部31において表示させるための、表示情報JHを生成する。
The recognition result determination unit 114 (an example of a "determination unit") determines one of the one or more recognition candidate characters R identified by the
The display information generation unit 115 (an example of a “display control unit”) generates display information JH for displaying, on the
操作受付部116(「受付部」の一例)は、端末装置3を操作するオペレータによる、操作部32の操作内容を示す操作情報JSを受け付ける。
学習実行部117(「学習部」の一例)は、後述する学習モデルNN[m]に対して、文字画像GCと、当該文字画像GCの示す文字との関係を学習させる。
The operation reception unit 116 (an example of a “reception unit”) receives operation information J S indicating the operation content of the
The learning execution unit 117 (an example of a “learning unit”) causes a learning model N N [m], which will be described later, to learn the relationship between the character image G C and the character indicated by the character image G C .
図5に例示するように、記憶部12は、申込書情報JMと、アルゴリズム特性情報JRと、M個の文字認識部RG[1]~RG[M]と1対1に対応するM個の学習モデルNN[1]~NN[M]と、文字認識装置1の各部を制御するための制御プログラムPG1と、を記憶している。なお、記憶部12には、文字認識装置1が文字認識処理の対象とすることができる入会申込書等の書類が複数種類存在する場合には、当該複数種類の書類と1対1に対応する複数の申込書情報JMを記憶していることとする。なお、申込書情報JMについては、図7において後述する。また、アルゴリズム特性情報JRについては、図8において後述する。
As shown in FIG. 5, the
学習モデルNN[m]は、例えば、多層ニューラルネットワークであり、1または複数の種類の文字について、当該種類の文字を含む画像と、当該画像に含まれる文字との関係を学習した学習モデルである。
ここで、本実施形態では、説明の便宜上、画像の示す文字の種類が、漢字、ひらがな、カタカナ、アラビア数字(以下、単に「数字」と称する)、アルファベット、及び、記号の、6種類である場合を想定する。ここで、記号とは、例えば、ドット、カンマ、句点、読点、ハイフン、及び、演算記号を含む概念である。
The learning model N N [m] 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 that type or types of characters.
For ease of explanation, in this embodiment, it is assumed that the types of characters shown in the image are six types: kanji, hiragana, katakana, Arabic numerals (hereinafter simply referred to as "numerals"), alphabets, and symbols. Here, symbols are a concept including, for example, dots, commas, periods, commas, hyphens, and arithmetic symbols.
本実施形態において、文字認識部RG[m]は、学習モデルNN[m]を用いて、文字画像GCの示す文字を認識する。すなわち、本実施形態において、文字認識部RG[m]は、記憶部12に記憶された学習モデルNN[m]を用いることで、AI(Artificial Intelligence)-OCRによる文字認識処理を実行する。
また、本実施形態において、M個の文字認識部RGは、互いに異なるアルゴリズムを用いて、文字認識処理を実行する。すなわち、文字認識部RG[m1]が文字認識処理において用いるアルゴリズムと、文字認識部RG[m2]が文字認識処理において用いるアルゴリズムとは異なる。ここで、「アルゴリズムが異なる」とは、例えば、文字認識処理に用いられる学習モデルNNの種類(例えば、ニューラルネットワークの種類)が異なることであってもよいし、文字認識処理に用いられる学習モデルNNを学習させる際に用いるデータセットが異なることであってもよいし、または、これらの両方の概念を含むものであってもよい。
具体的には、本実施形態では、一例として、文字認識部RG[m1]が文字認識処理において用いる学習モデルNN[m1]を学習させる際に用いた画像に含まれる文字には、文字認識部RG[m2]が文字認識処理において用いる学習モデルNN[m2]を学習させる際に用いた画像に含まれる文字とは、異なる種類の文字が含まれる場合を想定する。この場合、文字認識部RG[m1]が文字認識処理において用いる学習モデルNN[m1]を学習させる際に用いた画像に含まれる文字には、文字認識部RG[m2]が文字認識処理において用いる学習モデルNN[m2]を学習させる際に用いた画像に含まれる文字と、同一の種類の文字が含まれていてもよい。また、本実施形態では、一例として、文字認識部RG[m1]が文字認識処理において用いる学習モデルNN[m1]を構成するニューラルネットワークと、文字認識部RG[m2]が文字認識処理において用いる学習モデルNN[m2]を構成するニューラルネットワークとが、異なる種類のニューラルネットワークである場合を想定する。但し、本発明はこのような態様に限定されるものではない。文字認識部RG[m1]が文字認識処理において用いる学習モデルNN[m1]を構成するニューラルネットワークと、文字認識部RG[m2]が文字認識処理において用いる学習モデルNN[m2]を構成するニューラルネットワークとは、同一の種類のニューラルネットワークであってもよい。
In this embodiment, the character recognition unit RG[m] uses the learning model N N[m] to recognize the character indicated by the character image G C. That is, in this embodiment, the character recognition unit RG[m] uses the learning model N N[m] stored in the
In addition, in this embodiment, the M character recognition units RG use different algorithms to perform the character recognition process. That is, the algorithm used by the character recognition unit RG[m1] in the character recognition process is different from the algorithm used by the character recognition unit RG[m2] in the character recognition process. Here, "different algorithms" may mean, for example, that the types of learning models N N used in the character recognition process (e.g., types of neural networks) are different, or that the data sets used when training the learning models N N used in the character recognition process are different, or may include both of these concepts.
Specifically, in this embodiment, as an example, it is assumed that the characters included in the image used when the character recognition unit RG[m1] trains the learning model NN[m1] used in the character recognition process include characters of a different type from the characters included in the image used when the character recognition unit RG[m2] trains the learning model NN[m2] used in the character recognition process. In this case, the characters included in the image used when the character recognition unit RG[m1] trains the learning model NN[m1] used in the character recognition process may include the same type of characters as the characters included in the image used when the character recognition unit RG[m2] trains the learning model NN[m2] used in the character recognition process. In addition, in this embodiment, as an example, it is assumed that the neural network constituting the learning model NN[m1] used in the character recognition process by the character recognition unit RG[m1] and the neural network constituting the learning model NN[m2] used in the character recognition process by the character recognition unit RG[m2] are different types of neural networks. However, the present invention is not limited to this embodiment. The neural network constituting the learning model N[m1] used by the character recognition unit RG[m1] in the character recognition process and the neural network constituting the learning model N[m2] used by the character recognition unit RG[m2] in the character recognition process may be the same type of neural network.
なお、本実施形態では、一例として、記憶部12が、M個の文字認識部RG[1]~RG[M]と1対1に対応するM個の学習モデルNN[1]~NN[M]を記憶している場合を想定するが、本発明はこのような態様に限定されるものではない。例えば、M個の文字認識部RG[1]~RG[M]のうちの、一部または全部は、ニューラルネットワークを用いずに文字認識処理を行う構成要素であってもよい。
In this embodiment, as an example, it is assumed that the
図6は、文字認識装置1のハードウェア構成の一例を示す構成図である。
Figure 6 is a configuration diagram showing an example of the hardware configuration of the
図6に例示するように、文字認識装置1は、文字認識装置1の各部を制御するプロセッサ1001と、各種情報を記憶する記憶装置1002と、文字認識装置1の外部に存在する外部装置との通信を行うための通信装置1003と、を備える。
As shown in FIG. 6, the
このうち、記憶装置1002は、プロセッサ1001の作業領域として機能するRAM(Random Access Memory)等の揮発性メモリと、制御プログラムPG1等の各種情報を記憶するEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリとの、一方または双方を含み、記憶部12としての機能を提供する。
また、プロセッサ1001は、例えば、1または複数のCPU(Central Processing Unit)を含んで構成される。プロセッサ1001は、記憶装置1002に記憶された制御プログラムPG1を実行し、当該制御プログラムPG1に従って動作することで、制御部11として機能する。なお、プロセッサ1001は、1または複数のCPUに加え、または、1または複数のCPUのうち一部または全部に替えて、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、または、FPGA(Field Programmable Gate Array)等の、ハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ1001により実現される制御部11の一部または全部は、DSP等のハードウェアにより実現されてもよい。
また、通信装置1003は、有線ネットワーク及び無線ネットワークの一方または双方を介して、文字認識装置1の外部に存在する外部装置との通信を行うためのハードウェアであり、通信部13としての機能を提供する。
Of these, the
The
The
図7は、申込書情報JMのデータ構成の一例を示す説明図である。ここで、申込書情報JMとは、申込書画像GMに含まれる複数の記載欄に関する情報である。 Figure 7 is an explanatory diagram showing an example of the data structure of application form information JM. Here, application form information JM is information regarding multiple fields included in the application form image GM.
図7に例示するように、申込書情報JMは、申込書画像GMの有する複数の記載欄と1対1に対応する複数のレコードを有する。申込書情報JMの各レコードは、項目IDと、項目名称と、文字種別情報JMMとを有する。 As shown in FIG. 7, the application form information JM has multiple records that correspond one-to-one to the multiple fields in the application form image GM. Each record in the application form information JM has an item ID, an item name, and character type information JMM.
このうち、項目IDとは、申込書画像GMの有する複数の記載欄の中から、各記載欄を識別するための情報である。
また、項目名称とは、申込書画像GMの有する各記載欄の項目名称記載領域AMに記載された名称である。
Of these, the item ID is information for identifying each entry field among the multiple entry fields contained in the application form image GM.
Further, the item name is the name written in the item name writing area AM of each entry field of the application form image GM.
また、文字種別情報JMMとは、申込書画像GMの有する各記載欄の申込内容記載領域AKに記載される可能性のある文字の種類に関する情報である。具体的には、本実施形態において、文字種別情報JMMは、申込内容記載領域AKに漢字が記載される可能性があるか否かを示す漢字使用有無情報JMM1と、申込内容記載領域AKにひらがなが記載される可能性があるか否かを示すひらがな使用有無情報JMM2と、申込内容記載領域AKにカタカナが記載される可能性があるか否かを示すカタカナ使用有無情報JMM3と、申込内容記載領域AKに数字が記載される可能性があるか否かを示す数字使用有無情報JMM4と、申込内容記載領域AKにアルファベットが記載される可能性があるか否かを示すアルファベット使用有無情報JMM5と、申込内容記載領域AKに記号が記載される可能性があるか否かを示す記号使用有無情報JMM6と、を含む。
例えば、図7において、漢字使用有無情報JMM1が「1」を示す場合、当該漢字使用有無情報JMM1に対応する記載欄に漢字が記載される可能性があることを示し、漢字使用有無情報JMM1が「0」を示す場合、当該漢字使用有無情報JMM1に対応する記載欄に漢字が記載される可能性がないことを示す。但し、漢字使用有無情報JMM1は、「1」または「0」の何れかを示す2値の情報ではなく、当該漢字使用有無情報JMM1に対応する記載欄に漢字が記載される可能性を、例えば、0以上1以下の実数で示す情報であってもよい。なお、ひらがな使用有無情報JMM2、カタカナ使用有無情報JMM3、数字使用有無情報JMM4、アルファベット使用有無情報JMM5、及び、記号使用有無情報JMM6についても、文字の種類が異なる点を除き、漢字使用有無情報JMM1と同様である。
Furthermore, the character type information JMM is information regarding the type of characters that may be entered in the application content entry area AK of each entry field of the application form image GM. Specifically, in this embodiment, the character type information JMM includes kanji use or not information JMM1 indicating whether kanji may be entered in the application content entry area AK, hiragana use or not information JMM2 indicating whether hiragana may be entered in the application content entry area AK, katakana use or not information JMM3 indicating whether katakana may be entered in the application content entry area AK, number use or not information JMM4 indicating whether numbers may be entered in the application content entry area AK, alphabet use or not information JMM5 indicating whether alphabets may be entered in the application content entry area AK, and symbol use or not information JMM6 indicating whether symbols may be entered in the application content entry area AK.
For example, in Fig. 7, when the kanji usage information JMM1 indicates "1", it indicates that there is a possibility that a kanji will be written in the entry field corresponding to the kanji usage information JMM1, and when the kanji usage information JMM1 indicates "0", it indicates that there is no possibility that a kanji will be written in the entry field corresponding to the kanji usage information JMM1. However, the kanji usage information JMM1 is not limited to binary information indicating either "1" or "0", but may be information indicating the possibility that a kanji will be written in the entry field corresponding to the kanji usage information JMM1, for example, with a real number between 0 and 1. Note that the hiragana usage information JMM2, the katakana usage information JMM3, the number usage information JMM4, the alphabet usage information JMM5, and the symbol usage information JMM6 are similar to the kanji usage information JMM1, except that the types of characters are different.
図8は、アルゴリズム特性情報JRのデータ構成の一例を示す説明図である。ここで、アルゴリズム特性情報JRとは、文字認識部RGが文字認識処理において用いるアルゴリズムの特性を示す情報である。 Figure 8 is an explanatory diagram showing an example of the data structure of algorithm property information JR. Here, algorithm property information JR is information that indicates the properties of the algorithm used by the character recognition unit RG in the character recognition process.
図8に例示するように、アルゴリズム特性情報JRは、M個の文字認識部RG[1]~RG[M]と1対1に対応するM個のレコードを有する。アルゴリズム特性情報JRの各レコードは、アルゴリズムIDと、学習有無情報と、学習モデル情報と、有効文字種別情報JRMとを有する。 As shown in FIG. 8, the algorithm property information JR has M records that correspond one-to-one to the M character recognition units RG[1] to RG[M]. Each record in the algorithm property information JR has an algorithm ID, learning presence/absence information, learning model information, and valid character type information JRM.
このうち、アルゴリズムIDとは、記載内容認識部113において使用される可能性のある複数のアルゴリズムの中から、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムを識別するための情報である。
また、学習有無情報とは、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、ニューラルネットワークを用いたアルゴリズムであるか否かを示す情報である。
また、学習モデル情報とは、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、ニューラルネットワークを用いたアルゴリズムである場合に、当該ニューラルネットワークにより構成される学習モデルNN[m]を示す情報である。つまり、学習モデル情報とは、記憶部12に記憶された複数の学習モデルNNの中から、文字認識部RG[m]により使用される学習モデルNN[m]を特定するための情報である。
Of these, the algorithm ID is information for identifying the algorithm that the character recognition unit RG[m] uses when performing character recognition processing from among multiple algorithms that may be used in the written
The learning information is information indicating whether or not the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm that uses a neural network.
Furthermore, the learning model information is information indicating the learning model N[m] configured by a neural network when the algorithm used by the character recognition unit R[m] when performing character recognition processing is an algorithm using a neural network. In other words, the learning model information is information for identifying the learning model N[m] to be used by the character recognition unit R[m] from among the multiple learning models N stored in the
また、有効文字種別情報JRMとは、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、認識可能な文字の種類を示す情報である。具体的には、本実施形態において、有効文字種別情報JRMは、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、漢字の認識に適したアルゴリズムであるか否かを示す漢字対応有無情報JRM1と、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、ひらがなの認識に適したアルゴリズムであるか否かを示すひらがな対応有無情報JRM2と、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、カタカナの認識に適したアルゴリズムであるか否かを示すカタカナ対応有無情報JRM3と、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、数字の認識に適したアルゴリズムであるか否かを示す数字対応有無情報JRM4と、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、アルファベットの認識に適したアルゴリズムであるか否かを示すアルファベット対応有無情報JRM5と、文字認識部RG[m]が文字認識処理を行う際に使用するアルゴリズムが、記号の認識に適したアルゴリズムであるか否かを示す記号対応有無情報JRM6と、を含む。
例えば、図8において、漢字対応有無情報JRM1が「1」を示す場合、当該漢字対応有無情報JRM1に対応する文字認識部RGが文字認識処理において使用するアルゴリズムが、漢字の認識に適したアルゴリズムであることを示し、漢字対応有無情報JRM1が「0」を示す場合、当該漢字対応有無情報JRM1に対応する文字認識部RGが文字認識処理において使用するアルゴリズムが、漢字の認識に適さないアルゴリズムであることを示す。但し、漢字対応有無情報JRM1は、「1」または「0」の何れかを示す2値の情報ではなく、当該漢字対応有無情報JRM1に対応する文字認識部RGが文字認識処理において使用するアルゴリズムを、漢字の認識に使用することの適切さの程度を、0以上1以下の実数で示す情報であってもよい。なお、ひらがな対応有無情報JRM2、カタカナ対応有無情報JRM3、数字対応有無情報JRM4、アルファベット対応有無情報JRM5、及び、記号対応有無情報JRM6についても、文字の種類が異なる点を除き、漢字対応有無情報JRM1と同様である。
The valid character type information JRM is information that indicates the type of characters that can be recognized by the algorithm used when the character recognition unit RG[m] performs character recognition processing. Specifically, in this embodiment, the valid character type information JRM includes kanji correspondence presence/absence information JRM1 indicating whether the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm suitable for recognizing kanji, hiragana correspondence presence/absence information JRM2 indicating whether the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm suitable for recognizing hiragana, katakana correspondence presence/absence information JRM3 indicating whether the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm suitable for recognizing katakana, number correspondence presence/absence information JRM4 indicating whether the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm suitable for recognizing numbers, alphabet correspondence presence/absence information JRM5 indicating whether the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm suitable for recognizing the alphabet, and symbol correspondence presence/absence information JRM6 indicating whether the algorithm used by the character recognition unit RG[m] when performing character recognition processing is an algorithm suitable for recognizing symbols.
8, when the kanji support presence/absence information JRM1 indicates "1", it indicates that the algorithm used in the character recognition process by the character recognition unit RG corresponding to the kanji support presence/absence information JRM1 is an algorithm suitable for recognizing kanji, and when the kanji support presence/absence information JRM1 indicates "0", it indicates that the algorithm used in the character recognition process by the character recognition unit RG corresponding to the kanji support presence/absence information JRM1 is an algorithm not suitable for recognizing kanji. However, the kanji support presence/absence information JRM1 is not binary information indicating either "1" or "0", but may be information indicating the degree of suitability of the algorithm used in the character recognition process by the character recognition unit RG corresponding to the kanji support presence/absence information JRM1 for use in recognizing kanji, using a real number between 0 and 1. Hiragana support information JRM2, katakana support information JRM3, number support information JRM4, alphabet support information JRM5, and symbol support information JRM6 are similar to kanji support information JRM1, except for the types of characters.
<3.文字認識装置の動作>
以下、図9乃至図12を参照しつつ、文字認識装置1の動作について説明する。
3. Operation of the character recognition device
The operation of the
<3.1.申込内容表示処理>
図9及び図10は、文字認識装置1が、申込書画像GMを示す画像情報JGに基づいて、申込内容表示画像GHを示す表示情報JHを生成する処理(以下、「申込内容表示処理」と称する)を実行する場合の、文字認識装置1の動作の一例を示すフローチャートである。
<3.1. Application content display process>
Figures 9 and 10 are flowcharts showing an example of the operation of the
図9に例示するように、申込内容表示処理が開始されると、画像情報取得部111は、端末装置3から供給される画像情報JGを取得する(S101)。
次に、文字領域特定部112は、ステップS101において画像情報取得部111が取得した画像情報JGの示す申込書画像GMにおいて、複数の申込内容記載領域AKを特定する(S103)。
そして、文字領域特定部112は、ステップS103において特定した複数の申込内容記載領域AKの中から、1つの申込内容記載領域AKを選択する(S105)。なお、ステップS105において、文字領域特定部112は、複数の申込内容記載領域AKのうち、申込内容表示処理が開始されてから未選択の申込内容記載領域AKを選択する。
As shown in FIG. 9, when the application content display process is started, the image
Next, the character
Then, the character
図9に例示するように、記載内容認識部113は、ステップS105で選択された申込内容記載領域AKに表された文字列画像GCLに対して文字認識処理を行うための、W個の文字認識部RGを選択する(S107)。
本実施形態において、記載内容認識部113は、ステップS107において、申込内容記載領域AKに対応する文字種別情報JMMと、アルゴリズム特性情報JRとに基づいて、M個の文字認識部RG[1]~RG[M]の中から、文字認識部RG[m1]及び文字認識部RG[m2]を選択する。具体的には、記載内容認識部113は、ステップS107において、申込内容記載領域AKに対応する文字種別情報JMMと、各文字認識部RGに対応する有効文字種別情報JRMとの類似度に基づいて、M個の文字認識部RG[1]~RG[M]の中から、文字認識部RG[m1]及び文字認識部RG[m2]を選択する。より具体的には、記載内容認識部113は、ステップS107において、文字認識部RG[1]~RG[M]のうち、申込内容記載領域AKに対応する文字種別情報JMMと、各文字認識部RGに対応する有効文字種別情報JRMとの類似度が、他と比べて高くなる2つの文字認識部RGを、文字認識部RG[m1]及び文字認識部RG[m2]として選択する。
ここで、文字種別情報JMMと有効文字種別情報JRMとの類似度として、例えば、文字種別情報JMMに含まれる複数の情報(JMM1~JMM6)の各々を要素とするベクトルVMと、有効文字種別情報JRMに含まれる複数の情報(JRM1~JRM6)の各々を要素とするベクトルVRとの内積を採用してもよい。より具体的には、ベクトルVMを、VM=(JMM1,JMM2,JMM3,JMM4,JMM5,JMM6)とし、ベクトルVRを、VR=(JRM1,JRM2,JRM3,JRM4,JRM5,JRM6)としたときの、ベクトルVMとベクトルVRとの内積(JMM1*JRM1+JMM2*JRM2+JMM3*JRM3+JMM4*JRM4+JMM5*JRM5+JMM6*JRM6)を、文字種別情報JMMと有効文字種別情報JRMとの類似度として採用してもよい。
As illustrated in FIG. 9, the description
In this embodiment, in step S107, the description
Here, as the similarity between the character type information JMM and the valid character type information JRM, for example, the inner product of a vector VM having each of the pieces of information (JMM1 to JMM6) included in the character type information JMM as its elements and a vector VR having each of the pieces of information (JRM1 to JRM6) included in the valid character type information JRM as its elements may be used. More specifically, when the vector VM is set as VM=(JMM1, JMM2, JMM3, JMM4, JMM5, JMM6) and the vector VR is set as VR=(JRM1, JRM2, JRM3, JRM4, JRM5, JRM6), the inner product of the vector VM and the vector VR (JMM1*JRM1+JMM2*JRM2+JMM3*JRM3+JMM4*JRM4+JMM5*JRM5+JMM6*JRM6) may be used as the similarity between the character type information JMM and the valid character type information JRM.
図9に例示するように、文字認識部RG[m1]及び文字認識部RG[m2]の各々は、ステップS105で選択された申込内容記載領域AKに表された文字列画像GCLを、複数の文字画像GCに区分する(S109)。
そして、文字認識部RG[m1]及び文字認識部RG[m2]の各々は、ステップS109において区分された複数の文字画像GCの中から、1つの文字画像GCを選択する(S111)。
次に、文字認識部RG[m1]及び文字認識部RG[m2]の各々は、ステップS111において選択された文字画像GCに対して、文字認識処理を実行する(S113)。
その後、図10に例示するように、認識結果決定部114は、ステップS113における文字認識処理の結果に基づいて、表示文字RHを決定する(S115)。なお、以下では、認識結果決定部114により表示文字RHを決定する処理を、表示文字決定処理と称する。
As illustrated in FIG. 9, each of the character recognition units RG[m1] and RG[m2] divides the character string image GCL displayed in the application content entry area AK selected in step S105 into a plurality of character images GC (S109).
Then, each of the character recognition units RG[m1] and RG[m2] selects one character image GC from the multiple character images GC classified in step S109 (S111).
Next, each of the character recognition units RG[m1] and RG[m2] executes character recognition processing on the character image GC selected in step S111 (S113).
10, the recognition
図11は、ステップS113において文字認識部RG[m1]及び文字認識部RG[m2]が行う文字認識処理と、ステップS115において認識結果決定部114が行う表示文字決定処理とを、説明するための説明図である。
Figure 11 is an explanatory diagram for explaining the character recognition process performed by the character recognition unit RG[m1] and the character recognition unit RG[m2] in step S113, and the display character determination process performed by the recognition
図11に例示するように、文字認識部RG[m1]は、文字画像GCに対して文字認識処理を施すことで、Q1個の認識候補文字R[m1][1]~R[m1][Q1]を特定する。ここで、値Q1は、Q1≧1を満たす自然数である。以下では、Q1個の認識候補文字R[m1][1]~R[m1][Q1]のうち、q1番目の認識候補文字Rを、認識候補文字R[m1][q1]と称する。ここで、変数q1は、1≦q1≦Q1を満たす自然数である。
また、文字認識部RG[m1]は、認識候補文字R[m1][q1]に対応する認識確度D[m1][q1]を算出する。ここで、認識確度D[m1][q1]とは、文字認識部RG[m1]が、文字画像GCに対して文字認識処理を行った場合に、文字画像GCに表された文字の認識結果の確からしさを示す指標値である。本実施形態では、認識確度が高いほど、認識結果が確からしいものとする。また、本実施形態において、Q1個の認識候補文字R[m1][1]~R[m1][Q1]は、当該Q1個の認識候補文字R[m1][1]~R[m1][Q1]と1対1に対応するQ1個の認識確度D[m1][1]~D[m1][Q1]が、「D[m1][1]≧D[m1][2]≧…≧D[m1][Q1]」という関係を満たすように、定められることとする。すなわち、認識候補文字R[m1][1]は、文字認識部RG[m1]が特定したQ1個の認識候補文字R[m1][1]~R[m1][Q1]の中で、認識確度が最も高い認識候補文字Rである。
なお、本実施形態において、文字認識部RG[m1]が行う文字認識処理は、「第1の文字認識処理」の一例であり、文字認識部RG[m1]により特定された認識確度が最も高い認識候補文字R[m1][1]は、「第1文字」の一例であり、文字認識部RG[m1]が文字認識処理において用いる学習モデルNN[m1]は、「第1の学習モデル」の一例である。
As shown in Fig. 11, the character recognition unit RG[m1] performs character recognition processing on the character image GC to identify Q1 recognition candidate characters R[m1][1] to R[m1][Q1]. Here, the value Q1 is a natural number that satisfies Q1 ≥ 1. Hereinafter, the q1th recognition candidate character R among the Q1 recognition candidate characters R[m1][1] to R[m1][Q1] is referred to as the recognition candidate character R[m1][q1]. Here, the variable q1 is a natural number that satisfies 1 ≤ q1 ≤ Q1.
The character recognition unit RG[m1] also calculates a recognition accuracy D[m1][q1] corresponding to the recognition candidate character R[m1][q1]. Here, the recognition accuracy D[m1][q1] is an index value indicating the likelihood of the recognition result of the character represented in the character image GC when the character recognition unit RG[m1] performs character recognition processing on the character image GC. In this embodiment, the higher the recognition accuracy, the more likely the recognition result is. In this embodiment, the Q1 recognition candidate characters R[m1][1] to R[m1][Q1] are determined such that the Q1 recognition accuracy D[m1][1] to D[m1][Q1] that correspond one-to-one to the Q1 recognition candidate characters R[m1][1] to R[m1][Q1] satisfy the relationship "D[m1][1] ≧ D[m1][2] ≧ ... ≧ D[m1][Q1]". That is, the recognition candidate character R[m1][1] is the recognition candidate character R with the highest recognition accuracy among the Q1 recognition candidate characters R[m1][1] to R[m1][Q1] identified by the character recognition unit RG[m1].
In this embodiment, the character recognition process performed by the character recognition unit RG[m1] is an example of a "first character recognition process", the recognition candidate character R[m1][1] with the highest recognition accuracy identified by the character recognition unit RG[m1] is an example of a "first character", and the learning model N N[m1] used in the character recognition process by the character recognition unit RG[m1] is an example of a "first learning model".
図11に例示するように、文字認識部RG[m2]は、文字画像GCに対して文字認識処理を施すことで、Q2個の認識候補文字R[m2][1]~R[m2][Q2]を特定する。ここで、値Q2は、Q2≧1を満たす自然数である。以下では、Q2個の認識候補文字R[m2][1]~R[m2][Q2]のうち、q2番目の認識候補文字Rを、認識候補文字R[m2][q2]と称する。ここで、変数q2は、1≦q2≦Q2を満たす自然数である。
また、文字認識部RG[m2]は、認識候補文字R[m2][q2]に対応する認識確度D[m2][q2]を算出する。ここで、認識確度D[m2][q2]とは、文字認識部RG[m2]が、文字画像GCに対して文字認識処理を行った場合に、文字画像GCに表された文字の認識結果の確からしさを示す指標値である。また、本実施形態において、Q2個の認識候補文字R[m2][1]~R[m2][Q2]は、当該Q2個の認識候補文字R[m2][1]~R[m2][Q2]と1対1に対応するQ2個の認識確度D[m2][1]~D[m2][Q2]が、「D[m2][1]≧D[m2][2]≧…≧D[m2][Q2]」という関係を満たすように、定められることとする。すなわち、認識候補文字R[m2][1]は、文字認識部RG[m2]が特定したQ2個の認識候補文字R[m2][1]~R[m2][Q2]の中で、認識確度が最も高い認識候補文字Rである。
なお、本実施形態において、文字認識部RG[m2]が行う文字認識処理は、「第2の文字認識処理」の一例であり、文字認識部RG[m2]により特定された認識確度が最も高い認識候補文字R[m2][1]は、「第2文字」の一例である。
As shown in Fig. 11, the character recognition unit RG[m2] performs character recognition processing on the character image GC to identify Q2 recognition candidate characters R[m2][1] to R[m2][Q2]. Here, the value Q2 is a natural number that satisfies Q2 ≥ 1. Hereinafter, the q2th recognition candidate character R among the Q2 recognition candidate characters R[m2][1] to R[m2][Q2] is referred to as the recognition candidate character R[m2][q2]. Here, the variable q2 is a natural number that satisfies 1 ≤ q2 ≤ Q2.
The character recognition unit RG[m2] also calculates a recognition accuracy D[m2][q2] corresponding to the recognition candidate character R[m2][q2]. Here, the recognition accuracy D[m2][q2] is an index value indicating the likelihood of the recognition result of the character represented in the character image GC when the character recognition unit RG[m2] performs character recognition processing on the character image GC. In this embodiment, the Q2 recognition candidate characters R[m2][1] to R[m2][Q2] are determined such that the Q2 recognition accuracy D[m2][1] to D[m2][Q2] that correspond one-to-one to the Q2 recognition candidate characters R[m2][1] to R[m2][Q2] satisfy the relationship "D[m2][1] ≧ D[m2][2] ≧ ... ≧ D[m2][Q2]". That is, the recognition candidate character R[m2][1] is the recognition candidate character R with the highest recognition accuracy among the Q2 recognition candidate characters R[m2][1] to R[m2][Q2] identified by the character recognition unit RG[m2].
In this embodiment, the character recognition process performed by the character recognition unit RG[m2] is an example of a "second character recognition process", and the recognition candidate character R[m2][1] with the highest recognition accuracy identified by the character recognition unit RG[m2] is an example of a "second character".
図11に例示するように、認識結果決定部114は、文字認識部RG[m1]による文字認識処理の結果として特定されたQ1個の認識候補文字R[m1][1]~R[m1][Q1]の中で、認識確度が最も高い認識候補文字R[m1][1]と、文字認識部RG[m2]による文字認識処理の結果として特定されたQ2個の認識候補文字R[m2][1]~R[m2][Q2]の中で、認識確度が最も高い認識候補文字R[m2][1]と、に基づいて、表示文字RHを決定する処理である、表示文字決定処理を実行する。
具体的には、表示文字決定処理において、認識結果決定部114は、認識候補文字R[m1][1]と、認識候補文字R[m2][1]とが、同一の文字である場合、これら、認識候補文字R[m1][1]及び認識候補文字R[m2][1]を、確定認識文字RX(「確定文字」の一例)として決定する。また、認識結果決定部114は、認識候補文字R[m1][1]と、認識候補文字R[m2][1]とが、異なる文字である場合であって、認識確度D[m1][1]及び認識確度D[m2][1]が、D[m1][1]>D[m2][1]を満たす場合には、認識候補文字R[m1][1]を、有力認識文字RY(「候補文字」の一例)として決定する。また、認識結果決定部114は、認識候補文字R[m1][1]と、認識候補文字R[m2][1]とが、異なる文字である場合であって、認識確度D[m1][1]及び認識確度D[m2][1]が、D[m2][1]≧D[m1][1]を満たす場合には、認識候補文字R[m2][1]を、有力認識文字RY(「候補文字」の他の例)として決定する。そして、認識結果決定部114は、確定認識文字RXまたは有力認識文字RYを、表示文字RHとして決定する。
As illustrated in FIG. 11 , the recognition
Specifically, in the display character determination process, if the recognition candidate character R[m1][1] and the recognition candidate character R[m2][1] are the same character, the recognition
なお、図11では、文字認識部RG[m1]による文字認識処理の結果として特定されたQ1個の認識候補文字R[m1][1]~R[m1][Q1]のうち、認識候補文字R[m1][1]が「丈」であり、認識確度D[m1][1]が「98%」であり、認識候補文字R[m1][2]が「大」であり、認識確度D[m1][2]が「85%」であり、認識候補文字R[m1][Q1]が「炎」であり、認識確度D[m1][1]が「25%」である場合を例示している。また、図11では、文字認識部RG[m2]による文字認識処理の結果として特定されたQ2個の認識候補文字R[m2][1]~R[m2][Q2]のうち、認識候補文字R[m2][1]が「太」であり、認識確度D[m2][1]が「92%」であり、認識候補文字R[m2][2]が「犬」であり、認識確度D[m2][2]が「80%」であり、認識候補文字R[m2][Q2]が「人」であり、認識確度D[m2][Q2]が「45%」である場合を例示している。この結果、図11に示す例では、認識候補文字R[m1][1]である「丈」と、認識候補文字R[m2][1]である「太」とが、異なる文字であるため、認識結果決定部114は、表示文字決定処理において、確定認識文字RXは存在しない旨の決定をしている。また、図11に示す例では、認識候補文字R[m1][1]である「丈」に対応する認識確度D[m1][1]が「98%」であり、認識候補文字R[m2][1]である「太」に対応する認識確度D[m2][1]の「92%」よりも大きいため、認識結果決定部114は、表示文字決定処理において、認識候補文字R[m1][1]である「丈」を、有力認識文字RYとして決定している。そして、図11に示す例では、確定認識文字RXが存在せず、認識候補文字R[m1][1]である「丈」が有力認識文字RYとして決定されたため、認識結果決定部114は、表示文字決定処理において、当該有力認識文字RYとして決定された認識候補文字R[m1][1]である「丈」を、表示文字RHとして決定している。
In addition, FIG. 11 illustrates an example in which, of the Q1 recognition candidate characters R[m1][1] to R[m1][Q1] identified as a result of the character recognition process by the character recognition unit RG[m1], the recognition candidate character R[m1][1] is "丈" and has a recognition accuracy D[m1][1] of "98%", the recognition candidate character R[m1][2] is "大" and has a recognition accuracy D[m1][2] of "85%", and the recognition candidate character R[m1][Q1] is "燃" and has a recognition accuracy D[m1][1] of "25%". 11 illustrates an example in which, among the Q2 recognition candidate characters R[m2][1] to R[m2][Q2] identified as a result of the character recognition process by the character recognition unit RG[m2], the recognition candidate character R[m2][1] is “bold” and the recognition accuracy D[m2][1] is “92%”, the recognition candidate character R[m2][2] is “dog” and the recognition accuracy D[m2][2] is “80%”, and the recognition candidate character R[m2][Q2] is “person” and the recognition accuracy D[m2][Q2] is “45%”. As a result, in the example illustrated in FIG. 11, the recognition candidate character R[m1][1] “jo” and the recognition candidate character R[m2][1] “bold” are different characters, so the recognition
説明を、図10に戻す。
図10に例示するように、記載内容認識部113は、ステップS109において文字列画像GCLから区分された複数の文字画像GCの全てについて、ステップS113の文字認識処理と、ステップS115の表示文字決定処理とが、完了したか否かを判定する(S117)。
ステップS117における判定の結果が否定の場合、記載内容認識部113は、処理をステップS111に進める。
Returning to the explanation of FIG.
As illustrated in FIG. 10, the
If the result of the determination in step S117 is negative, the description
図10に例示するように、ステップS117における判定の結果が肯定の場合、文字領域特定部112は、ステップS103において特定された複数の申込内容記載領域AKの全てについて、ステップS113の文字認識処理と、ステップS115の表示文字決定処理とが、完了したか否かを判定する(S119)。
ステップS119における判定の結果が否定の場合、記載内容認識部113は、処理をステップS105に進める。
As illustrated in FIG. 10, if the result of the judgment in step S117 is positive, the character
If the result of the determination in step S119 is negative, the description
図10に例示するように、ステップS119における判定の結果が肯定の場合、表示情報生成部115は、表示文字RHを含む申込内容表示画像GHを示す表示情報JHを生成する(S121)。
具体的には、ステップS121において、表示情報生成部115は、表示文字決定処理において有力認識文字RYであると決定された認識候補文字Rに対応する表示文字RHと、表示文字決定処理において確定認識文字RXであると決定された認識候補文字Rに対応する表示文字RHとが、申込内容表示画像GHにおいて異なる態様で表示されるように、表示情報JHを生成する。より具体的には、表示情報生成部115は、ステップS121において、表示文字RHが、表示文字決定処理において有力認識文字RYであると決定された認識候補文字Rである場合には、申込内容表示画像GHにおいて、当該表示文字RHに対応する位置に注意喚起マークMKが配置されるように、表示情報JHを生成する。
なお、図3に例示する申込内容表示画像GHでは、認識文字列LMK1~LMK7に含まれる複数の表示文字RHのうち、認識文字列LMK5に含まれる表示文字RH1である「丈」と、認識文字列LMK7に含まれる表示文字RH2である「7」とが、有力認識文字RYとして決定された認識候補文字Rに対応し、表示文字RH1及びRH2以外の表示文字RHが、確定認識文字RXとして決定された認識候補文字Rに対応する。このため、図3に例示する申込内容表示画像GHでは、表示文字RH1に対応する位置に注意喚起マークMK1が表示され、表示文字RH2に対応する位置に注意喚起マークMK2が表示される。
As illustrated in FIG. 10, if the result of the determination in step S119 is positive, the display
Specifically, in step S121, the display
In the application content display image GH illustrated in Fig. 3, among the multiple display characters RH included in the recognition character strings LMK1 to LMK7, the display character RH1 "丈" included in the recognition character string LMK5 and the display character RH2 "7" included in the recognition character string LMK7 correspond to the recognition candidate character R determined as the likely recognition character RY, and the display characters RH other than the display characters RH1 and RH2 correspond to the recognition candidate character R determined as the confirmed recognition character RX. For this reason, in the application content display image GH illustrated in Fig. 3, the attention calling mark MK1 is displayed at a position corresponding to the display character RH1, and the attention calling mark MK2 is displayed at a position corresponding to the display character RH2.
なお、制御部11は、ステップS121の処理が完了した場合に、図9及び図10に示す申込内容表示処理を終了させる。
When the processing of step S121 is completed, the
以上のように、本実施形態によれば、表示情報生成部115は、有力認識文字RYに対応する表示文字RHと、確定認識文字RXに対応する表示文字RHとが、異なる態様で表示された申込内容表示画像GHを示す表示情報JHを生成する。具体的には、本実施形態によれば、表示情報生成部115は、有力認識文字RYに対応する表示文字RHが、確定認識文字RXに対応する表示文字RHと比較して、注意喚起マークMKにより強調されて表示された申込内容表示画像GHを示す表示情報JHを生成する。このため、本実施形態によれば、文字画像GCの示す文字と、表示文字RHとが異なる文字である可能性が高い場合に、低い場合と比較して、申込内容表示画像GHにおいて、当該表示文字RHを強調することが可能となる。よって、本実施形態によれば、有力認識文字RYに対応する表示文字RHと、確定認識文字RXに対応する表示文字RHとが、同一の態様で表示される場合と比較して、端末装置3を操作するオペレータが、文字画像GCの示す文字と表示文字RHとが異なる文字であることを見落とす可能性を低減することができる。
As described above, according to this embodiment, the display
また、本実施形態によれば、記載内容認識部113は、M個の文字認識部RG[1]~RG[M]の中から、文字列画像GCLに対する文字認識処理に適した文字認識部RG[m1]及び文字認識部RG[m2]を選択し、当該2個の文字認識部RG[m1]及び文字認識部RG[m2]により文字認識処理を実行する。上述のとおり、文字認識部RG[m1]が文字認識処理において用いる学習モデルNN[m1]と、文字認識部RG[m2]が文字認識処理において用いる学習モデルNN[m2]とは、異なる。よって、本実施形態において、文字認識部RG[m1]による文字認識処理の結果と、文字認識部RG[m2]による文字認識処理の結果とが、一致する場合における、文字認識装置1による文字画像GCの文字認識の確度は、文字認識部RG[m1]による文字認識処理の結果と、文字認識部RG[m2]による文字認識処理の結果とが、相違する場合における、文字認識装置1による文字画像GCの文字認識の確度よりも高い。すなわち、本実施形態において、文字認識部RG[m1]による文字認識処理の結果と、文字認識部RG[m2]による文字認識処理の結果とが、一致する場合には、文字認識装置1による文字画像GCの文字認識の確度が相対的に高いことが推定される一方、文字認識部RG[m1]による文字認識処理の結果と、文字認識部RG[m2]による文字認識処理の結果とが、相違する場合には、文字認識装置1による文字画像GCの文字認識の確度が相対的に低いことが推定される。そして、本実施形態では、文字認識部RG[m1]による文字認識処理の結果と、文字認識部RG[m2]による文字認識処理の結果とが、相違する場合において、当該文字認識処理の結果に係る表示文字RHを、注意喚起マークMKにより強調表示する。このため、本実施形態によれば、端末装置3を操作するオペレータが、文字認識装置1による文字認識の確度が相対的に低い表示文字RHを、容易に視認することができる。
また、本実施形態において、文字認識部RG[m1]及び文字認識部RG[m2]の、2個の文字認識部RGを用いて文字認識処理を行った場合であって、文字認識部RG[m1]による文字認識処理の結果と、文字認識部RG[m2]による文字認識処理の結果とが、一致する場合における、文字画像GCの文字認識の確度は、少なくとも、文字認識部RG[m1]及び文字認識部RG[m2]のうち、一方の文字認識部RGを用いて文字認識処理を行った場合における、文字画像GCの文字認識の確度以上となる。すなわち、本実施形態において、文字認識部RG[m1]及び文字認識部RG[m2]の、2個の文字認識部RGを用いて文字認識処理を行った場合において、確定認識文字RXとして認識された文字画像GCの文字認識の確度は、文字認識部RG[m1]及び文字認識部RG[m2]のうち、一方の文字認識部RGを用いて文字認識処理を行った場合における、文字画像GCの文字認識の確度以上となる。このため、本実施形態によれば、1個の文字認識部RGにより文字認識部RGを実行する場合と比較して、文字画像GCの示す文字と、注意喚起マークMKの付されていない確定認識文字RXとして決定された表示文字RHとが異なる文字となる可能性を低減することができる。
Furthermore, according to this embodiment, the written
Furthermore, in this embodiment, when character recognition processing is performed using two character recognition units RG, character recognition unit RG[m1] and character recognition unit RG[m2], and the result of the character recognition processing by character recognition unit RG[m1] matches the result of the character recognition processing by character recognition unit RG[m2], the accuracy of character recognition of the character image GC is at least equal to or greater than the accuracy of character recognition of the character image GC when character recognition processing is performed using one of character recognition units RG[m1] and RG[m2]. That is, in this embodiment, when character recognition processing is performed using two character recognition units RG, RG[m1] and RG[m2], the accuracy of character recognition of the character image GC recognized as the confirmed recognized character RX is equal to or higher than the accuracy of character recognition of the character image GC when character recognition processing is performed using one of the character recognition units RG[m1] and RG[m2]. Therefore, according to this embodiment, it is possible to reduce the possibility that the character indicated by the character image GC and the display character RH determined as the confirmed recognized character RX without the attention mark MK are different characters, compared to the case where the character recognition unit RG is executed using one character recognition unit RG.
<3.2.文字修正処理>
図12は、文字認識装置1が、端末装置3のオペレータによる操作に基づいて、申込内容表示画像GHに表示された表示文字RHを修正する処理(以下、「文字修正処理」と称する)を実行する場合の、文字認識装置1の動作の一例を示すフローチャートである。なお、本実施形態において、文字修正処理は、端末装置3を操作するオペレータが、申込内容表示画像GHにおいて、修正ボタンSSBを押下した場合に開始される。なお、上述のとおり、文字修正処理は、修正ボタンSSBの押下の有無に関わらず開始されてもよい。具体的には、文字修正処理は、例えば、表示部31において申込内容表示画像GHが表示された時点で開始されてもよい。
<3.2. Character Correction Processing>
12 is a flowchart showing an example of the operation of the
図12に例示するように、文字修正処理が開始されると、操作受付部116は、端末装置3から供給される操作情報JSに基づいて、申込内容表示画像GHにおいて、カーソルCSRに対応する位置の表示文字RHを特定する(S201)。
As illustrated in FIG. 12, when the character correction process is started, the
次に、記載内容認識部113は、ステップS201で特定した表示文字RHに対応する複数の認識候補文字Rを特定する(S203)。
具体的には、記載内容認識部113は、ステップS203において、ステップS201で特定した表示文字RHに対応する文字画像GCに対して文字認識処理を行った際に、文字画像GCの認識結果として特定された、Q1個の認識候補文字R[m1][1]~R[m1][Q1]と、Q2個の認識候補文字R[m2][1]~R[m2][Q2]とを特定する。
Next, the written
Specifically, in step S203, when the
そして、記載内容認識部113は、ステップS203において特定した複数の認識候補文字Rの中から、修正候補文字RZを特定する(S205)。
具体的には、記載内容認識部113は、ステップS203において特定した複数の認識候補文字Rのうち、認識確度Dが所定の閾値Dth以上の認識候補文字Rであって、表示文字RH以外の認識候補文字Rを、修正候補文字RZとして特定する。本実施形態では、一例として、閾値Dthが「80%」である場合を想定する。このため、例えば、図11に示す例では、認識確度D[m2][1]が「92%」となる認識候補文字R[m2][1]である「太」と、認識確度D[m1][2]が「85%」となる認識候補文字R[m1][2]である「大」と、認識確度D[m2][2]が「80%」となる認識候補文字R[m2][2]である「犬」とが、修正候補文字RZとして特定される。なお、図11に示す例では、認識確度D[m1][1]が「98%」となる認識候補文字R[m1][1]である「丈」は、表示文字RHとして決定されるため、当該認識候補文字R[m1][1]は、修正候補文字RZとして特定されることはない。
Then, the written
Specifically, the written
図12に例示するように、表示情報生成部115は、申込内容表示画像GHにおいて、ポップアップ画像PRZが表示され、当該ポップアップ画像PRZにおいて、ステップS205で特定された修正候補文字RZが表示されるように、申込内容表示画像GHを示す表示情報JHを更新し、更新した表示情報JHが端末装置3に送信されるように、文字認識装置1の各部を制御する(S207)。このため、例えば、図4に示す例のように、表示部31に表示される申込内容表示画像GHにおいて、修正候補文字RZ-1である「太」と、修正候補文字RZ-2である「大」と、修正候補文字RZ-3である「犬」とが表示されたポップアップ画像PRZが、表示文字RH1である「丈」の近傍に表示される。
12, the display
図12に例示するように、操作受付部116は、端末装置3から、表示文字RHを修正する指示を示す操作情報JSが供給されたか否かを判定する(S209)。
ステップS209における判定の結果が否定の場合、操作受付部116は、処理をステップS213に進める。
ステップS209における判定の結果が肯定の場合、操作受付部116は、表示文字RHを修正する指示の内容を示す操作情報JSを受け付ける。
As illustrated in FIG. 12, the
If the result of the determination in step S209 is negative, the
If the result of the determination in step S209 is positive, the
ステップS209における判定の結果が肯定の場合、学習実行部117は、ステップS209において操作受付部116が受け付けた操作情報JSに基づいて、修正履歴情報JSHを生成または更新し(S211)、処理をステップS213に進める。
ここで、修正履歴情報JSHとは、ステップS209における修正内容(修正後の表示文字RH)と、ステップS209において修正された表示文字RH(修正前の表示文字RH)と、修正前の表示文字RHに対応する文字画像GCと、修正前の表示文字RHに対応する認識候補文字Rを特定した文字認識部RG[m1]及び文字認識部RG[m2]と、を含む情報である。
If the result of the determination in step S209 is positive, the learning
Here, the correction history information JSH is information including the correction content in step S209 (the display character RH after correction), the display character RH corrected in step S209 (the display character RH before correction), the character image GC corresponding to the display character RH before correction, and the character recognition unit RG[m1] and the character recognition unit RG[m2] which have identified the recognition candidate character R corresponding to the display character RH before correction.
その後、操作受付部116は、端末装置3から、確定ボタンKTBが押下されたことを示す操作情報JSが供給されたか否かを判定する(S213)。
ステップS213における判定の結果が否定の場合、操作受付部116は、処理をステップS201に進める。
Thereafter, the
If the result of the determination in step S213 is negative, the
ステップS213における判定の結果が肯定の場合、学習実行部117は、修正履歴情報JSHに基づいて、文字認識部RG[m1]に対応する学習モデルNN[m1]と、文字認識部RG[m2]に対応する学習モデルNN[m2]とに、文字画像GCが修正後の表示文字RHを表すことを学習させる(S215)。
なお、学習実行部117は、ステップS215において、修正後の表示文字RHと、認識候補文字R[m1][1]とが、異なる文字である場合に限り、文字認識部RG[m1]に対応する学習モデルNN[m1]に、文字画像GCが修正後の表示文字RHを表すことを学習させる。但し、学習実行部117は、ステップS215において、修正後の表示文字RHと、認識候補文字R[m1][1]とが、同じ文字である場合においても、文字認識部RG[m1]に対応する学習モデルNN[m1]に、文字画像GCが修正後の表示文字RHを表すことを学習させてもよい。
また、学習実行部117は、ステップS215において、修正後の表示文字RHと、認識候補文字R[m2][1]とが、異なる文字である場合に限り、文字認識部RG[m2]に対応する学習モデルNN[m2]に、文字画像GCが修正後の表示文字RHを表すことを学習させる。但し、学習実行部117は、ステップS215において、修正後の表示文字RHと、認識候補文字R[m2][1]とが、同じ文字である場合においても、文字認識部RG[m2]に対応する学習モデルNN[m2]に、文字画像GCが修正後の表示文字RHを表すことを学習させてもよい。
If the result of the judgment in step S213 is positive, the learning
In addition, in step S215, the learning
Also, in step S215, the learning
以上のように、本実施形態によれば、修正履歴情報JSHに基づいて、文字認識部RG[m1]に対応する学習モデルNN[m1]と、文字認識部RG[m2]に対応する学習モデルNN[m2]とに、文字画像GCが修正後の表示文字RHを表すことを学習させる。このため、本実施形態によれば、学習モデルNN[m]が、文字修正処理の結果に基づく学習が実施されない場合と比較して、文字認識部RG[m]による文字画像GCの表す文字の認識の確度を向上させることができる。 As described above, according to this embodiment, the learning model NN[m1] corresponding to the character recognition unit RG[m1] and the learning model NN[m2] corresponding to the character recognition unit RG[m2] are trained to know that the character image GC represents the corrected display character RH based on the correction history information JSH. Therefore, according to this embodiment, the learning model NN[m] can improve the accuracy of recognition of the character represented by the character image GC by the character recognition unit RG[m] compared to a case where learning based on the results of the character correction process is not performed.
<4.実施形態の結び>
以上において説明したように、本実施形態において、文字認識装置1(「情報処理装置」の一例)は、文字認識部RG[m1]が実行する文字認識処理(「第1の文字認識処理」の一例)、及び、文字認識部RG[m2]が実行する文字認識処理(「第2の文字認識処理」の一例)の各々により、文字画像GCに表された文字(「一の文字」の一例)を認識する、記載内容認識部113(「認識部」の一例)と、文字認識部RG[m1]が実行する文字認識処理による文字画像GCに表された文字の認識結果である、認識候補文字R[m1][1](「第1文字」の一例)、及び、文字認識部RG[m2]が実行する文字認識処理による文字画像GCに表された文字の認識結果である、認識候補文字R[m2][1](「第2文字」の一例)が、同一の文字である場合、認識候補文字R[m1][1]及び認識候補文字R[m2][1]を、文字画像GCの認識結果に対応する確定認識文字RX(「確定文字」の一例)として決定し、認識候補文字R[m1][1]及び認識候補文字R[m2][1]が、異なる文字である場合、認識候補文字R[m1][1]及び認識候補文字R[m2][1]の一方を、文字画像GCの認識結果に対応する有力認識文字RY(「候補文字」の一例)として決定する、認識結果決定部114(「決定部」の一例)と、確定認識文字RXまたは有力認識文字RYを表示部31に表示させるための表示情報JHを生成する、表示情報生成部115(「表示制御部」の一例)と、を備え、表示情報生成部115は、表示情報JHにより、有力認識文字RYを確定認識文字RXとは異なる態様で表示部31に表示させる、ことを特徴とする。
4. Conclusion of the embodiment
As described above, in this embodiment, the character recognition device 1 (an example of an "information processing device") recognizes a character (an example of a "first character") represented in the character image G by each of the character recognition process performed by the character recognition unit RG[m1] (an example of a "first character") and the character recognition process performed by the character recognition unit RG[m2] (an example of a "second character"), when the recognized candidate character R[m1][1] (an example of a "first character"), which is the recognition result of the character represented in the character image G by the character recognition process performed by the character recognition unit RG[m1], and the recognized candidate character R[m2][1] (an example of a "second character"), which is the recognition result of the character represented in the character image G by the character recognition process performed by the character recognition unit RG[m2], are the same character, The system includes a recognition result determination unit 114 (an example of a "determining unit") that determines R[m1][1] and the recognition candidate character R[m2][1] as a confirmed recognition character RX (an example of a "confirmed character") corresponding to the recognition result of the character image GC, and, if the recognition candidate character R[m1][1] and the recognition candidate character R[m2][1] are different characters, determines one of the recognition candidate character R[m1][1] and the recognition candidate character R[m2][1] as a likely recognition character RY (an example of a "candidate character") corresponding to the recognition result of the character image GC, and a display information generation unit 115 (an example of a "display control unit") that generates display information JH for displaying the confirmed recognition character RX or the likely recognition character RY on the display unit 31, and the display information generation unit 115 causes the display unit 31 to display the likely recognition character RY in a manner different from the confirmed recognition character RX based on the display information JH.
すなわち、本実施形態によれば、表示情報生成部115は、認識結果決定部114が、文字画像GCの認識結果を有力認識文字RYとして決定し、文字画像GCに表された文字と有力認識文字RYとが相違する可能性が高い場合における、有力認識文字RYの表示態様と、認識結果決定部114が、文字画像GCの認識結果を確定認識文字RXとして決定し、文字画像GCに表された文字と確定認識文字RXとが相違する可能性が低い場合における、確定認識文字RXの表示態様とを、異ならせる。よって、本実施形態によれば、有力認識文字RYと、確定認識文字RXとが、同一の態様で表示される場合と比較して、文字画像GCに表された文字の認識結果が正確ではないことを見落とす可能性を低減することができる。
また、本実施形態によれば、文字認識部RG[m1]と文字認識部RG[m2]とにより、文字認識処理を実行する。このため、本実施形態によれば、1個の文字認識部RGにより文字認識処理を実行する場合と比較して、文字認識処理における認識の精度を向上させることができる。
That is, according to this embodiment, the display
Furthermore, according to this embodiment, the character recognition process is performed by the character recognition unit RG[m1] and the character recognition unit RG[m2]. Therefore, according to this embodiment, the recognition accuracy in the character recognition process can be improved compared to the case where the character recognition process is performed by a single character recognition unit RG.
また、本実施形態において、文字認識部RG[m1]が実行する文字認識処理は、文字を含む画像と、当該画像に表された文字との関係を学習した学習モデルNN[m1](「第1の学習モデル」の一例)を用いて、文字画像GCに表された文字を認識する処理である、ことを特徴とする In addition, in this embodiment, the character recognition process executed by the character recognition unit RG[m1] is characterized in that it is a process of recognizing characters shown in the character image GC using a learning model NN[m1] (an example of a "first learning model") that has learned the relationship between an image containing characters and the characters shown in the image.
このため、本実施形態によれば、学習モデルを用いずに文字認識処理を実行する場合と比較して、文字認識処理における認識の精度を向上させることができる。 Therefore, according to this embodiment, the recognition accuracy in the character recognition process can be improved compared to when character recognition process is performed without using a learning model.
また、本実施形態において、文字認識装置1は、表示部31に表示された確定認識文字RXまたは有力認識文字RYの修正を受け付ける、操作受付部116(「受付部」の一例)と、操作受付部116が、確定認識文字RXまたは有力認識文字RYを、文字画像GCに表された文字へと変更する修正を受け付けた場合、学習モデルNN[m1]に対して、文字画像GCが、文字画像GCに表された文字を示すことを学習させる、学習実行部117(「学習部」の一例)と、を備える、ことを特徴とする。
In addition, in this embodiment, the
このため、本実施形態によれば、学習モデルを用いずに文字認識処理を実行する場合と比較して、文字認識処理における認識の精度を向上させることができる。 Therefore, according to this embodiment, the recognition accuracy in the character recognition process can be improved compared to when character recognition process is performed without using a learning model.
また、本実施形態において、文字認識装置1は、表示部31に表示された確定認識文字RXまたは有力認識文字RYの修正を受け付ける、操作受付部116と、操作受付部116が、確定認識文字RXまたは有力認識文字RYを、文字画像GCに表された文字へと変更する修正を受け付けた場合であって、認識候補文字R[m1][1]と文字画像GCに表された文字が異なる場合において、学習モデルNN[m1]に対して、文字画像GCが、文字画像GCに表された文字を示すことを学習させる、学習実行部117と、を備える、ことを特徴とする。
In addition, in this embodiment, the
このため、本実施形態によれば、学習モデルを用いずに文字認識処理を実行する場合と比較して、文字認識処理における認識の精度を向上させることができる。 Therefore, according to this embodiment, the recognition accuracy in the character recognition process can be improved compared to when character recognition process is performed without using a learning model.
また、本実施形態において、文字認識装置1は、表示部31に表示された確定認識文字RXまたは有力認識文字RYの修正を受け付ける、操作受付部116を備え、表示情報生成部115は、認識結果決定部114が、認識候補文字R[m1][1]及び認識候補文字R[m2][1]のうち一方を、有力認識文字RYとして決定した場合であって、操作受付部116が、有力認識文字RYの修正を受け付ける場合、認識候補文字R[m1][1]及び認識候補文字R[m2][1]のうち他方を、修正候補文字RZとして、表示部31に表示させる、ことを特徴とする。
In addition, in this embodiment, the
このため、本実施形態によれば、確定認識文字RXまたは有力認識文字RYを修正するオペレータの負荷を低減することができる。 Therefore, according to this embodiment, the burden on the operator who corrects the confirmed recognized character RX or the likely recognized character RY can be reduced.
また、本実施形態において、表示情報生成部115は、表示情報JHにより、文字画像GCと、確定認識文字RXまたは有力認識文字RYとを、表示部31に表示させる、ことを特徴とする。
Furthermore, in this embodiment, the display
このため、本実施形態によれば、文字画像GCに表された文字の認識結果が正確ではないことを見落とす可能性を低減することができる。 Therefore, according to this embodiment, it is possible to reduce the possibility of overlooking the fact that the recognition result of the characters represented in the character image GC is inaccurate.
また、本実施形態において、記載内容認識部113は、文字画像GCに表された文字の種類に応じて、互いに異なるアルゴリズムにより文字認識処理を行うM個の文字認識部RG[1]~RG[M]の中から、文字認識部RG[m1]と、文字認識部RG[m2]とを選択する、ことを特徴とする。
Furthermore, in this embodiment, the
このため、本実施形態によれば、1個の文字認識部RGにより文字認識処理を実行する場合と比較して、文字認識処理における認識の精度を向上させることができる。 Therefore, according to this embodiment, the recognition accuracy in the character recognition process can be improved compared to when the character recognition process is performed using a single character recognition unit RG.
[B.変形例]
以上の各形態は多様に変形され得る。具体的な変形の態様を以下に例示する。以下の例示から任意に選択された2以上の態様は、相互に矛盾しない範囲内で適宜に併合され得る。なお、以下に例示する変形例において作用や機能が実施形態と同等である要素については、以上の説明で参照した符号を流用して各々の詳細な説明を適宜に省略する。
B. Modifications
Each of the above embodiments may be modified in various ways. Specific modified embodiments are exemplified below. Two or more embodiments arbitrarily selected from the following examples may be appropriately combined within a range that does not contradict each other. In the modified examples exemplified below, the elements whose actions and functions are equivalent to those of the embodiment will be appropriately omitted by using the symbols referenced in the above description.
<変形例1>
上述した実施形態において、表示情報生成部115は、申込内容表示画像GHにおいて、有力認識文字RYとして決定された表示文字RHに対応する位置に、注意喚起マークMKを表示させたが、本発明はこのような態様に限定されるものではない。表示情報生成部115は、有力認識文字RYとして決定された表示文字RHと、確定認識文字RXとして決定された表示文字RHとを、識別可能な態様で申込内容表示画像GHに表示させればよい。
例えば、表示情報生成部115は、申込内容表示画像GHにおいて、有力認識文字RYとして決定された表示文字RHと、確定認識文字RXとして決定された表示文字RHとを、異なるサイズの文字、異なる色彩の文字、または、異なるフォントの文字として表示してもよい。
また、例えば、表示情報生成部115は、申込内容表示画像GHにおいて、有力認識文字RYとして決定された表示文字RHを、確定認識文字RXとして決定された表示文字RHと比較して、強調された態様で表示ししてもよい。
<
In the above embodiment, the display
For example, the display
Also, for example, the display
<変形例2>
上述した実施形態において、認識結果決定部114は、表示文字決定処理において、認識候補文字R[m1][1]と認識候補文字R[m2][1]とが同一の文字であるか否かを判定することで、確定認識文字RXまたは有力認識文字RYを決定し、当該決定された確定認識文字RXまたは有力認識文字RYを、表示文字RHとして決定したが、本発明はこのような態様に限定されるものではない。例えば、認識結果決定部114は、認識確度D[m1][1]及び認識確度D[m2][1]が、D[m1][1]>D[m2][1]を満たす場合には、認識候補文字R[m1][1]を、表示文字RHとして決定し、認識確度D[m1][1]及び認識確度D[m2][1]が、D[m2][1]≧D[m1][1]を満たす場合には、認識候補文字R[m2][1]を、表示文字RHとして決定してもよい。この場合、表示情報生成部115は、認識確度D[m1][1]及び認識確度D[m2][1]の差分値に基づいて、表示文字RHに基づく位置に注意喚起マークMKを表示するか否かを決定してもよい。
<
In the above embodiment, the recognition
<変形例3>
上述した実施形態並びに変形例1及び2では、文字認識部RG[m]は、文字列画像GCLを複数の文字画像GCに区分し、当該区分された各文字画像GCに対して文字認識処理を実行したが、本発明はこのような態様に限定されるものではない。
例えば、記載内容認識部113が備えるM個の文字認識部RG[1]~RG[M]の中には、文字列画像GCLに含まれる文字列を表す画像を、文字列(単語)として認識可能な単語認識部RGTが含まれていてもよい。なお、以下では、上述した実施形態で説明した文字認識部RGのように、各文字画像GCに対して文字認識処理を実行する文字認識部RGを、個別文字認識部RGkと称することで、単語認識部RGTと区別することとする。
<
In the above-described embodiment and
For example, the M character recognition units RG[1] to RG[M] included in the written
例えば、本変形例において、記載内容認識部113は、M個の文字認識部RG[1]~RG[M]として、M個の単語認識部RGTを備えてもよい。すなわち、本変形例において、記載内容認識部113が備えるM個の文字認識部RG[1]~RG[M]の全ては、単語認識部RGTであってもよい。
この場合、認識結果決定部114は、文字認識部RG[m1]により認識された文字列(単語)と、文字認識部RG[m2]により認識された文字列(単語)とが一致する場合に、当該文字列(単語)を構成する文字の各々を、確定認識文字RXとして決定してもよい。また、この場合、認識結果決定部114は、文字認識部RG[m1]により認識された文字列と、文字認識部RG[m2]により認識された文字列とが一致しない場合に、文字認識部RG[m1]により認識された文字列と、文字認識部RG[m2]により認識された文字列とのうち、一方の文字列を構成する文字の各々を、有力認識文字RYとして決定してもよい。この場合、一方の文字列は、当該文字列を構成する文字の各々の認識確度Dに基づいて選択されてもよい。
For example, in this modification, the written
In this case, when a character string (word) recognized by the character recognition unit RG[m1] matches a character string (word) recognized by the character recognition unit RG[m2], the recognition
また、例えば、本変形例において、記載内容認識部113は、M個の文字認識部RG[1]~RG[M]として、1または複数の個別文字認識部RGkと、1または複数の単語認識部RGTとを備えてもよい。この場合、記載内容認識部113は、文字認識部RG[m1]として単語認識部RGTを選択し、文字認識部RG[m2]として個別文字認識部RGkを選択してもよい。そして、この場合、認識結果決定部114は、単語認識部RGTである文字認識部RG[m1]により認識された文字列(単語)を構成する文字と、個別文字認識部RGkである文字認識部RG[m2]により認識された文字とが、一致する場合に、当該文字を、確定認識文字RXとして決定してもよい。また、この場合、認識結果決定部114は、単語認識部RGTである文字認識部RG[m1]により認識された文字列(単語)を構成する文字と、個別文字認識部RGkである文字認識部RG[m2]により認識された文字とが、一致しない場合、文字認識部RG[m1]により認識された文字列を構成する文字と、文字認識部RG[m2]により認識された文字とのうち、一方の文字を、有力認識文字RYとして決定してもよい。この場合、一方の文字は、認識確度Dに基づいて選択されてもよい。
Also, for example, in this modified example, the written
<変形例4>
上述した実施形態並びに変形例1乃至3では、文字認識装置1と端末装置3が別体である場合を例示したが、文字認識装置1と端末装置3は、一体として構成されてもよい。
<Modification 4>
In the above-described embodiment and modified examples 1 to 3, the
図13は、本変形例に係る文字認識システムSys-Bの構成の一例を説明するための説明図である。 Figure 13 is an explanatory diagram for explaining an example of the configuration of a character recognition system Sys-B according to this modified example.
図13に例示するように、文字認識システムSys-Bは、文字認識装置1の代わりに文字認識装置1Bを備える点と、端末装置3を備えない点とを除き、実施形態に係る文字認識システムSysと同様に構成されている。
As illustrated in FIG. 13, the character recognition system Sys-B is configured in the same manner as the character recognition system Sys according to the embodiment, except that it includes a
図14は、文字認識装置1Bの構成の一例を示す機能ブロック図である。
Figure 14 is a functional block diagram showing an example of the configuration of
図14に例示するように、文字認識装置1Bは、表示部31を備える点と、操作部32を備える点とを除き、実施形態に係る文字認識装置1と同様に構成されている。
As illustrated in FIG. 14, the
1…文字認識装置、3…端末装置、5…撮像装置、11…制御部、12…記憶部、13…通信部、31…表示部、32…操作部、111…画像情報取得部、112…文字領域特定部、113…記載内容認識部、114…認識結果決定部、115…表示情報生成部、116…操作受付部、117…学習実行部、RG…文字認識部、NN…学習モデル。 1...character recognition device, 3...terminal device, 5...imaging device, 11...control unit, 12...storage unit, 13...communication unit, 31...display unit, 32...operation unit, 111...image information acquisition unit, 112...character area identification unit, 113...written content recognition unit, 114...recognition result determination unit, 115...display information generation unit, 116...operation acceptance unit, 117...learning execution unit, RG...character recognition unit, NN...learning model.
Claims (10)
画像に含まれる文字を認識する第2の文字認識処理の各々により、
文字画像に項目ごとに表された文字列の一の文字を認識する認識部と、
前記第1の文字認識処理による前記一の文字の認識結果である第1文字、及び、
前記第2の文字認識処理による前記一の文字の認識結果である第2文字が、同一の文字である場合、
前記第1文字及び前記第2文字を、前記一の文字の認識結果に対応する確定文字として決定し、
前記第1文字及び前記第2文字が、異なる文字である場合、
前記第1文字及び前記第2文字のうち一方を、前記一の文字の認識結果に対応する候補文字として決定する決定部と、
前記決定部により決定された前記確定文字または前記候補文字を表示部に表示させる表示制御部と、
を備え、
前記認識部において、前記第1の文字認識処理および前記第2の文字認識処理は、あらかじめ準備された複数の文字認識処理におけるそれぞれの有効文字種別情報と、前記項目における文字種別情報との類似度から選択されており、
前記表示制御部は、
前記候補文字を前記確定文字とは異なる態様で前記表示部に表示させる、
ことを特徴とする情報処理装置。 A first character recognition process for recognizing characters included in an image; and
Each of the second character recognition processes for recognizing characters included in the image
a recognition unit that recognizes one character of a character string represented for each item in a character image;
a first character that is a recognition result of the one character by the first character recognition process; and
When a second character that is a recognition result of the first character by the second character recognition process is the same character,
determining the first character and the second character as confirmed characters corresponding to a recognition result of the one character;
When the first character and the second character are different characters,
a determining unit that determines one of the first character and the second character as a candidate character corresponding to a recognition result of the one character;
a display control unit that causes the determined character or the candidate character determined by the determination unit to be displayed on a display unit;
Equipped with
In the recognition unit, the first character recognition process and the second character recognition process are selected based on a similarity between effective character type information in each of a plurality of character recognition processes prepared in advance and character type information in the item,
The display control unit is
displaying the candidate characters on the display unit in a manner different from that of the finalized characters;
23. An information processing apparatus comprising:
文字を含む画像と、前記画像に表された文字との関係を学習した第1の学習モデルを用いて、
前記文字画像に表された前記一の文字を認識する処理である、
ことを特徴とする、請求項1または2のいずれかに記載の情報処理装置。 The first character recognition process includes:
Using a first learning model that has learned a relationship between an image including characters and the characters shown in the image,
A process of recognizing the one character represented in the character image.
3. The information processing device according to claim 1, wherein the information processing device further comprises:
前記受付部が、前記候補文字または前記確定文字を前記一の文字へと変更する修正を受け付けた場合、
前記第1の学習モデルに対して、前記文字画像が前記一の文字を表すことを学習させる学習部と、
を備える、
ことを特徴とする、請求項3に記載の情報処理装置。 a reception unit that receives a correction to the candidate character or the final character displayed on the display unit;
When the reception unit receives a correction to change the candidate character or the confirmed character to the one character,
a learning unit that causes the first learning model to learn that the character image represents the one character;
Equipped with
4. The information processing device according to claim 3 .
前記受付部が、前記候補文字または前記確定文字を前記一の文字へと変更する修正を受け付けた場合であって、
前記第1文字と前記一の文字が異なる場合において、
前記第1の学習モデルに対して、前記文字画像が前記一の文字を表すことを学習させる学習部と、
を備える、
ことを特徴とする、請求項3に記載の情報処理装置。 a reception unit that receives a correction to the candidate character or the final character displayed on the display unit;
When the reception unit receives a correction to change the candidate character or the confirmed character to the one character,
When the first character and the one character are different,
a learning unit that causes the first learning model to learn that the character image represents the one character;
Equipped with
4. The information processing device according to claim 3 .
前記表示制御部は、
前記決定部が、前記第1文字及び前記第2文字のうち一方を、前記候補文字として決定した場合であって、
前記受付部が、前記候補文字の修正を受け付ける場合、
前記第1文字及び前記第2文字のうち他方を、前記候補文字の修正候補として、前記表示部に表示させる、
ことを特徴とする、請求項1乃至5のうち何れか1項に記載の情報処理装置。 a reception unit that receives a correction to the candidate character or the final character displayed on the display unit,
The display control unit is
When the determination unit determines one of the first character and the second character as the candidate character,
When the reception unit receives a correction to the candidate character,
displaying the other of the first character and the second character on the display unit as a correction candidate for the candidate character;
6. The information processing device according to claim 1, wherein the information processing device further comprises:
前記文字画像と、前記確定文字または前記候補文字とを、前記表示部に表示させる、
ことを特徴とする、請求項1乃至6のうち何れか1項に記載の情報処理装置。 The display control unit is
displaying the character image and the confirmed character or the candidate character on the display unit;
7. The information processing device according to claim 1, wherein the information processing device is a data processing device.
前記文字画像に表された前記一の文字の種類に応じて、
画像に含まれる文字を認識する複数の文字認識処理の中から、
前記第1の文字認識処理と、前記第2の文字認識処理とを選択する、
ことを特徴とする、請求項1乃至7のうち何れか1項に記載の情報処理装置。 The recognition unit is
According to the type of the one character represented in the character image,
Among the multiple character recognition processes that recognize characters contained in images,
selecting the first character recognition process and the second character recognition process;
8. The information processing device according to claim 1, wherein the information processing device is a data processing device.
画像に含まれる文字を認識する第1の文字認識処理、及び、
画像に含まれる文字を認識する第2の文字認識処理の各々により、
文字画像に項目ごとに表された文字列の一の文字を認識する認識部と、
前記第1の文字認識処理による前記一の文字の認識結果である第1文字、及び、
前記第2の文字認識処理による前記一の文字の認識結果である第2文字が、同一の文字である場合、
前記第1文字及び前記第2文字を、前記一の文字の認識結果に対応する確定文字として決定し、
前記第1文字及び前記第2文字が、異なる文字である場合、
前記第1文字及び前記第2文字のうち一方を、前記一の文字の認識結果に対応する候補文字として決定する決定部と、
前記決定部により決定された前記確定文字または前記候補文字を表示部に表示させる表示制御部と、
して機能させ、
前記認識部において、前記第1の文字認識処理および前記第2の文字認識処理は、あらかじめ準備された複数の文字認識処理におけるそれぞれの有効文字種別情報と、前記項目における文字種別情報との類似度から選択されており、
前記表示制御部は、
前記候補文字を前記確定文字とは異なる態様で前記表示部に表示させる、
ことを特徴とするプログラム。 The processor,
A first character recognition process for recognizing characters included in an image; and
Each of the second character recognition processes for recognizing characters included in the image
a recognition unit that recognizes one character of a character string represented for each item in a character image;
a first character that is a recognition result of the one character by the first character recognition process; and
When a second character that is a recognition result of the first character by the second character recognition process is the same character,
determining the first character and the second character as confirmed characters corresponding to a recognition result of the one character;
When the first character and the second character are different characters,
a determining unit that determines one of the first character and the second character as a candidate character corresponding to a recognition result of the one character;
a display control unit that causes the determined character or the candidate character determined by the determination unit to be displayed on a display unit;
and make it work.
In the recognition unit, the first character recognition process and the second character recognition process are selected based on a similarity between effective character type information in each of a plurality of character recognition processes prepared in advance and character type information in the item,
The display control unit is
displaying the candidate characters on the display unit in a manner different from that of the finalized characters;
A program characterized by:
前記第1の文字認識処理による前記一の文字の認識結果である第1文字、及び、前記第2の文字認識処理による前記一の文字の認識結果である第2文字が、同一の文字である場合、前記第1文字及び前記第2文字を、前記一の文字の認識結果に対応する確定文字として決定し、when a first character that is a recognition result of the one character by the first character recognition process and a second character that is a recognition result of the one character by the second character recognition process are the same character, determining the first character and the second character as confirmed characters corresponding to the recognition result of the one character;
前記第1文字及び前記第2文字が、異なる文字である場合、前記第1文字及び前記第2文字のうち一方を、前記一の文字の認識結果に対応する候補文字として決定し、When the first character and the second character are different characters, determining one of the first character and the second character as a candidate character corresponding to a recognition result of the one character;
決定された前記確定文字または前記候補文字を表示部に表示させる情報処理方法であって、An information processing method for displaying the determined confirmed character or the candidate character on a display unit,
前記第1の文字認識処理および前記第2の文字認識処理は、あらかじめ準備された複数の文字認識処理におけるそれぞれの有効文字種別情報と、前記項目における文字種別情報との類似度から選択されており、the first character recognition process and the second character recognition process are selected based on a similarity between effective character type information in each of a plurality of character recognition processes prepared in advance and character type information in the item;
前記表示部に表示される前記候補文字は、前記確定文字とは異なる態様で前記表示部に表示される、ことを特徴とする情報処理方法。The information processing method according to claim 1, wherein the candidate characters are displayed on the display unit in a manner different from that of the confirmed characters.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021104847A JP7619566B2 (en) | 2021-06-24 | 2021-06-24 | Information processing device, program, and information processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021104847A JP7619566B2 (en) | 2021-06-24 | 2021-06-24 | Information processing device, program, and information processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023003647A JP2023003647A (en) | 2023-01-17 |
| JP7619566B2 true JP7619566B2 (en) | 2025-01-22 |
Family
ID=85100286
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021104847A Active JP7619566B2 (en) | 2021-06-24 | 2021-06-24 | Information processing device, program, and information processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7619566B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000057258A (en) | 1998-08-13 | 2000-02-25 | Oki Electric Ind Co Ltd | Character recognition device |
| JP2000099631A (en) | 1998-09-18 | 2000-04-07 | Toshiba Corp | Pattern recognition apparatus and pattern recognition method |
| JP2001084336A (en) | 1999-09-16 | 2001-03-30 | Fujitsu Ltd | Character recognition apparatus and method and program recording medium |
| JP2020144636A (en) | 2019-03-07 | 2020-09-10 | セイコーエプソン株式会社 | Information processing apparatus, learning device, and learned model |
| JP2020198090A (en) | 2019-06-04 | 2020-12-10 | 富士通株式会社 | Apparatus for processing text images, method, and storage media |
| JP2021068202A (en) | 2019-10-24 | 2021-04-30 | 富士ゼロックス株式会社 | Information processing device and program |
-
2021
- 2021-06-24 JP JP2021104847A patent/JP7619566B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000057258A (en) | 1998-08-13 | 2000-02-25 | Oki Electric Ind Co Ltd | Character recognition device |
| JP2000099631A (en) | 1998-09-18 | 2000-04-07 | Toshiba Corp | Pattern recognition apparatus and pattern recognition method |
| JP2001084336A (en) | 1999-09-16 | 2001-03-30 | Fujitsu Ltd | Character recognition apparatus and method and program recording medium |
| JP2020144636A (en) | 2019-03-07 | 2020-09-10 | セイコーエプソン株式会社 | Information processing apparatus, learning device, and learned model |
| JP2020198090A (en) | 2019-06-04 | 2020-12-10 | 富士通株式会社 | Apparatus for processing text images, method, and storage media |
| JP2021068202A (en) | 2019-10-24 | 2021-04-30 | 富士ゼロックス株式会社 | Information processing device and program |
Non-Patent Citations (1)
| Title |
|---|
| 住野達郎,外2名,名刺テキスト化におけるOCR精度向上とその修正入力支援システムの開発,電子情報通信学会技術研究報告,日本,社団法人電子情報通信学会,2010年05月13日,第110巻 第42号,p.47~52 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023003647A (en) | 2023-01-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112183296B (en) | Simulated bill image generation and bill image recognition method and device | |
| US11508139B2 (en) | Information processing apparatus and non-transitory computer readable medium | |
| JP2008276766A (en) | Form automatic filling method and device | |
| EP3757881B1 (en) | Documentation determination device and non-transitory computer-readable storage medium storing a documentation determination program | |
| JP6600973B2 (en) | Character recognition device, character recognition processing system, and program | |
| JP7243409B2 (en) | Information processing device and program | |
| JP7619566B2 (en) | Information processing device, program, and information processing method | |
| US20250371388A1 (en) | Information processing method, information processing device, and non-transitory computer readable recording medium storing information processing program | |
| JP6550163B1 (en) | Character recognition device, character recognition method and program | |
| JP2014078168A (en) | Character recognition apparatus and program | |
| CN118522020B (en) | A written data processing method, electronic device and readable storage medium | |
| JP7021496B2 (en) | Information processing equipment and programs | |
| JP7693410B2 (en) | Information processing system, method and program | |
| JP2021157322A (en) | Information processing device and error detection method | |
| CN118475925B (en) | Asset management program product, asset management device, learning device, asset management system, and asset management method | |
| JP7410532B2 (en) | Character recognition device and character recognition program | |
| WO2023047858A1 (en) | Information processing device and program | |
| JP7492404B2 (en) | Information processing device, input data error estimation method and program | |
| JP2024081434A (en) | Computer system and graph recognition method | |
| CN114495145A (en) | Policy document number extraction method, device, equipment and storage medium | |
| JP3270551B2 (en) | Character recognition device and character recognition method | |
| JPH0721303A (en) | Character recognition device | |
| JP2025126981A (en) | Image Processing System | |
| JPH103515A (en) | Image processing method and apparatus | |
| CN115631493A (en) | Text area determining method, system and related device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231026 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240724 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240806 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240930 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241016 |
|
| 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: 20241217 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7619566 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 |