JP2007272572A - Business form image distortion detection method - Google Patents

Business form image distortion detection method Download PDF

Info

Publication number
JP2007272572A
JP2007272572A JP2006097572A JP2006097572A JP2007272572A JP 2007272572 A JP2007272572 A JP 2007272572A JP 2006097572 A JP2006097572 A JP 2006097572A JP 2006097572 A JP2006097572 A JP 2006097572A JP 2007272572 A JP2007272572 A JP 2007272572A
Authority
JP
Japan
Prior art keywords
distortion
form image
detection method
area
corners
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.)
Pending
Application number
JP2006097572A
Other languages
Japanese (ja)
Inventor
Kiyoshi Takahashi
高橋  清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2006097572A priority Critical patent/JP2007272572A/en
Publication of JP2007272572A publication Critical patent/JP2007272572A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent distortion of a business form on an image, erroneous reading of a character recognition result, a blank, deviation of an actual entered character from a reading area, or the like by detecting the distortion of the business form generated on the image. <P>SOLUTION: This business form image distortion detection method comprises steps: for detecting angles A, B, C, D and respective sides AB, AD, BD, CD of the image of the business form configured by four sides as shown in Figure 5; for finding a figure formed by one side and angles of both ends thereof about the side; and for detecting the distortion of the image of the business form by size of the found figure. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、帳票をマットにセットし、上部からセンサ部でイメージを読み取る非接触スキャナ装置を用いた帳票画像の歪みを判別する帳票歪み判別装置に関するものである。   The present invention relates to a form distortion determination apparatus that sets a form on a mat and determines the distortion of a form image using a non-contact scanner device that reads an image from the top with a sensor unit.

現在、金融営業店の窓口業務等にて、顧客が持ち込んだ帳票や本人確認書類等の種々の用紙の画像を取得するための、非接触型スキャナが用いられている。非接触型スキャナは、帳票を置くマット部の上方に設置されたカメラによって、マット部に置いた帳票の画像を取得する形式のスキャナである。金融営業店の窓口業務においては、非接触型スキャナは、金融営業店窓口の窓口端末に接続され、画像取得の制御が行われる。非接触型スキャナは、フラットベッド型スキャナやシートフィード型スキャナに比べ、画像取得のための操作が簡便で所要時間が短い等の特徴を持っている。(例えば非特許文献1)
窓口にて取得された帳票の画像に対しては、光学的文字認識装置によって所定の文字認識処理が行われ、記入内容がデータ化され、金融取引に利用される。文字認識処理は、帳票ごとに予め読取位置を記録した読取フォーマットを用意し、帳票の角(例えば左上角)を基準として画像上の読取位置を特定し、該当位置の文字を切り出して認識する。また、切り出した読取領域画像は文字認識結果の確認イメージとして利用するために、文字認識結果とともに記憶される。
沖テクニカルレビュー2002年1月/第189号Vol.69 No.1「カラーダイレクトスキャナ」
Currently, non-contact scanners for acquiring images of various papers such as forms and identification documents brought in by customers are used in the counter business of financial sales offices. The non-contact type scanner is a type of scanner that acquires an image of a form placed on the mat portion by a camera installed above the mat portion on which the form is placed. In the counter business of a financial sales office, the non-contact type scanner is connected to the counter terminal of the financial sales office counter, and image acquisition control is performed. The non-contact type scanner has features such as a simpler operation for image acquisition and a shorter time required than a flat bed type scanner or a sheet feed type scanner. (For example, Non-Patent Document 1)
The form image acquired at the window is subjected to predetermined character recognition processing by an optical character recognition device, and the contents of entry are converted into data and used for financial transactions. The character recognition process prepares a reading format in which a reading position is recorded in advance for each form, specifies the reading position on the image with reference to the corner of the form (for example, the upper left corner), and cuts out and recognizes the character at the corresponding position. Further, the cut-out reading area image is stored together with the character recognition result to be used as a confirmation image of the character recognition result.
Oki Technical Review January 2002 / No. 189 Vol. 69 No. 1 “Color Direct Scanner”

非接触型スキャナは前記のとおり、マット部に置かれた帳票を上方からカメラによって撮影することにより画像取得する構造である為、マットから帳票が浮き上がった状態で画像取得した場合等、帳票自体は歪んでいなくとも、帳票の置き方によって画像上で帳票の歪みが生じる。   As described above, the non-contact type scanner has a structure in which an image is acquired by photographing a form placed on the mat portion from above with a camera. Even if it is not distorted, the form is distorted on the image depending on how the form is placed.

例えば図3(b)は、帳票の左上角が浮き上がった状態で画像取得した場合の帳票の歪みを、強調して表現したものである。浮き上がりが発生すると、帳票の角はカメラからの見た目としてはカメラの視界の外側に移動する。このため、帳票の文字領域の基準となる角の部分が左上方に伸びたようにずれてしまい、文字認識を行った際、文字領域を図のように左上方に誤って補正してしまう。帳票上のすべての文字領域位置はひとつの帳票の角を基準点として位置が定まるため、他の文字領域についても一様にずれてしまう。このため、文字認識結果が誤読となったり、空白となったり、読取領域から実際の記入文字が外れることにより桁落ちする等の影響が帳票全体で生じることになる。そのような場合、文字領域の確認イメージもまたずれて切り出されるので、修正がしづらいばかりでなく、桁落ちにも気づきづらいことになる。例えば、図3(b)の右下部分の文字領域は、基準となる角がずれたために、実際の記入位置から完全に外れてしまっている。このような場合には、実際には記入があるにもかかわらず空白とみなされてしまうことが生じる。このような場合、金融取引上の事故が発生する可能性がある。   For example, FIG. 3B expresses the form distortion when the image is acquired in a state where the upper left corner of the form is raised. When the lift occurs, the corner of the form moves outside the field of view of the camera as it appears from the camera. For this reason, the corner portion serving as a reference of the character area of the form is shifted as if it extends to the upper left, and when character recognition is performed, the character area is erroneously corrected to the upper left as shown in the figure. Since all character area positions on the form are determined with reference to the corner of one form, the other character areas are also shifted uniformly. For this reason, the entire form has an influence such as a misrecognized character recognition result, a blank space, or a loss of digits due to an actual entry character being removed from the reading area. In such a case, the confirmation image of the character area is also cut out in a shifted manner, so that it is not only difficult to correct, but also difficult to notice digit loss. For example, the character area in the lower right part of FIG. 3B is completely deviated from the actual entry position because the reference corner is shifted. In such a case, it may be regarded as blank even though there is actually an entry. In such cases, financial transaction accidents may occur.

また、上記のような帳票の浮き上がりがない場合であっても、スキャナとして用いるカメラ自体の性能によっても画像の歪みが発生する場合がある。例えば、レンズの光学的性質に起因する歪曲収差の影響によるたる型歪みが挙げられる。図3(c)は、たる型歪みが発生した場合の例である。この場合、帳票がたる型に歪んだことによって、記入文字が外側に移動して読取領域から外れてしまっている。このような場合には、はみ出した文字が認識されずに桁落ちが発生するため、金融取引上の事故が発生する可能性がある。
従って、このような帳票画像の歪みが発生した場合には、画像を無効とし、帳票の浮き上がり等を修正させたり、スキャナを変更する等したうえで、オペレータに再度帳票画像を取得させる必要がある。
Even when the form does not float as described above, image distortion may occur depending on the performance of the camera itself used as the scanner. For example, a barrel distortion due to the influence of distortion caused by the optical properties of the lens can be mentioned. FIG. 3C shows an example when a barrel distortion occurs. In this case, because the form is distorted into a barrel shape, the entered characters move outward and are out of the reading area. In such a case, an overwritten character is not recognized and a digit loss occurs, which may cause a financial transaction accident.
Therefore, when such a form image distortion occurs, it is necessary to invalidate the image, correct the lift of the form, change the scanner, etc., and let the operator obtain the form image again. .

このような課題を解決するために、本発明の帳票画像歪み検出方法は以下の構成を備える。
<構成1>
4辺からなる帳票の画像のそれぞれの辺と角を検出するステップと、1つの辺とその両端の角について、前記両端の角と当該辺からなる図形を前記4つの辺について求めるステップと、求めた図形のサイズによって前記帳票の画像の歪みを検出するステップからなる。
<構成2>
前記図形は、1つの辺とその両端の角について、前記両端の角を二つの頂点とし、当該辺の上に選択した一点をもう一つの頂点とする三角形である。
<構成3>
前記図形のサイズのうち少なくとも一つが所定値を超えた場合に歪みが発生したと判定する。
<構成4>
前記図形の組み合わせが予め定めた歪みパターンモデルに該当する場合に、歪みが発生したと判定する。
<構成5>
前記歪みパターンモデルは、前記図形のサイズと発生位置と発生する方向の組み合わせからなる。
<構成6>
4辺からなる帳票の画像のそれぞれの辺と角を検出するステップと、1つの辺を分割するステップと、前記分割した辺と分割点を結んだ線からなる図形を求めるステップと、それぞれの辺について求めた図形の組み合わせが予め定めた歪みパターンモデルに該当する場合に、歪みが発生したと判定するステップからなる。
<構成7>
前記図形は、前記分割した辺と両端の角または分割点とを結んだ三角形であり、前記歪みパターンモデルは、前記三角形のサイズと発生位置と発生する方向の組み合わせからなる。
<構成8>
前記三角形は正規化したサイズに基づき比較される。
<構成9>
4辺からなる帳票の画像のそれぞれの辺の両端の角を検出するステップと、対角線を求めるステップと、それぞれの辺の両端の角と前記対角線の交点とを結ぶ図形のサイズを求めるステップと、前記図形のサイズの差によって前記帳票の画像の歪みを検出するステップからなる。
<構成10>
前記図形は、それぞれの辺の両端の角と前記対角線の交点とを結ぶ三角形か、それぞれの辺と、前記角と対角線の交点とを結ぶ線により囲まれる図形かのいずれかである。
<構成11>
前記図形のサイズの差は、前記対角線の交点を中心に対向する図形同士を比較することによって求める。
<構成12>
前記図形のサイズの差は、前記対角線によって隣接する図形同士を比較することによって求める。
<構成13>
前記図形のサイズの差はサイズの比率であり、前記比率が予め定めた歪みパターンモデルに該当する場合に、歪みが発生したと判定する。
In order to solve such a problem, the form image distortion detection method of the present invention has the following configuration.
<Configuration 1>
A step of detecting each side and corner of an image of a form consisting of four sides, a step of obtaining a corner and a figure composed of the sides with respect to one side and both corners thereof, and a step And detecting the distortion of the image of the form according to the size of the figure.
<Configuration 2>
The figure is a triangle of one side and its corners, with the corners at the both ends as two vertices and the selected point on the side as another vertex.
<Configuration 3>
It is determined that distortion has occurred when at least one of the graphic sizes exceeds a predetermined value.
<Configuration 4>
When the combination of figures corresponds to a predetermined distortion pattern model, it is determined that distortion has occurred.
<Configuration 5>
The distortion pattern model includes a combination of the size of the figure, the generation position, and the generation direction.
<Configuration 6>
A step of detecting each side and corner of a four-side form image, a step of dividing one side, a step of obtaining a figure composed of a line connecting the divided side and the division point, and each side When the combination of figures obtained for the above corresponds to a predetermined distortion pattern model, it is determined that distortion has occurred.
<Configuration 7>
The figure is a triangle connecting the divided sides and corners or dividing points at both ends, and the distortion pattern model is a combination of the size of the triangle, the generation position, and the generation direction.
<Configuration 8>
The triangles are compared based on normalized size.
<Configuration 9>
Detecting corners at both ends of each side of a four-side form image, obtaining a diagonal line, obtaining a size of a figure connecting the corners of each side and the intersection of the diagonal lines; The method includes a step of detecting distortion of the image of the form based on a difference in size of the graphic.
<Configuration 10>
The figure is either a triangle connecting the corners of each side and the intersection of the diagonal lines, or a figure surrounded by a line connecting each side and the intersection of the corner and the diagonal line.
<Configuration 11>
The difference in the size of the graphic is obtained by comparing the opposing graphics centering on the intersection of the diagonal lines.
<Configuration 12>
The difference in size of the graphic is obtained by comparing adjacent graphics with the diagonal line.
<Configuration 13>
The difference between the sizes of the figures is a size ratio, and it is determined that distortion has occurred when the ratio corresponds to a predetermined distortion pattern model.

本発明によれば、画像上で発生した帳票のゆがみを検出することができる。   According to the present invention, it is possible to detect a distortion of a form generated on an image.

本発明の実施例について、以下のとおり説明する。   Examples of the present invention will be described as follows.

本発明の第1の実施例について、以下の通り説明する。
<実施例1の構成>
本システムの構成を図1に示す。
A first embodiment of the present invention will be described as follows.
<Configuration of Example 1>
The configuration of this system is shown in FIG.

本システムは、非接触スキャナ装置1、画像処理装置2、PC3から構成される。
図1において、非接触スキャナ装置1は上から見た図を示している。非接触スキャナ装置1は、マット部11、支持部材12によってマット部11の上方に位置するように配置された画像取得部としてのカメラ13から構成される。
This system includes a non-contact scanner device 1, an image processing device 2, and a PC 3.
In FIG. 1, the non-contact scanner device 1 is shown as viewed from above. The non-contact scanner device 1 includes a mat 13 and a camera 13 serving as an image acquisition unit arranged so as to be positioned above the mat 11 by a support member 12.

また図示しないが、非接触スキャナ装置1全体の制御および画像処理装置2との通信機能を有するスキャナ装置制御部を備えている。   Although not shown, a scanner device control unit having a control function of the entire non-contact scanner device 1 and a communication function with the image processing device 2 is provided.

マット部11は、画像を取得する帳票を設置するための置き台である。マット部11は図1においては網掛けで表現しているが、黒色等、画像上で帳票と容易に区別ができる色の材質が用いられる。これにより、取得した帳票画像はマット部が背景となるため、黒い背景色に対し、帳票が浮き上がって見えるような状態となる。このため、容易に帳票の辺を検出することが可能となる。   The mat unit 11 is a table for installing a form for acquiring an image. The mat portion 11 is represented by shading in FIG. 1, but a material of a color such as black that can be easily distinguished from a form on the image is used. As a result, the acquired form image has a mat portion as a background, so that the form appears to rise against the black background color. For this reason, it is possible to easily detect the sides of the form.

カメラ13は、マット部11上の帳票を撮影し画像データに変換する機能を有する、CCDやC−MOS等を利用したカメラである。   The camera 13 is a camera using a CCD, a C-MOS, or the like that has a function of photographing a form on the mat portion 11 and converting it into image data.

画像処理装置2は、取得した帳票画像から帳票の種類を特定し、さらに当該帳票の文字認識すべき領域を特定し、文字認識を行う。その際、帳票画像に歪みが発生しているか否かの判定を同時に行う。なお、本発明では、帳票画像の帳票部分に歪みが発生することをもって、帳票画像に歪みが発生する、と表現する。   The image processing apparatus 2 identifies the type of the form from the acquired form image, further identifies the area of the form to be recognized, and performs character recognition. At that time, it is simultaneously determined whether or not the form image is distorted. In the present invention, it is expressed that distortion occurs in the form image when distortion occurs in the form portion of the form image.

PC3はシステム全体を制御するための端末であり、図示しないメモリやCRT等の表示部やキーボードマウス等の操作部を備えた、一般的なPC等が使用される。   The PC 3 is a terminal for controlling the entire system, and a general PC or the like having a display unit such as a memory and a CRT (not shown) and an operation unit such as a keyboard mouse is used.

なお、ここでは画像処理装置2は独立したハードウェアによって実現するものとして説明するが、PC3内に設けたソフトウェアであってもよい。   Here, the image processing apparatus 2 is described as being realized by independent hardware, but may be software provided in the PC 3.

次に、画像処理装置2の構成について図2を用いて説明する。
画像処理装置は、制御部21、帳票検出処理部22、歪み検出処理部23、歪みパターンDB24、文字認識処理部25、帳票フォーマットDB26、また図示しない記憶部により構成される。なお、本発明においてDBとはデータベースの略である。
Next, the configuration of the image processing apparatus 2 will be described with reference to FIG.
The image processing apparatus includes a control unit 21, a form detection processing unit 22, a distortion detection processing unit 23, a distortion pattern DB 24, a character recognition processing unit 25, a form format DB 26, and a storage unit (not shown). In the present invention, DB is an abbreviation for database.

制御部21は、画像処理装置2全体ないし各処理部の制御を行う。   The control unit 21 controls the entire image processing apparatus 2 or each processing unit.

帳票検出処理部22は、取得した帳票画像から、帳票部分の外形を検出する処理部である。帳票部分の検出は、帳票画像の背景部分の黒色から帳票部分の白色に変化する部分の画素を発見することによって帳票部分の外形が検出される。具体的には、帳票画像の座標の原点(例えば左上)から順次画素の値が黒か白かを確認し、白画素を発見したら、そこを最初の帳票端(背景部分の黒画素と帳票部分の白画素が隣接する部分)として、黒画素に隣接する白画素を順次探索する。発見した帳票端の画素は逐次記憶していく。そのようにして、最初の帳票端の画素に到達すると帳票部分の外形が、連続する帳票端の白画素の座標として検出される。   The form detection processing unit 22 is a processing unit that detects the outer shape of the form part from the acquired form image. In the detection of the form part, the outline of the form part is detected by finding a pixel of a part that changes from black in the background part of the form image to white in the form part. Specifically, from the origin of the coordinates of the form image (for example, the upper left), it is confirmed whether the pixel value is black or white sequentially, and if a white pixel is found, the first form edge (the black pixel of the background part and the form part) The white pixel adjacent to the black pixel is sequentially searched as a portion where the white pixel is adjacent. The found pixels at the edge of the form are stored sequentially. In this way, when the pixel at the first form edge is reached, the outline of the form part is detected as the coordinates of the white pixels at the continuous form edge.

歪み検出処理部23は、検出した帳票の外形を元に、帳票の歪みを検出する処理部である。
歪み検出処理部23はさらに、帳票辺検出部232、帳票角検出部231、帳票歪み特徴抽出部233、帳票歪み判断部234によって構成される。
The distortion detection processing unit 23 is a processing unit that detects a distortion of a form based on the detected outline of the form.
The distortion detection processing unit 23 further includes a form side detection unit 232, a form angle detection unit 231, a form distortion feature extraction unit 233, and a form distortion determination unit 234.

帳票角検出部231は、帳票の外形から帳票の角を検出する処理部である。検出した帳票端を一定方向に移動しながら、帳票端の座標の変化量を順次計算すると、x座標(横方向)y座標(縦方向)それぞれの変化量は、辺部分では一定か滑らかに変化するようになる。例えば、縦の右辺の場合、正確に垂直であれば帳票端の画素を上から下に1画素ずつ移動した際のx座標の変化量は0で、y座標の変化量は1である。帳票の角に到達すると、今度は横の下辺を右から左に1画素ずつ移動するようになる。ここで、帳票端の画素を次の帳票端の画素に移動すると、x座標の変化量は−1に転じ、Y座標の変化量は0に転じる。そして、この変化量は横の辺を移動する間は一定となる。これをベクトルで表現すると、右辺を移動している間は下方向のベクトルとなるが、角を境に90°変化し、左方向のベクトルとなる。このように、帳票端の画素を追跡して、座標の変化量を計算していくと、座標の変化の方向が転じる点が検出でき、これを帳票の角として検出する。検出した角の座標は、記憶部に記憶される。   The form corner detection unit 231 is a processing unit that detects the corner of the form from the outline of the form. If the amount of change in the coordinates of the form edge is calculated sequentially while moving the detected form edge in a certain direction, the amount of change in each of the x-coordinate (horizontal direction) and y-coordinate (vertical direction) changes uniformly or smoothly in the side portion. To come. For example, in the case of the vertical right side, if it is exactly vertical, the amount of change in the x coordinate is 0 and the amount of change in the y coordinate is 1 when the pixel at the end of the form is moved pixel by pixel from top to bottom. When the corner of the form is reached, this time, the horizontal lower side is moved pixel by pixel from right to left. Here, when the pixel at the end of the form is moved to the pixel at the end of the next form, the change amount of the x coordinate turns to −1 and the change amount of the Y coordinate turns to 0. The amount of change is constant while moving along the horizontal side. If this is expressed as a vector, it will be a downward vector while moving on the right side, but it will change by 90 ° at the corner and become a leftward vector. In this way, by tracking the pixels at the edge of the form and calculating the amount of change in coordinates, a point where the direction of change in coordinates changes can be detected, and this is detected as the corner of the form. The detected corner coordinates are stored in the storage unit.

前述のような帳票の歪みがある場合であっても、辺においては上記のベクトルの変化は緩やかであり、角に達すると概ね90°変化するので、検出が可能である。   Even in the case where the form is distorted as described above, the change of the vector is gentle on the side, and when it reaches the corner, it changes by approximately 90 °, and thus can be detected.

なお、解像度が高くなると、帳票端の微細な乱れが検出されやすくなるが、そのような乱れが角の検出に影響しないよう、上記の角の検出は、複数の画素(例えば8x8、16x16等)をまとめて輝度の平均値をとり、擬似的な画素として追跡すればよい。   As the resolution increases, it becomes easier to detect minute disturbances at the edge of the form. However, in order to prevent such disturbances from affecting corner detection, the above corner detection is performed using a plurality of pixels (for example, 8 × 8, 16 × 16, etc.). Are averaged to obtain a luminance average value and tracked as a pseudo pixel.

帳票辺検出部232は、上記の角の検出の結果、角と角の間の帳票端を辺として検出するものである。辺は、帳票端に沿った画素の座標の集合として検出され、記憶部に記憶される。帳票辺検出部232は、帳票角検出部231に内蔵させて角検出と平行して辺検出を行うようにしてもよい。   The form side detection unit 232 detects the end of the form between the corners as a side as a result of the above corner detection. The sides are detected as a set of pixel coordinates along the form edge and stored in the storage unit. The form side detection unit 232 may be incorporated in the form angle detection unit 231 to perform side detection in parallel with the corner detection.

帳票歪み特徴抽出部233は、検出した帳票角、および帳票辺に基づき、帳票歪みの特徴を抽出する処理部である。本実施例における帳票歪み特徴の抽出方式については後述する。
帳票歪み判断部234は、抽出した帳票歪み特徴と、歪みパターンDBから取得した歪みパターンとを比較し、該当する歪みパターンがあるか否かによって、帳票画像の歪みが発生しているかどうかを検出し、かつどのような歪みが発生しているかを把握することができる。
The form distortion feature extraction unit 233 is a processing unit that extracts a form distortion feature based on the detected form angle and the form side. The form distortion feature extraction method in this embodiment will be described later.
The form distortion determination unit 234 compares the extracted form distortion feature with the distortion pattern acquired from the distortion pattern DB, and detects whether or not the form image is distorted depending on whether or not the corresponding distortion pattern exists. In addition, it is possible to grasp what kind of distortion has occurred.

該当する歪みパターンがあっても、所定量以下の歪みであれば、歪み発生無しと判断する。
なお、歪みパターンDBに該当する歪みが無かったとしても、帳票歪み特徴量が大きい場合には、想定以外の歪みとして検出することもできる。
Even if there is a corresponding distortion pattern, it is determined that there is no distortion if the distortion is not more than a predetermined amount.
Even if there is no distortion corresponding to the distortion pattern DB, if the form distortion feature amount is large, it can be detected as a distortion other than the expected distortion.

歪みパターンDB24は、予め想定する帳票の歪み特徴を歪みパターンとして記憶しておくDBである。   The distortion pattern DB 24 is a DB that stores a distortion characteristic of a form assumed in advance as a distortion pattern.

文字認識処理部25は、歪みがないと判断された場合に、帳票の文字認識処理を行うための処理部であり、認識領域補正部251、文字認識部252によって構成される。   The character recognition processing unit 25 is a processing unit for performing character recognition processing of a form when it is determined that there is no distortion, and includes a recognition area correction unit 251 and a character recognition unit 252.

認識領域補正部251は、帳票の基準となる角によって文字認識を行う読取領域の位置を補正し、文字認識部252によって読取領域の文字認識を行う。   The recognition area correction unit 251 corrects the position of the reading area where character recognition is performed based on the corner serving as the reference of the form, and the character recognition unit 252 performs character recognition of the reading area.

読取領域は帳票フォーマットとして定義されており、帳票フォーマットは帳票フォーマットDBに登録されている。帳票フォーマットは、帳票の識別を行って帳票の種類を特定することにより、帳票フォーマットDBから取り出される。   The reading area is defined as a form format, and the form format is registered in the form format DB. The form format is extracted from the form format DB by identifying the form and specifying the type of form.

なお、上記の各処理部は画像処理装置2内で動作するプログラムによって実現されるものとするが、同等の機能を発揮するものであればハードウェアによって実現しても構わない。また、各DBは記憶装置上のファイルによって実現されるものとするが、論理構成として独立していれば、同一のDB内に構成しても構わない。   Note that each processing unit described above is realized by a program that operates in the image processing apparatus 2, but may be realized by hardware as long as it exhibits an equivalent function. Each DB is realized by a file on the storage device, but may be configured in the same DB as long as the logical configuration is independent.

ここで、本実施例における帳票歪み特徴抽出部233の処理を詳細に説明する。
図5(a)は、帳票の左端が浮いたために発生した帳票画像の歪みを示す図である。
なお、以下の説明に共通して、帳票を4つの角A、B、C、Dによる図形ABCDとして表現する。
Here, the processing of the form distortion feature extraction unit 233 in the present embodiment will be described in detail.
FIG. 5A is a diagram illustrating the distortion of the form image that occurs because the left end of the form has floated.
Note that, in common with the following description, a form is expressed as a graphic ABCD with four corners A, B, C, and D.

図5(a)において、歪みによって、帳票ABCDのうち、辺AB、辺ADが湾曲している。ここで、歪み特徴として、辺とその両端の角で描かれる図形を求める。ここでは、辺上に選択した1点とその両端の角で描かれる三角形を考える。返上の1点の選択の仕方の例としては以下のようなものが考えられる。
(A)辺AD上の1点をL1とし、三角形ADL1の面積をL1を移動させつつ計算し、面積が最大となる点を求める。
(B)辺ADを曲線近似し、曲率が最大となる点を求める。
(C)角を結んだ線分ADからの法線方向の距離が最大となる点(すなわち、線分ADから最も離れる点)を求める。
このようにして選択される点を特徴点と呼ぶ。
In FIG. 5A, side AB and side AD are curved in the form ABCD due to distortion. Here, as a distortion feature, a figure drawn by a side and corners at both ends thereof is obtained. Here, consider a triangle drawn by one point selected on the side and the corners at both ends. The following can be considered as an example of how to select one point for return.
(A) One point on the side AD is set as L1, and the area of the triangle ADL1 is calculated while moving L1, and the point having the maximum area is obtained.
(B) The side AD is approximated by a curve, and a point where the curvature is maximum is obtained.
(C) A point where the distance in the normal direction from the line segment AD connecting the corners is maximum (that is, a point farthest from the line segment AD) is obtained.
The points selected in this way are called feature points.

図5(a)の場合、辺AD、辺BCについては上記のような方法で特徴点L1、L2が抽出され、二つの三角形T101、T102が得られる。   In the case of FIG. 5A, for the sides AD and BC, the feature points L1 and L2 are extracted by the method as described above, and two triangles T101 and T102 are obtained.

辺BC、辺CDについては特頂点は検出されない。すなわち、例えば(A)の場合各点A、D、L1は一直線上に並ぶので三角形が描けず、常に面積が0となる。(B)の場合は、曲率は常に0となる。(C)の場合、線分ABと辺ABは一致するので距離は常に0である。これらのような場合は特徴点は検出されないものとする。   No special vertex is detected for side BC and side CD. That is, for example, in the case of (A), since the points A, D, and L1 are aligned on a straight line, a triangle cannot be drawn and the area is always 0. In the case of (B), the curvature is always 0. In the case of (C), since the line segment AB and the side AB coincide with each other, the distance is always 0. In such cases, feature points are not detected.

また、この三角形が、辺の内側と外側のどちらに発生するかによって、図形の発生方向を求める。図5(a)のよな場合、三角形が辺の外側に発生しているので、二つの三角形T101、T102はいずれも外方向に発生している、と表現する。   Further, the generation direction of the figure is determined depending on whether the triangle is generated on the inner side or the outer side of the side. In the case of FIG. 5A, since the triangle is generated outside the side, it is expressed that both the triangles T101 and T102 are generated in the outward direction.

これらの、図形の発生した辺、図形の面積、図形の発生方向を合わせて、帳票歪み特徴として抽出する。図5(a)の場合、以下のように表現する。
発生箇所1=辺AB、面積=(T102の面積)、方向=外方向
発生箇所2=辺AD、面積=(T101の面積)、方向=外方向
These sides of the figure, the area of the figure, and the direction of the figure are combined and extracted as a form distortion feature. In the case of FIG. 5A, it is expressed as follows.
Generation location 1 = side AB, area = (area of T102), direction = outward generation location 2 = side AD, area = (area of T101), direction = outward direction

なお、三角形ではなく、特徴点を複数とって多角形としてもよい。その場合、特徴点の抽出条件は、上記の(A)〜(C)について最大値ではなく所定値以上とし、所定数おきに画素を選択するようにすればよい。   In addition, it is good also as a polygon by taking a plurality of feature points instead of a triangle. In this case, the feature point extraction condition may be a predetermined value or more instead of the maximum value for the above (A) to (C), and pixels may be selected every predetermined number.

または、特徴点を取らず、辺と線分で囲まれる図形の面積を求め、上記の帳票歪み特徴の面積として抽出してもよい。例えば図5(b)の網掛け部分のように図形を求めれば、上記(A)〜(C)のような特徴点の取り方によって面積が変動することもなく、安定した特徴量を得ることができる。この場合、辺を所定数に当分して分割点により囲まれる部分の面積を求めれば、より少ない計算量で、近似的に図5(b)の網掛け部分の面積を得ることもできる。   Alternatively, the area of the figure surrounded by the side and the line segment may be obtained without taking the feature point and extracted as the area of the above-described form distortion feature. For example, if a figure is obtained like the shaded portion in FIG. 5B, the area does not vary depending on how to take the feature points as in the above (A) to (C), and a stable feature amount can be obtained. Can do. In this case, if the area of the portion surrounded by the dividing points is obtained for a predetermined number of sides, the area of the shaded portion in FIG. 5B can be approximately obtained with a smaller amount of calculation.

また、帳票の浮き上がりではなく、前述したカメラの光学的な特性により生じる歪みが発生する場合がある。図6(a)は、カメラのレンズの歪曲収差の影響によるたる型歪みが発生した場合の説明図である。   In addition, there is a case where distortion caused by the above-described optical characteristics of the camera occurs instead of lifting the form. FIG. 6A is an explanatory diagram when a barrel distortion occurs due to the influence of distortion of a camera lens.

この場合の歪み特徴も上記のようにして求めることができる。図6(a)の歪み特徴は以下のように表現される。
発生箇所1=辺AD、面積=(T103の面積)、方向=内方向
発生箇所2=辺BC、面積=(T104の面積)、方向=内方向
The distortion characteristics in this case can also be obtained as described above. The distortion feature of FIG. 6A is expressed as follows.
Generation point 1 = side AD, area = (area of T103), direction = inward direction Generation point 2 = side BC, area = (area of T104), direction = inward direction

また、同じくレンズの影響で発生する歪みとして図6(b)のような糸巻き歪みが発生する場合がある。この場合の歪み特徴も上記のようにして求めることができる。図6(b)の歪み特徴は以下のように表現される。
発生箇所1=辺AD、面積=(T105の面積)、方向=外方向
発生箇所2=辺BC、面積=(T106の面積)、方向=外方向
Similarly, a pincushion distortion as shown in FIG. 6B may occur as distortion generated by the lens. The distortion characteristics in this case can also be obtained as described above. The distortion feature of FIG. 6B is expressed as follows.
Occurrence location 1 = side AD, area = (area of T105), direction = outward occurrence location 2 = side BC, area = (area of T106), direction = outward direction

このように、図形の発生する方向を歪み特徴に含めることにより、仮に図形の面積が同じであっても、歪みの種類を特定することができる。図6の場合は、発生方向が内方向であればたる型であり、外方向であれば糸巻き方である。   As described above, by including the direction in which the graphic is generated in the distortion feature, it is possible to specify the type of distortion even if the area of the graphic is the same. In the case of FIG. 6, it is a barrel type if the generating direction is the inward direction, and is a thread winding method if it is the outward direction.

ここで、歪みパターンDB24に登録されている歪みパターンは、以下のような情報が含まれている。
・発生箇所(図形の発生する辺)
・面積(図形の面積の閾値。このサイズ以上の場合、該当する歪み発生とみなす)
・方向(発生した図形は辺に対して内側か外側か)
また、上記の組み合わせに応じて、歪みの種類が格納される。例えば、図5(a)(b)のように帳票の上辺と左辺の外側に図形が発生するパターンであれば、ゆがみの種類は「帳票の載置方法」による「左上角浮き上がり」である。図6(a)のように帳票の左辺と右辺の内側に図形が発生するパターンであれば、歪みの種類は「レンズ特性」による「たる型歪み」である。図6(b)のように帳票の左辺と右辺の外側に図形が発生するパターンであれば、歪みの種類は「レンズ特性」による「糸巻き型歪み」である。
Here, the distortion pattern registered in the distortion pattern DB 24 includes the following information.
-Occurrence location (edge where the figure is generated)
・ Area (threshold of figure area. If it is larger than this size, it is considered as the corresponding distortion)
-Direction (whether the generated figure is inside or outside the side)
Further, the type of distortion is stored according to the above combination. For example, as shown in FIGS. 5A and 5B, if the pattern is generated on the outside of the upper and left sides of the form, the type of distortion is “lifting the upper left corner” by the “form placement method”. As shown in FIG. 6A, if the pattern is generated on the inside of the left and right sides of the form, the distortion type is “barrel distortion” due to “lens characteristics”. As shown in FIG. 6B, if the pattern is generated on the outside of the left side and the right side of the form, the distortion type is “pincushion type distortion” due to “lens characteristics”.

また、帳票画像に歪みがない場合のパターンとして、空のパターン(図形の発生箇所がひとつもない)も登録しておくものとする。   In addition, it is assumed that an empty pattern (there is no part where a figure is generated) is also registered as a pattern when there is no distortion in the form image.

<実施例1の動作>
次に、本実施例の動作について図4を用いて説明する。
<Operation of Example 1>
Next, the operation of this embodiment will be described with reference to FIG.

S101:まず非接触スキャナ装置1により帳票画像を取得する。   S101: First, a non-contact scanner device 1 acquires a form image.

S102:帳票検出処理部22によって、帳票画像より帳票部分を検出する。   S102: The form detection processing unit 22 detects a form part from the form image.

S103:帳票角検出部231によって、帳票角を検出する。   S103: The form angle detection unit 231 detects the form angle.

S104:帳票辺検出部232によって、帳票辺を検出する。   S104: The form side is detected by the form side detecting unit 232.

S105:帳票歪み特徴抽出部233によって、帳票歪み特徴を抽出する。   S105: The form distortion feature extraction unit 233 extracts the form distortion feature.

S106:帳票歪み判断部234は、歪みパターンDBから、歪みパターン検索する。このとき、検索する歪みパターンは、抽出した帳票歪み特徴との距離計算を行うことによって、近いものを選択するようにしてもよい。   S106: The form distortion determination unit 234 searches for a distortion pattern from the distortion pattern DB. At this time, a distortion pattern to be searched for may be selected by calculating a distance from the extracted form distortion feature.

S107:帳票歪み判断部234は、検索した歪みパターンの中に、抽出した帳票歪み特徴に該当するパターンがあるか否かを判定する。本実施例においては、該当するパターンとは、抽出した帳票歪み特徴と発生位置、発生方向が同じ歪みパターンである。該当するパターンがあれば、S108移る。該当するパターンがない場合は、S109に移る。   S107: The form distortion determination unit 234 determines whether there is a pattern corresponding to the extracted form distortion feature in the searched distortion pattern. In this embodiment, the corresponding pattern is a distortion pattern in which the extracted form distortion feature, the generation position, and the generation direction are the same. If there is a corresponding pattern, the process proceeds to S108. If there is no corresponding pattern, the process proceeds to S109.

S108:帳票の歪み特徴量が閾値以内であるか否かを判定することにより、歪みの発生の有無を判断する。本実施例においては、抽出した帳票歪み特徴に含まれる各辺の図形の面積が、前記該当した歪みパターンに含まれる面積を超えるかどうかによって判断する。このとき、いずれかの辺において閾値を超えていれば、歪みが発生したものと判断する。なお、該当した歪みパターンが、歪み発生なしの場合すなわち空の歪みパターンである場合は、比較する面積が存在しないので、自動的に閾値以内と判定する。   S108: It is determined whether or not distortion has occurred by determining whether or not the distortion feature amount of the form is within a threshold value. In the present embodiment, the determination is made based on whether the area of the figure on each side included in the extracted form distortion feature exceeds the area included in the corresponding distortion pattern. At this time, if the threshold is exceeded on any side, it is determined that distortion has occurred. When the corresponding distortion pattern is not generated, that is, when it is an empty distortion pattern, there is no area to be compared, and therefore it is automatically determined that it is within the threshold value.

S109:歪み発生と判断した場合、帳票リジェクトの表示を行う。このとき、該当した歪みパターンに応じて、歪みの種類を表示してもよい。例えば、図5の帳票の浮き上がりであれば、歪みパターンに含まれる歪みの種類に応じて「『帳票の載置方法』による画像歪みが発生しました。『左上角浮き上がり』が発生してます。帳票を置きなおしてください」といった表示を行う。また、図6(a)の場合は、「『レンズ特性』による『たる型歪み』が発生しています。スキャナを確認してください。」といった表示を行う。これによって、オペレータは、帳票を置きなおして処理をやり直したり、スキャナを変更する等の対処を行うことができる。   S109: When it is determined that distortion has occurred, a form reject is displayed. At this time, the type of distortion may be displayed according to the corresponding distortion pattern. For example, if the form in Fig. 5 is lifted up, the image distortion caused by the "form placement method" has occurred, depending on the type of distortion included in the distortion pattern. Please display the form again. " Further, in the case of FIG. 6A, a display such as “There is“ barrel distortion due to “lens characteristics”. Please check the scanner. ”” Is displayed. As a result, the operator can take measures such as repositioning the form and redoing the process or changing the scanner.

S110:文字認識処理部25は帳票画像を識別して帳票の種類を特定し、帳票フォーマットDBから該当する帳票フォーマットを取得する。帳票フォーマットの読取領域の位置情報と帳票の基準点の座標を元に、帳票画像上の読取領域の位置を特定する。   S110: The character recognition processing unit 25 identifies the form image, identifies the form type, and acquires the corresponding form format from the form format DB. The position of the reading area on the form image is specified based on the position information of the reading area of the form format and the coordinates of the reference point of the form.

S111:読取領域の画像を切り出して、文字認識を行う。文字認識結果は、切り出した画像とともに記憶される。   S111: The image of the reading area is cut out and character recognition is performed. The character recognition result is stored together with the cut image.

なお、歪みの種類によらず歪みが発生したことのみを検出すれば足りる場合には、上記のような歪みの発生した位置や方向までは考慮せず、いずれかの辺において、所定サイズ以上の面積を持つ図形が発生すれば、歪みが発生したことを検出するようにしてもよい。その場合は、歪みパターンとの比較は行わず、発生した図形の面積のみを考慮し、所定値を比較するようにすればよい。   If it is sufficient to detect only the occurrence of distortion regardless of the type of distortion, the position and direction where the distortion occurs as described above is not considered, and on either side, the size is equal to or larger than a predetermined size. If a figure having an area is generated, the occurrence of distortion may be detected. In that case, the comparison with the distortion pattern is not performed, and the predetermined value may be compared in consideration of only the area of the generated graphic.

例えば、S107にて、帳票の歪みパターンを参照しているが、歪みの発生のみを検出すればよい場合は、発生した図形の面積すなわち図形のサイズの閾値のみを保持し、それ以上の面積を持つ図形が発生したかのみを判断すればよい。すなわち、S107は省略し、S108の判断を行うようにしてもよい。   For example, when the distortion pattern of the form is referred to in S107 but only the occurrence of distortion needs to be detected, only the area of the generated figure, that is, the threshold value of the figure size is held, and the area larger than that is retained. It is only necessary to determine whether or not the figure that has been generated. That is, S107 may be omitted and the determination of S108 may be performed.

本実施例によれば、帳票辺毎に、帳票辺と辺の両端の角による図形の発生、図形の面積、図形の発生方向を求めて帳票歪み特徴としたので、予め登録した歪みパターンとの比較により、歪みの発生の有無、歪みの種類を特定することが可能になった。また、帳票辺と辺の両端の角による図形の面積のみを所定の閾値と比較することにより、歪みの有無のみを検出することも可能になった。   According to the present embodiment, for each form side, the generation of the figure by the corners of the form side and both ends of the side, the area of the figure, and the generation direction of the figure are used as the form distortion feature. The comparison made it possible to specify the presence or absence of distortion and the type of distortion. In addition, it is possible to detect only the presence or absence of distortion by comparing only the area of the figure formed by the edges of the form and the corners of the edges with a predetermined threshold.

次に、本発明の第2の実施例について、以下の通り説明する。
本実施例においては、帳票辺の変形が複数のカーブからなるような波上の複雑な形態であった場合に適用される。
Next, a second embodiment of the present invention will be described as follows.
In the present embodiment, the present invention is applied to a case where the form side is in a complicated form on a wave having a plurality of curves.

<実施例2の構成>
実施例2の構成は、実施例1の構成と同様であるので、相違点のみを以下に説明する。
実施例2において、実施例1と異なるのは、帳票歪み特徴抽出部233、帳票歪み判断部234、歪みパターンDB24の3つである。
<Configuration of Example 2>
Since the configuration of the second embodiment is the same as that of the first embodiment, only the differences will be described below.
The second embodiment is different from the first embodiment in three forms: a form distortion feature extraction unit 233, a form distortion determination unit 234, and a distortion pattern DB 24.

ここで、本実施例における帳票歪み特徴抽出部233の処理を詳細に説明する。
本実施例においては、実施例1と同じく、歪み特徴として、辺とその両端の角で描かれる図形を求めるが、さらに、辺とその両端の角を結んだ線分の交点も加えて、図形を求める。図7は、帳票の右辺が波打った状態でマット部11に載置されたために発生した帳票画像の歪みを示す図である。図7において、歪みによって、帳票ABCDのうち、辺BCが波打ったように湾曲している。
Here, the processing of the form distortion feature extraction unit 233 in the present embodiment will be described in detail.
In this embodiment, as in the first embodiment, as a distortion feature, a figure drawn by a side and corners at both ends thereof is obtained, but the intersection of a line segment connecting the side and corners at both ends is also added. Ask for. FIG. 7 is a diagram showing the distortion of the form image generated because the form is placed on the mat portion 11 with the right side of the form being wavy. In FIG. 7, due to the distortion, the side BC of the form ABCD is curved like a wave.

まず、辺BCと線分BCの交点として、P1、P2が求められる。これを分割点とし、辺BCは部分辺BP1、部分辺P1P2、部分辺P2Cに分割される。   First, P1 and P2 are obtained as intersections of the side BC and the line segment BC. With this as a dividing point, the side BC is divided into a partial side BP1, a partial side P1P2, and a partial side P2C.

これらの部分辺について、それぞれ実施例1と同様にして図形を求めることにより、以下のような帳票歪み特徴が得られる。
発生箇所1=辺BC、分割数=1/3、面積=(T111の面積)、方向=外方向
発生箇所2=辺BC、分割数=2/3、面積=(T112の面積)、方向=内方向
発生箇所3=辺BC、分割数=3/3、面積=(T113の面積)、方向=外方向
ここで、分割数は、分母が辺BCを分割した数、分子が分割した部分辺のいずれであるかを示す。
By obtaining a graphic for each of these partial sides in the same manner as in the first embodiment, the following form distortion characteristics can be obtained.
Generation location 1 = side BC, number of divisions = 1/3, area = (area of T111), direction = outward generation location 2 = side BC, number of divisions = 2/3, area = (area of T112), direction = Inner direction Occurrence location 3 = side BC, number of divisions = 3/3, area = (area of T113), direction = outward Here, the number of divisions is the number of sides delimited by side denominator BC, the partial sides of the numerator It indicates which one of them.

なお、求める図形が、上記の部分辺と部分辺の両端を結んだ線分による、三角形あるいは多角形あるいは辺と線分で囲まれる図形そのもののいずれとしてもよいことは実施例1の通りである。   As described in the first embodiment, the figure to be obtained may be either a triangle, a polygon, or a figure itself surrounded by a line segment connecting the partial sides and the ends of the partial sides. .

ここで、歪みパターンDB24に登録されている歪みパターンは、以下のような情報が含まれている。
・発生箇所(図形の発生する辺)
・分割数(辺を分割した数と、分割した部分辺のいずれであるか)
・面積(図形の面積の閾値。このサイズ以上の場合、該当する歪み発生とみなす)
・方向(発生した図形は辺に対して内側か外側か)
また、上記の組み合わせに応じて、歪みの種類が格納される。例えば、図7のようなパターンであれば、ゆがみの種類は「帳票の載置方法」による「右辺の波打ち」である。
Here, the distortion pattern registered in the distortion pattern DB 24 includes the following information.
-Occurrence location (edge where the figure is generated)
-Number of divisions (whether the number of divided sides or divided partial sides)
・ Area (threshold of figure area. If it is larger than this size, it is considered as the corresponding distortion)
-Direction (whether the generated figure is inside or outside the side)
Further, the type of distortion is stored according to the above combination. For example, in the case of the pattern shown in FIG. 7, the type of distortion is “Rippling on the right side” by “Form placement method”.

また、帳票画像に歪みがない場合のパターンとして、空のパターン(図形の発生箇所がひとつもない)も登録しておくものとする。   In addition, it is assumed that an empty pattern (there is no part where a figure is generated) is also registered as a pattern when there is no distortion in the form image.

<実施例2の動作>
次に、本実施例の動作について図4を用いて説明する。
<Operation of Example 2>
Next, the operation of this embodiment will be described with reference to FIG.

S101〜S106は、実施例1の説明と同様である。但し、帳票歪み特徴抽出部233の処理については上記の通りである。   S101 to S106 are the same as those described in the first embodiment. However, the processing of the form distortion feature extraction unit 233 is as described above.

S107:帳票歪み判断部234は、検索した歪みパターンの中に、抽出した帳票歪み特徴に該当するパターンがあるか否かを判定する。本実施例においては、該当するパターンとは、抽出した帳票歪み特徴と発生位置、分割数、発生方向が同じ歪みパターンである。該当するパターンがあれば、S108移る。該当するパターンがない場合は、S109に移る。   S107: The form distortion determination unit 234 determines whether there is a pattern corresponding to the extracted form distortion feature in the searched distortion pattern. In this embodiment, the corresponding pattern is a distortion pattern in which the extracted form distortion feature, the generation position, the number of divisions, and the generation direction are the same. If there is a corresponding pattern, the process proceeds to S108. If there is no corresponding pattern, the process proceeds to S109.

S108:帳票の歪み特徴量が閾値以内であるか否かを判定することにより、歪みの発生の有無を判断する。本実施例においては、抽出した帳票歪み特徴に含まれる各辺の各部分辺ごとの図形の面積が、前記該当した歪みパターンに含まれる面積の閾値を超えるかどうかによって判断する。このとき、いずれかの辺において閾値を超えていれば、歪みが発生したものと判断する。なお、該当した歪みパターンが、歪み発生なしの場合すなわち空の歪みパターンである場合は、比較する面積が存在しないので、自動的に閾値以内と判定する。   S108: It is determined whether or not distortion has occurred by determining whether or not the distortion feature amount of the form is within a threshold value. In this embodiment, the determination is made based on whether or not the area of the graphic for each partial side of each side included in the extracted form distortion feature exceeds the threshold value of the area included in the corresponding distortion pattern. At this time, if the threshold is exceeded on any side, it is determined that distortion has occurred. When the corresponding distortion pattern is not generated, that is, when it is an empty distortion pattern, there is no area to be compared, and therefore it is automatically determined that it is within the threshold value.

S109:歪み発生と判断した場合、帳票リジェクトの表示を行う。このとき、該当した歪みパターンに応じて、歪みの種類を表示してもよい。例えば、図7の帳票辺の波うちであれば、歪みパターンに含まれる歪みの種類に応じて「『帳票の載置方法』による画像歪みが発生しました。『帳票の左辺に波打ち』が発生してます。帳票を置きなおしてください」といった表示を行う。   S109: When it is determined that distortion has occurred, a form reject is displayed. At this time, the type of distortion may be displayed according to the corresponding distortion pattern. For example, in the case of a wave on the side of the form in FIG. 7, depending on the type of distortion included in the distortion pattern, “image distortion occurred due to the“ placement method of the form. ”“ Waving on the left side of the form ” Please reposition the form. ”Is displayed.

S110〜S111は、実施例1の説明と同様である。   S110 to S111 are the same as those described in the first embodiment.

なお、歪みの種類によらず歪みが発生したことのみを検出すれば足りる場合には、上記のような歪みの発生した位置や分割数や方向までは考慮せず、いずれかの辺ないし部分辺において、所定サイズ以上の面積を持つ図形が発生すれば、歪みが発生したことを検出するようにしてもよい。その場合は、歪みパターンとの比較は行わず、発生した図形の面積のみを考慮し、所定値を比較するようにすればよい。
例えば、S107にて、発生した図形の面積すなわち図形のサイズの閾値のみを保持し、それ以上の面積を持つ図形が発生したかのみを判断すればよい。すなわち、S107は省略し、S108の判断を行うようにしてもよい。
If it is sufficient to detect only the occurrence of distortion regardless of the type of distortion, it does not take into account the position where the distortion occurs, the number of divisions, and the direction, and any side or partial side. If a figure having an area of a predetermined size or more is generated, the occurrence of distortion may be detected. In that case, the comparison with the distortion pattern is not performed, and the predetermined value may be compared in consideration of only the area of the generated graphic.
For example, in S107, only the area of the generated graphic, that is, the threshold value of the graphic size is held, and it is only necessary to determine whether a graphic having an area larger than that is generated. That is, S107 may be omitted and the determination of S108 may be performed.

本実施例によれば、帳票辺毎に、帳票辺と辺の両端の角に加え、帳票辺と両端の角を結ぶ線分との交点による図形の発生、前記交点により分割された部分辺、図形の面積、図形の発生方向を求めて帳票歪み特徴としたので、予め登録した歪みパターンとの比較により、帳票辺が波打ったような複雑な歪みであっても、歪みの発生の有無、歪みの種類を特定することが可能になった。また、帳票辺と辺の両端の角による図形の面積のみを所定の閾値と比較することにより、歪みの有無のみを検出することも可能になった。   According to the present embodiment, for each form side, in addition to the form side and the corners at both ends of the side, the generation of a figure by the intersection of the line side connecting the form side and the corners at both ends, the partial side divided by the intersection point, Since the area of the figure and the direction of occurrence of the figure were determined and used as a form distortion feature, even if it was a complicated distortion such as a wavy form by comparison with a pre-registered distortion pattern, It became possible to specify the type of distortion. In addition, it is possible to detect only the presence or absence of distortion by comparing only the area of the figure formed by the edges of the form and the corners of the edges with a predetermined threshold.

次に、本発明の第3の実施例について、以下の通り説明する。
本実施例においては、帳票歪み特徴を、帳票の対角線を利用して求める。
Next, a third embodiment of the present invention will be described as follows.
In this embodiment, the form distortion feature is obtained using the diagonal line of the form.

<実施例3の構成>
実施例3の構成は、実施例1の構成と同様であるので、相違点のみを以下に説明する。
実施例3において、実施例1と異なるのは、帳票歪み特徴抽出部233、帳票歪み判断部234、歪みパターンDB24の3つである。
<Configuration of Example 3>
Since the configuration of the third embodiment is the same as that of the first embodiment, only the differences will be described below.
The third embodiment is different from the first embodiment in three forms: a form distortion feature extraction unit 233, a form distortion determination unit 234, and a distortion pattern DB 24.

ここで、本実施例における帳票歪み特徴抽出部233の処理を詳細に説明する。
本実施例においては、歪み特徴として、辺と帳票の対角線とで描かれる図形を求める。
Here, the processing of the form distortion feature extraction unit 233 in the present embodiment will be described in detail.
In the present embodiment, as a distortion feature, a figure drawn by a side and a diagonal line of a form is obtained.

図8(a)は歪みが発生していない状態の帳票画像である。検出した角A、B、C、Dによって対角線AC、BDを求め、その交点Oを求める。これにより、Oとそれぞれの角を結ぶ線分OA、OB、OC、ODが求められる。歪みが発生していない状態では、OA、OB、OC、ODは長さが同じである。このため、これらの線分と各辺によって描かれる三角形T201、T202、T203、T204の面積は等しい。   FIG. 8A shows a form image in a state where no distortion has occurred. The diagonal lines AC and BD are obtained from the detected angles A, B, C, and D, and the intersection point O is obtained. Thereby, line segments OA, OB, OC, and OD connecting O and the respective corners are obtained. In a state where no distortion occurs, OA, OB, OC, and OD have the same length. For this reason, the areas of the triangles T201, T202, T203, and T204 drawn by these line segments and the respective sides are equal.

これに対し、歪みが発生すると面積に差が生じる。これらの三角形の面積比を求めることにより、歪みを検出することができる。面積比は、例えばT201:T202:T203:T204(すなわち上辺:右辺:下辺:左辺の三角形の面積)として求める。このとき、三角形T201’の面積を1として正規化する。
図8(a)の場合の面積比は、1:1:1:1のように求められる。
On the other hand, when distortion occurs, a difference occurs in the area. By obtaining the area ratio of these triangles, distortion can be detected. The area ratio is obtained, for example, as T201: T202: T203: T204 (that is, the upper side: right side: lower side: left side triangle area). At this time, the area of the triangle T201 ′ is normalized as 1.
The area ratio in the case of FIG. 8A is obtained as 1: 1: 1: 1.

これに対し、帳票の左上角が浮いた状態の歪みが発生した場合を図8(b)に示す。
図8(b)において、歪みによって、帳票A’B’C’D’のうち、辺A’B’、辺A’D’が湾曲している。ここで、歪み特徴として、辺とその両端の角を通る対角線で描かれる図形を求める。ここでは、辺の両端の角と対角線の交点とで描かれる三角形を求める。これにより4つの三角形T201’、T202’、T203’、T204’が得られる。
On the other hand, FIG. 8B shows a case where distortion occurs in a state where the upper left corner of the form is lifted.
In FIG. 8B, side A′B ′ and side A′D ′ of the form A′B′C′D ′ are curved due to distortion. Here, as a distortion feature, a figure drawn by a diagonal line passing through the side and the corners of both ends thereof is obtained. Here, a triangle drawn by the corners at both ends of the side and the intersection of the diagonal lines is obtained. As a result, four triangles T201 ′, T202 ′, T203 ′, and T204 ′ are obtained.

これらの面積は、図8(a)の正常状態と異なり、同じではない。このため、これらの三角形の面積比を求めることにより、歪みを検出することができる。
図8(b)の場合、例えば、1:0.8:0.8:1のように求められる。
These areas are not the same as in the normal state of FIG. Therefore, distortion can be detected by obtaining the area ratio of these triangles.
In the case of FIG. 8B, for example, it is obtained as 1: 0.8: 0.8: 1.

また、他の歪みの例として、図9を示す。図9は、帳票を斜め上の角度から撮影した場合に生じる台形歪みの例である。ここでは簡単のために、縦方向のみに角度が発生したものとしているが、横方向の場合であっても同じである。
図9の場合、面積比は、例えば1:1.5:2:1.5のように求められる。
FIG. 9 shows another example of distortion. FIG. 9 is an example of trapezoidal distortion that occurs when a form is photographed from an obliquely upper angle. Here, for the sake of simplicity, it is assumed that the angle is generated only in the vertical direction, but the same applies to the case of the horizontal direction.
In the case of FIG. 9, the area ratio is obtained, for example, as 1: 1.5: 2: 1.5.

ところで図10のように、前述のたる型歪み、糸巻き方歪みが発生した場合は、角の位置は変わらない場合があり、その場合は対角線と角による三角形の面積は正常時と変わらず、1:1:1:1となる。このため、三角形ではなく、帳票辺と対角線による図形の面積を求めるようにしてもよい。例えば図10(a)のT204’’(網掛け部分)、あるいは図10(b)のT204’’(網掛け部分)のようにすれば、歪みによる面積の変化を正しく抽出することができる。このようにすれば、例えば面積比は1:1.2:1:1.2あるいは1:0.7:1:0.7のようになり、正常状態と異なることが検出できる。   By the way, as shown in FIG. 10, when the above-described barrel distortion or yarn winding distortion occurs, the corner position may not be changed. In this case, the area of the triangle formed by the diagonal line and the corner is not different from that in the normal state. : 1: 1: 1. For this reason, you may make it obtain | require the area of the figure not with a triangle but with a form edge and a diagonal line. For example, if T204 ″ (shaded portion) in FIG. 10A or T204 ″ (shaded portion) in FIG. 10B is used, a change in area due to distortion can be correctly extracted. In this way, for example, the area ratio becomes 1: 1.2: 1: 1.2 or 1: 0.7: 1: 0.7, and it can be detected that it is different from the normal state.

ここで、歪みパターンDB24に登録されている歪みパターンは、以下のような情報が含まれている。
・面積比の範囲
・許容する閾値
面積比の範囲とは、上辺による図形の面積を1としたときの、各辺の図形の面積の取りうる範囲であり、上記の各歪みの例の面積比がそれぞれ含まれるような値が格納される。
許容する閾値とは、面積比の大きさをどこまで許容するかを示す値である。
また、面積比に応じて、歪みの種類が格納される。例えば、右辺と左辺による面積が等しく、下辺による図形の面積が大きい場合は、「上辺が縮んだ台形歪み」が格納される。
Here, the distortion pattern registered in the distortion pattern DB 24 includes the following information.
-Area ratio range-Permissible threshold The area ratio range is the range that the area of the figure on each side can take when the area of the figure on the upper side is 1, and the area ratio in the above examples of each distortion Is stored in such a value that each is included.
The allowable threshold is a value indicating how much the area ratio is allowed.
Further, the type of distortion is stored according to the area ratio. For example, when the areas of the right side and the left side are equal and the area of the figure by the lower side is large, “trapezoidal distortion with the upper side shrunk” is stored.

また、帳票画像に歪みがない場合のパターンとして、1:1:1:1も登録しておくものとする。   Further, it is assumed that 1: 1: 1: 1 is also registered as a pattern when there is no distortion in the form image.

<実施例3の動作>
次に、本実施例の動作について図4を用いて説明する。
<Operation of Example 3>
Next, the operation of this embodiment will be described with reference to FIG.

S101〜S106は、実施例1の説明と同様である。但し、帳票歪み特徴抽出部233の処理については上記の通りである。   S101 to S106 are the same as those described in the first embodiment. However, the processing of the form distortion feature extraction unit 233 is as described above.

S107:帳票歪み判断部234は、検索した歪みパターンの中に、抽出した帳票歪み特徴に該当するパターンがあるか否かを判定する。本実施例においては、該当するパターンとは、抽出した帳票歪み特徴の面積比が範囲に含まれる歪みパターンである。該当するパターンがあれば、S108移る。該当するパターンがない場合は、S109に移る。   S107: The form distortion determination unit 234 determines whether there is a pattern corresponding to the extracted form distortion feature in the searched distortion pattern. In this embodiment, the corresponding pattern is a distortion pattern in which the area ratio of the extracted form distortion feature is included in the range. If there is a corresponding pattern, the process proceeds to S108. If there is no corresponding pattern, the process proceeds to S109.

S108:帳票の歪み特徴が閾値以内であるか否かを判定することにより、歪みの発生の有無を判断する。このとき、抽出した面積比と、各歪みパターンにおいて許容する面積比の比較を行う。
本実施例においては、抽出した帳票歪み特徴に含まれる面積比の大きさが、前記該当した歪みパターンに含まれる閾値を超えるかどうかによって判断する。このとき、一番大きな数字と一番小さな数字の差が閾値を超えるかどうかによって判断する。
なお、該当した歪みパターンが、歪み発生なしの場合すなわち空の歪みパターンである場合は、自動的に閾値以内と判定する。
S108: It is determined whether or not distortion has occurred by determining whether or not the distortion characteristics of the form are within a threshold value. At this time, the extracted area ratio is compared with the area ratio allowed in each distortion pattern.
In this embodiment, the determination is made based on whether or not the size of the area ratio included in the extracted form distortion feature exceeds the threshold value included in the corresponding distortion pattern. At this time, the determination is made based on whether or not the difference between the largest number and the smallest number exceeds a threshold value.
When the corresponding distortion pattern is not generated, that is, when it is an empty distortion pattern, it is automatically determined to be within the threshold value.

S109:歪み発生と判断した場合、帳票リジェクトの表示を行う。このとき、前述の実施例と同様に該当した歪みパターンに応じて、歪みの種類を表示してもよい。例えば、図9の場合であれば、「『帳票の台形歪み』による画像歪みが発生しました。スキャナを確認してください」といった表示を行う。   S109: When it is determined that distortion has occurred, a form reject is displayed. At this time, the type of distortion may be displayed according to the corresponding distortion pattern as in the above-described embodiment. For example, in the case of FIG. 9, a display such as “Image distortion due to“ trapezoidal distortion of form ”occurred. Please check the scanner” is displayed.

S110〜S111は、実施例1の説明と同様である。   S110 to S111 are the same as those described in the first embodiment.

なお、歪みの種類によらず歪みが発生したことのみを検出すれば足りる場合には、上記のような歪みパターンとの比較を行わず、所定以上の面積比が発生すれば、歪みが発生したことを検出するようにしてもよい。   If it is sufficient to detect only the occurrence of distortion regardless of the type of distortion, comparison with the distortion pattern as described above is not performed, and distortion occurs when an area ratio of a predetermined value or more occurs. This may be detected.

なお、上述の例では、各辺おける図形の面積比を求めることとしたが、面積の差分を求めることとしてもよい。このとき、対角線の交点をはさんで対向する図形同士を比較すれば、上辺と下辺、右辺と左辺の図形による2対の比較が行え、それらの面積の差分の有無によって歪みが検出できる。この比較方法は、たる型、および糸巻き型以外の歪みの検出を行うことができる。   In the above example, the area ratio of figures on each side is obtained, but the difference in area may be obtained. At this time, by comparing the opposing figures across the intersection of diagonal lines, two pairs of figures can be compared with the upper and lower sides, and the right and left sides, and distortion can be detected by the presence or absence of the difference in area. This comparison method can detect distortion other than the barrel mold and the pincushion mold.

また、対角線をはさんで隣接する図形同士を比較すれば、各角について4対の比較が行え、それらの面積の差分の有無によって歪みが検出できる。   Further, by comparing adjacent figures across diagonal lines, four pairs can be compared for each corner, and distortion can be detected by the presence or absence of the difference in area.

本実施例によれば、帳票辺毎に、帳票辺と辺の両端の角に加え、角同士を結ぶ対角線による図形の面積比を求めて帳票歪み特徴としたので、予め登録した歪みパターンとの比較により、歪みの発生の有無、歪みの種類を特定することが可能になった。また、図形の面積比のみを所定の閾値と比較することにより、歪みの有無のみを検出することも可能になった。   According to the present embodiment, for each form side, in addition to the corners of both sides of the form side, the area ratio of the figure by the diagonal line connecting the corners is obtained as the form distortion feature. The comparison made it possible to specify the presence or absence of distortion and the type of distortion. In addition, only the presence or absence of distortion can be detected by comparing only the area ratio of the figure with a predetermined threshold.

なお、上述の実施例1、2において、図形の面積を求める際に正規化を行ってもよい。例えば、帳票の最長辺の長さまたは外周の長さを1として、すべての長さを正規化する。または、求めた面積を帳票自体の面積を1として正規化する。このようにすれば、帳票のサイズによらず一定の閾値を用いることができ、緒票のサイズの変化による影響を排除することができる。   In the first and second embodiments described above, normalization may be performed when obtaining the area of the figure. For example, assuming that the length of the longest side of the form or the length of the outer periphery is 1, all lengths are normalized. Alternatively, the obtained area is normalized with the area of the form itself as 1. In this way, a constant threshold value can be used regardless of the form size, and the influence of changes in the form size can be eliminated.

システム構成System configuration 画像処理装置の機能ブロックFunctional block of image processing apparatus 帳票歪みの例Example of form distortion 処理フローProcessing flow 実施例1の帳票歪み特徴の例Example of form distortion feature of embodiment 1 実施例1の帳票歪み特徴の例Example of form distortion feature of embodiment 1 実施例2の帳票歪み特徴の例Example of form distortion feature of embodiment 2 実施例3の帳票歪み特徴の例Example of form distortion feature of Example 3 実施例3の帳票歪み特徴の例Example of form distortion feature of Example 3 実施例3の帳票歪み特徴の例Example of form distortion feature of Example 3

符号の説明Explanation of symbols

1 非接触スキャナ装置
2 画像処理装置
3 PC
11 マット部
12 支持部材
13 カメラ
21 制御部
22 帳票検出処理部
23 歪み検出処理部
232 帳票辺検出部
231 帳票角検出部
233 帳票歪み特徴抽出部
234 帳票歪み判断部
24 歪みパターンDB
25 文字認識処理部
251 認識領域補正部
252 文字認識部
26 帳票フォーマットDB
1 Non-contact scanner device 2 Image processing device 3 PC
DESCRIPTION OF SYMBOLS 11 Mat | matte part 12 Support member 13 Camera 21 Control part 22 Form detection process part 23 Distortion detection process part 232 Form edge detection part 231 Form angle detection part 233 Form distortion feature extraction part 234 Form distortion judgment part 24 Distortion pattern DB
25 Character recognition processing unit 251 Recognition area correction unit 252 Character recognition unit 26 Form format DB

Claims (13)

4辺からなる帳票の画像のそれぞれの辺と角を検出するステップと、
1つの辺とその両端の角について、前記両端の角と当該辺からなる図形を前記4つの辺について求めるステップと、
求めた図形のサイズによって前記帳票の画像の歪みを検出するステップからなる、
帳票画像歪み検出方法。
Detecting each side and corner of a four-side form image;
For one side and the corners at both ends thereof, obtaining a figure composed of the corners at both ends and the sides for the four sides;
The step of detecting distortion of the image of the form according to the size of the figure obtained.
Form image distortion detection method.
前記図形は、
1つの辺とその両端の角について、前記両端の角を二つの頂点とし、当該辺の上に選択した一点をもう一つの頂点とする三角形である、
請求項1に記載の帳票画像歪み検出方法。
The figure is
For one side and its corners, the corners at both ends are two vertices, and a point selected on the side is another triangle.
The form image distortion detection method according to claim 1.
前記図形のサイズのうち少なくとも一つが所定値を超えた場合に歪みが発生したと判定する、
請求項1から2に記載の帳票画像歪み検出方法。
Determining that distortion has occurred when at least one of the graphic sizes exceeds a predetermined value;
The form image distortion detection method according to claim 1.
前記図形の組み合わせが予め定めた歪みパターンモデルに該当する場合に、歪みが発生したと判定する、
請求項2に記載の帳票画像歪み検出方法。
When the combination of figures corresponds to a predetermined distortion pattern model, it is determined that distortion has occurred,
The form image distortion detection method according to claim 2.
前記歪みパターンモデルは、前記図形のサイズと発生位置と発生する方向の組み合わせからなる、
請求項4に記載の帳票画像歪み検出方法。
The distortion pattern model is composed of a combination of the size of the figure, the generation position, and the generation direction.
The form image distortion detection method according to claim 4.
4辺からなる帳票の画像のそれぞれの辺と角を検出するステップと、
1つの辺を分割するステップと、
前記分割した辺と分割点を結んだ線からなる図形を求めるステップと、
それぞれの辺について求めた図形の組み合わせが予め定めた歪みパターンモデルに該当する場合に、歪みが発生したと判定するステップからなる、
帳票画像歪み検出方法。
Detecting each side and corner of a four-side form image;
Dividing one side;
Obtaining a figure consisting of a line connecting the divided sides and dividing points;
When the combination of figures obtained for each side corresponds to a predetermined distortion pattern model, it comprises a step of determining that distortion has occurred,
Form image distortion detection method.
前記図形は、
前記分割した辺と両端の角または分割点とを結んだ三角形であり、
前記歪みパターンモデルは、前記三角形のサイズと発生位置と発生する方向の組み合わせからなる、
請求項6に記載の帳票画像歪み検出方法。
The figure is
A triangle connecting the divided sides and corners or dividing points at both ends;
The distortion pattern model is composed of a combination of the size of the triangle, the generation position, and the generation direction.
The form image distortion detection method according to claim 6.
前記三角形は正規化したサイズに基づき比較される、
請求項7に記載の帳票画像歪み検出方法。
The triangles are compared based on normalized size,
The form image distortion detection method according to claim 7.
4辺からなる帳票の画像のそれぞれの辺の両端の角を検出するステップと、
対角線を求めるステップと、
それぞれの辺の両端の角と前記対角線の交点とを結ぶ図形のサイズを求めるステップと、
前記図形のサイズの差によって前記帳票の画像の歪みを検出するステップからなる、
帳票画像歪み検出方法。
Detecting corners at both ends of each side of a four-side form image;
Obtaining a diagonal line; and
Obtaining a size of a figure connecting the corners of each side and the intersection of the diagonal lines; and
Detecting the distortion of the image of the form by the difference in the size of the figure,
Form image distortion detection method.
前記図形は、それぞれの辺の両端の角と前記対角線の交点とを結ぶ三角形か、それぞれの辺と、前記角と対角線の交点とを結ぶ線により囲まれる図形かのいずれかである、
請求項9に記載の帳票画像歪み検出方法。
The figure is either a triangle connecting the corners of each side and the intersection of the diagonal lines, or a figure surrounded by a line connecting each side and the intersection of the corners and the diagonal line,
The form image distortion detection method according to claim 9.
前記図形のサイズの差は、前記対角線の交点を中心に対向する図形同士を比較することによって求める、
請求項10に記載の帳票画像歪み検出方法。
The difference in the size of the figure is obtained by comparing the opposite figures centering on the intersection of the diagonal lines,
The form image distortion detection method according to claim 10.
前記図形のサイズの差は、前記対角線によって隣接する図形同士を比較することによって求める、
請求項10に記載の帳票画像歪み検出方法。
The difference in size of the figure is determined by comparing the neighboring figures by the diagonal line,
The form image distortion detection method according to claim 10.
前記図形のサイズの差はサイズの比率であり、前記比率が予め定めた歪みパターンモデルに該当する場合に、歪みが発生したと判定する、
請求項10から12のいずれかに記載の帳票画像歪み検出方法。
The size difference between the figures is a size ratio, and when the ratio corresponds to a predetermined distortion pattern model, it is determined that distortion has occurred.
The form image distortion detection method according to any one of claims 10 to 12.
JP2006097572A 2006-03-31 2006-03-31 Business form image distortion detection method Pending JP2007272572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006097572A JP2007272572A (en) 2006-03-31 2006-03-31 Business form image distortion detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006097572A JP2007272572A (en) 2006-03-31 2006-03-31 Business form image distortion detection method

Publications (1)

Publication Number Publication Date
JP2007272572A true JP2007272572A (en) 2007-10-18

Family

ID=38675316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006097572A Pending JP2007272572A (en) 2006-03-31 2006-03-31 Business form image distortion detection method

Country Status (1)

Country Link
JP (1) JP2007272572A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091114A (en) * 2014-10-30 2016-05-23 富士通フロンテック株式会社 Document read program, document read method, and information processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091114A (en) * 2014-10-30 2016-05-23 富士通フロンテック株式会社 Document read program, document read method, and information processing apparatus

Similar Documents

Publication Publication Date Title
US9179035B2 (en) Method of editing static digital combined images comprising images of multiple objects
EP1909215B1 (en) Image region detection method, recording medium, and device therefor
US8213687B2 (en) Image processing methods, image processing systems, and articles of manufacture
TWI428011B (en) Used in the image processing system in the photographic objects
AU2006253155B2 (en) Method, system, digital camera and ASIC for geometric image transformation based on text line searching
US20190311486A1 (en) Method, system and apparatus for correcting translucency artifacts in data representing a support structure
JPH113430A (en) Method and device for associating input image with reference image, and storage medium storing program realizing the method
JP4574503B2 (en) Image processing apparatus, image processing method, and program
US11244194B2 (en) System and method for object recognition using local binarization
CN109409158A (en) A kind of method for anti-counterfeit based on two dimensional code edge roughness
JP3471578B2 (en) Line direction determining device, image tilt detecting device, and image tilt correcting device
US11055551B2 (en) Correction support device and correction support program for optical character recognition result
JP2007272572A (en) Business form image distortion detection method
JP6885563B2 (en) Display status judgment system
JP2021157537A (en) Two-dimensional marker recognition apparatus, method, program, and system
JP6890849B2 (en) Information processing system
KR102239564B1 (en) System and method for object recognition different by administrative area
JP5844698B2 (en) Character recognition device
JP2006229685A (en) Distortion determination device for business form
US7103220B2 (en) Image processing apparatus, method and program, and storage medium
JPH03263282A (en) Character segmenting method for character reader
JP4080157B2 (en) Image processing apparatus, image processing method, and recording medium
JP2006252491A (en) Tag for image identification and image identification system
JPH0573718A (en) Area attribute identifying system
JP2007079966A (en) Character recognition device