JP7787779B2 - Form recognition processing system, form recognition processing method, and form recognition processing program - Google Patents
Form recognition processing system, form recognition processing method, and form recognition processing programInfo
- Publication number
- JP7787779B2 JP7787779B2 JP2022098039A JP2022098039A JP7787779B2 JP 7787779 B2 JP7787779 B2 JP 7787779B2 JP 2022098039 A JP2022098039 A JP 2022098039A JP 2022098039 A JP2022098039 A JP 2022098039A JP 7787779 B2 JP7787779 B2 JP 7787779B2
- Authority
- JP
- Japan
- Prior art keywords
- recognition
- character
- unit
- condition
- area
- 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
Landscapes
- Character Input (AREA)
- Character Discrimination (AREA)
Description
本発明は、帳票認識処理システム、帳票認識処理方法、及び帳票認識処理プログラムに関する。 The present invention relates to a form recognition processing system, a form recognition processing method, and a form recognition processing program.
特許文献1には、金融機関等に設置される自動取引装置が記載されている。この自動取引装置は、納付書や請求書等の記載内容を文字認識して税金や公共料金等の払込取引を行う。 Patent Document 1 describes an automated teller machine installed in financial institutions and other institutions. This automated teller machine performs character recognition of the contents of payment slips, invoices, etc., and performs payment transactions for taxes, utility bills, etc.
特許文献2には、紙葉類に記載された文字の認識を行う装置が記載されている。特許文献2のビデオコーディングシステムは、複数の認識部を備える。第2の認識部は、第1の認識部によって文字認識できなかった紙葉類の区分情報に対して、第1の認識部と異なるアルゴリズムで文字認識を行う。 Patent Document 2 describes a device that recognizes characters written on paper sheets. The video coding system in Patent Document 2 includes multiple recognition units. A second recognition unit performs character recognition on sorting information on paper sheets that could not be recognized by the first recognition unit using a different algorithm than the first recognition unit.
自動取引装置が取り扱う帳票には、納付者の氏名や納付金額等を示す文字列が印字される。印字の際の不具合で、文字列の掠れや位置ずれが生じる場合がある。ここで自動取引装置において文字認識できない旨のエラーが生じた場合は、帳票の処理は実行できない。したがって、帳票に対する誤った処理は実行されない。しかし、印字内容と異なる文字を認識してしまった場合、例えば数字の「8」を「9」と認識する誤認識や、「¥8200」を「¥820」と認識する誤認識が発生した場合、帳票の真の記載内容とは異なる誤った処理が実行されてしまう可能性がある。 Text indicating the payer's name, payment amount, etc. is printed on forms handled by automated teller machines. Printing errors can cause the text to be blurred or misaligned. If the automated teller machine encounters an error indicating it cannot recognize the characters, it cannot process the form. Therefore, no incorrect processing will be performed on the form. However, if it recognizes characters that differ from what is printed, for example, misrecognizing the number "8" as "9" or misrecognizing "¥8200" as "¥820," there is a risk that incorrect processing will be performed that differs from the true content of the form.
特許文献2の技術では、第1の認識部で文字認識できなかった場合に第2の認識部が重ねて文字認識を行うことで認識率(認識の成功率)を高めることができる。しかし、文字の誤認識が生じた場合、誤った内容であっても認識には「成功」してしまっているので、第2の認識部の処理は行わない。従って特許文献2の技術では上記の問題を解決することはできない。 With the technology in Patent Document 2, if a first recognition unit is unable to recognize a character, a second recognition unit performs character recognition on top of it, thereby increasing the recognition rate (recognition success rate). However, if a character is misrecognized, the second recognition unit does not perform processing, because recognition has "successfully" been performed even though the content is incorrect. Therefore, the technology in Patent Document 2 cannot solve the above problem.
本発明の目的は、帳票に記載された文字の誤認識を検出しやすくする帳票認識処理システム、帳票認識処理方法及び帳票認識処理プログラムを提供することにある。 The object of the present invention is to provide a form recognition processing system, a form recognition processing method, and a form recognition processing program that make it easier to detect misrecognition of characters written on forms.
本発明に係る帳票認識処理システムの特徴は、同一の文字が記載された領域である文字領域を複数備える帳票の認識処理を行う帳票認識処理システムであって、前記帳票の画像を取得する画像取得部と、予め設定された認識条件を用いて前記画像から文字情報を認識する文字認識部と、を備え、前記文字認識部は、前記認識条件としての第1認識条件を用いて前記文字領域としての第1文字領域から文字情報を認識し、かつ、前記第1認識条件とは異なる前記認識条件としての第2認識条件を用いて前記文字領域としての第2文字領域から文字情報を認識する点にある。 The form recognition processing system according to the present invention is characterized in that it performs recognition processing on forms that have multiple character areas, which are areas in which the same characters are written, and includes an image acquisition unit that acquires an image of the form, and a character recognition unit that recognizes character information from the image using preset recognition conditions, wherein the character recognition unit recognizes character information from the first character area using a first recognition condition as the recognition condition, and recognizes character information from the second character area using a second recognition condition as the recognition condition that is different from the first recognition condition.
本発明に係る帳票認識処理方法の特徴は、同一の文字が記載された領域である文字領域としての第1文字領域及び第2文字領域を備える帳票の認識処理をコンピュータが行う帳票認識処理方法であって、前記帳票の画像を取得する画像取得ステップと、第1認識条件によって、前記第1文字領域の文字情報を認識し、かつ、前記第1認識条件とは異なる第2認識条件によって、前記第2文字領域の文字情報を認識する文字認識ステップと、を含む点にある。 The form recognition processing method according to the present invention is characterized in that it is a form recognition processing method in which a computer performs recognition processing on a form having a first character area and a second character area as character areas, which are areas in which the same characters are written, and includes an image acquisition step for acquiring an image of the form, and a character recognition step for recognizing character information in the first character area under first recognition conditions and recognizing character information in the second character area under second recognition conditions different from the first recognition conditions.
本発明に係る帳票認識処理プログラムの特徴は、コンピュータに実行されることにより、同一の文字が記載された領域である文字領域としての第1文字領域及び第2文字領域を備える帳票の認識処理が行われる帳票認識処理プログラムであって、前記帳票の画像を取得する画像取得機能と、第1認識条件によって、前記第1文字領域の文字情報を認識し、かつ、前記第1認識条件とは異なる第2認識条件によって、前記第2文字領域の文字情報を認識する文字認識機能と、をコンピュータに実現させる点にある。 The form recognition processing program according to the present invention is characterized in that, when executed by a computer, it performs recognition processing on a form having a first character area and a second character area, which are character areas in which the same characters are written. The program causes the computer to realize an image acquisition function that acquires an image of the form, and a character recognition function that recognizes character information in the first character area under first recognition conditions and recognizes character information in the second character area under second recognition conditions that are different from the first recognition conditions.
帳票に同一の文字列が複数の箇所に記載される場合がある。例えば、1つの帳票には納入済通知書、納付書、及び領収書の部分があり、それぞれに納付者の氏名と金額とが記載される。発明者らはこの点に注目して鋭意検討し、本発明を想到するに至った。本構成によると、同一の文字が記載された複数の文字領域に対して互いに異なる認識条件にて文字認識処理を実行するように構成される。これにより、文字情報の誤認識が発生した場合であっても、文字領域毎の認識結果が同じになることを抑制することができる。したがって、例えば、複数の文字領域に対して同一の認識条件にて文字認識処理を実行するような構成と比較して、文字領域に記載された文字情報の誤認識を検出しやすくなる。 The same character string may be written in multiple places on a document. For example, a document may have a payment notice, a payment slip, and a receipt, each of which lists the payer's name and the amount. The inventors focused on this point and conducted extensive research, leading to the invention of this invention. This configuration is configured to perform character recognition processing under different recognition conditions on multiple character areas containing the same character. This makes it possible to prevent the recognition results for each character area from being the same, even if erroneous recognition of character information occurs. Therefore, for example, it is easier to detect erroneous recognition of character information written in a character area compared to a configuration in which character recognition processing is performed under the same recognition conditions on multiple character areas.
本発明においては、前記文字認識部によって認識された文字情報を照合する照合部と、前記第1文字領域から認識された文字情報と前記第2文字領域から認識された文字情報とが一致すると前記照合部が判定したときに前記帳票の処理を行う処理部と、を更に備えると好適である。 The present invention preferably further includes a matching unit that matches the character information recognized by the character recognition unit, and a processing unit that processes the form when the matching unit determines that the character information recognized from the first character area matches the character information recognized from the second character area.
本構成によると、文字情報を照合することで、文字情報の誤認識が発生した場合に、文字領域に記載された文字情報の誤認識を検出しやすくなる。 With this configuration, by comparing the character information, if a misrecognition of the character information occurs, it becomes easier to detect the misrecognition of the character information written in the character area.
本発明においては、前記第2認識条件は、前記文字領域における文字の認識領域において前記第1認識条件と異なっていると好適である。 In the present invention, it is preferable that the second recognition conditions differ from the first recognition conditions in the character recognition area of the character region.
印字の際の用紙ズレ等により、複数の文字領域の文字が同じように標準の位置からズレて印字される場合がある。このような場合に、文字領域における文字の認識領域が同じであると、複数の文字領域の文字に対して同じように誤認識を生じる可能性がある。例えば、複数の文字領域の全てで「¥8200」を「¥820」と誤認識してしまう。本構成によると、複数の文字領域に対して互いに異なる認識領域にて文字認識処理を実行するように構成される。これにより、複数の文字領域に対して同じ誤認識が生じることを抑制でき、文字情報の誤認識を検出しやすくすることができる。 Due to paper misalignment during printing, characters in multiple character areas may be printed with the same misalignment from the standard position. In such cases, if the character recognition areas in the character areas are the same, there is a possibility that the same misrecognition will occur for the characters in the multiple character areas. For example, "¥8200" will be misrecognized as "¥820" in all of the multiple character areas. With this configuration, character recognition processing is performed for the multiple character areas using different recognition areas. This prevents the same misrecognition from occurring in multiple character areas, making it easier to detect misrecognition of character information.
本発明においては、前記認識条件を設定可能な設定部と、2つの前記文字領域に対して同一の前記認識条件が設定されているときに報知する報知部と、をさらに備えると好適である。 The present invention preferably further comprises a setting unit capable of setting the recognition conditions, and a notification unit that notifies when the same recognition conditions are set for two of the character regions.
本構成によると、認識条件を設定する際に、2つの文字領域に対して同一の認識条件が設定されているときに報知が行われる。これにより、不注意で2つの文字領域に対して同一の認識条件が設定されてしまうことを抑制できる。したがって、文字情報の誤認識を検出しやすくすることができる。 With this configuration, when setting recognition conditions, a notification is issued if the same recognition conditions are set for two character regions. This prevents the same recognition conditions from being inadvertently set for two character regions. This makes it easier to detect erroneous recognition of character information.
本発明においては、前記認識条件を設定可能な設定部をさらに備え、前記設定部は、2つの前記文字領域に対して同一の前記認識条件が設定されることを禁止すると好適である。 The present invention preferably further includes a setting unit capable of setting the recognition conditions, and the setting unit prohibits the same recognition conditions from being set for two of the character regions.
本構成によると、認識条件を設定する際に、2つの文字領域に対して同一の認識条件を設定することができなくなる。これにより、2つの文字領域に対して同一の認識条件が設定されてしまうことを防止できる。したがって、文字情報の誤認識を検出しやすくすることができる。 With this configuration, when setting recognition conditions, it is not possible to set the same recognition conditions for two character regions. This prevents the same recognition conditions from being set for two character regions. This makes it easier to detect erroneous recognition of character information.
本発明においては、前記認識条件を設定可能な設定部と、全ての前記文字領域に対して同一の前記認識条件が設定されているときに報知する報知部と、をさらに備えると好適である。 The present invention preferably further comprises a setting unit capable of setting the recognition conditions, and a notification unit that notifies when the same recognition conditions are set for all the character regions.
本構成によると、全ての文字領域に対して同一の認識条件が設定されているときに報知が行われる。これにより、全ての文字領域に対して同一の認識条件が設定されてしまうことを抑制できる。したがって、文字情報の誤認識を検出しやすくすることができる。 With this configuration, a notification is issued when the same recognition conditions are set for all character areas. This prevents the same recognition conditions from being set for all character areas. This makes it easier to detect erroneous recognition of character information.
本発明においては、前記認識条件を設定可能な設定部をさらに備え、前記設定部は、全ての前記文字領域に対して同一の前記認識条件が設定されることを禁止すると好適である。 The present invention preferably further includes a setting unit capable of setting the recognition conditions, and the setting unit prohibits the same recognition conditions from being set for all of the character regions.
本構成によると、全ての文字領域に対して同一の認識条件を設定することができなくなる。これにより、全ての文字領域に対して同一の認識条件が設定されてしまうことを防止できる。したがって、文字情報の誤認識を検出しやすくすることができる。 This configuration makes it impossible to set the same recognition conditions for all character regions. This prevents the same recognition conditions from being set for all character regions. This makes it easier to detect erroneous recognition of character information.
本発明においては、前記帳票の内容を示すサンプル画像から前記文字領域を特定する特定部をさらに備え、前記設定部は、前記特定部が特定した前記文字領域に対して前記認識条件を設定する。 The present invention further includes an identification unit that identifies the character area from a sample image showing the contents of the form, and the setting unit sets the recognition conditions for the character area identified by the identification unit.
本構成によると、文字領域の特定が適切に行われ好ましい。 This configuration is preferable because it allows for proper identification of character areas.
以下、帳票認識処理システムについて図面に基づいて説明する。帳票認識処理システムは、帳票の文字認識処理に用いられるシステムである。図1に示すように、帳票認識処理システム1は、帳票認識処理装置2と、管理装置3と、を備える。 The form recognition processing system will be described below with reference to the accompanying drawings. The form recognition processing system is a system used for character recognition processing of forms. As shown in Figure 1, the form recognition processing system 1 includes a form recognition processing device 2 and a management device 3.
帳票認識処理装置2は、納付者から税金や公共料金等の支払いを受け付けるための装置であって、公共施設や金融機関などに設置される。帳票認識処理装置2は、受け付けた帳票4に対して文字認識処理を行い、認識された文字に基づいて支払い等の処理を実行する。 The document recognition processing device 2 is a device for accepting payments of taxes, utility bills, etc. from payers, and is installed in public facilities, financial institutions, etc. The document recognition processing device 2 performs character recognition processing on the accepted document 4 and executes processing such as payment based on the recognized characters.
帳票4は、定型の文字や枠線が印刷された用紙に、宛名や金額、日付等の個別情報が印字されて、作成される。個別情報の印字の際に用紙の位置ずれや傾き等が発生すると、個別情報が所定の位置からズレて印字される場合がある。帳票4には同一の文字が複数印字される場合がある。図示例では、納付額としての「890」の文字が3箇所に印字されている。上述の印字ズレが発生した場合、3箇所の「890」の文字は同じ方向、例えば、用紙の右へズレた位置へ印字される。右端の「0」の文字が文字認識処理の対象領域の外に位置した場合、印字された「890」の文字に対して、文字認識処理の結果が「89」となってしまう。 Form 4 is created by printing individual information such as the recipient's name, amount, and date on paper with standard characters and borders. If the paper is misaligned or tilted when printing the individual information, the individual information may be printed out of place. The same character may be printed multiple times on Form 4. In the illustrated example, the character "890" is printed in three places as the payment amount. If the above-mentioned printing misalignment occurs, the three "890" characters will be printed in the same direction, for example, shifted to the right on the paper. If the "0" on the far right is located outside the target area for character recognition processing, the result of the character recognition processing for the printed "890" will be "89".
ここで、3箇所の「890」の文字に対する文字認識処理の認識条件が同一であった場合、文字認識処理の結果が3箇所とも「89」となる可能性がある。そうすると、たとえ3箇所の文字認識処理の結果を互いに照合するように帳票認識処理装置2が構成されていたとしても、3箇所の結果は「89」で一致するため、帳票認識処理装置2が異常を発見することができない。そうすると、誤った認識結果の「89」にて支払いの処理が実行される可能性がある。 Here, if the recognition conditions for the character recognition process for the character "890" in all three places are the same, there is a possibility that the result of the character recognition process will be "89" in all three places. In that case, even if the form recognition processing device 2 is configured to compare the results of the character recognition process in all three places with each other, the three results will all match, "89," and the form recognition processing device 2 will not be able to detect the abnormality. This could result in the payment process being executed with the incorrect recognition result of "89."
本実施形態では、帳票認識処理装置2は、同一の文字が記載された複数の文字領域に対して互いに異なる認識条件にて文字認識処理を実行するように構成される。これにより、ある文字領域からの認識結果が「89」となったとしても、他の文字領域に対する認識条件が比較的広く設定され、そこからの認識結果が「890」となれば、帳票認識処理装置2が異常を発見できる可能性がある。このように、本実施形態の帳票認識処理システム1は、印字ズレへの対処において利点を有する。 In this embodiment, the form recognition processing device 2 is configured to perform character recognition processing on multiple character areas containing the same character under different recognition conditions. As a result, even if the recognition result from one character area is "89," if the recognition conditions for other character areas are set relatively broadly and the recognition result from those areas is "890," the form recognition processing device 2 may be able to discover the abnormality. In this way, the form recognition processing system 1 of this embodiment has an advantage in dealing with printing misalignment.
管理装置3は、帳票認識処理装置2において文字認識処理に用いられる認識条件Rを予め設定するための装置である。管理装置3は、同一の文字が記載された文字領域に対する認識条件Rが互いに異なったものとなるように、認識条件Rを設定する。 The management device 3 is a device for presetting the recognition conditions R used in the character recognition process in the form recognition processing device 2. The management device 3 sets the recognition conditions R so that the recognition conditions R for character areas containing the same character are different from each other.
〔帳票〕
帳票4の例が図2に示されている。帳票4には、上述の通り、予め印刷された「納入済通知書」や「納期限」等の定型の文字や枠線等と、個別に印字される納期限「2018年02月28日」や納付額「890」等の文字(以下「文字列9」と称する。)と、が記載されている。
[Report]
An example of Form 4 is shown in Figure 2. As described above, Form 4 includes pre-printed standard characters and frames such as "Payment Notice" and "Due Date," as well as individually printed characters such as the due date "February 28, 2018" and the payment amount "890" (hereinafter referred to as "character string 9").
本実施形態では、同一の文字が記載された領域を「文字領域」と称し、符号「41」を付す。図示例では、帳票4は、同一の文字「890」が記載された3つの文字領域41として、左寄りの左側文字領域41a、中央の中央文字領域41b、及び右寄りの右側文字領域41cを有する。 In this embodiment, an area in which the same characters are written is referred to as a "character area" and is assigned the reference number "41." In the illustrated example, the form 4 has three character areas 41 in which the same characters "890" are written: a left-side character area 41a on the left side, a central character area 41b in the center, and a right-side character area 41c on the right side.
帳票4は、図2に示されるように、枠線42と、領収印が押印される押印領域43と、切り離し線44と、を有する。 As shown in Figure 2, the document 4 has a frame 42, a stamp area 43 where a receipt stamp is to be stamped, and a separation line 44.
図2には、文字列9が通常の位置(印字ズレを生じていない場合の正規の位置)にある状態が示されている。図示例では、文字列9が枠線42の内側に位置している。上述した印字ズレ等により、文字列9が通常の位置から上下左右にズレて記載されることがある。ズレが大きい場合、文字列9の一部が枠線42の外に位置する場合がある。この意味で、文字領域41は枠線42の内側に限られず、外側に及ぶ場合がある。 Figure 2 shows the state in which the character string 9 is in its normal position (the correct position when there is no printing misalignment). In the illustrated example, the character string 9 is located inside the frame line 42. Due to the printing misalignment described above, the character string 9 may be written shifted up, down, left, or right from its normal position. If the misalignment is significant, part of the character string 9 may be located outside the frame line 42. In this sense, the character area 41 is not limited to the inside of the frame line 42, and may extend outside it.
〔管理装置〕
管理装置3は、例えばパソコンであり、図示しないCPU及びメモリを備える。メモリに記憶されたプログラムが実行されて、以下述べる各機能部の機能が実現される。
[Management device]
The management device 3 is, for example, a personal computer, and includes a CPU and a memory (not shown). Programs stored in the memory are executed to realize the functions of the respective functional units described below.
管理装置3は、図3に示すように、画像取得部31と、特定部32と、設定部33と、報知部34と、記憶部35と、通信部36と、表示部37と、を備える。管理装置3は、帳票認識処理装置2に対して遠隔地に設けられてもよいし、帳票認識処理装置2と同じ建物に設けられてもよい。本実施形態においては、管理装置3は、メーカ(製造会社)やディーラ(販売及び保守会社)に設けられている。 As shown in FIG. 3, the management device 3 includes an image acquisition unit 31, an identification unit 32, a setting unit 33, a notification unit 34, a memory unit 35, a communication unit 36, and a display unit 37. The management device 3 may be located remotely from the form recognition processing device 2, or may be located in the same building as the form recognition processing device 2. In this embodiment, the management device 3 is located at a manufacturer (manufacturing company) or a dealer (sales and maintenance company).
画像取得部31は、サンプル画像5aを取得する。サンプル画像5aは、例えば、カメラやドキュメントスキャナから取得してもよいし、他の機器から有線通信または無線通信を介して取得してもよい。 The image acquisition unit 31 acquires a sample image 5a. The sample image 5a may be acquired, for example, from a camera or document scanner, or may be acquired from another device via wired or wireless communication.
特定部32は、サンプル画像5aから文字領域41を特定する。文字領域41の特定は、管理装置3が受け付けた人為操作に基づいて行われてもよいし、画像処理等の手法により人為操作に基づかず自動的に行われてもよいし、これらの手法が混合して用いられてもよい。 The identification unit 32 identifies the character area 41 from the sample image 5a. The identification of the character area 41 may be performed based on a manual operation received by the management device 3, or may be performed automatically without manual operation using a technique such as image processing, or a combination of these techniques may be used.
設定部33は、文字領域41に対して認識条件Rを設定する。認識条件Rは、帳票4の文字認識処理に用いられる認識条件である。本実施形態において、認識条件Rは、文字領域41における文字の認識領域である。認識条件Rの設定は、管理装置3が受け付けた人為操作に基づいて行われてもよいし、人為操作に基づかず自動的に行われてもよい。 The setting unit 33 sets the recognition condition R for the character area 41. The recognition condition R is the recognition condition used in the character recognition process of the form 4. In this embodiment, the recognition condition R is the character recognition area in the character area 41. The recognition condition R may be set based on a manual operation received by the management device 3, or it may be set automatically without a manual operation.
本実施形態において、設定部33は、左側文字領域41aに対して左側認識条件Raを設定する。また、設定部33は、中央文字領域41bに対して中央認識条件Rbを設定する。設定部33は、右側文字領域41cに対して右側認識条件Rcを設定する。これに限らず、帳票4が四つ以上の文字領域41を有する場合は、設定部33は、四つ以上の認識条件Rを設定してもよい。 In this embodiment, the setting unit 33 sets a left-side recognition condition Ra for the left-side character region 41a. The setting unit 33 also sets a center recognition condition Rb for the center character region 41b. The setting unit 33 sets a right-side recognition condition Rc for the right-side character region 41c. However, if the form 4 has four or more character regions 41, the setting unit 33 may set four or more recognition conditions R.
報知部34は、表示部37にメッセージを表示する。これに限らず、報知部34は、メッセージを送信したり、音声や発光で報知してもよい。本実施形態では、報知部34は、2つの文字領域41に対して同一の認識条件Rが設定されているときに、報知を行うよう構成されている。報知部34が、全ての文字領域41に対して同一の認識条件Rが設定されているときに、報知を行うよう構成されてもよい。 The notification unit 34 displays a message on the display unit 37. Alternatively, the notification unit 34 may send a message, or issue a notification by sound or light. In this embodiment, the notification unit 34 is configured to issue a notification when the same recognition condition R is set for two character areas 41. The notification unit 34 may also be configured to issue a notification when the same recognition condition R is set for all character areas 41.
記憶部35は、サンプルデータ6を記憶する。本実施形態において、記憶部35は、HDDやROM、不揮発性メモリなどの記憶デバイスである。サンプルデータ6は、サンプル画像5aと、サンプル画像5aに紐づけられた文字領域41の位置情報と、認識条件Rと、を有する。 The storage unit 35 stores sample data 6. In this embodiment, the storage unit 35 is a storage device such as an HDD, ROM, or non-volatile memory. The sample data 6 includes a sample image 5a, position information for a character region 41 associated with the sample image 5a, and a recognition condition R.
通信部36は、インターネット回線などの情報通信網を介して帳票認識処理装置2の通信部29と通信可能である。 The communication unit 36 can communicate with the communication unit 29 of the document recognition processing device 2 via an information communication network such as the Internet.
表示部37は、文字情報を表示可能な装置であり、例えば液晶ディスプレイである。 The display unit 37 is a device capable of displaying text information, such as a liquid crystal display.
管理装置3が、人為操作を受け付ける入力装置(例えば、キーボードやマウス)を備えてもよい。 The management device 3 may also be equipped with an input device (e.g., a keyboard or mouse) that accepts manual operation.
〔帳票認識処理装置〕
帳票認識処理装置2は、図3、図4に示すように、取込部21と、表示部22と、搬送機構23と、撮像装置24と、制御部25と、入出金部26と、収納部27と、排出部28と、通信部29と、を備える。
[Form recognition processing device]
As shown in Figures 3 and 4, the document recognition processing device 2 includes an input unit 21, a display unit 22, a conveying mechanism 23, an imaging device 24, a control unit 25, a cash deposit/withdrawal unit 26, a storage unit 27, a discharge unit 28, and a communication unit 29.
取込部21は、納付者からの帳票4の挿入を受け付ける装置である。 The input unit 21 is a device that accepts the insertion of the document 4 from the payer.
表示部22は、利用者に対する情報を表示するとともに利用者からの操作・入力を受け付ける。本実施形態においては、タッチパネル式液晶モニタである。 The display unit 22 displays information to the user and accepts operations and inputs from the user. In this embodiment, it is a touch-panel LCD monitor.
搬送機構23は、図4に示されるように、ベルト23aと、複数のローラ23bと、カッタ23cと、押印部23dと、ベルト23a及びローラ23bを駆動するモータ(図示なし)と、を備えている。搬送機構23は、取込部21と接続されている。取込部21から取り込まれた帳票4は、搬送機構23によって1枚ずつ搬送される。 As shown in FIG. 4, the transport mechanism 23 includes a belt 23a, multiple rollers 23b, a cutter 23c, a stamp unit 23d, and a motor (not shown) that drives the belt 23a and rollers 23b. The transport mechanism 23 is connected to the intake unit 21. Forms 4 taken in by the intake unit 21 are transported one by one by the transport mechanism 23.
押印部23dは、帳票4の納付額の支払いが完了すると、領収印を帳票4の押印領域43に押印する。帳票4は、搬送機構23によって上流側へ戻され、カッタ23cが帳票4から領収書を切り離す。 When payment of the amount due on the document 4 is completed, the stamping unit 23d stamps a receipt in the stamping area 43 on the document 4. The document 4 is returned upstream by the conveying mechanism 23, and the cutter 23c separates the receipt from the document 4.
領収書が切り離された帳票4は、収納部27に搬送されて収納される。排出部28は、不受理とされた帳票4や領収書を排出する。 The forms 4 from which the receipts have been separated are transported to the storage unit 27 and stored. The discharge unit 28 discharges rejected forms 4 and receipts.
撮像装置24は、搬送機構23上に位置する帳票4を撮像する。撮像装置24は、例えばカメラやドキュメントスキャナである。 The imaging device 24 captures an image of the form 4 positioned on the transport mechanism 23. The imaging device 24 is, for example, a camera or a document scanner.
〔制御部〕
制御部25は、帳票認識処理装置2全体を制御するCPU(Central Processing Unit)である。制御部25は、画像取得部25aと、文字認識部25bと、照合部25cと、報知部25dと、処理部25eと、記憶部25fと、を備える。メモリ(図示省略)に記憶されたプログラムが実行されることにより、上述した各機能部の機能が実現される。
[Control Unit]
The control unit 25 is a CPU (Central Processing Unit) that controls the entire document recognition processing device 2. The control unit 25 includes an image acquisition unit 25a, a character recognition unit 25b, a matching unit 25c, a notification unit 25d, a processing unit 25e, and a storage unit 25f. The functions of the above-mentioned functional units are realized by executing a program stored in a memory (not shown).
画像取得部25aは、撮像装置24で撮像された帳票4の画像4aを取得する。すなわち制御部25は、画像取得機能を有する。画像4aは、例えば、ドキュメントスキャナから取得してもよいし、他の機器から有線通信または無線通信を介して取得してもよい。 The image acquisition unit 25a acquires the image 4a of the form 4 captured by the imaging device 24. In other words, the control unit 25 has an image acquisition function. The image 4a may be acquired, for example, from a document scanner, or from another device via wired or wireless communication.
文字認識部25bは、画像4aから文字情報を認識する。具体的には、文字認識部25bは、左側認識条件Raによって、左側文字領域41aの文字情報を認識し、かつ、左側認識条件Raとは異なる中央認識条件Rbによって、中央文字領域41bの文字情報を認識し、右側認識条件Rcによって、右側文字領域41cの文字情報を認識する。すなわち制御部25は、文字認識機能を有する。 The character recognition unit 25b recognizes character information from the image 4a. Specifically, the character recognition unit 25b recognizes character information in the left character area 41a under left recognition conditions Ra, recognizes character information in the central character area 41b under central recognition conditions Rb that are different from the left recognition conditions Ra, and recognizes character information in the right character area 41c under right recognition conditions Rc. In other words, the control unit 25 has a character recognition function.
文字認識部25bは、OCR(Optical Character Reader)によって、画像4aから文字情報を認識する。 The character recognition unit 25b recognizes character information from the image 4a using an OCR (Optical Character Reader).
照合部25cは、文字認識部25bによって認識された文字情報を照合する。処理部25eは、照合された文字情報が一致したときに帳票4の処理を行う。 The matching unit 25c matches the character information recognized by the character recognition unit 25b. The processing unit 25e processes the form 4 when the matched character information matches.
報知部25dは、利用者に報知を行う。 The notification unit 25d notifies the user.
記憶部25fは、文字認識結果を画像4aと紐づけて記憶する。記憶部25fは、例えば、HDDやROM、不揮発性メモリなどで構成される。 The storage unit 25f stores the character recognition results in association with the image 4a. The storage unit 25f is composed of, for example, a HDD, ROM, or non-volatile memory.
入出金部26は、利用者からの紙幣・硬貨の投入を受け入れて、利用者に対する釣銭の払い出しを行う。 The deposit/withdrawal unit 26 accepts bills and coins inserted by users and dispenses change to the users.
通信部29は、インターネット回線などの情報通信網を介して管理装置3の通信部36と通信可能である。 The communication unit 29 can communicate with the communication unit 36 of the management device 3 via an information communication network such as the Internet.
〔管理装置の処理〕
管理装置3の処理手順について説明する。図5は、管理装置3の処理手順を示すフローチャートである。画像取得部31によってサンプル画像5aを取得する(ステップS101)と、特定部32が、サンプル画像5aから文字領域41を特定する(ステップS102)。特定部32は、サンプル画像5aから左側文字領域41a、中央文字領域41b及び右側文字領域41cの位置を特定する。文字領域41の帳票4全体における位置情報は、サンプルデータ6に記憶される。
[Processing of Management Device]
The processing procedure of the management device 3 will be described. FIG. 5 is a flowchart showing the processing procedure of the management device 3. The image acquisition unit 31 acquires a sample image 5a (step S101), and the identification unit 32 identifies a character area 41 from the sample image 5a (step S102). The identification unit 32 identifies the positions of the left character area 41a, the center character area 41b, and the right character area 41c from the sample image 5a. Position information of the character area 41 within the entire form 4 is stored in the sample data 6.
設定部33は、複数の文字領域41に対して、それぞれ認識条件Rを設定する(ステップS103)。なお、認識条件Rの設定の詳細については後述する。 The setting unit 33 sets the recognition condition R for each of the multiple character regions 41 (step S103). Details of setting the recognition condition R will be described later.
報知部34は、少なくとも2つの文字領域41に対して同一の認識条件Rが設定されているときに(ステップS104;Yes)、設定者にその旨を報知する(ステップS105)これにより、認識条件Rを修正するように促すことができる。具体的には、報知部34が表示部37に複数の文字領域41に対する認識条件Rが同一である旨を表示する。 When the same recognition condition R is set for at least two character regions 41 (step S104; Yes), the notification unit 34 notifies the user of this fact (step S105), thereby prompting the user to modify the recognition condition R. Specifically, the notification unit 34 displays on the display unit 37 that the recognition condition R for multiple character regions 41 is the same.
認識条件Rが修正されて、全ての文字領域41に対する認識条件Rが異なるものとなった場合(ステップS104;No)、管理装置3は、サンプルデータ6を生成する(ステップS106)。設定された認識条件Rは、サンプルデータ6に含まれる状態で、記憶部35に記憶される。通信部36は、サンプルデータ6を帳票認識処理装置2に送信して(ステップS107)処理を終了する。 If the recognition conditions R are modified so that the recognition conditions R for all character regions 41 are different (Step S104; No), the management device 3 generates sample data 6 (Step S106). The set recognition conditions R are stored in the memory unit 35 as part of the sample data 6. The communication unit 36 transmits the sample data 6 to the form recognition processing device 2 (Step S107), and the process ends.
〔認識条件の設定について〕
図6、図7は、管理装置3において設定される認識条件Rの設定の一例を示している。図6に示すように、本実施形態においては、サンプル画像5aの文字領域41に文字列9は印字されていないものとする。これに限らず、サンプル画像5aの文字領域41に文字列9が印字されていてもよい。
[About setting recognition conditions]
6 and 7 show an example of the setting of the recognition condition R in the management device 3. As shown in Fig. 6, in this embodiment, the character string 9 is not printed in the character area 41 of the sample image 5a. However, the present invention is not limited to this, and the character string 9 may be printed in the character area 41 of the sample image 5a.
図6、図7に示すように、認識条件Rは、枠線42a、枠線42b及び枠線42cを基準とする文字の認識領域の相対位置である。左右方向をX軸方向(右が+)、上下方向をY軸方向(上が+)とする。認識条件Rは、第1座標#1と第2座標#2を結ぶ直線を対角線とする矩形で表される。第1座標#1は、矩形の左上角の座標である。第2座標#2は、矩形の左下角の座標である。第1座標#1は、枠線42a、枠線42b及び枠線42cの左上角の座標を原点とした相対位置を表す。第2座標#2は、枠線42a、枠線42b及び枠線42cの右下角の座標を原点とした相対位置を表す。 As shown in Figures 6 and 7, recognition condition R is the relative position of the character recognition area based on frame lines 42a, 42b, and 42c. The left-right direction is the X-axis direction (right is +), and the up-down direction is the Y-axis direction (up is +). Recognition condition R is represented by a rectangle with the straight line connecting first coordinate #1 and second coordinate #2 as its diagonal. First coordinate #1 is the coordinate of the upper left corner of the rectangle. Second coordinate #2 is the coordinate of the lower left corner of the rectangle. First coordinate #1 represents a relative position with the coordinate of the upper left corner of frame lines 42a, 42b, and 42c as the origin. Second coordinate #2 represents a relative position with the coordinate of the lower right corner of frame lines 42a, 42b, and 42c as the origin.
図6に示すように、左側認識条件Raは、枠線42aを基準として第1座標#1及び第2座標#2の位置で表すものとする。中央認識条件Rbは、枠線42bを基準として第1座標#1及び第2座標#2の位置で表すものとする。右側認識条件Rcは、枠線42cを基準として第1座標#1及び第2座標#2の位置で表すものとする。 As shown in FIG. 6, the left-side recognition condition Ra is expressed by the positions of the first coordinate #1 and the second coordinate #2 with respect to the frame line 42a. The center recognition condition Rb is expressed by the positions of the first coordinate #1 and the second coordinate #2 with respect to the frame line 42b. The right-side recognition condition Rc is expressed by the positions of the first coordinate #1 and the second coordinate #2 with respect to the frame line 42c.
図7は、認識条件Rの設定結果の一例を示している。図7(a)は、図6(a)の認識条件Rを示している。X1、Y1、X2、Y2の値は例えば、ピクセル(pixel)で表すものとする。図6(a)において、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcは、枠線42a、枠線42b及び枠線42cと一致するように設定されている。したがって、図7(a)に示すように、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcは、第1座標#1(X1、Y1)及び第2座標#2(X2、Y2)が全て「±0」となる。この例では、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcが同一である。 Figure 7 shows an example of the setting results for recognition condition R. Figure 7(a) shows the recognition condition R of Figure 6(a). The values of X1, Y1, X2, and Y2 are expressed in pixels, for example. In Figure 6(a), the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc are set to match the frame lines 42a, 42b, and 42c. Therefore, as shown in Figure 7(a), the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc have first coordinate #1 (X1, Y1) and second coordinate #2 (X2, Y2) all set to "±0." In this example, the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc are identical.
図7(b)は、図6(b)の認識条件Rを示している。図6(b)において、中央認識条件Rbは、枠線42bと一致するように設定されている。左側認識条件Ra及び右側認識条件Rcは、枠線42a及び枠線42cと一致しないように設定されている。具体的には、図7(b)に示すように、中央認識条件Rbは、第1座標#1(X1、Y1)及び第2座標#2(X2、Y2)は、全て「±0」となる。 Figure 7(b) shows the recognition condition R of Figure 6(b). In Figure 6(b), the center recognition condition Rb is set to match the frame line 42b. The left-side recognition condition Ra and the right-side recognition condition Rc are set not to match the frame line 42a and the frame line 42c. Specifically, as shown in Figure 7(b), the center recognition condition Rb is set so that the first coordinate #1 (X1, Y1) and the second coordinate #2 (X2, Y2) are all "±0".
左側認識条件Raの第1座標#1(X1、Y1)は、枠線42aの左上の角から-X方向及び+Y方向に偏倚している。したがって、左側認識条件Raの第1座標#1(X1、Y1)は、(-10,+20)で表される。また、左側認識条件Raの第2座標#2(X2、Y2)は、枠線42aの右下の角から+X方向に偏倚している。したがって、左側認識条件Raの第2座標#2(X2、Y2)は、(+10,±0)で表される。 The first coordinate #1 (X1, Y1) of the left-side recognition condition Ra is biased in the -X and +Y directions from the upper left corner of the frame line 42a. Therefore, the first coordinate #1 (X1, Y1) of the left-side recognition condition Ra is expressed as (-10, +20). Furthermore, the second coordinate #2 (X2, Y2) of the left-side recognition condition Ra is biased in the +X direction from the lower right corner of the frame line 42a. Therefore, the second coordinate #2 (X2, Y2) of the left-side recognition condition Ra is expressed as (+10, ±0).
右側認識条件Rcの第1座標#1(X1、Y1)は、枠線42cの左上の角と一致する。したがって、右側認識条件Rcの第1座標#1(X1、Y1)を(±0,±0)で表される。また、右側認識条件Rcの第2座標#2(X2、Y2)は、枠線42cの右下の角から+X方向に偏倚している。したがって、右側認識条件Rcの第2座標#2(X2、Y2)は、(+20,±0)で表される。 The first coordinate #1 (X1, Y1) of the right-side recognition condition Rc coincides with the upper left corner of the frame line 42c. Therefore, the first coordinate #1 (X1, Y1) of the right-side recognition condition Rc is expressed as (±0, ±0). Furthermore, the second coordinate #2 (X2, Y2) of the right-side recognition condition Rc is biased in the +X direction from the lower right corner of the frame line 42c. Therefore, the second coordinate #2 (X2, Y2) of the right-side recognition condition Rc is expressed as (+20, ±0).
図6(b)及び図7(b)の例において、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcは、互いに相違する。 In the examples of Figures 6(b) and 7(b), the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc are different from each other.
〔帳票認識処理装置の処理〕
次に帳票認識処理装置2の処理手順について説明する。図8は、帳票認識処理装置2の処理手順を示すフローチャートである。通信部29は、管理装置3から、サンプルデータ6を取得し、記憶部25fに記憶する。取込部21が帳票4を取り込むと(ステップS201)、撮像装置24が帳票4を撮像する。
[Processing by the document recognition processing device]
Next, a description will be given of the processing procedure of the form recognition processing device 2. Fig. 8 is a flowchart showing the processing procedure of the form recognition processing device 2. The communication unit 29 acquires sample data 6 from the management device 3 and stores it in the memory unit 25f. When the import unit 21 imports the form 4 (step S201), the imaging device 24 images the form 4.
画像取得部25aによって、帳票4の画像4aを取得する画像取得ステップ(ステップS202)を含む。画像4aは、サンプル画像5aと照合されて、サンプル画像5aと紐づいた認識条件Rが呼び出される。例えば、画像4aとサンプル画像5aとの照合には、テンプレートマッチング法などが用いられる。なお、画像4aと一致するサンプル画像5aがないと判断された場合は、帳票4は、不受理とされる。不受理とされた帳票4は、排出部28から排出される。 The process includes an image acquisition step (step S202) in which the image acquisition unit 25a acquires an image 4a of the form 4. The image 4a is compared with a sample image 5a, and the recognition condition R associated with the sample image 5a is called up. For example, a template matching method is used to compare the image 4a with the sample image 5a. Note that if it is determined that there is no sample image 5a that matches the image 4a, the form 4 is rejected. The rejected form 4 is discharged from the discharge unit 28.
文字認識部25bは、取得した画像4aとサンプルデータ6から予め設定された認識条件Rを読み込む(ステップS203)。文字認識部25bは、予め設定された認識条件Rを用いて画像4aから文字情報を認識する(ステップS204)。具体的には、左側認識条件Raによって、左側文字領域41aの文字情報を認識し、かつ、左側認識条件Raとは異なる中央認識条件Rbによって、中央文字領域41bの文字情報を認識し、右側認識条件Rcによって、右側文字領域41cの文字情報を認識する文字認識ステップを含む。 The character recognition unit 25b reads preset recognition conditions R from the acquired image 4a and sample data 6 (step S203). The character recognition unit 25b recognizes character information from the image 4a using the preset recognition conditions R (step S204). Specifically, the character recognition step includes recognizing character information in the left character area 41a using left recognition conditions Ra, recognizing character information in the central character area 41b using central recognition conditions Rb that are different from the left recognition conditions Ra, and recognizing character information in the right character area 41c using right recognition conditions Rc.
なお、ステップS204において、文字認識部25bは、文字領域41の文字情報の認識の他に、帳票4全体の文字情報の認識をしてもよい。また、左側文字領域41aの文字情報の認識処理と中央文字領域41bの文字情報の認識処理とは、同時に行ってもよいし、それぞれ順番に行ってもよい。 In step S204, the character recognition unit 25b may recognize the character information of the entire document 4 in addition to recognizing the character information in the character area 41. Furthermore, the recognition process for the character information in the left character area 41a and the recognition process for the character information in the central character area 41b may be performed simultaneously or sequentially.
照合部25cは、文字認識部25bによって認識された文字情報が一致するかを照合する(ステップS205)。具体的には、照合部25cは、左側文字領域41aから認識された文字情報と中央文字領域41bから認識された文字情報と右側文字領域41cから認識された文字情報とが一致するかを照合する(照合ステップ)。これに限らず、照合部25cは、少なくとも複数の文字領域41に記載された文字情報を照合するものであればよい。例えば、照合部25cは、左側文字領域41aから認識された文字情報と中央文字領域41bから認識された文字情報のみを照合してもよい。文字情報の照合の詳細については後述する。 The matching unit 25c checks whether the character information recognized by the character recognition unit 25b matches (step S205). Specifically, the matching unit 25c checks whether the character information recognized from the left character area 41a matches the character information recognized from the central character area 41b, and the character information recognized from the right character area 41c (matching step). This is not a limitation, and the matching unit 25c may simply match character information written in at least multiple character areas 41. For example, the matching unit 25c may only match the character information recognized from the left character area 41a with the character information recognized from the central character area 41b. Details of character information matching will be described later.
処理部25eは、照合部25cによる文字情報が一致するとの判定(ステップS206;Yes)を受けて、帳票4の処理を行う(ステップS207)。具体的には、処理部25eは、納付額を確定して納付額の支払いを開始する。帳票4の納付額の支払いが完了すると、押印部23dは、領収印を帳票4の押印領域43に押印する。 When the matching unit 25c determines that the character information matches (step S206; Yes), the processing unit 25e processes the document 4 (step S207). Specifically, the processing unit 25e determines the payment amount and starts paying the payment amount. When payment of the payment amount on the document 4 is completed, the stamping unit 23d stamps a receipt stamp in the stamping area 43 on the document 4.
押印された帳票4は、搬送機構23によって上流側へ戻され、カッタ23cが帳票4から領収書を切り離す。領収書が切り離された帳票4は、収納部27に搬送されて収納される。排出部28は、領収書を排出する。 The stamped form 4 is returned upstream by the transport mechanism 23, and the cutter 23c separates the receipt from the form 4. The form 4 from which the receipt has been separated is transported to the storage unit 27 and stored. The discharge unit 28 discharges the receipt.
文字情報が不一致であると判定された場合(ステップS206;No)、報知部25dが報知を行う(ステップS208)。本実施形態において、報知部25dは、表示部22にメッセージを表示させる。例えば、表示部22は、「この帳票の支払いは窓口で行ってください。」などのメッセージを表示する。これに限らず、報知部25dは、窓口担当者にメッセージを有線通信または無線通信を介して送信したり、音声や発光で報知してもよい。この場合、処理部25eは、帳票4を処理せずに、帳票4を排出部28から排出させる。 If it is determined that the text information does not match (step S206; No), the notification unit 25d issues a notification (step S208). In this embodiment, the notification unit 25d displays a message on the display unit 22. For example, the display unit 22 displays a message such as "Please pay this document at the counter." However, the notification unit 25d may also send a message to the counter clerk via wired or wireless communication, or may notify the counter clerk by sound or light. In this case, the processing unit 25e ejects the document 4 from the ejection unit 28 without processing the document 4.
文字認識結果は、帳票データ7として記憶部25fに記憶される。なお、通信部29が帳票データ7を管理装置3に送信するように構成されてもよい。 The character recognition results are stored in the memory unit 25f as form data 7. The communication unit 29 may also be configured to transmit the form data 7 to the management device 3.
〔文字情報の認識処理について〕
図9は、帳票認識処理装置2において行われる文字情報の認識処理の一例を示している。図示例では、納付額を示す「¥8200」の文字が、右端部が枠線42a、枠線42b、枠線42cの外側にはみ出す状態で印字されている。
[About character information recognition processing]
9 shows an example of the character information recognition process performed by the document recognition processing device 2. In the illustrated example, the characters "8200 yen" indicating the payment amount are printed with their right ends extending outside the frame lines 42a, 42b, and 42c.
図9(a)は、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcが同じである場合を示す。具体的には、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcは、枠線42a、枠線42b、枠線42cと一致する位置に文字の認識領域が設定されている。 Figure 9 (a) shows a case where the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc are the same. Specifically, the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc set the character recognition area at a position that coincides with the frame lines 42a, 42b, and 42c.
図9(b)は、左側認識条件Ra、中央認識条件Rb及び右側認識条件Rcが異なっている場合を示す。具体的には、中央認識条件Rbは、枠線42bと重なる位置に認識領域が設定されている。左側認識条件Ra及び右側認識条件Rcは、枠線42a及び枠線42cを基準として、X軸方向及びY軸方向に偏倚した位置に設定されている。 Figure 9 (b) shows a case where the left-side recognition condition Ra, the center recognition condition Rb, and the right-side recognition condition Rc are different. Specifically, the center recognition condition Rb sets the recognition area at a position that overlaps with the frame line 42b. The left-side recognition condition Ra and the right-side recognition condition Rc are set at positions offset in the X-axis and Y-axis directions with respect to the frame lines 42a and 42c.
図10は、帳票認識処理装置2において行われる文字情報の照合処理の一例を示している。図10(a)は、図9(a)の文字認識結果及び照合結果を示している。帳票4に印字されていた文字は、「¥8200」である。一方、左側文字領域41a、中央文字領域41b及び右側文字領域41cから認識された文字は「¥820」である。枠線42a、42b、42cの外に位置した「0」の文字が認識されていない。この場合、照合部25cは、文字情報が「¥820」で一致すると判定する。したがって、処理部25eは、「¥820」という誤った納付額(帳票4に印字された金額と異なる金額)で帳票4を処理してしまう。 Figure 10 shows an example of the character information matching process performed by the document recognition processing device 2. Figure 10(a) shows the character recognition and matching results of Figure 9(a). The characters printed on document 4 are "¥8200." Meanwhile, the characters recognized from the left character area 41a, center character area 41b, and right character area 41c are "¥820." The "0" character located outside the frame lines 42a, 42b, and 42c is not recognized. In this case, the matching unit 25c determines that the character information matches "¥820." Therefore, the processing unit 25e processes document 4 with the incorrect payment amount of "¥820" (an amount different from the amount printed on document 4).
図10(b)は、図9(b)の文字認識結果及び照合結果を示している。左側文字領域41a及び右側文字領域41cから認識された文字情報は、「¥8200」である。中央文字領域41bから認識された文字情報は「¥820」である。この場合、照合部25cは、文字情報が不一致であると判定する。したがって、文字情報の誤認識を検出することができ、処理部25eは、誤った納付額で帳票4を処理することを防止することができる。 Figure 10(b) shows the character recognition and matching results of Figure 9(b). The character information recognized from the left character area 41a and the right character area 41c is "¥8200." The character information recognized from the center character area 41b is "¥820." In this case, the matching unit 25c determines that the character information does not match. Therefore, it is possible to detect erroneous recognition of the character information, and the processing unit 25e can prevent the document 4 from being processed with an incorrect payment amount.
特許請求の範囲に記載された「第1認識条件」及び「第2認識条件」は、実施形態における左側認識条件Ra、中央認識条件Rb、及び右側認識条件Rcのうちの任意の2つである。特許請求の範囲に記載された「第1文字領域」及び「第2文字領域」は、実施形態における左側文字領域41a、中央文字領域41b、及び右側文字領域41cのうちの「第1認識条件」及び「第2認識条件」に対応する2つである。例えば、中央認識条件Rb及び右側認識条件Rcが「第1認識条件」及び「第2認識条件」に対応する場合、中央文字領域41b及び右側文字領域41cが「第1文字領域」及び「第2文字領域」に対応する。 The "first recognition condition" and "second recognition condition" described in the claims are any two of the left-side recognition condition Ra, center recognition condition Rb, and right-side recognition condition Rc in the embodiment. The "first character area" and "second character area" described in the claims are two of the left-side character area 41a, center character area 41b, and right-side character area 41c in the embodiment that correspond to the "first recognition condition" and "second recognition condition." For example, if the center recognition condition Rb and the right-side recognition condition Rc correspond to the "first recognition condition" and "second recognition condition," then the center character area 41b and the right-side character area 41c correspond to the "first character area" and "second character area."
〔別実施形態〕
(1)上述の例では、報知部34が、2つの(又は全ての)文字領域41に対して同一の認識条件Rが設定されているときに、報知を行うよう構成されている。同一の認識条件Rの設定を避けるために、他の手段が採用されてもよい。例えば、設定部33が、2つの(又は全ての)文字領域41に対して同一の認識条件Rが設定されることを禁止するように構成されてもよい。認識条件Rの設定が人為操作に基づいて行われる場合には、設定部33が、2つの(又は全ての)文字領域41に対して同一の認識条件Rを設定する人為操作を受け付けたときに、操作の受容の拒否や、設定完了の禁止を行うように構成されてもよい。
[Another embodiment]
(1) In the above example, the notification unit 34 is configured to issue a notification when the same recognition condition R is set for two (or all) character areas 41. Other means may be employed to avoid setting the same recognition condition R. For example, the setting unit 33 may be configured to prohibit the setting of the same recognition condition R for two (or all) character areas 41. When the recognition condition R is set based on a manual operation, the setting unit 33 may be configured to refuse to accept the operation or prohibit completion of the setting when it receives a manual operation to set the same recognition condition R for two (or all) character areas 41.
(2)帳票認識処理装置2が、文字の誤認識の可能性が高い場合に報知を行うよう構成されてもよい。例えば、図11に示すように、報知部25dが、文字認識部25bが文字認識を行った際に、余白aが、文字の幅cの一文字分の幅bよりも小さい場合に報知するよう構成されてもよい。報知部25dは、表示部22に利用者に対するメッセージを表示する。具体的には、報知部25dは、誤認識の恐れがある旨及び窓口で処理を行う旨のメッセージを表示部22に表示させる。報知部25dが、窓口担当者にメッセージを有線通信または無線通信を介して送信したり、音声や発光で報知してもよい。 (2) The document recognition processing device 2 may be configured to issue a warning when there is a high possibility of misrecognition of characters. For example, as shown in FIG. 11, the warning unit 25d may be configured to issue a warning when the character recognition unit 25b performs character recognition and the margin a is smaller than the width b of one character that is the character width c. The warning unit 25d displays a message for the user on the display unit 22. Specifically, the warning unit 25d displays a message on the display unit 22 indicating that there is a possibility of misrecognition and that processing will be carried out at the counter. The warning unit 25d may send a message to the counter clerk via wired or wireless communication, or may issue a warning by sound or light emission.
また、複数の文字領域41において、余白aが、文字の幅cの一文字分の幅bよりも小さい場合に、報知部25dが報知するよう構成されてもよい。単一の文字領域41において余白aが文字の幅cの一文字分の幅bよりも小さい場合には、報知部25dは報知しない。例えば、左側文字領域41a及び中央文字領域41bにおいて、余白aが、文字の幅cの一文字分の幅bよりも小さい場合に、報知部25dは報知を行う。これにより、単一の文字領域41の余白aが、文字の幅cの一文字分の幅bよりも小さい場合に報知する構成と比較して、帳票4の誤認識の可能性が高い場合にのみ報知を行うことできる。したがって、帳票4の誤認識を検出しやすくし、かつ、報知部25dによる報知が頻発することを抑制できる。 The notification unit 25d may also be configured to issue an alert when the margin a in multiple character regions 41 is smaller than the width b of one character of the character width c. If the margin a in a single character region 41 is smaller than the width b of one character of the character width c, the notification unit 25d will not issue an alert. For example, the notification unit 25d issues an alert when the margin a in the left character region 41a and the center character region 41b is smaller than the width b of one character of the character width c. This makes it possible to issue an alert only when there is a high possibility of erroneous recognition of the form 4, compared to a configuration that issues an alert when the margin a in a single character region 41 is smaller than the width b of one character of the character width c. This makes it easier to detect erroneous recognition of the form 4 and reduces the frequency of alerts by the notification unit 25d.
(3)上述の例では、認識条件Rが、枠線42を基準とする認識範囲の相対位置において異なる。認識条件Rが他の点で異なってもよい。例えば、認識条件Rが、文字認識の方式において異なってもよい。例えば、1つの認識条件Rの文字認識方式がAIを用いたOCRであり、他の認識条件Rの文字認識方式が非AIのOCRであってもよい。 (3) In the above example, the recognition conditions R differ in the relative position of the recognition range with respect to the frame line 42. The recognition conditions R may differ in other respects. For example, the recognition conditions R may differ in the character recognition method. For example, the character recognition method for one recognition condition R may be OCR using AI, and the character recognition method for another recognition condition R may be non-AI OCR.
(4)認識条件Rは、文字領域41における文字の認識領域であり、中央認識条件Rbは、左側文字領域41aまたは右側文字領域41cにおける文字の認識領域の大きさが異なるものでもよい。認識条件Rが、文字の認識領域の大きさにおいて異なってもよい。 (4) Recognition condition R is the character recognition area in character area 41, and center recognition condition Rb may be such that the size of the character recognition area in left character area 41a or right character area 41c is different. Recognition condition R may differ in the size of the character recognition area.
(5)認識条件Rは、図12に示すように、文字領域41における文字を認識する区分が上述の例と異なる形態であってもよい。図示例では、左側認識条件Raは、左側文字領域41aの文字情報全体を一つの区分で認識する。中央認識条件Rbは、中央文字領域41bの文字情報を一文字ずつの区分で認識する。右側認識条件Rcは、右側文字領域41cの文字情報をカンマ毎に区分して認識する。 (5) As shown in FIG. 12, the recognition condition R may have a different form from the example described above in terms of the divisions for recognizing characters in the character area 41. In the illustrated example, the left-side recognition condition Ra recognizes the entire character information in the left-side character area 41a in one division. The center recognition condition Rb recognizes the character information in the center character area 41b in divisions one character at a time. The right-side recognition condition Rc recognizes the character information in the right-side character area 41c by dividing it into commas.
(6)認識条件Rは、図13に示すように、文字列9の通常位置(正常に印字された位置)を基準として設定されてもよい。図示例では、左側認識条件Raにおける文字列9を基準とした領域の範囲d1、d2、d3、d4は、中央認識条件Rbにおける文字列9を基準とした領域の範囲e1、e2、e3、e4及び右側認識条件Rcにおける文字列9を基準とした領域の範囲f1、f2、f3、f4と異なる。 (6) As shown in FIG. 13, the recognition condition R may be set based on the normal position (normally printed position) of the character string 9. In the illustrated example, the ranges d1, d2, d3, and d4 of the area based on the character string 9 in the left-side recognition condition Ra are different from the ranges e1, e2, e3, and e4 of the area based on the character string 9 in the center recognition condition Rb and the ranges f1, f2, f3, and f4 of the area based on the character string 9 in the right-side recognition condition Rc.
(7)特定部32が帳票認識処理装置2に設けられてもよい。 (7) The identification unit 32 may be provided in the document recognition processing device 2.
(8)本実施形態において、認識条件Rは、第1座標#1(X1、Y1)と第2座標#2(X2、Y2)を結ぶ直線を対角線とする矩形で表される。これに限らず、文字領域41の文字の認識領域は任意の形状が可能である。 (8) In this embodiment, the recognition condition R is represented by a rectangle whose diagonal is a straight line connecting the first coordinate #1 (X1, Y1) and the second coordinate #2 (X2, Y2). This is not limited to this, and the character recognition area of the character area 41 can have any shape.
(9)本実施形態においては、文字領域41は、納付額が記載された領域である。これに限らず、文字領域41は、納付者、延滞金、納期限、合計納付金額などが記載された領域でもよい。 (9) In this embodiment, the text area 41 is an area in which the payment amount is written. However, the text area 41 may also be an area in which the payer, late fees, payment deadline, total payment amount, etc. are written.
以上のように本発明に係る帳票認識処理システム、帳票認識処理方法、帳票認識処理プログラムは、帳票の誤認識を検出しやすくする場合に適している。 As described above, the form recognition processing system, form recognition processing method, and form recognition processing program of the present invention are suitable for making it easier to detect misrecognition of forms.
1 :帳票認識処理システム
2 :帳票認識処理装置
3 :管理装置
4 :帳票
4a :画像
5a :サンプル画像
25a :画像取得部
25b :文字認識部
25c :照合部
25e :処理部
32 :特定部
33 :設定部
34 :報知部
41 :文字領域
41a :左側文字領域(第1文字領域、第2文字領域)
41b :中央文字領域(第1文字領域、第2文字領域)
41c :右側文字領域(第1文字領域、第2文字領域)
R :認識条件
Ra :左側認識条件(第1認識条件、第2認識条件)
Rb :中央認識条件(第1認識条件、第2認識条件)
Rc :右側認識条件(第1認識条件、第2認識条件)
1: Form recognition processing system 2: Form recognition processing device 3: Management device 4: Form 4a: Image 5a: Sample image 25a: Image acquisition unit 25b: Character recognition unit 25c: Collation unit 25e: Processing unit 32: Identification unit 33: Setting unit 34: Notification unit 41: Character area 41a: Left character area (first character area, second character area)
41b: Central character area (first character area, second character area)
41c: Right side character area (first character area, second character area)
R: Recognition condition Ra: Left side recognition condition (first recognition condition, second recognition condition)
Rb: Central recognition condition (first recognition condition, second recognition condition)
Rc: Right side recognition condition (first recognition condition, second recognition condition)
Claims (10)
前記帳票の画像を取得する画像取得部と、
予め設定された認識条件を用いて前記画像から文字情報を認識する文字認識部と、を備え、
前記文字認識部は、前記認識条件としての第1認識条件を用いて前記文字領域としての第1文字領域から文字情報を認識し、かつ、前記第1認識条件とは異なる前記認識条件としての第2認識条件を用いて前記文字領域としての第2文字領域から文字情報を認識する、帳票認識処理システム。 A form recognition processing system that performs recognition processing on a form having a plurality of character areas in which the same characters are written,
an image acquisition unit that acquires an image of the form;
a character recognition unit that recognizes character information from the image using a predetermined recognition condition,
A document recognition processing system in which the character recognition unit recognizes character information from a first character area as the character area using a first recognition condition as the recognition condition, and recognizes character information from a second character area as the character area using a second recognition condition as the recognition condition that is different from the first recognition condition.
前記第1文字領域から認識された文字情報と前記第2文字領域から認識された文字情報とが一致すると前記照合部が判定したときに前記帳票の処理を行う処理部と、を更に備える請求項1に記載の帳票認識処理システム。 a matching unit that matches the character information recognized by the character recognition unit;
The document recognition processing system according to claim 1, further comprising a processing unit that processes the document when the comparison unit determines that the character information recognized from the first character area matches the character information recognized from the second character area.
2つの前記文字領域に対して同一の前記認識条件が設定されているときに報知する報知部と、をさらに備える請求項1に記載の帳票認識処理システム。 a setting unit capable of setting the recognition conditions;
The document recognition processing system according to claim 1 , further comprising: a notification unit that notifies when the same recognition conditions are set for two of the character areas.
前記設定部は、2つの前記文字領域に対して同一の前記認識条件が設定されることを禁止する請求項1に記載の帳票認識処理システム。 further comprising a setting unit capable of setting the recognition conditions,
The form recognition processing system according to claim 1 , wherein the setting unit prohibits the same recognition condition from being set for two of the character regions.
全ての前記文字領域に対して同一の前記認識条件が設定されているときに報知する報知部と、をさらに備える請求項1に記載の帳票認識処理システム。 a setting unit capable of setting the recognition conditions;
The document recognition processing system according to claim 1 , further comprising: a notification unit that notifies when the same recognition conditions are set for all the character areas.
前記設定部は、全ての前記文字領域に対して同一の前記認識条件が設定されることを禁止する請求項1に記載の帳票認識処理システム。 further comprising a setting unit capable of setting the recognition conditions,
2. The form recognition processing system according to claim 1, wherein the setting unit prohibits the same recognition condition from being set for all the character regions.
前記設定部は、前記特定部が特定した前記文字領域に対して前記認識条件を設定する請求項4から7のいずれか一項に記載の帳票認識処理システム。 an identifying unit that identifies the character area from a sample image showing the content of the form;
The form recognition processing system according to claim 4 , wherein the setting unit sets the recognition conditions for the character area identified by the identifying unit.
前記帳票の画像を取得する画像取得ステップと、
第1認識条件によって、前記第1文字領域の文字情報を認識し、かつ、前記第1認識条件とは異なる第2認識条件によって、前記第2文字領域の文字情報を認識する文字認識ステップと、を含む帳票認識処理方法。 A form recognition processing method in which a computer performs recognition processing on a form having a first character area and a second character area as character areas in which the same character is written,
an image acquisition step of acquiring an image of the form;
A form recognition processing method including a character recognition step of recognizing character information in the first character region under first recognition conditions, and recognizing character information in the second character region under second recognition conditions different from the first recognition conditions.
前記帳票の画像を取得する画像取得機能と、
第1認識条件によって、前記第1文字領域の文字情報を認識し、かつ、前記第1認識条件とは異なる第2認識条件によって、前記第2文字領域の文字情報を認識する文字認識機能と、をコンピュータに実現させる帳票認識処理プログラム。 A form recognition processing program that, when executed by a computer, performs recognition processing on a form having a first character area and a second character area as character areas in which the same character is written,
an image acquisition function for acquiring an image of the form;
A document recognition processing program that causes a computer to realize a character recognition function that recognizes character information in the first character area under a first recognition condition, and recognizes character information in the second character area under a second recognition condition that is different from the first recognition condition.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022098039A JP7787779B2 (en) | 2022-06-17 | 2022-06-17 | Form recognition processing system, form recognition processing method, and form recognition processing program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2022098039A JP7787779B2 (en) | 2022-06-17 | 2022-06-17 | Form recognition processing system, form recognition processing method, and form recognition processing program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023184100A JP2023184100A (en) | 2023-12-28 |
| JP7787779B2 true JP7787779B2 (en) | 2025-12-17 |
Family
ID=89333322
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022098039A Active JP7787779B2 (en) | 2022-06-17 | 2022-06-17 | Form recognition processing system, form recognition processing method, and form recognition processing program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7787779B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002133366A (en) | 2000-10-23 | 2002-05-10 | Nec Corp | Character recognition device and character recognition method |
| JP2010182219A (en) | 2009-02-09 | 2010-08-19 | Hitachi Ulsi Systems Co Ltd | Image processing apparatus |
| US20190286896A1 (en) | 2018-03-15 | 2019-09-19 | Sureprep, Llc | System and method for automatic detection and verification of optical character recognition data |
| JP6690596B2 (en) | 2017-04-28 | 2020-04-28 | 京セラドキュメントソリューションズ株式会社 | Information processing equipment |
| JP6696155B2 (en) | 2015-11-16 | 2020-05-20 | 富士ゼロックス株式会社 | Information processing device, image reading device, and program |
| JP6910273B2 (en) | 2017-11-17 | 2021-07-28 | グローリー株式会社 | Form image processing device, form image processing system, form image processing method and program |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3237906B2 (en) * | 1992-07-23 | 2001-12-10 | 株式会社東芝 | Inspection equipment for printed matter |
| JP7234554B2 (en) * | 2018-09-25 | 2023-03-08 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and program |
-
2022
- 2022-06-17 JP JP2022098039A patent/JP7787779B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002133366A (en) | 2000-10-23 | 2002-05-10 | Nec Corp | Character recognition device and character recognition method |
| JP2010182219A (en) | 2009-02-09 | 2010-08-19 | Hitachi Ulsi Systems Co Ltd | Image processing apparatus |
| JP6696155B2 (en) | 2015-11-16 | 2020-05-20 | 富士ゼロックス株式会社 | Information processing device, image reading device, and program |
| JP6690596B2 (en) | 2017-04-28 | 2020-04-28 | 京セラドキュメントソリューションズ株式会社 | Information processing equipment |
| JP6910273B2 (en) | 2017-11-17 | 2021-07-28 | グローリー株式会社 | Form image processing device, form image processing system, form image processing method and program |
| US20190286896A1 (en) | 2018-03-15 | 2019-09-19 | Sureprep, Llc | System and method for automatic detection and verification of optical character recognition data |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023184100A (en) | 2023-12-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2013140563A1 (en) | System for reading paper sheet serial number, and method for reading paper sheet serial number | |
| JP5680893B2 (en) | Banknote transaction processing device | |
| JP2012174132A (en) | Method and system for managing paper sheet | |
| CN102160093A (en) | Paper management device, paper management method, and paper management program | |
| US20130159183A1 (en) | Method of operating an image-based self-service check depositing terminal to detect a duplicate check deposit | |
| JP7787779B2 (en) | Form recognition processing system, form recognition processing method, and form recognition processing program | |
| JP6239291B2 (en) | Paper sheet transaction apparatus and paper sheet transaction processing method | |
| CN103456074B (en) | Bill handling device, paper disposal route, automated trading system | |
| JP2014220001A (en) | Paper money processing apparatus | |
| JP3341057B2 (en) | Securities issuing equipment | |
| JP4110258B2 (en) | Form handling device | |
| JP2016162153A (en) | Storage slip processing device | |
| JP5607386B2 (en) | Transaction processing system | |
| JP7718182B2 (en) | Cash handling system, control method, and program | |
| JP6736277B2 (en) | Form processing method, form processing device, system and program | |
| JP2004021518A (en) | Slip window processing system | |
| JP2006004121A (en) | Business form data processing system | |
| JP2021033814A (en) | Image processing apparatus, program, image processing method, and document form processing apparatus | |
| JP4298904B2 (en) | Character recognition method | |
| KR20090002012A (en) | Scanning image data verification device and program recording media and dedicated paper for scanning image data verification | |
| JP2025035736A (en) | Mark sheet reader and mark sheet reading program | |
| JP2006244238A (en) | Identification code confirming device | |
| JP2009064227A (en) | Form reader | |
| JP2016095589A (en) | Business form processing system, business form processing method, and business form classification device | |
| JP2018140538A (en) | Document cutting device, document cutting method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20250210 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20251009 |
|
| 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: 20251118 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20251205 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7787779 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |