JP3353999B2 - Image data recognition device - Google Patents
Image data recognition deviceInfo
- Publication number
- JP3353999B2 JP3353999B2 JP08506194A JP8506194A JP3353999B2 JP 3353999 B2 JP3353999 B2 JP 3353999B2 JP 08506194 A JP08506194 A JP 08506194A JP 8506194 A JP8506194 A JP 8506194A JP 3353999 B2 JP3353999 B2 JP 3353999B2
- Authority
- JP
- Japan
- Prior art keywords
- error
- recognition
- rule
- unit
- data
- 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.)
- Expired - Fee Related
Links
Landscapes
- Character Discrimination (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、イメージデータ認識装
置に係り、特に、ファクシミリ通信により受信した画像
データが認識できない場合に、受信した画像データが認
識可能となるように修正するイメージデータ認識装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data recognizing apparatus, and more particularly, to an image data recognizing apparatus that corrects received image data so that the received image data can be recognized when the image data cannot be recognized by facsimile communication. About.
【0002】詳しくは、ファクシミリ通信により受信し
たOCRファクシミリ原稿により入力された画像データ
の文字認識を行う場合に、認識不可となる文字を人手を
介さずに修正して認識可能とするシステムが望まれてい
る。More specifically, when character recognition is performed on image data input from an OCR facsimile manuscript received by facsimile communication, a system is desired that corrects characters that cannot be recognized without human intervention and enables recognition. ing.
【0003】[0003]
【従来の技術】図9は、従来のデータ修正を説明するた
めの図である。同図に示すように、OCR用の記入用紙
に利用者が必要事項を記入し、ファクシミリ装置100
からファクシミリ通信制御部110を介して文字認識装
置120に送信する。文字認識装置120は、ファクシ
ミリ装置100からOCRの画像データを受信すると、
当該データをスキャナ221で走査する。スキャナ22
1により読み取られたデータは文字認識処理部222に
渡され、解析され、認識された認識結果は、利用者デー
タ編集部130に出力される。また、文字認識処理部2
22で認識できなかったエラーデータは、人手により修
正され、文字認識装置120に再入力される。2. Description of the Related Art FIG. 9 is a diagram for explaining a conventional data correction. As shown in the figure, the user enters necessary information on an OCR entry form, and the facsimile apparatus 100
To the character recognition device 120 via the facsimile communication control unit 110. When the character recognition device 120 receives the OCR image data from the facsimile device 100,
The data is scanned by the scanner 221. Scanner 22
1 is passed to the character recognition processing unit 222, analyzed, and the recognized recognition result is output to the user data editing unit 130. The character recognition processing unit 2
The error data that could not be recognized at 22 is manually corrected and re-input to the character recognition device 120.
【0004】また、文字認識処理部122で人手を介し
て修正しても認識できなかったエラーデータは、ファク
シミリ装置100に対してエラーデータがある旨を通知
し、再度記入の上、送信するよう促す。[0004] In addition, error data that cannot be recognized even after being corrected manually by the character recognition processing unit 122 is notified to the facsimile apparatus 100 that error data is present, re-entered, and transmitted. Prompt.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記従
来の例は、文字認識装置からエラーデータが出力された
場合には、人手で正常パターンと認識されるように修正
して再入力する必要がある。このとき、エラーデータと
して出力されたデータがオペレータにより、マーキング
が薄い、数値等がある一定の枠から外れている等、オペ
レータに判断できる範囲では、修正が可能であるが、数
値等により読みにくい文字等があった場合には、当該文
字がどのように判読してよいか決定できない。この場合
には、ファクシリミリや電話を用いて、直接何と判読す
ればよいかを問い合わせる必要がある。However, in the above-described conventional example, when error data is output from the character recognition device, it is necessary to manually correct the error data so that it is recognized as a normal pattern and re-input the data. . At this time, the data output as the error data can be corrected by the operator in a range that can be determined by the operator, such as a thin marking, a numerical value, etc. being out of a certain frame. If there is a character or the like, it is not possible to determine how the character can be read. In this case, it is necessary to use a facsimile or a telephone to inquire directly what to read.
【0006】また、判読できないものは、電話により再
度入力するように要求する等の処理が必要となってお
り、オペレータに負荷がかかるという問題がある。[0006] In addition, for those which cannot be read, processing such as a request to input again by telephone is required, and there is a problem that a load is imposed on an operator.
【0007】本発明は、上記の点に鑑みなされたもの
で、上記従来の問題点を解決し、エラーデータが発生し
た場合にオペレータに負荷をかけずに、自動的にエラー
データの修正が可能なイメージデータ認識装置を提供す
ることを目的とする。The present invention has been made in view of the above problems, and solves the above-mentioned conventional problems. When error data occurs, the error data can be automatically corrected without imposing a load on an operator. It is an object of the present invention to provide a simple image data recognition device.
【0008】本発明は、入力されたイメージデータの所
定の項目欄に記入された情報の認識を行うイメージデー
タ認識装置において、項目の種別毎に認識ルール又は、
修正ルールを格納した記憶手段と、イメージデータとし
て入力された情報を認識する認識手段と、認識手段で情
報がエラーであると認識した場合、更にエラー種別の判
定を行う判定手段と、判定手段の結果が認識エラーであ
る場合、認識ルールに基づいて情報の再認識を行う再認
識手段と、判定手段の結果が修正エラーである場合、修
正ルールに基づいて情報の修正を行う修正手段と、を備
える。According to the present invention, there is provided an image data recognizing apparatus for recognizing information entered in a predetermined item column of input image data.
Memory means for storing a correction rule, recognizing means for recognizing the input information as an image data, if the information recognition means recognizes as an error, further determine the error type
A judging means for performing constant, if the result of the determination means is a recognition error, if the re-recognition means for performing re-recognition of the information based on the recognition rule, the determination means results are corrected errors, based on the modified rule Correction means for correcting information.
【0009】[0009]
【0010】[0010]
【作用】本発明は、入力された画像データの通常の文字
認識処理を行い、その認識結果においてエラーが検出さ
れた場合には、当該エラーに対してエラー種別を決定
し、エラー種別に対応するルールを選択し、いずれかの
ルールを実行し、修正された認識結果を得る。According to the present invention, normal character recognition processing of input image data is performed, and if an error is detected in the recognition result, an error type is determined for the error, and the error type is determined. Select a rule, execute any of the rules, and get a modified recognition result.
【0011】また、認識結果によりエラーが検出された
場合でも連続する帳票等、1回の入力操作で複数の入力
データを入力し、正しく認識されたデータでエラーデー
タの項目を修正するこことができる。Further, even when an error is detected as a result of recognition, it is possible to input a plurality of input data by a single input operation such as a continuous form, and correct the error data item with the correctly recognized data. it can.
【0012】[0012]
【実施例】以下、図面と共に、本発明の実施例を詳細に
説明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0013】図1は、本発明の一実施例のシステム構成
を示す。同図中、図9と同一構成部分は、同一符号を付
す。本実施例では、ファクシミリ装置100からOCR
記入された画像情報が送信され、ファクシミリ通信制御
部110を介して文字認識処理部120に入力される。
文字認識処理部120は、入力された画像データに対し
て通常認識パターン200を用いて文字認識処理を行
い、認識結果を出力する。また、文字認識処理部120
は、認識結果がエラーである場合には、当該エラーに対
してエラーとなった認識パターンのエラー分析を行う。
認識エラー分析において、エラーの種類を判別し、その
結果に基づいてルール300を検索し、そのルールを実
行する。その結果、再度エラーとなった場合には、アラ
ームを出力し、当該エラーに対する処理を行う。この場
合には、オペレータがエラーパターンを分析し、ルール
を作成して追加するか、正常なデータの入力を行う。FIG. 1 shows a system configuration of an embodiment of the present invention. 9, the same components as those in FIG. 9 are denoted by the same reference numerals. In the present embodiment, the OCR
The entered image information is transmitted and input to the character recognition processing unit 120 via the facsimile communication control unit 110.
The character recognition processing unit 120 performs a character recognition process on the input image data using the normal recognition pattern 200, and outputs a recognition result. Also, the character recognition processing unit 120
If the recognition result is an error, the error analysis is performed on the recognition pattern in which the error has occurred.
In the recognition error analysis, the type of the error is determined, the rule 300 is searched based on the result, and the rule is executed. As a result, if an error occurs again, an alarm is output and processing for the error is performed. In this case, the operator analyzes the error pattern and creates and adds a rule, or inputs normal data.
【0014】また、正規に認識パターンをオペレータ自
身が生成して、認識パターン保持部200に登録してお
く。The operator generates a recognition pattern properly and registers it in the recognition pattern holding unit 200.
【0015】文字認識部120において認識された認識
結果は、利用者データ編集処理部130に入力される。The recognition result recognized by the character recognition unit 120 is input to the user data editing processing unit 130.
【0016】図2は、本発明の一実施例の文字認識処理
部の構成を示す。同図に示す文字認識処理部120は、
データ入力部121、特徴抽出部122、パターンマッ
チング部123、認識パターン保持部124、エラー分
析部125、アラーム生成部126及び、ルール127
より構成される。FIG. 2 shows a configuration of a character recognition processing unit according to one embodiment of the present invention. The character recognition processing unit 120 shown in FIG.
Data input unit 121, feature extraction unit 122, pattern matching unit 123, recognition pattern holding unit 124, error analysis unit 125, alarm generation unit 126, and rule 127
It is composed of
【0017】データ入力部121は、ファクシミリ通信
によりOCR記入された画像データが入力される。特徴
抽出部122は、入力された文字列をパターンマッチン
グで扱える形式に特徴抽出を行う。パターンマッチング
部123は、特徴抽出されたデータについて予め用意さ
れている認識パターン保持部124のパターンを参照し
てパターンマッチングを行う。パターンマッチングの結
果、抽出された特徴と認識パターン保持部124が有す
るパターンが一致すれば、認識結果を出力する。また、
不一致の場合には、エラー分析部125に出力する。エ
ラー分析部125は、エラーを画像データの鮮明度、そ
の時の通信状態、入力された端末の状態、利用者の操作
・記入ミス、OCRシート、認識フィールド属性、前後
データ関連性等の情報に基づいて分析する。その分析結
果に基づいてルール127を参照し、ルールを実行す
る。ルールには数値の計算を指示するもの、再認識処理
を指示するもの等がある。エラー分析部125は、ルー
ル127を適用してもエラーとなるデータについては、
アラーム生成部126にエラーの発生を通知する。The data input unit 121 receives image data written in OCR by facsimile communication. The feature extraction unit 122 performs feature extraction into a format that can handle an input character string by pattern matching. The pattern matching unit 123 performs pattern matching on the data from which the feature has been extracted, with reference to a pattern of the recognition pattern holding unit 124 prepared in advance. As a result of the pattern matching, if the extracted feature matches the pattern of the recognition pattern holding unit 124, the recognition result is output. Also,
If they do not match, the error is output to the error analysis unit 125. The error analysis unit 125 determines the error based on information such as the sharpness of the image data, the communication state at that time, the state of the input terminal, a user's operation / entry error, the OCR sheet, the recognition field attribute, and the relationship between the preceding and following data. And analyze. The rule is executed by referring to the rule 127 based on the analysis result. There are rules instructing calculation of numerical values, rules instructing re-recognition processing, and the like. The error analysis unit 125 determines, for data that results in an error even when the rule 127 is applied,
The occurrence of an error is notified to the alarm generation unit 126.
【0018】アラーム生成部126は、エラー分析部1
25で特定のパターンを用いて、示度認識処理を行った
結果、エラーとして出力されるデータがある場合には、
アラームを生成して、出力する。The alarm generation unit 126 includes an error analysis unit 1
If there is data output as an error as a result of performing the reading recognition process using a specific pattern in 25,
Generate and output an alarm.
【0019】図3は、本発明の一実施例の動作を示すフ
ローチャートである。FIG. 3 is a flowchart showing the operation of one embodiment of the present invention.
【0020】まず、画像データがデータ入力部121に
入力され、特徴抽出部122により特徴が抽出され、パ
ターンマッチング部123に入力されると、パターンマ
ッチング部123は、認識ターン保持部124と画像デ
ータのパターンマッチングによる認識を行う(ステップ
101)。ここで、認識が成功した場合には、認識結果
を出力して処理は終了する。一方、認識結果が得られな
い、即ち、入力されたデータが認識パターン保持部12
4内のパターンと整合しない場合には、エラー分析部1
25が、エラーパターンの分析を行い、エラー種別を選
択する(ステップ103)。このとき、エラー分析部1
25は、エラーとなった入力データに対応するルールが
存在するかを、エラー種別により判定し(ステップ10
4)、存在していない場合には、ステップ112に移行
する(ステップ112)。ルールの種別は、再度、認識
を行うための認識ルールか、ルールを実行することによ
り認識結果を修正する修正ルールかを判定し(ステップ
105)、認識ルールを用いる場合には、特定パターン
を検索して(ステップ106)、認識処理を行い(ステ
ップ107)、認識結果がエラーであれば、ステップ1
12に移行し、正常であれば、認識結果を出力する(ス
テップ108)。First, when image data is input to the data input unit 121, features are extracted by the feature extraction unit 122, and input to the pattern matching unit 123, the pattern matching unit 123 (Step 101). Here, if the recognition is successful, the recognition result is output, and the process ends. On the other hand, no recognition result is obtained, that is, the input data is
4 does not match the pattern in the error analysis unit 1
25 analyzes the error pattern and selects an error type (step 103). At this time, the error analysis unit 1
Step 25 determines whether there is a rule corresponding to the input data in which the error has occurred, based on the error type (step 10).
4) If not, the process proceeds to step 112 (step 112). The type of the rule is determined again whether it is a recognition rule for performing recognition or a correction rule for correcting the recognition result by executing the rule (step 105). When the recognition rule is used, a specific pattern is searched. (Step 106), and performs recognition processing (step 107). If the recognition result is an error, step 1 is executed.
The process proceeds to step S12, and if it is normal, a recognition result is output (step 108).
【0021】修正ルールを用いる場合には、ルールを実
行して(ステップ109)、認識結果を修正する(ステ
ップ110)。When a correction rule is used, the rule is executed (step 109), and the recognition result is corrected (step 110).
【0022】エラー種別に対応するルールが存在しなか
ったり、再度認識処理を行っても認識結果にエラーであ
る場合には、アラーム生成部126において、アラーム
を生成して出力する(ステップ112)。入力された画
像データにより再度認識処理を行い(ステップ11
3)、この認識結果に基づいてオペレータが、正常な認
識結果を作成する、新規のパターンを作成して認識パタ
ーン保持部124に登録する、ルールの変更・追加を行
う等の処理を行う(ステップ114)。最後に、利用者
データ編集処理部130に対してパターンの反映処理を
行う(ステップ115)。If there is no rule corresponding to the error type, or if the recognition result shows an error even if the recognition process is performed again, the alarm generation unit 126 generates and outputs an alarm (step 112). Recognition processing is performed again based on the input image data (step 11).
3) Based on the recognition result, the operator performs processing such as creating a normal recognition result, creating a new pattern and registering it in the recognition pattern holding unit 124, and changing / adding rules (step). 114). Finally, a pattern reflection process is performed on the user data editing processing unit 130 (step 115).
【0023】図4は、本発明の一実施例のエラー分析部
の構成を示す。同図に示すエラー分析部125は、パタ
ーンマッチング部123でエラーとなった認識結果を再
認識または修正するものである。FIG. 4 shows the configuration of the error analysis unit according to one embodiment of the present invention. The error analysis unit 125 shown in FIG. 8 is for re-recognizing or correcting the recognition result in which an error has occurred in the pattern matching unit 123.
【0024】エラー分析部125は、エラーとなった認
識結果のエラーの種別を要因毎に検討し、エラーの種別
を選択するエラー種別解析部1251と、エラーの種別
に基づいてエラーとなった認識結果に対して適用するル
ールを選択するルール選択部1252、適用するルール
を格納しておくルール保持部1255、認識パターン保
持部124に蓄積されている以外の特定パターンを記憶
する特定パターン保持部1256、ルール選択部125
2により選択されたルールを認識結果に対して実行し、
認識結果を修正するルール実行部1253、パターン認
識や、修正された認識結果がエラーであるかを判定する
認識結果認識判定部1254より構成される。The error analysis unit 125 examines the error type of the error recognition result for each factor and selects an error type. The error type analysis unit 1251 selects an error type based on the error type. A rule selection unit 1252 for selecting a rule to be applied to the result; a rule storage unit 1255 for storing rules to be applied; and a specific pattern storage unit 1256 for storing specific patterns other than those stored in the recognition pattern storage unit 124 , Rule selection unit 125
Execute the rule selected by 2 on the recognition result,
The rule execution unit 1253 corrects the recognition result, and the recognition result recognition determination unit 1254 determines whether the corrected recognition result is an error.
【0025】エラー種別解析部1251は、画像データ
の鮮明度について全体的に印字のトーンが薄い、通信時
のノイズ等の有無等の受信環境、OCR入力した送信側
の送信時の異常の有無、OCRシートに正確な形式が使
用されているか、エラーとなっている認識フィールドの
属性、前後のデータ関連性等の情報に基づいて、エラー
となった認識結果の種別を判定する。The error type analysis unit 1251 determines the reception environment such as the presence of noise or the like during communication with respect to the sharpness of the image data as a whole, the presence or absence of noise or the like during communication, the presence or absence of an abnormality during transmission by the OCR-input transmitting side, and the like. Whether the correct format is used for the OCR sheet or the type of the recognition result in error is determined based on information such as the attribute of the recognition field in error and the data relevance before and after.
【0026】ルール選択部1252は、エラー種別に対
応するルールをルール保持部1255より選択する。The rule selecting section 1252 selects a rule corresponding to the error type from the rule holding section 1255.
【0027】ルール保持部1255は、エラーとなって
いる認識結果の種類毎にルールが設定してある。例え
ば、納品伝票の場合には、納品伝票のカラム毎に何が記
入されるべきか、また、記入の法則性等が記述してあ
り、あるカラムが数値項目であれば、計算によりエラー
となっているカラムのデータを修正するためのルールが
蓄積される。The rule holding unit 1255 sets rules for each type of recognition result in which an error has occurred. For example, in the case of a delivery slip, what should be entered for each column of the delivery slip, the rules of entry, etc. are described.If a certain column is a numerical item, an error occurs due to calculation. The rules for correcting the data in the column being stored are accumulated.
【0028】ルール実行部1253は、ルール選択部1
252により選択されたルールに基づいて、エラーとな
っている認識結果の修正や、再認識処理等を行う。The rule executing section 1253 is provided with a rule selecting section 1
Based on the rule selected in step 252, correction of an error recognition result, re-recognition processing, and the like are performed.
【0029】認識判定部1254は、ルール実行部12
53から出力される認識結果に基づいてエラーがまだ除
去されない認識結果であるか、正確な認識結果であるか
を判定し、エラーがまだ除去されない場合には、再度エ
ラー分析部125の処理を行うか、アラーム生成部12
6にエラーとなっている認識結果があることを通知す
る。ここで、特定パターン保持部1256により認識結
果が正しければ、認識処理に用いた認識パターンを認識
パターン保持部124に追加してもよい。The recognition determining unit 1254 includes the rule executing unit 12
Based on the recognition result output from 53, it is determined whether the error is a recognition result that has not been removed yet or an accurate recognition result. If the error has not been removed yet, the process of the error analysis unit 125 is performed again. Or the alarm generator 12
6 is notified that there is an error recognition result. Here, if the recognition result by the specific pattern holding unit 1256 is correct, the recognition pattern used for the recognition processing may be added to the recognition pattern holding unit 124.
【0030】図5は、本発明の一実施例のエラー分析部
の動作を示すフローチャートである。エラー分析部12
5のエラー種別解析部1251にエラーと判定された認
識結果が入力されると(ステップ201)、エラー種別
解析部1251は、認識結果のエラーの種類を判定す
る。例えば、認識エラーとなっているデータの帳票名、
項目名、文字項目か数字項目か等によりエラーの種別を
判定する(ステップ202)。ルール選択部1252
は、エラー種別判定部1251により判定されたエラー
の種別に基づいてルール保持部1255より、対応する
ルールを選択する(ステップ203)。例えば、画像デ
ータの鮮明度が低いこと(エラーコード:10)がエラ
ーの原因である場合には、ルールは、『再度鮮明度を上
げて、再走査する』(ルールコード:A−2)という内
容になる。このような対応付けは、以下に示す表のよう
なエラーコードよりルール保持部1255のルールコー
ドを検索する。FIG. 5 is a flowchart showing the operation of the error analysis unit according to one embodiment of the present invention. Error analysis unit 12
When the recognition result determined to be an error is input to the error type analysis unit 1251 of No. 5 (step 201), the error type analysis unit 1251 determines the type of the error in the recognition result. For example, the form name of the data with the recognition error,
The type of the error is determined based on the item name, whether the item is a character item or a numeral item (step 202). Rule selector 1252
Selects a corresponding rule from the rule holding unit 1255 based on the type of error determined by the error type determination unit 1251 (step 203). For example, if the low definition of the image data (error code: 10) is the cause of the error, the rule is “increase the definition again and re-scan” (rule code: A-2). Content. For such association, a rule code of the rule holding unit 1255 is searched for from an error code as shown in the table below.
【0031】[0031]
【表1】 ルール実行部1253は、ルール選択部1252により
選択されたルールに基づいて、エラーとなっている認識
結果に対する修正や、パターンマッチングを行う(ステ
ップ204)。ルールの実行によりエラーとなっていた
認識結果が修正された、又は、エラーが除去された場合
には(ステップ205,Yes)、認識結果として出力
する。ルールを実行しても修正が不可能であったり、エ
ラーが除去されない場合には(ステップ206、N
o)、アラーム生成部126に人手による介入が必要で
ある旨を通知する(ステップ207)。[Table 1] The rule executing unit 1253 corrects the recognition result in error and performs pattern matching based on the rule selected by the rule selecting unit 1252 (step 204). If the recognition result that resulted in an error due to the execution of the rule has been corrected or the error has been removed (Step 205, Yes), the recognition result is output. If the rule cannot be corrected or the error is not removed by executing the rule (step 206, N
o) Notify the alarm generation unit 126 that manual intervention is required (step 207).
【0032】次に、エラー分析部125の詳細な動作を
具体例を用いて説明する。Next, the detailed operation of the error analyzer 125 will be described using a specific example.
【0033】エラー分析部125のエラー種別解析部1
251は、認識結果によりエラーとなった原因を解析
し、エラーコードをルール選択部1252に出力する。
ルール選択部1252は、エラーコードに基づいて対応
するルールコードを検索する。 (1)例えば、ルール選択部1252により前後データ
の関連性によるルール『前ページの同じ位置のカラムを
参照』が選択された場合にパターンマッチングを行う
例:納品伝票の場合には、項目名として納品先名、納品
先コード、納品元名、納品日、納品項目、納品数量、単
価、金額合計等の欄がある。ここで、納品先名が不鮮明
のために読み取れず、エラーとなっているような場合に
ついて説明する。Error type analysis unit 1 of error analysis unit 125
251 analyzes the cause of the error based on the recognition result, and outputs an error code to the rule selection unit 1252.
The rule selection unit 1252 searches for a corresponding rule code based on the error code. (1) For example, pattern matching is performed when the rule “refer to the column at the same position on the previous page” is selected by the rule selecting unit 1252 based on the relationship between the preceding and following data. There are columns for delivery destination name, delivery destination code, delivery source name, delivery date, delivery item, delivery quantity, unit price, total amount, and the like. Here, a case in which the delivery destination name cannot be read due to unclearness and an error occurs will be described.
【0034】この納品伝票の場合は、同一納品元の業者
から複数の枚数の(連続帳票)納品伝票が入力される場
合を前提としている。In the case of this delivery slip, it is assumed that a plurality of (continuous report) delivery slips are input from a trader of the same delivery source.
【0035】例えば、連続帳票の場合には、略同様の内
容が前後のページに書き込まれていることが統計的に多
いので、前ページの内容が正確に認識されていれば、そ
のページを参照する。前ページを参照するために、エラ
ーなっている認識結果のカラムの文字と同じ位置の前ペ
ージのカラムの文字を特定パターンとして特定パターン
保持部1256に登録しておき、その登録されたパター
ンとエラーとなっているパターンとのパターンマッチン
グを行う。For example, in the case of a continuous form, almost the same contents are statistically often written in the previous and next pages. Therefore, if the contents of the previous page are correctly recognized, the page is referred to. I do. In order to refer to the previous page, the character of the column of the previous page at the same position as the character of the column of the recognition result in error is registered as a specific pattern in the specific pattern holding unit 1256, and the registered pattern and the error The pattern matching with the pattern of is performed.
【0036】または、入力時に複数の伝票の入力、1回
の入力操作で入力し、以下のような結果となっている場
合、 1枚目のデータ 認識済み 2枚目のデータ 認識済み 3枚目のデータ エラー 4枚目のデータ エラー 5枚目のデータ 認識済み のとき、3枚目のデータがエラーであるので、この場合
には、先に入力された2枚目のデータのうち、3枚目の
データがエラーとなった項目と同一項目を参照して修正
する。4枚目のデータもエラーであるが、この時1つ前
の3枚目のデータは、エラーとなっているので、2枚目
のデータを参照して修正する。Or, when inputting a plurality of slips at the time of input, and inputting by one input operation, if the following result is obtained, the first data has been recognized. The second data has been recognized. Data error 4th data error 5th data When the recognition is completed, the 3rd data is an error. In this case, 3 data out of the 2nd data input earlier Correct the eye data by referring to the same item as the item in which the error occurred. The data of the fourth sheet is also an error, but at this time, the data of the immediately preceding third sheet has an error, so the data is corrected with reference to the data of the second sheet.
【0037】なお、伝票中、固定項目はこのような方法
で参照して修正することが可能であるが、数値項目であ
る個数や金額欄等は、各伝票毎に異なる数値が記入され
る確率が高いので項目によって、この方法の適用が可能
か否かの判定を行うように構成してもよい。It should be noted that, in a slip, fixed items can be corrected by referring to such a method. However, the numerical values, such as the number and the amount of money, are the probability that different numerical values are entered for each slip. May be configured to determine whether or not this method can be applied depending on the item.
【0038】図6は、本発明の一実施例のエラー分析部
の修正の例を示す。同図(A)は、パターンマッチング
処理においてエラーとなっている認識結果であり、得意
先名が“アルファ?ンキカブシキカイシャ”、所属部署
名“エイギョ?ホンブ”と認識されている。ここで、仮
に“?”マークを認識不能な部分であった場合に、同図
(B)に示す1ページ前のデータの認識結果を参照す
る。これにより、同じ位置の文字である『デ』、『ウ』
を用いてエラー認識結果(A)が修正される。FIG. 6 shows an example of correction of the error analysis unit according to one embodiment of the present invention. FIG. 7A shows a recognition result in which an error has occurred in the pattern matching processing, in which the customer name is recognized as “Alpha? Kinkabashikaisha” and the department name “Ayo? Hombu”. Here, if the “?” Mark is a part that cannot be recognized, the recognition result of the data one page before shown in FIG. As a result, the characters "de" and "u" at the same position
Is used to correct the error recognition result (A).
【0039】(2)ルール選択部1252により認識フ
ィールド属性によるルール『縦計、横計、総計を求めて
数値を修正』が選択された場合:図7(A)に示すよう
な記入済みのOCRシートが入力された場合に、パター
ンマッチング部123で認識された結果は同図(B)に
示す内容であった場合に、“?”のカラムが3か所存在
するため、すべてのカラムが認識されていないため、エ
ラーとしてエラー分析部125に出力される。このよう
な場合に、エラー分析部125は、認識するパターンと
して、発注伝票に関するルール127を用いる。ルール
127として、この時使用するルールは、『縦横の合計
をチェックして、データを修正するルールを用いる』と
する。ルール127は、まず、行毎に認識結果を判定
し、データ修正していく。(2) When the rule “correct the numerical value by calculating the vertical, horizontal and total sums” based on the recognition field attribute is selected by the rule selection unit 1252: OCR already filled in as shown in FIG. When a sheet is input and the result recognized by the pattern matching unit 123 is as shown in FIG. 11B, there are three “?” Columns, and all columns are recognized. Since it has not been performed, it is output to the error analysis unit 125 as an error. In such a case, the error analysis unit 125 uses the rule 127 regarding the order slip as a pattern to be recognized. As the rule 127, the rule used at this time is “use a rule that checks the total length and width and corrects the data”. The rule 127 first determines the recognition result for each row and corrects data.
【0040】まず、第1列目のについては、1+2+a
=6となるため、“?”の部分aは3ということにな
る。第2列目については、0+0+1=1であり整合し
ている。第3列目については、0+b+3=cであり解
が求められないため、ここでは、未定としておく。第4
列目については 1+2+d=10となるため、“?”
の部分dは7となる。First, for the first column, 1 + 2 + a
= 6, so the part a of the "?" For the second column, 0 + 0 + 1 = 1, which is consistent. For the third column, since 0 + b + 3 = c, and no solution can be obtained, it is undecided here. 4th
For the column, since 1 + 2 + d = 10, “?”
Part 7 becomes 7.
【0041】次に、縦の合計から認識結果を判定し、デ
ータを修正する。縦の第1行目は1+0+0=1であり
正確に認識されていることが分かる。第2行目は2+0
+b=3であるため、“?”のbは0となる。次に第3
行目は、a+1+3=dとなり未定となる。第4行目
は、6+1+c=10であるので、“?”のcは3とな
る。即ち、 横の列 1)1+2+a=6 a=3 2)0+0+1=1 3)0+b+3=c b=?,c=? 4)1+2+d=10 d=7 縦の行 1)1+0+0=1 2)2+0+b=2 b=0 3)a+1+3=d a=?,d=? 4)6+1+c=10 c=3 の上記の結果から、a=3,b=0,c=3,d=7と
なる。このように、数値がわからない場合には、縦横の
合計からデータを修正する。修正された結果を認識結果
として出力する。Next, the recognition result is determined from the vertical sum and the data is corrected. The first vertical line is 1 + 0 + 0 = 1, which indicates that the recognition is accurate. The second line is 2 + 0
Since + b = 3, b of “?” Becomes 0. Then the third
In the line, a + 1 + 3 = d, which is undecided. In the fourth row, since 6 + 1 + c = 10, c of “?” Is 3. 1) 1 + 2 + a = 6 a = 3 2) 0 + 0 + 1 = 1 3) 0 + b + 3 = c b =? , C =? 4) 1 + 2 + d = 10 d = 7 Vertical rows 1) 1 + 0 + 0 = 1 2) 2 + 0 + b = 2 b = 0 3) a + 1 + 3 = da =? , D =? 4) From the above result of 6 + 1 + c = 10 c = 3, a = 3, b = 0, c = 3, d = 7. As described above, when the numerical value is not known, the data is corrected from the total in the vertical and horizontal directions. The corrected result is output as a recognition result.
【0042】上記のようなエラーデータを修正するため
にルールは、OCR記入データを受け取る側において、
受け取る全ての帳票毎に解決のルールを設けておけばよ
い。上記の納品伝票の場合に文字項目となるのは、納品
先名、納品元名、納品項目であり、数字項目となるの
は、納品日、納品先コード、納品数量、単価、合計金額
等の欄である。数値項目のうち、計算により算出される
のは、納品数量、単価、合計金額である。即ち、この納
品書に対して修正を行う場合には、以下のようなルール
が適応されることになる。In order to correct the error data as described above, the rules are as follows:
A resolution rule may be set for every form received. In the case of the above delivery slip, the text items are the delivery destination name, delivery source name, and delivery items, and the numeric items are the delivery date, delivery destination code, delivery quantity, unit price, total price, etc. Column. Of the numerical items, the items calculated by the calculation include the delivery quantity, the unit price, and the total price. That is, when making corrections to this delivery note, the following rules are applied.
【0043】図8は、本発明の一実施例のルールの一例
を示すフローチャートである。FIG. 8 is a flowchart showing an example of a rule according to an embodiment of the present invention.
【0044】まず、ルール選択部1252は、エラーと
なっている認識結果の箇所が文字項目であるか数値項目
であるかを判定する。上記の例で、納品先名、納品元
名、納品項目の項目にエラーが発生している場合には
(ステップ301)、文字項目のエラーであるので、ス
テップ302に移行する。また、エラーとなっている認
識結果の箇所が納品日、納品先コード、納品数量、単
価、合計金額である場合には(ステップ302)、ステ
ップ306に移行する。First, the rule selecting section 1252 determines whether the location of the recognition result in error is a character item or a numeric item. In the above example, if an error has occurred in the items of the delivery destination name, the delivery source name, and the delivery item (step 301), the process proceeds to step 302 because the error is in the character item. If the location of the recognition result in error is the delivery date, delivery destination code, delivery quantity, unit price, or total amount (step 302), the process proceeds to step 306.
【0045】文字項目である場合には、指定されている
ページ(例えば、前ページ、入力された最初のページ
等)のエラー位置に対応する同一箇所の項目を参照する
(ステップ302)。対応する箇所にデータがない場合
には(ステップ303,No))、さらに1ページ前の
ページの対応する箇所を参照する(ステップ304)。
また、対応する同一箇所にデータがある場合には(ステ
ップ303、Yes)、エラーとなっている箇所に参照
したデータを当てはめる(ステップ305)。If it is a character item, reference is made to the item at the same location corresponding to the error position of the designated page (eg, the previous page, the first input page, etc.) (step 302). If there is no data at the corresponding location (Step 303, No), the corresponding location on the page one page before is referred to (Step 304).
If there is data at the corresponding same location (Step 303, Yes), the data referred to the error location is applied (Step 305).
【0046】また、エラーとなっている項目が数値項目
の場合に(ステップ301)、当該項目が計算可能な項
目であるかを判断し(ステップ306)、計数できない
項目であれば、ステップ302に移行し、文字項目と同
様の処理を行う。また、計数可能な項目であれば、計算
ルールにより、エラーとなっている箇所の値を算出す
る。例えば、上記(2)のように縦横の計算を行う(ス
テップ307)。求められた値をエラー箇所に設定する
(ステップ308)。If the item in error is a numerical item (step 301), it is determined whether the item is a calculable item (step 306). If the item cannot be counted, the process proceeds to step 302. The process proceeds to perform the same processing as for the character item. If the item is a countable item, the value of an error location is calculated by a calculation rule. For example, vertical and horizontal calculations are performed as in the above (2) (step 307). The obtained value is set as an error location (step 308).
【0047】なお、ルールの種類は、入力される帳票毎
に作成してもよいし、一般項目のみに絞って作成しても
よい。また、ルールとして例えば、画像データの鮮明度
が所定の値より低いレベルにある場合には、鮮明度(解
像度)を所定の値までに上げ、再認識処理を行う。ま
た、入力された文字パターンにより検出する領域を切り
出して正規化し、特徴抽出処理を施して、パターン認識
するという一連処理のうち、例えば、最初の認識処理で
は文字位置の正規化のみを行っていた場合に、文字の傾
きに関する正規化や、文字線幅の正規化も行った上で再
度、パターンマッチング処理を行い、それでもエラーデ
ータとなった場合には、項目毎の処理を行う等のルール
であってもよい。The type of rule may be created for each input form, or may be created only for general items. Further, as a rule, for example, when the sharpness of the image data is lower than a predetermined value, the sharpness (resolution) is increased to a predetermined value, and the re-recognition processing is performed. In a series of processing of extracting and normalizing an area to be detected based on an input character pattern, performing a feature extraction process, and performing pattern recognition, for example, in the first recognition process, only normalization of a character position is performed. In such cases, normalization of character inclination and normalization of character line width are also performed, and pattern matching processing is performed again. If error data still occurs, processing for each item is performed. There may be.
【0048】上記のようにルールを用いることにより、
認識結果がエラーとされている項目に対して自動的に修
正が可能となる。By using the rules as described above,
It is possible to automatically correct an item for which the recognition result is erroneous.
【0049】次に、アラーム生成部126は、エラー分
析部125より認識結果が誤認識であるとの旨の通知が
入力されると、アラーム信号を生成し、装置上のアラー
ムLEDを点灯させるか、アラームを鳴動させる。これ
により、オペレータはエラーとなっている認識結果をデ
ィスプレイ上に表示する等して確認し、オペレータが判
定できる認識結果については、オペレータが正しく修正
する。Next, when a notification indicating that the recognition result is erroneous recognition is input from the error analysis unit 125, the alarm generation unit 126 generates an alarm signal and turns on the alarm LED on the device. Sound the alarm. As a result, the operator confirms the recognition result in error, for example, by displaying it on a display, and corrects the recognition result that can be determined by the operator.
【0050】また、エラーとなった文字パターンを複数
回学習することにより、所定の回数学習したものを認識
パターン保持部124に登録することも可能である。例
えば、エラーとなった文字(A1)と正しい認識結果
(A2)を対応させて、入力された文字(A3)の特徴
抽出処理を行った後に、先にエラーとなっている文字
(A1)とのパターンマッチングを行う。このような処
理が所定の回数繰り返され、入力される文字(A3)が
文字(A1)とマッチングが取れた場合には、文字(A
1)を認識パターン保持部124に登録することも可能
である。Further, by learning the character pattern in which the error has occurred a plurality of times, the character pattern learned a predetermined number of times can be registered in the recognition pattern holding unit 124. For example, the character (A1) having an error and the correct recognition result (A2) are made to correspond to each other, and after performing a feature extraction process on the input character (A3), the character (A1) having an error first Is performed. Such processing is repeated a predetermined number of times, and if the input character (A3) matches the character (A1), the character (A
It is also possible to register 1) in the recognition pattern holding unit 124.
【0051】さらに、エラーとなった認識結果がエラー
分析部125で修正されなかったものについては、ルー
ル保持部1252に新たにルールを追加したり、認識パ
ターンを作成して認識パターン保持124に格納する。
これにより、これ以降のデータが同様なパターンを持つ
ものであっても、次回から誤認識されない。If the recognition result in which the error occurred is not corrected by the error analysis unit 125, a new rule is added to the rule storage unit 1252, or a recognition pattern is created and stored in the recognition pattern storage 124. I do.
As a result, even if the subsequent data has a similar pattern, it is not erroneously recognized from the next time.
【0052】本発明は、上記の実施例に限定されること
なく、特許請求の範囲で種々変更が可能である。The present invention is not limited to the above embodiments, but can be variously modified within the scope of the claims.
【0053】[0053]
【発明の効果】上述のように本発明によれば、文字認識
処理においてエラーとなったデータに対して、エラーロ
ジックであるルールを検索して、エラーとなったデータ
に適用することにより、エラーの自動修正が可能とな
る。また、修正が不可能であるパターンについては、ア
ラームを発生させて、オペレータにより次の認識処理時
にエラーとならないようなルールを作成することが可能
である。As described above, according to the present invention, a rule which is an error logic is searched for data having an error in the character recognition processing, and the rule is applied to the data having an error. Can be automatically corrected. For a pattern that cannot be corrected, it is possible to generate an alarm and create a rule that will not cause an error in the next recognition process by the operator.
【図1】本発明の一実施例のシステム構成図である。FIG. 1 is a system configuration diagram of an embodiment of the present invention.
【図2】本発明の一実施例の文字認識処理部の構成図で
ある。FIG. 2 is a configuration diagram of a character recognition processing unit according to an embodiment of the present invention.
【図3】本発明の一実施例の動作を示すフローチャート
である。FIG. 3 is a flowchart showing the operation of one embodiment of the present invention.
【図4】本発明の一実施例のエラー分析部の構成図であ
る。FIG. 4 is a configuration diagram of an error analysis unit according to one embodiment of the present invention.
【図5】本発明の一実施例のエラー分析部の動作を示す
フローチャートである。FIG. 5 is a flowchart illustrating an operation of an error analysis unit according to one embodiment of the present invention.
【図6】本発明の一実施例のエラー分析部の修正の例を
示す図(その1)である。FIG. 6 is a diagram (part 1) illustrating an example of correction of an error analysis unit according to an embodiment of the present invention.
【図7】本発明の一実施例のエラー分析部の修正の例を
示す図(その2)である。FIG. 7 is a diagram (part 2) illustrating an example of correction of the error analysis unit according to the embodiment of the present invention;
【図8】本発明の一実施例のルールの一例を示すフロー
チャートである。FIG. 8 is a flowchart illustrating an example of a rule according to an embodiment of the present invention.
【図9】従来のデータ修正を説明するための図である。FIG. 9 is a diagram for explaining conventional data correction.
100 ファクシミリ装置 110 ファクシミリ通信制御部 120 文字認識装置 121 データ入力部 122 特徴抽出部 123 パターンマッチング部 124 認識パターン保持部 125 エラー分析部 126 アラーム生成部 127 ルール 130 利用データ編集部 200 認識パターン 221 スキャナ 222 文字認識処理部 300 ルール 400 特定パターン 1251 エラー種別解析部 1252 ルール選択部 1253 ルール実行部 1254 認識結果判定部 1255 ルール保持部 1256 特定パターン保持部 REFERENCE SIGNS LIST 100 facsimile device 110 facsimile communication control unit 120 character recognition device 121 data input unit 122 feature extraction unit 123 pattern matching unit 124 recognition pattern holding unit 125 error analysis unit 126 alarm generation unit 127 rule 130 usage data editing unit 200 recognition pattern 221 scanner 222 Character recognition processing unit 300 Rule 400 Specific pattern 1251 Error type analysis unit 1252 Rule selection unit 1253 Rule execution unit 1254 Recognition result determination unit 1255 Rule holding unit 1256 Specific pattern holding unit
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06K 9/03 G06K 9/62 620 G06K 9/72 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06K 9/03 G06K 9/62 620 G06K 9/72
Claims (3)
欄に記入された情報の認識を行うイメージデータ認識装
置において、 前記項目の種別毎に認識ルール又は、修正ルールを格納
した記憶手段と、 イメージデータとして入力された情報を認識する認識手
段と、 前記認識手段で前記情報がエラーであると認識した場
合、更に前記エラー種別の判定を行う判定手段と、 前記判定手段の結果が認識エラーである場合、前記認識
ルールに基づいて前記情報の再認識を行う再認識手段
と、 前記判定手段の結果が修正エラーである場合、前記修正
ルールに基づいて前記情報の修正を行う修正手段と、 を備えたことを特徴とするイメージデータ認識装置。1. An image data recognizing apparatus for recognizing information entered in a predetermined item column of input image data, comprising: storage means for storing a recognition rule or a correction rule for each type of the item; recognition means for recognizing information inputted as data, if said information in said recognition means recognizes as an error, is further determining means for determining the error type, the result is recognized error in the determination means A re-recognition unit that re-recognizes the information based on the recognition rule; and a correction unit that corrects the information based on the correction rule when a result of the determination unit is a correction error. An image data recognizing device characterized in that:
ラーを修正する請求項1乃至3記載のイメージデータ認
識装置。 (2)The correcting means includes: Based on the calculation results using the numerical values in the information,
4. The image data recognition method according to claim 1, wherein the error is corrected.
Sense device.
合計値に基づいて、前記エラーを修正する請求項1乃至
4記載のイメージデータ認識装置。 (3)The correcting means includes: The total value for each numerical row in the information and the total value for each numerical column in the information
4. The method of claim 1, wherein the error is corrected based on a total value.
5. The image data recognition device according to 4.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP08506194A JP3353999B2 (en) | 1994-04-22 | 1994-04-22 | Image data recognition device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP08506194A JP3353999B2 (en) | 1994-04-22 | 1994-04-22 | Image data recognition device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07296100A JPH07296100A (en) | 1995-11-10 |
| JP3353999B2 true JP3353999B2 (en) | 2002-12-09 |
Family
ID=13848128
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP08506194A Expired - Fee Related JP3353999B2 (en) | 1994-04-22 | 1994-04-22 | Image data recognition device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3353999B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2000073975A1 (en) * | 1999-05-31 | 2000-12-07 | Cai Co., Ltd. | Rewrite system |
| JP2019169025A (en) * | 2018-03-26 | 2019-10-03 | 株式会社Pfu | Information processing device, character recognition engine selection method, and program |
| JP7149721B2 (en) * | 2018-03-26 | 2022-10-07 | 株式会社Pfu | Information processing device, character recognition engine optimization method and program |
-
1994
- 1994-04-22 JP JP08506194A patent/JP3353999B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07296100A (en) | 1995-11-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11170248B2 (en) | Video capture in data capture scenario | |
| US5428694A (en) | Data processing system and method for forms definition, recognition and verification of scanned images of document forms | |
| US5889897A (en) | Methodology for OCR error checking through text image regeneration | |
| US10248858B2 (en) | Multi-page document recognition in document capture | |
| US7849398B2 (en) | Decision criteria for automated form population | |
| US20160179313A1 (en) | Page-independent multi-field validation in document capture | |
| US5815704A (en) | Document filing apparatus and method having document registration, comparison and retrieval capabilities | |
| JP7696730B2 (en) | Information processing device, information processing method, and program | |
| JP7122896B2 (en) | Form information processing apparatus, form information structuring processing method, and form information structuring processing program | |
| JP3353999B2 (en) | Image data recognition device | |
| US5233672A (en) | Character reader and recognizer with a specialized editing function | |
| JPH05274467A (en) | Data input device | |
| WO1997004409A1 (en) | File searching device | |
| JP3732254B2 (en) | Format information generation method and format information generation apparatus | |
| JPS6220027Y2 (en) | ||
| JP2733837B2 (en) | Character reader | |
| US20050050065A1 (en) | Automating form transcription | |
| JP2004046388A (en) | Information processing system and character correction method | |
| JP2001101178A (en) | Data processing device and its program recording medium | |
| JPH10175385A (en) | Printed material with inspection characters | |
| JP2000132635A (en) | Recognition data confirmation method | |
| JPH117492A (en) | Method and device for editing key entry | |
| JPH09138835A (en) | Character recognition device | |
| JP3101073B2 (en) | Post-processing method for character recognition | |
| JP3270551B2 (en) | Character recognition device and character recognition method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20020910 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080927 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080927 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090927 Year of fee payment: 7 |
|
| LAPS | Cancellation because of no payment of annual fees |