JP2021033814A - Image processing apparatus, program, image processing method, and document form processing apparatus - Google Patents
Image processing apparatus, program, image processing method, and document form processing apparatus Download PDFInfo
- Publication number
- JP2021033814A JP2021033814A JP2019155449A JP2019155449A JP2021033814A JP 2021033814 A JP2021033814 A JP 2021033814A JP 2019155449 A JP2019155449 A JP 2019155449A JP 2019155449 A JP2019155449 A JP 2019155449A JP 2021033814 A JP2021033814 A JP 2021033814A
- Authority
- JP
- Japan
- Prior art keywords
- ruled line
- image
- ruled
- unit
- image processing
- 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
Links
Images
Landscapes
- Character Input (AREA)
Abstract
Description
本発明は、読み取り対象となる帳票の異常を検出する画像処理装置、プログラム、画像処理方法および帳票処理装置に関する。 The present invention relates to an image processing device, a program, an image processing method, and a form processing device that detect an abnormality in a form to be read.
帳票に記載された内容を読み取り、処理を実行するシステムが普及している。例えば、金融機関の店頭に設置してある現金自動預け払い機は、振込用紙に記載されている口座番号に、振込用紙に記載の振込金額を入金する振込処理を行う。
振込用紙は、人手(現金自動預け払い機の利用者)により現金自動預け払い機に投入され、現金自動預け払い機内のスキャナで画像として読み取られ、画像から口座番号や振込金額が認識される。認識された内容が正しいことの確認を利用者から受け付けると、現金自動預け払い機は、振込用紙を現金自動預け払い機内の格納庫に搬送するとともに、振込処理を実行する。
A system that reads the contents of a form and executes processing is widespread. For example, an automated teller machine installed at a financial institution performs a transfer process in which the transfer amount stated on the transfer form is deposited into the account number written on the transfer form.
The transfer form is manually inserted into the automated teller machine (user of the automated teller machine), read as an image by a scanner in the automated teller machine, and the account number and transfer amount are recognized from the image. Upon receiving confirmation from the user that the recognized content is correct, the automated teller machine transports the transfer form to the hangar inside the automated teller machine and executes the transfer process.
現金自動預け払い機に投入される振込用紙については、付箋紙のような異物が張られていたり、破れて一部が欠けていたり、端が折れたまま投入されたりする場合がある。このような振込用紙は、口座番号や金額が読み取り可能であっても、格納庫に搬送される途中で詰まり、現金自動預け払い機の故障の原因になる。このため、投入口に近いスキャナで画像を読み取った時点で異常を検出して投入口に戻すことで、搬送途中でのトラブル発生を回避することが望ましい。特許文献1に記載の発明では、カラースキャナを備えた複合機において、原稿のカラー画像とモノクロ画像とを比較して、差が大きい領域に異物があると判定している。
The transfer paper to be inserted into the automated teller machine may be covered with foreign matter such as sticky notes, torn and partially chipped, or inserted with the edges broken. Even if the account number and amount of money can be read, such a transfer form will be clogged during transportation to the hangar, causing a malfunction of the automated teller machine. For this reason, it is desirable to avoid the occurrence of trouble during transportation by detecting an abnormality when the image is read by a scanner near the slot and returning the image to the slot. In the invention described in
特許文献1に記載の発明では、異物判定にカラー画像が必要であり、カラースキャナが必須となる。現金自動預け払い機を含め帳票を処理する装置では、スキャナのコストや保守の観点から、価格が低く、保守が容易なモノクロスキャナを用いて異物を検出することが特に望ましい。
異物の付着や用紙の破損などは、機器の故障に限らず、帳票にある記載の読み取り(認識)漏れにもなる。このため、現金自動預け払い機に限らず、帳票を読み取る装置一般において、異物の付着や帳票の破損などの検出が求められる。
In the invention described in
Adhesion of foreign matter or damage to paper is not limited to equipment failure, but also leads to omission of reading (recognition) of the description on the form. For this reason, not only automatic teller machines but also devices that read forms in general are required to detect foreign matter adhesion and form damage.
本発明は、このような背景を鑑みてなされたのであり、低コストで、帳票の異常を検出することを可能とする画像処理装置、プログラム、画像処理方法および帳票処理装置を提供することを課題とする。 The present invention has been made in view of such a background, and it is an object of the present invention to provide an image processing device, a program, an image processing method, and a form processing device capable of detecting an abnormality in a form at low cost. And.
前記した課題を解決するため、本発明に係る画像処理装置は、罫線を含む帳票の画像を処理する画像処理装置であって、前記罫線の情報を、基準罫線特徴として記憶する記憶部と、前記画像から罫線の情報を抽出する罫線抽出部と、前記罫線抽出部が抽出した罫線の情報と、前記基準罫線特徴とを比較する罫線比較部と、前記罫線比較部が比較した結果、差異があるときには、前記帳票に異常があると判定する判定部とを備えることを特徴とする。 In order to solve the above-mentioned problems, the image processing device according to the present invention is an image processing device that processes an image of a form including a ruled line, and includes a storage unit that stores the information of the ruled line as a reference ruled line feature and the above. There is a difference as a result of comparison between the ruled line extraction unit that extracts the ruled line information from the image, the ruled line comparison unit that compares the ruled line information extracted by the ruled line extraction unit with the reference ruled line feature, and the ruled line comparison unit. Occasionally, it is characterized by including a determination unit for determining that there is an abnormality in the form.
前記した課題を解決するため、本発明に係るプログラムは、コンピュータを上記した画像処理装置として機能させる。 In order to solve the above-mentioned problems, the program according to the present invention causes a computer to function as the above-mentioned image processing device.
前記した課題を解決するため、本発明に係る画像処理方法は、罫線を含む帳票の画像を処理する画像処理装置が実行する画像処理方法であって、前記画像処理装置は、前記罫線の情報を、基準罫線特徴として記憶する記憶部を備え、前記画像から罫線の情報を抽出するステップと、抽出された前記罫線の情報と、前記基準罫線特徴とを比較するステップと、比較した結果、差異があるときには、前記帳票に異常があると判定するステップとを備えることを特徴とする。 In order to solve the above-mentioned problems, the image processing method according to the present invention is an image processing method executed by an image processing device that processes an image of a form including a ruled line, and the image processing device obtains information on the ruled line. , A storage unit for storing as a reference ruled line feature is provided, and a step of extracting ruled line information from the image and a step of comparing the extracted ruled line information with the reference ruled line feature are compared. At a certain time, it is characterized by including a step of determining that there is an abnormality in the form.
前記した課題を解決するため、本発明に係る帳票処理装置は、罫線を含む帳票を処理する帳票処理装置であって、前記罫線の情報を、基準罫線特徴として記憶する記憶部と、挿入口から投入された前記帳票の前記帳票処理装置の内部での搬送を制御する搬送制御部と、前記帳票の画像を取得する画像取得部と、前記画像から罫線の情報を抽出する罫線抽出部と、前記罫線抽出部が抽出した罫線の情報と、前記基準罫線特徴とを比較する罫線比較部と、前記罫線比較部が比較した結果、差異があるときには、前記帳票に異常があると判定する判定部とを備え、前記搬送制御部は、前記判定部が前記帳票に異常があると判定したときには、当該帳票を前記挿入口に戻すことを特徴とする。 In order to solve the above-mentioned problems, the form processing device according to the present invention is a form processing device that processes a form including a ruled line, from a storage unit that stores the information of the ruled line as a reference ruled line feature, and from an insertion slot. A transport control unit that controls the transport of the input form inside the form processing device, an image acquisition unit that acquires an image of the form, a ruled line extraction unit that extracts ruled line information from the image, and the above. A ruled line comparison unit that compares the ruled line information extracted by the ruled line extraction unit with the reference ruled line feature, and a determination unit that determines that the form is abnormal when there is a difference as a result of comparison between the ruled line comparison unit and the ruled line comparison unit. When the determination unit determines that the form is abnormal, the transport control unit returns the form to the insertion slot.
本発明によれば、低コストで、帳票の異常を検出することを可能とする画像処理装置、プログラム、画像処理方法および帳票処理装置を提供することができる。 According to the present invention, it is possible to provide an image processing device, a program, an image processing method, and a form processing device capable of detecting an abnormality in a form at low cost.
以下に、本発明を実施するための形態(実施形態)における画像処理装置について説明する。現金自動預け払い機は、画像処理装置の1つである。画像処理装置には、読み取り対象となる帳票(基準となる帳票)の罫線情報が予め登録されている。画像処理装置は、記入済みの帳票の画像をスキャナで読み取り、罫線情報を取得する。登録済みの罫線情報と取得した罫線情報とを比較して、取得した罫線に欠落がある場合には、画像処理装置は、帳票に異常があると判定する。
このようにすることで、画像処理装置は、モノクロ画像のみで、帳票の異常を検出することができるようになる。カラースキャナは不要であり、装置のコストや保守コストを削減できる。
The image processing apparatus according to the embodiment (embodiment) for carrying out the present invention will be described below. The automated teller machine is one of the image processing devices. The ruled line information of the form to be read (reference form) is registered in advance in the image processing device. The image processing device scans the completed form image with a scanner and acquires ruled line information. The registered ruled line information is compared with the acquired ruled line information, and if the acquired ruled line is missing, the image processing device determines that the form is abnormal.
By doing so, the image processing apparatus can detect an abnormality in the form only with a monochrome image. No color scanner is required, and equipment costs and maintenance costs can be reduced.
≪画像処理装置:全体構成≫
図1は、第1の実施形態に係る画像処理装置100の機能構成図である。画像処理装置100は、制御部110、記憶部120、および入出力部140を備える。記憶部120は、RAM(Random Access Memory)やSSD(Solid State Drive)などから構成される。記憶部120は、プログラム121や帳票データベース130(図2参照)などを記憶する。制御部110を構成するCPU(Central Processing Unit)が、プログラム121を実行することで、後記する画像取得部111、罫線抽出部112、罫線比較部113、判定部114、文字認識部115、およびフィールド登録部116が実現され、帳票読み取り処理(後記する図8参照)が行われる。
≪Image processing device: Overall configuration≫
FIG. 1 is a functional configuration diagram of the
≪画像処理装置:帳票データベース≫
図2は、第1の実施形態に係る帳票データベース130のデータ構成図である。帳票データベース130は、例えば表形式のデータである。帳票データベース130の1つのレコードは、1つの帳票の形式(フォーマット)に係る情報を示し、ID(identifier、識別情報)131、読み取りフィールド132、および罫線特徴133の属性(列)を含む。
≪Image processing device: form database≫
FIG. 2 is a data structure diagram of the
ID131は、帳票の識別番号であって、帳票の所定の位置(例えば、左上)に印字された番号である。
読み取りフィールド132は、帳票から読み取る情報の領域を示す情報である。領域は、帳票の画像上に設定される座標系における領域の基準となる位置(例えば、領域の左上の座標)と幅と高さとで示される。読み取りフィールド132は、複数の領域の情報を含む場合もある。
ID131 is a form identification number, which is a number printed at a predetermined position (for example, upper left) of the form.
The
罫線特徴133は、帳票の罫線に係る情報である。帳票は複数の領域に区切られ、各領域に含まれる罫線の情報が、罫線特徴133に格納される。罫線特徴については、後記する図5を参照して説明する。
レコード139に示される帳票の形式である帳票のIDは「22」である。1つの読み取り対象の領域における左上の座標は(25,137)であり、幅が「213」、高さが「60」である。
The
The ID of the form, which is the form of the form shown in the
≪画像処理装置:入出力部と制御部≫
図1に戻り、入出力部140、および制御部110の説明を続ける。入出力部140は、スキャナ141、ディスプレイ142、キーボード143、およびマウス144を含んで構成される。スキャナ141は、帳票を読み取り、画像のデジタルデータを出力する。
<< Image processing device: Input / output unit and control unit >>
Returning to FIG. 1, the description of the input /
制御部110は、CPUから構成され、画像取得部111、罫線抽出部112、罫線比較部113、判定部114、文字認識部115、およびフィールド登録部116を含んで構成される。
画像取得部111は、スキャナ141を用いて、帳票の画像のデジタルデータを取得する。
The
The
罫線抽出部112は、帳票の画像から、罫線を抽出して、罫線特徴を生成する。罫線とは、所定の長さ以上の縦線または横線である。罫線特徴については、後記する図5を参照して説明する。
罫線比較部113は、記入済みの帳票から抽出した罫線特徴と、帳票データベース130(図2参照)の罫線特徴133とを比較する。
The ruled
The ruled
判定部114は、罫線特徴の比較結果から、帳票に異常があるか否かを判定する。
文字認識部115は、帳票に記載されている文字を、例えば光学的文字認識技術を用いて、認識して取得する。
フィールド登録部116は、画像処理装置100の運用者の指示に従い、帳票に記載された文字を読み取るフィールドを帳票データベース130の読み取りフィールド132に登録する。
The
The
The field registration unit 116 registers the field for reading the characters described in the form in the
≪罫線特徴≫
図3〜図5を参照して、罫線特徴を説明する。
図3は、第1の実施形態に係る画像取得部111が取得した帳票の画像200の例である。図3に記載の帳票は、振込用紙であって、左上に振込用紙のIDとして「22」と印字されている。
≪Rules feature≫
The ruled line features will be described with reference to FIGS. 3 to 5.
FIG. 3 is an example of the
図4は、第1の実施形態に係る罫線抽出部112が抽出した罫線210の例である。罫線抽出部112は、画像200(図3参照)から、所定の長さ以上の縦線と横線とを抽出する。なお、図4では、帳票の縁を破線で示しているが、これは罫線ではない。
口座番号や金額のフィールドで、各桁の数字を区切る縦線は、他の欄と連結している一部を除いて、所定の長さ以下なので、図4では罫線として抽出されていない。帳票に記載された文字に縦線や横線の部分があるが、所定の長さ以下なので、罫線としては認識されない。
FIG. 4 is an example of the ruled
In the account number and amount fields, the vertical line separating each digit is not extracted as a ruled line in FIG. 4 because it has a predetermined length or less except for a part connected to other columns. There are vertical and horizontal lines in the characters written on the form, but they are not recognized as ruled lines because they are less than the specified length.
図5は、第1の実施形態に係る罫線特徴を説明するための図である。帳票の画像は、図5の破線で示すように、縦横に複数の領域に分割される。なお、図5では、振込用紙全体ではなく、左側の払込取扱票の部分だけを記載している。また、見やすさのために、抽出された罫線210(図4参照)は、図5では太い線で示されている。罫線特徴は、それぞれの領域における縦線と横線の数や長さの情報である。以下では、各領域は、1辺が長さ10の正方形であるとして説明する。 FIG. 5 is a diagram for explaining a ruled line feature according to the first embodiment. The image of the form is divided into a plurality of areas vertically and horizontally as shown by the broken line in FIG. In FIG. 5, not the entire transfer form but only the payment handling slip on the left side is shown. Further, for ease of viewing, the extracted ruled line 210 (see FIG. 4) is shown by a thick line in FIG. The ruled line feature is information on the number and length of vertical and horizontal lines in each area. In the following, each region will be described as a square having a side of 10 lengths.
領域221は、長さ「5」の横線1本を含む。
領域222は、長さ「5」の横線2本と、長さ「10」の縦線1本とを含む。
領域223は、長さ「10」の縦線1本を含む。
領域224は、長さ「5」の横線1本と、長さ「8」の縦線1本とを含む。
領域225は、罫線を含まない。
罫線特徴は、このような各領域における罫線の情報の集合としての情報である。罫線抽出部112は、帳票画像から罫線を抽出し、さらに罫線特徴を生成する。
Region 221 includes one horizontal line of length "5".
The ruled line feature is information as a set of ruled line information in each of these areas. The ruled
以下、帳票登録処理と帳票読み取り処理とを説明する。帳票登録処理は、読み取り対象となる帳票の形式を帳票データベース130に登録する。形式が登録済みの帳票は、帳票読み取り処理により、検査されて異常がなければ、登録された領域の文字が読み取られて、出力される。
Hereinafter, the form registration process and the form reading process will be described. In the form registration process, the format of the form to be read is registered in the
≪帳票登録処理≫
図6は、第1の実施形態に係る帳票登録処理のフローチャートである。図6を参照して、読み取り対象となる帳票の形式(フォーマット)を登録(基準となる帳票を登録)する処理を説明する。
ステップS11において画像取得部111は、帳票の画像200(図3参照)を取得する。
ステップS12において文字認識部115は、帳票のIDを認識して取得する。IDは、所定の位置、例えば、帳票の左上にある所定の領域にある。次に、文字認識部115は、帳票データベース130にレコードを追加して、ID131に取得したIDを格納する。
≪Form registration process≫
FIG. 6 is a flowchart of the form registration process according to the first embodiment. A process of registering the format of the form to be read (registering the reference form) will be described with reference to FIG.
In step S11, the
In step S12, the
ステップS13において罫線抽出部112は、罫線210(図4参照)を抽出する。
ステップS14において罫線抽出部112は、罫線特徴を生成する。次に、罫線抽出部112は、ステップS12で追加されたレコードの罫線特徴133に、生成した罫線特徴を格納する。
In step S13, the ruled
In step S14, the ruled
ステップS15においてフィールド登録部116は、画像処理装置100の運用者から指示された、読み取りフィールドを読み取りフィールド132に格納する。画像200(図3参照)では、運用者は、画像200左側の払込取扱票にある5+1+7桁である口座番号の欄の領域と、その右側にある8桁である金額の欄の領域とを指定する。指定を受けると、フィールド登録部116は、指定された領域を、ステップS12で追加されたレコードの読み取りフィールド132に格納する。
In step S15, the field registration unit 116 stores the read field instructed by the operator of the
≪帳票読み取り処理≫
図7は、読み取り対象である記入済みの帳票230の例である。口座番号や金額、払込人住所氏名などが記入済みである。
図8は、第1の実施形態に係る帳票読み取り処理のフローチャートである。図8を参照しながら、記入済み帳票の読み取り処理を説明する。
ステップS21において画像取得部111は、帳票の画像を取得する。
≪Form reading process≫
FIG. 7 is an example of the completed
FIG. 8 is a flowchart of the form reading process according to the first embodiment. The reading process of the completed form will be described with reference to FIG.
In step S21, the
ステップS22において文字認識部115は、所定の領域にある帳票のIDを認識する。文字認識部115は、認識に成功すれば(ステップS22→YES)ステップS24に進み、認識に失敗すれば(ステップS22→NO)ステップS23に進む。
ステップS23において制御部110は、エラーを出力して、帳票読み取り処理を終了する。
In step S22, the
In step S23, the
ステップS24において文字認識部115は、ステップS22で認識された帳票のIDに対応するレコードが帳票データベース130に存在するか否かを判断する。文字認識部115は、レコードが存在すれば(ステップS24→YES)ステップS25に進み、存在しなければ(ステップS24→NO)ステップS23に進む。
In step S24, the
ステップS25において罫線抽出部112は、罫線を抽出する。
ステップS26において罫線抽出部112は、罫線特徴を生成する。
ステップS27において罫線比較部113は、ステップS22で認識された帳票のIDに対応する帳票データベース130のレコードの罫線特徴133(基準罫線特徴とも記す)を取得して、ステップS26で生成した罫線特徴と差異のある領域を抽出する。詳しくは、罫線比較部113は、同じ位置にある領域に係る罫線の情報を比較する。罫線の情報としては、縦線か横線か、長さ、本数の情報があり、これらを比較する。
In step S25, the ruled
In step S26, the ruled
In step S27, the ruled
例えば、縦線の本数と横線の本数をそれぞれ比較して、読み取った罫線が少なければ、罫線比較部113は、差異ありと判定する。例えば、読み取った縦線の本数が、基準罫線特徴にある縦線の本数より所定数以上少なければ、差異ありと判定する。横線についても同様である。
罫線比較部113は、長さを考慮して、基準罫線特徴の縦線と読み取った縦線との対応を取って比較するようにしてもよい。例えば、罫線比較部113は、基準罫線特徴に含まれる各縦線について、縦線であって、長さが同じ、または、短くても差が所定長以内の縦線を読み取っていれば同じ罫線と見なすようにして、基準罫線特徴の縦線と読み取った縦線とを対応付ける。読み取った縦線のなかに対応する縦線がない基準罫線特徴の縦線が所定本数以上あれば、罫線比較部113は、当該領域に差異ありと判定する。横線についても同様である。
For example, the number of vertical lines and the number of horizontal lines are compared with each other, and if the number of read ruled lines is small, the ruled
The ruled
ステップS28において判定部114は、差異ありと判定された領域の数が、閾値以内であれば(ステップS28→YES)ステップS29に進み、閾値を超えれば(ステップS28→NO)ステップS23に進む。
ステップS29において文字認識部115は、ステップS22で認識された帳票のIDに対応する帳票データベース130のレコードの読み取りフィールド132にある領域に記入された文字を読み取る。複数の領域が読み取りフィールド132に登録されていれば、それぞれの領域から文字を読み取る。
ステップS30において文字認識部115は、IDと読み取った文字とを出力する。
In step S28, the
In step S29, the
In step S30, the
以上で、帳票読み取り処理を終える。帳票に異常がなければ、エラー(ステップS23参照)は発生せず、画像処理装置100は、読み取りフィールド132にある文字を認識して出力する(ステップS30参照)。
This completes the form reading process. If there is no abnormality in the form, no error (see step S23) occurs, and the
≪異常の例≫
帳票に異常がある場合に、罫線特徴にどのような差異が生じるかを以下に説明する。
図9は、付箋紙241が張られた帳票240の例である。帳票の中央に付箋紙241が張られており、文字や罫線の一部が隠れている。
図10は、第1の実施形態に係り、付箋紙241が張られた帳票240(図9参照)の罫線特徴を説明するための図である。図5と同様に、払込取扱票の部分における複数の領域を記載している。ハッチングされた領域251は、付箋紙241(図9参照)が張られた領域であって、罫線が抽出されていない。このため、領域251にある罫線特徴の領域で、帳票を登録した時点で罫線があった領域では、読み取った罫線がなく、ステップS27(図8参照)において登録済みの罫線特徴と差異のある領域と判断される。結果的に、帳票240には、異常があると判断される。
≪Example of abnormality≫
The difference in the ruled line characteristics when there is an abnormality in the form will be described below.
FIG. 9 is an example of a
FIG. 10 is a diagram for explaining the ruled line characteristics of the form 240 (see FIG. 9) on which the
図11は、左下が折れ曲がった帳票260の例である。折れ曲がった帳票の一部が帳票にかぶさり、文字や罫線の一部が隠れている。
図12は、第1の実施形態に係り、左下が折れ曲がった帳票260(図11参照)の罫線特徴を説明するための図である。図5と同様に、払込取扱票の部分における複数の領域を記載している。左下の罫線が抽出されていない。このため、ステップS27において登録済みの罫線特徴と差異のある領域と判断される。結果的に、帳票260には、異常があると判断される。
FIG. 11 is an example of a
FIG. 12 is a diagram for explaining the ruled line characteristics of the form 260 (see FIG. 11) in which the lower left is bent according to the first embodiment. Similar to FIG. 5, a plurality of areas in the payment handling slip portion are described. The lower left ruled line is not extracted. Therefore, it is determined that the area is different from the ruled line feature registered in step S27. As a result, it is determined that the
≪帳票読み取り処理の特徴≫
画像処理装置100は、帳票の画像から罫線を抽出し、登録済みの罫線特徴と比較することで、読み取った帳票に異常がないかを判断する。詳しくは、画像処理装置100は、帳票を複数の領域に分割し、領域ごとに罫線を比較する。比較するときには、登録済みの罫線がなくなった(罫線が読み取れなかった)ときに、画像処理装置100は、当該領域で差異があると判断する。
≪Characteristics of form reading process≫
The
このように判断することで、画像処理装置100は、付箋紙が張り付けてある、帳票が折れ曲がっている、帳票が破れて一部が欠けているなどの異常を検出することができる。なお、帳票の連絡欄や備考欄に記入された罫線については、罫線として抽出されるが、登録済みの罫線がなくなっているのではない(罫線が増加している)ので、差異とは判断されず、異常とは判断されない。
By making such a determination, the
≪第2の実施形態:帳票処理装置≫
第2の実施形態として、帳票処理装置100Zを説明する。現金自動預け払い機も帳票処理装置100Zの1つである。
図13は、第2の実施形態に係る帳票処理装置100Zの構成図である。帳票処理装置100Zは、挿入口191から投入された帳票290を、スキャナ141で読み取って処理する装置である。帳票290は、挿入口191から挿入され、ローラ192に挟まれて、ローラ192が回転することにより、挿入口191から搬送路193に沿って格納庫194まで搬送される。帳票290の搬送の途中、挿入口191に近い搬送路193で、スキャナ141が帳票290の画像を取得する。
<< Second Embodiment: Form Processing Device >>
As the second embodiment, the
FIG. 13 is a configuration diagram of the
第1の実施形態の画像処理装置100(図1参照)と帳票処理装置100Zとの相違点を以下に説明する。
帳票処理装置100Zは、フィールド登録部116を備えない。帳票の登録は、帳票処理装置100Zとは別の画像処理装置100で行われ、登録結果の帳票データベース130の情報が、帳票処理装置100Zの帳票データベース130に格納される。
帳票処理装置100Zは、ローラ192を制御する搬送制御部117を備える。搬送制御部117は、判定部114が帳票290に異常があると判定すると、ローラ192を制御して、異常のある帳票290を挿入口191に戻す。このようにすることで、搬送路193で発生する紙詰まりなどのトラブルを回避することができる。
The differences between the image processing device 100 (see FIG. 1) and the
The
The
帳票処理装置100Zは、入出力部140に替えて、通信部150を備える。異常のない帳票290から読み取られたIDや読み取りフィールドに記入された文字情報は、通信部150から出力される。
The
≪その他の変形例≫
なお、本発明は、上記した実施形態に限定されることなく、その趣旨を逸脱しない範囲で変更することができる。上記した実施形態では、IDを読み取って帳票の形式を判断している。IDとは異なる情報、例えば、帳票の上部に記載されている帳票の名前を読み取って、帳票の形式を判断するようにしてもよい。
≪Other variants≫
The present invention is not limited to the above-described embodiment, and can be modified without departing from the spirit of the present invention. In the above-described embodiment, the ID is read to determine the form format. Information different from the ID, for example, the name of the form written at the top of the form may be read to determine the format of the form.
上記実施形態における画像処理装置100や帳票処理装置100Zは、スキャナ141を備えているが、スキャナ141を備えなくてもよい。別の装置に備わるスキャナが読み取った画像を取得して、帳票登録処理や帳票読み取り処理を実行してもよい。また、帳票データベース130についても、帳票登録処理で別の装置に記憶される帳票データベースに帳票の形式の情報を格納したり、帳票読み取り処理で当該別の装置に記憶される帳票データベースに帳票の形式の情報を取得したりしてもよい。
The
以上、本発明のいくつかの実施形態について説明したが、これらの実施形態は、例示に過ぎず、本発明の技術的範囲を限定するものではない。本発明はその他の様々な実施形態を取ることが可能であり、さらに、本発明の要旨を逸脱しない範囲で、省略や置換など種々の変更を行うことができる。これら実施形態やその変形は、本明細書などに記載された発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although some embodiments of the present invention have been described above, these embodiments are merely examples and do not limit the technical scope of the present invention. The present invention can take various other embodiments, and various modifications such as omission and substitution can be made without departing from the gist of the present invention. These embodiments and modifications thereof are included in the scope and gist of the invention described in the present specification and the like, and are also included in the scope of the invention described in the claims and the equivalent scope thereof.
100 画像処理装置
100Z 帳票処理装置
110 制御部
111 画像取得部
112 罫線抽出部
113 罫線比較部
114 判定部
115 文字認識部
116 フィールド登録部
117 搬送制御部
120 記憶部
121,121Z プログラム
130 帳票データベース
191 挿入口
100
Claims (7)
前記罫線の情報を、基準罫線特徴として記憶する記憶部と、
前記画像から罫線の情報を抽出する罫線抽出部と、
前記罫線抽出部が抽出した罫線の情報と、前記基準罫線特徴とを比較する罫線比較部と、
前記罫線比較部が比較した結果、差異があるときには、前記帳票に異常があると判定する判定部と
を備えることを特徴とする画像処理装置。 An image processing device that processes the image of a form including ruled lines.
A storage unit that stores the ruled line information as a reference ruled line feature,
A ruled line extraction unit that extracts ruled line information from the image,
A ruled line comparison unit that compares the ruled line information extracted by the ruled line extraction unit with the reference ruled line feature.
An image processing device including a determination unit that determines that there is an abnormality in the form when there is a difference as a result of comparison by the ruled line comparison unit.
ことを特徴とする請求項1に記載の画像処理装置。 The image processing apparatus according to claim 1, wherein the reference ruled line feature is information on a ruled line extracted by the ruled line extraction unit from an image of a reference form.
前記画像を分割する複数の領域のそれぞれにおいて、当該領域内の罫線についての縦横の種別、数、長さの何れか少なくとも1つを含む
ことを特徴とする請求項1に記載の画像処理装置。 The information on the ruled line is
The image processing apparatus according to claim 1, wherein each of the plurality of areas for dividing the image includes at least one of the vertical and horizontal types, numbers, and lengths of the ruled lines in the area.
前記領域ごとに、前記基準罫線特徴と、前記帳票の画像から前記罫線抽出部が抽出した罫線の情報とを比較し、
前記基準罫線特徴の当該領域が縦の罫線の数を含むときに、当該画像の当該領域における縦の罫線の数が、前記基準罫線特徴の当該領域における縦の罫線の数より少ない場合は差異ありと判定し、
前記基準罫線特徴の当該領域が横の罫線の数を含むときに、当該画像の当該領域における横の罫線の数が、前記基準罫線特徴の当該領域における横の罫線の数より少ない場合は差異ありと判定し、
前記基準罫線特徴の当該領域が縦の罫線の長さを含むときに、当該画像の当該領域における縦の罫線の長さが、前記基準罫線特徴の当該領域における縦の罫線の長さと比較して所定長以上に短い場合は差異ありと判定し、
前記基準罫線特徴の当該領域が横の罫線の長さを含むときに、当該画像の当該領域における横の罫線の長さが、前記基準罫線特徴の当該領域における横の罫線の長さと比較して所定長以上に短い場合は差異ありと判定し、
前記判定部は、
差異ありと判定された領域が、所定の数より多い場合には、前記帳票に異常があると判定する
ことを特徴とする請求項3に記載の画像処理装置。 The ruled line comparison unit
For each of the areas, the reference ruled line feature is compared with the ruled line information extracted by the ruled line extraction unit from the image of the form.
When the area of the reference ruled line feature includes the number of vertical ruled lines, there is a difference if the number of vertical ruled lines in the area of the image is less than the number of vertical ruled lines in the area of the reference ruled line feature. Judging that
When the area of the reference ruled line feature includes the number of horizontal ruled lines, there is a difference if the number of horizontal ruled lines in the area of the image is less than the number of horizontal ruled lines in the area of the reference ruled line feature. Judging that
When the area of the reference ruled line feature includes the length of the vertical ruled line, the length of the vertical ruled line in the area of the image is compared with the length of the vertical ruled line in the area of the reference ruled line feature. If it is shorter than the specified length, it is judged that there is a difference, and it is judged that there is a difference.
When the area of the reference ruled line feature includes the length of the horizontal ruled line, the length of the horizontal ruled line in the area of the image is compared with the length of the horizontal ruled line in the area of the reference ruled line feature. If it is shorter than the specified length, it is judged that there is a difference, and it is judged that there is a difference.
The determination unit
The image processing apparatus according to claim 3, wherein when the number of areas determined to be different is larger than a predetermined number, it is determined that there is an abnormality in the form.
前記画像処理装置は、前記罫線の情報を、基準罫線特徴として記憶する記憶部を備え、
前記画像から罫線の情報を抽出するステップと、
抽出された前記罫線の情報と、前記基準罫線特徴とを比較するステップと、
比較した結果、差異があるときには、前記帳票に異常があると判定するステップと
を備えることを特徴とする画像処理方法。 It is an image processing method executed by an image processing device that processes an image of a form including ruled lines.
The image processing device includes a storage unit that stores the ruled line information as a reference ruled line feature.
The step of extracting ruled line information from the image and
A step of comparing the extracted information of the ruled line with the reference ruled line feature, and
An image processing method comprising: a step of determining that there is an abnormality in the form when there is a difference as a result of comparison.
前記罫線の情報を、基準罫線特徴として記憶する記憶部と、
挿入口から投入された前記帳票の前記帳票処理装置の内部での搬送を制御する搬送制御部と、
前記帳票の画像を取得する画像取得部と、
前記画像から罫線の情報を抽出する罫線抽出部と、
前記罫線抽出部が抽出した罫線の情報と、前記基準罫線特徴とを比較する罫線比較部と、
前記罫線比較部が比較した結果、差異があるときには、前記帳票に異常があると判定する判定部とを備え、
前記搬送制御部は、前記判定部が前記帳票に異常があると判定したときには、当該帳票を前記挿入口に戻す
ことを特徴とする帳票処理装置。 It is a form processing device that processes forms including ruled lines.
A storage unit that stores the ruled line information as a reference ruled line feature,
A transport control unit that controls the transport of the form input from the insertion slot inside the form processing device, and a transport control unit.
An image acquisition unit that acquires an image of the form, and
A ruled line extraction unit that extracts ruled line information from the image,
A ruled line comparison unit that compares the ruled line information extracted by the ruled line extraction unit with the reference ruled line feature.
When there is a difference as a result of comparison by the ruled line comparison unit, it is provided with a determination unit for determining that the form is abnormal.
The transfer control unit is a form processing device characterized in that when the determination unit determines that the form is abnormal, the form is returned to the insertion slot.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019155449A JP2021033814A (en) | 2019-08-28 | 2019-08-28 | Image processing apparatus, program, image processing method, and document form processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019155449A JP2021033814A (en) | 2019-08-28 | 2019-08-28 | Image processing apparatus, program, image processing method, and document form processing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2021033814A true JP2021033814A (en) | 2021-03-01 |
Family
ID=74676658
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019155449A Pending JP2021033814A (en) | 2019-08-28 | 2019-08-28 | Image processing apparatus, program, image processing method, and document form processing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2021033814A (en) |
-
2019
- 2019-08-28 JP JP2019155449A patent/JP2021033814A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8116533B2 (en) | Operator interactive document image processing system | |
JP7033208B2 (en) | Certification document recognition methods and devices, electronic devices and computer-readable storage media | |
US9836665B2 (en) | Management system, list production device, method, computer readable recording medium, data structure, and printed label | |
WO2013140563A1 (en) | System for reading paper sheet serial number, and method for reading paper sheet serial number | |
JP2000251012A (en) | Method and system for document processing | |
JP4733577B2 (en) | Form recognition device and form recognition program | |
CN102156864A (en) | Bill processing system | |
US20220415008A1 (en) | Image box filtering for optical character recognition | |
JP4893049B2 (en) | Automatic transaction apparatus monitoring system and automatic transaction apparatus | |
WO2018073986A1 (en) | Operation assistance device and operation assistance program | |
JP2021033814A (en) | Image processing apparatus, program, image processing method, and document form processing apparatus | |
JP5566971B2 (en) | Information processing program, information processing apparatus, and character recognition method | |
EP3367347B1 (en) | Validation of damaged banknotes | |
JP2002092546A (en) | Character recognition method | |
JP2009064227A (en) | Form reader | |
CN114170609A (en) | Electronic equipment and document identification and entry method and medium thereof | |
JP2023184100A (en) | Form recognition processing system, form recognition processing method, and form recognition processing program | |
JP5607386B2 (en) | Transaction processing system | |
JP4702244B2 (en) | Form reader | |
JP2018116321A (en) | Automatic transaction device, card reader, and method thereof | |
JP2708620B2 (en) | Image processing device for rectangular paper sheets | |
JP6191180B2 (en) | Program, error determination method, and error determination device | |
JP2020046758A (en) | Image reading device, image reading method, image reading system and program | |
CN116844180A (en) | Text position relation matching method, device, equipment and storage medium | |
CN113469161A (en) | Method, device and storage medium for processing logistics list |