JP2006127375A - Character recognition device and method - Google Patents
Character recognition device and method Download PDFInfo
- Publication number
- JP2006127375A JP2006127375A JP2004317894A JP2004317894A JP2006127375A JP 2006127375 A JP2006127375 A JP 2006127375A JP 2004317894 A JP2004317894 A JP 2004317894A JP 2004317894 A JP2004317894 A JP 2004317894A JP 2006127375 A JP2006127375 A JP 2006127375A
- Authority
- JP
- Japan
- Prior art keywords
- check
- character recognition
- image data
- cutout
- candidate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Character Input (AREA)
Abstract
Description
本発明は、イメージデータを用いて、小切手表面に印字された文字の認識を行うための技術に関し、特に磁気インク文字の認識をするための技術に関する。 The present invention relates to a technique for recognizing characters printed on a check surface using image data, and more particularly to a technique for recognizing magnetic ink characters.
小切手表面に磁気インクを用いて印字された文字の磁気データを読みとって文字認識を行うMICR(Magnetic Ink Character Reader)を搭載した小切手処理装置がある。この小切手処理装置には、文字の認識精度を向上させるために、さらに、光学的なスキャナで文字を読みとって認識を行うOCR(Optical Character Reader)を搭載している機種がある。 There is a check processing apparatus equipped with a MICR (Magnetic Ink Character Reader) that performs character recognition by reading magnetic data of characters printed on the check surface using magnetic ink. In order to improve the character recognition accuracy, there is a model equipped with an OCR (Optical Character Reader) that reads and recognizes a character with an optical scanner.
一般に、OCRにおける処理では、光学的に読みとった文字画像を切り出し、これと予め用意されている文字パターンとを比較するパターンマッチングを行い、パターン同士の適合する割合が最も高く、よくマッチする文字パターンを抽出することにより文字認識を行う。 In general, in OCR processing, a character image read optically is cut out and pattern matching is performed by comparing this with a character pattern prepared in advance. Character recognition is performed by extracting.
画像データ取得のために文字をスキャナで読み込む際、文字の部分に汚れが付着した状態で読み込んだり、文字が間延びしてしまったりする場合がある。このようにして読み込んだ画像データに基づいてパターンマッチングを行う場合、文字の切り出しがうまくいかず、誤認識の原因となる場合がある。 When a character is read by a scanner to acquire image data, the character may be read with the dirt attached, or the character may be extended. When pattern matching is performed based on image data read in this way, characters may not be cut out correctly, which may cause recognition errors.
また、認識結果が誤認識であったときでも、オペレータが容易に修正できるように、文字認識結果として2つ以上の候補を出力することも行われる。しかし、複数の候補を選ぶ場合、第1候補を決定するために切り出した領域と同じ領域を用いて第2候補以下を定めると、第2候補以下についても認識の精度がよくないという問題がある。 In addition, even when the recognition result is erroneous recognition, two or more candidates are output as the character recognition result so that the operator can easily correct the recognition result. However, when selecting a plurality of candidates, if the second candidate or less is determined using the same region as the region cut out to determine the first candidate, there is a problem that the recognition accuracy is not good even for the second candidate or less. .
そこで、本発明の目的は、画像データを用いた文字認識において、認識結果として複数の候補を出力する場合に、第2候補以下の精度を向上させることを目的とする。 Therefore, an object of the present invention is to improve the accuracy of the second candidate or lower when outputting a plurality of candidates as a recognition result in character recognition using image data.
本発明の一実施態様に従う文字認識装置は、文字が印字された印刷媒体をスキャンして、画像データを出力するスキャナ部と、前記スキャナ部から出力された画像データに基づいて、認識対象文字の画像の一部または全部を含む切り出し領域の画像データを切り出す切り出し手段と、前記切り出し手段により切り出された切り出し領域の画像データに含まれる文字の認識を行う文字認識手段と、を備える。そして、前記切り出し手段が第1の切り出し領域を切り出したとき、前記文字認識手段は前記第1の切り出し領域について文字認識を行って第1候補を決定し、前記第1候補が決定した後、前記切り出し手段が前記第1の切り出し領域とは異なる第2の切り出し領域を切り出したとき、前記文字認識手段は前記第2の切り出し領域について文字認識を行い、前記第1候補とは異なる第2候補を決定する、ことを特徴とする。 A character recognition device according to an embodiment of the present invention scans a print medium on which characters are printed, and outputs image data. Based on the image data output from the scanner unit, the character recognition device Cutout means for cutting out image data of a cutout area including part or all of the image, and character recognition means for recognizing characters included in the image data of the cutout area cut out by the cutout means. When the cutout unit cuts out the first cutout region, the character recognition unit performs character recognition on the first cutout region to determine a first candidate, and after the first candidate is determined, When the cutout unit cuts out a second cutout region different from the first cutout region, the character recognition unit performs character recognition on the second cutout region, and selects a second candidate different from the first candidate. It is characterized by determining.
好適な実施形態では、前記印刷媒体に印字された文字は、磁気インクを用いて印字されている。前記文字認識装置は、前記磁気インクで印字された文字の磁気を検出し、検出された磁気データを出力する磁気センサと、をさらに備える。そして、前記切り出し手段は、所定形状のマスクを、前記磁気センサが出力した磁気データに基づいて定まる位置に適用して、前記スキャナ部から出力された画像データから前記第1の切り出し領域を切り出すようにしてもよい。 In a preferred embodiment, characters printed on the printing medium are printed using magnetic ink. The character recognition device further includes a magnetic sensor that detects the magnetism of the character printed with the magnetic ink and outputs the detected magnetic data. The clipping unit applies a mask having a predetermined shape to a position determined based on the magnetic data output from the magnetic sensor, and cuts out the first clipping region from the image data output from the scanner unit. It may be.
好適な実施形態では、前記切り出し手段は、前記第2の切り出し領域として、互いに異なる複数の領域を切り出す。そして、前記文字認識手段は、前記複数の第2の切り出し領域のそれぞれについて文字認識を行い、それぞれの文字認識結果に基づいて前記第2候補を決定するようにしてもよい。 In a preferred embodiment, the cutout unit cuts out a plurality of different areas as the second cutout area. The character recognition unit may perform character recognition for each of the plurality of second cutout regions, and determine the second candidate based on each character recognition result.
以下、本発明の一実施形態に係る文字認識装置を備える小切手処理装置10について、図面を用いて説明する。図1に示すように、本実施形態の小切手処理装置10は、小切手Cの画像読み取りや、印刷処理を行う複合処理装置1と、これと接続されて用いられ、認証データの生成や複合処理装置を制御するホストコンピュータ50と、を備える。
Hereinafter, a
ホストコンピュータ50は、各種入力を行うキーボード51やマウス52と、小切手Cの画像データの表示やエラー報知を行う表示画面53を備えており、複合処理装置1と有線または無線接続されている(図示ではコネクタケーブルで接続)。
The
ところで、ホストコンピュータ50は、ネットワーク(例えば、インターネット)を介して、小切手Cの有効性を認証するための決済処理サーバと接続されている。ホストコンピュータ50は、複合処理装置1のMICR13(図4参照)によって読み取った小切手データを受信し、決済処理サーバに送信する。そして、決済処理サーバの応答に基づいて小切手Cが有効であるか無効であるかを判別する。
By the way, the
ここで、本実施形態に係る小切手処理装置1が処理を行う小切手C及びこの小切手Cを用いた決済処理について、図2を用いて説明する。同図(a)に示すように、小切手C表面には、シリアル番号91および利用者名92が予め印刷されている他、利用日付欄93、支払先店名欄94、支払金額欄95,96、署名欄97がある。また、表面下部には、銀行番号、口座番号、小切手番号が磁気インク文字(Magnetic Ink Character)98で印刷されている。なお、この磁気インク文字98で印刷された部分をMICR13(Magnetic Ink Character Reader;図4参照)で読み取ることにより、小切手Cの有効性が確認できる。
Here, a check C processed by the
利用者は、小切手C表面に日付、支払先、支払金額、自分の署名を記入し、支払先の店舗に小切手Cを渡す。その後、図2(b)に示すように、小切手C裏面に、小切手Cの利用を証明すると共に、振込先等の情報を記載する裏書が店舗により行われた後、小切手Cは、店舗の取引銀行である銀行Aへと送られる。なお、小切手Cの裏面は、店舗が裏書を行う裏書領域C1と、決済機関となる銀行が認証データの印刷を行う銀行処理領域C2とを有しており、店舗による裏書は、裏書領域C1上に記入または印刷される。 The user enters the date, payment destination, payment amount and his / her signature on the surface of the check C, and gives the check C to the payee's store. After that, as shown in FIG. 2 (b), after verifying the use of the check C on the back side of the check C and providing an endorsement describing information such as the transfer destination, the check C Sent to bank A, the bank. Note that the back side of the check C has an endorsement area C1 where the store endorses the endorsement and a bank processing area C2 where the bank serving as the settlement institution prints the authentication data. Filled in or printed.
銀行Aは、小切手C表面に支払金額を磁気インク文字で印刷した後、小切手Cに印刷された磁気インク文字98をMICR13によって読み取り、小切手の有効性を確認した後、小切手C裏面の銀行処理領域C2内に、銀行Aによる小切手決済処理が終了したことを示す認証データdを印刷する。同時に小切手C表面および裏面の画像を読み取り、画像データとして保存する。なお、認証データdは、各銀行によりその表記内容は異なるが、主に銀行名、銀行番号、処理日付、処理番号が含まれる。
Bank A prints the payment amount on the surface of check C with magnetic ink characters, then reads the
その後、銀行Aは、小切手Cが利用された店舗の取引口座へ、利用者の取引口座より指定金額の振り込みを行う。また、利用者と店舗の取引銀行が異なる場合は、利用者の取引銀行である銀行Bへ、小切手番号や金額といった小切手Cのデータが送られ、決済処理が実行される。 Thereafter, the bank A transfers the specified amount from the user's transaction account to the transaction account of the store where the check C is used. If the user's bank is different from the store's bank, the check C's data, such as a check number and amount, is sent to bank B, the user's bank, and the settlement process is executed.
次に、複合処理装置1の構成について説明する。図1に示すように、複合処理装置1はU字状の送り経路Pに臨んで、小切手Cの画像を光学的に読み取る画像読取部100(図3も参照)と、小切手Cに印刷された磁気インク文字の磁気を読み取る磁気データ読取部110(図3も参照)と、小切手Cに認証データの印刷を行う印刷部120とを有すると共に、送り経路Pに沿って小切手Cを送る送り機構20(図3参照)とを有している。
Next, the configuration of the
図3に示すように、送り経路Pは、外側ガイド2aおよび内側ガイド2bによって挟まれたスリット状の経路により構成されており、直線部分35a,35bと、両端が直線部分35a,35bに接続されたU字底部分34からなる全体U字型の形状をしている。
As shown in FIG. 3, the feed path P is configured by a slit-like path sandwiched between the
また、送り機構20は、利用者により小切手Cが小切手挿入口3から送り経路Pに挿入されると、矢印Aの方向に小切手Cを直線部分35aに沿って送り、U字底部分34を介して挿入時とは180度向きを変えた後、直線部分35bを介して矢印Bの方向に送って、小切手Cを小切手排出口4から排出する。すなわち、送り機構20は、小切手Cを送り経路Pに沿ってU字状に湾曲させながら送るようになっている。なお、複合処理装置1では、原則として小切手Cの表面が内側ガイド2b側に向けて配置される。
Further, when the check C is inserted into the feed path P from the check insertion port 3 by the user, the
また、送り機構20は、第1送りローラ6、第2送りローラ7および排出ローラ8を有しており、これら各ローラ6,7,8は、それぞれモータにより駆動される駆動ローラ6a,7a,8aと、この駆動ローラに対して小切手Cを押し付ける押付ローラ(従動ローラ)6b,7b,8bから成るグリップローラで構成されている。
The
第1送りローラ6は、送り経路Pの第1コーナー部分に配設されており、その上流側にはBOF(Bottom of Form)検出器9が、そして第1送りローラ6の下流側にはTOF(Top of Form)検出器10が配設されている。これらの検出器9,10は、送り経路Pに沿って送られてゆく小切手Cの先端および後端を検知する。このBOF検出器9の検出に応じてモータ40が駆動され、第1送りローラ6、第2送りローラ7および排出ローラ8が、回転を開始する。
The
TOF検出器10と、第2送りローラ7との間のU字底部分34には、画像読取部100を構成する裏表2つのスキャナ11,12および磁気データ読取部110を構成するMICR13が配置されている。
The U-shaped
2つのスキャナ11,12は、それぞれ小切手Cの画像を読み取る画像読取センサである。一方の裏側スキャナ11は小切手Cの裏面画像を読取可能なように送り経路Pの外側ガイド2a側に設けられ、他方の表側スキャナ12は、小切手Cの表面画像を読み取り可能なように送り経路Pの内側ガイド2b側に設けられている。これらの両スキャナ11,12は、送り経路Pを介した対向面側に配置された押付け部材(ローラ)11a,12aによって小切手Cをスキャナ11,12に押し付けた状態で画像を読み取る。
The two
MICR13は、小切手Cの表面に印刷された磁気インク文字を読み取る磁気読み取りセンサであり、小切手Cの表面に対向可能なように送り経路Pの内側ガイド2b側に設けられている。MICR13は、送り経路Pを介した対向面側に配置された押付け部材(パッド)13aによって小切手CをMICR13に押し付けた状態で磁気インク文字を読み取る。
The
第2送りローラ7は、送り経路Pの第2コーナー部分に配設され、また排出ローラ8は小切手排出口4の近傍に配設されている。第2送りローラ7と排出ローラ8との間の直線部分35bには、印刷部120を構成する印刷ヘッド14が送り経路Pに向けられて配置されている。この印刷ヘッド14は、ガイド軸15aを介して移動可能に構成されたキャリッジ15に載置されており、キャリッジ15を介して印刷領域18と退避位置19との間を移動することができる。
The
小切手Cに印刷を行う場合には、印刷ヘッド14は印刷領域18内の所定の位置に停止しており、小切手Cの送りに同期して印刷ヘッド14が駆動され、小切手Cへの印刷が行われる。一方、詳細は後述するが、この直線部分35bにロール紙を導入した場合には、ロール紙の送り(副走査)と印刷ヘッド14の移動(主走査)とにより、ロール紙に印刷が行われる。
When printing on the check C, the
印刷ヘッド14の下流側には、排出ローラ8および小切手排出口4が設けられている。印刷が終了した小切手Cは、排出ローラ8を介して小切手排出口4より排出される。また、排出ローラ8の近傍には、排出検出器(図示省略)が設けられており、印刷が終了した小切手Cが排出されたかどうか検出することが可能である。
A
なお、本実施形態では、裏・表両スキャナ11,12およびMICR13が配置されているU字底部分34以外の場所では、外側ガイド2aと内側ガイド2bの高さは、送られる小切手Cの幅よりも低くなっており、紙詰まり等が発生した場合に、手で容易に取り出せるようになっている。
In this embodiment, the height of the
また、図示は省略するが、本実施形態の複合処理装置1は、小切手Cを送るための送り経路Pの他、送り経路Pの直線部分35bと一部重複し、送り経路Pと送り方向がほぼ直交(図3における紙面を貫通する方向)している垂直送り経路である、ロール紙を送るロール紙送り経路を備えている。そして、送り経路Pの直線部分35a,35bの間には、ロール紙を収容するロール紙収納部が設けられている。ロール紙の一端は、このロール紙収納部からロール紙送り経路に引き出されて、ロール紙送り経路に沿って送りが行われ、印刷ヘッド14と近接対向する印刷領域18を通過するときに、移動する(主走査)印刷ヘッド14を介してロール紙に対する印刷が行われる。すなわち、本実施形態の複合処理装置1は、小切手Cの処理を行うと共に、ロール紙を用いてレシートを発行することも可能である。
Although not shown, the
さらに、本実施形態の複合処理装置1には、印刷領域18に配置する印刷ヘッド14に対応して設けられ、印刷領域18付近の外側ガイド2aと内側ガイド2bとの間に形成される上部開口から、外側ガイド2aと内側ガイド2bとの間に挿入された、小切手Cを垂直に送る垂直送り経路を有している。この垂直送り経路は、小切手Cを上方から挿入して印刷を行い、印刷後再び上方へ小切手Cを排出するバリデーション印刷を行うための送り経路である。
Furthermore, the
本実施形態の印刷ヘッド14は、キャリッジ15に載置されており、送り経路Pの直線部分35bに沿って水平方向に印刷領域18の間を移動可能である。すなわち、小切手Cへの印刷には、前述したような印刷ヘッド14の位置を固定した状態で小切手Cを水平方向に移動させることにより印刷を行う印刷ヘッド固定モードと、小切手Cの位置を固定した状態で印刷ヘッド14を水平方向に移動させることにより印刷を行う小切手固定モードと、の2つがある。
The
また、ロール紙への印刷も、印刷ヘッド14がキャリッジ15を介して水平方向に移動しながら一行印刷を行い、複数行印刷する必要がある場合には、一行印刷の終了後、ロール紙を一行分上方に紙送りした後(副走査)に、再度印刷ヘッド14を水平方向に移動させて(主走査)2行目以降の印刷を行う。
In addition, when printing on roll paper, it is necessary to perform one line printing while the
次に、小切手Cの画像並びに磁気インク文字読取処理および印刷処理について説明する。小切手Cは、ユーザによって矢印Aの方向から、小切手挿入口3より挿入されると、送り経路Pに沿って一定速度で送られてゆく。 Next, the image of the check C and the magnetic ink character reading process and the printing process will be described. When the check C is inserted from the check insertion port 3 in the direction of arrow A by the user, the check C is sent along the feed path P at a constant speed.
その後、小切手CがBOF検出器9に達すると、BOF検出器9は、小切手Cの先端を検出する。そして第1送りローラ6の駆動ローラ6aは、このBOF検出器9の検出に応じて回転を始める。これにより、小切手Cは、第1送りローラ6に受け渡され、すなわち駆動ローラ6aと押付けローラ6bの間にスムーズに挟み込まれ、駆動ローラ6aの回転によってスリップすることなく送り経路Pに沿って、U字部分34の外側ガイド2aの壁に沿って送られてゆく。
Thereafter, when the check C reaches the
第1送りローラ6によって送られてゆく小切手Cの先端が、TOF検出器10に達すると、その先に設置されたスキャナ11,12とMICRの電源がONして検出待機状態となる。本実施形態の複合処理装置1は、ローラの駆動を含め、必要なときだけ必要な部位に電力を供給するようになっており、無駄な電力の消費を防ぐように構成されている。
When the leading end of the check C sent by the
さらに、小切手Cが送られると、外側ガイド2a側に設置された裏側スキャナ11は、小切手Cの裏面画像を読み取り、そして内側ガイド2b側に設置された表側スキャナ12は、小切手Cの表面画像を読み取る。さらに、内側ガイド2b側に設置されたMICR13は、小切手Cに予め記載された磁気インク文字の磁気データを読み取る。詳細は後述するが、読み取った小切手Cの表面画像データg1および裏面画像データg2は、小切手処理装置1の小切手表面画像データブロック242および小切手裏面画像データブロック243に一時的に保存され、CPU220による合成画像データg3生成の他、所定の処理が行われる。
Further, when the check C is sent, the back scanner 11 installed on the
小切手Cは、TOF検出器10を通過した後に、その先端が第2送りローラ7に達すると、駆動ローラ7aと押付けローラ7bの間に挟まれて、駆動ローラ7aの回転によって直線部分35b側へ送り出される。
After the check C has passed through the
そして、小切手Cが印刷ヘッド14と近接対向する印刷領域18を通過するときに、印刷ヘッド14が駆動され、この小切手Cへの印刷を行う。このとき、印刷ヘッド14は印刷領域18中の予め決められた位置に停止しており、印刷媒体である小切手Cの移動(主走査)と同期して駆動され、所定の印刷が行われる。
Then, when the check C passes through the
印刷ヘッド14によりその裏面側に印刷が行われた小切手Cは、排出ローラ8で矢印Bの方向へ排出され、すなわち駆動ローラ8aと押付ローラ8bの間に挟まれた状態で駆動ローラ8aが回転することによって、複合処理装置1の外部へ送り出されることにより、小切手Cに関する処理が終了する。
The check C printed on the back side by the
ここで、図4を参照し、小切手処理装置10を構成する複合処理装置1およびホストコンピュータ50の制御構成について説明する。
Here, with reference to FIG. 4, the control structure of the
複合処理装置1は、小切手Cの画像を読み取る画像読取部(画像読み取り手段)100と、小切手Cに記載された磁気インク文字を読み取る磁気データ読取部(磁気インク文字読み取り手段)110と、小切手Cの裏面に印刷を行う印刷部(印刷手段)120と、小切手Cの先端および後端を検出する検出部と、各部を駆動する駆動部140と、各部と接続され、複合処理装置1全体を制御する制御部200とによって構成されている。
The
画像読取部100は、裏・表両スキャナ11,12を有し、小切手Cの表面および裏面画像の読み取りを行う。また、磁気データ読取部110は、MICR13を有し小切手Cに記載された磁気インク文字の読み取りを行う。印刷部120は、印刷ヘッド14を有し、主として小切手Cの裏面にホストコンピュータ50より受信した認証データdの印刷を行う。
The
検出部130は、BOF検出器9およびTOF検出器10を有し、それぞれ小切手Cの先端および後端を検出する。また、駆動部140は、第1送りローラ6、第2送りローラ7および排出ローラ8(送り機構20)と、これら複数の送りローラ6,7,8のうち、駆動ローラ6a、7a、8aを回転駆動するモータ40とを備え、小切手Cの送りを制御する。
The
制御部200は、CPU220、ROM230、RAM240および入出力制御装置210(以下、「IOC:Input Output Controller」という)を備え、互いに内部バス250により接続されている。ROM230は、小切手Cの読み取りや印刷の制御、並びに読み取った小切手Cの裏面画像データg2と、ホストコンピュータ50から受信した認証データdと、を合成して合成画像データg3を生成する制御を行うためのプログラムの他、CPU220で処理する各種プログラムを記憶する制御プログラムブロック231と、合成画像データg3を生成するための制御データや各種テーブル等を記憶する制御データブロック232と、を有している。
The
RAM240は、フラグ等として使用される各種ワークエリアブロック241の他、読み取った小切手Cの表面画像データg1を記憶する小切手表面画像データブロック242と、読み取った小切手Cの裏面画像データg2を記憶する小切手裏面画像データブロック243と、読み取った小切手Cの磁気データを記憶する磁気データブロック244と、ホストコンピュータ50から受信した認証データdを一時的に記憶する認証データブロック245と、小切手裏面画像データg2と認証データdとを合成して生成した合成画像データg3を一時的に記憶する合成画像データブロック246と、を備え、制御処理のための作業領域として使用される。
The
IOC210には、CPU220の機能を補うと共に各種周辺回路とのインタフェース信号を取り扱うための論理回路が、ゲートアレイやカスタムLSIなどにより構成されて組み込まれている。これにより、IOC210は、裏・表両スキャナ11,12により読み取られた画像データや、MICR13により読み取られた磁気データ、並びにホストコンピュータ50からの認証データや制御データをそのまま或いは加工して内部バス250に取り込むと共に、CPU220と連動して、CPU220から内部バス250に出力されたデータや制御信号を、そのまま或いは加工して印刷部120等各部に出力する。
In the
そして、CPU220は、上記の構成により、ROM230内の制御プログラムに従って、IOC210を介して複合処理装置1内の各部の各種信号・データを制御することにより、合成画像データg3の生成処理や、小切手Cの印刷処理などを行う。
Then, with the above configuration, the
また、複合処理装置1に接続されて用いられるホストコンピュータ50は、ROMおよびRAMから成るメモリ54と、ホストコンピュータ50内の各部を制御するCPU55の他、複合処理装置1を制御するためのプログラムであるドライバ56を備えている。
A
メモリ54は、ROM内にCPU55で処理する制御プログラムや、各種テーブルを含む制御データを記憶すると共に、RAM内にワークエリアや各種レジスタ群の他、オペレータによって入力された情報(銀行名や銀行番号が該当する)、並びに複合処理装置1から受信した合成画像データg3や小切手Cの表面画像データg1の記憶領域を有し、制御処理のための作業領域として使用する。
The memory 54 stores a control program processed by the
ホストコンピュータ50は、複合処理装置1より、認証データの送信を要求するための認証データ要求コマンドを受信すると、RAM内に記憶した情報(銀行名や銀行番号)に処理日付、処理番号を付加して認証データdを生成し、複合処理装置1へ送信する。
When the
次に、磁気インク文字の認識処理の詳細について説明する。本実施形態に係る複合処理装置1は、MICR13が磁気インク文字98の磁気を読み込み、読み込んだ磁気データに基づいて文字認識をする。さらに、本実施形態では、MICR13による文字認識に加えて、表側スキャナ12が読み込んで小切手表面画像データブロック242に格納されている、磁気インク文字98の画像を含む表面画像データg1に基づいて文字認識を行う。このイメージデータを用いた文字認識の処理は、CPU220がROM230から読み込んだ制御プログラムを実行することにより、小切手C表面の2値化されたイメージデータを用いて、磁気インク文字98の領域を個別に切り出して文字認識処理を行い、その文字を判定する。
Next, details of the magnetic ink character recognition process will be described. In the
この結果、複合処理装置1は、イメージデータを用いた文字認識の結果と、MICR13での磁気データを用いた文字認識の結果とを組み合わせることで、文字認識の精度を向上させることができる。以下、イメージデータを用いた文字認識の処理な処理について説明する。
As a result, the
まず、小切手Cに印字される磁気インク文字98は、所定のフォントで印字された、所定の文字に限定されている。すなわち、印字される可能性のある文字は、「0,1,2,3,4,5,6,7,8,9,T,A,O,D」の14文字であり、使用されるフォントは1種類である。従って、本実施形態での認識対象となる磁気インク文字98は、この14パターンに限定される。上述の14の文字パターンデータが、制御データブロック232に予め格納されている。
First, the
例えば、表面スキャナ12が読み込んだ表面画像データg1において、図5(a)に示すように、何らかの原因で変形した「0」について認識を行う場合について考える。このとき、通常の文字認識用のマスク300を適用して切り出すと、図5(b)に示すように認識対象文字の一部を含む画像が切り出され、これが第1候補領域310となる。なお、表面画像データg1は2値化されている。なお、ここで、認識対象文字の全部が切り出される場合は、以下のパターンマッチングにおいて、通常、かなりの高確率で正しい文字と認識される。
For example, consider the case where the surface image data g1 read by the
ところで、この切り出しで使用するマスク300の形状は、例えば、同図に示すような矩形形状でよい。さらに、表面画像データg1が200dpiである場合は、マスク300のサイズは24ドット×19ドットとしてもよい。表面画像データg1に対してマスク300を適用する際の位置決めは、例えば、MICR13が検出した磁気インク文字98の磁気データを用いて行う。すなわち、小切手CのX方向(図2参照)の位置を磁気が検出された位置を基準として定め、小切手CのY方向(図2参照)の位置をイメージの下端から所定距離の位置としてもよい。
By the way, the shape of the
図示するような第1候補領域310について、文字パターンを適用して認識処理を行うと、「1」(適合率55%)が第1候補として決定される。ここで、適合率とは、予め制御データブロック232に記憶されている文字パターンと第1候補領域310の画像データとを画素単位で比較したときに、全画素に対する一致する画素数の割合を示す。
When recognition processing is performed by applying a character pattern to the
上記の場合、「0」である磁気インク文字が「1」と誤認識されたことになる。本実施形態では、認識対象文字は小切手に印字された文字であることから、誤認識の主な原因は文字の切り出しが不正確であることに起因する。従って、第2候補以下の文字については、第1候補領域とは別の領域を用いて認識を行う必要がある。 In the above case, the magnetic ink character “0” is erroneously recognized as “1”. In the present embodiment, since the recognition target character is a character printed on a check, the main cause of misrecognition is that the character is not correctly cut out. Therefore, it is necessary to recognize characters below the second candidate using a region different from the first candidate region.
そこで、上記のようにして第1候補を抽出した後、第2候補を抽出する。第2候補の抽出処理では、まず、第1候補領域とは異なる第2候補領域320の切り出しを行う。そして、この領域について、第1候補領域310の場合と同様にパターンマッチングにより第2候補を抽出する。このとき、既に第1候補となっている文字とのパターンマッチングは行わない。
Therefore, after extracting the first candidate as described above, the second candidate is extracted. In the extraction process of the second candidate, first, the
第2候補領域320の切り出しとしては、例えば、第1候補領域と同一のマスク300を、第1候補領域を切り出した領域から、所定距離だけずらして切り出すようにしてもよい。ずらす方向は、例えば、左右、上下、斜め上下など、種々のずらし方がある。図6(a)〜(c)は、それぞれ、第1候補領域310から右方向、上方向、右下方向へマスク300をずらしたときの例を示している。このずらし幅は、例えば、1画素、2画素、あるいは5画素でよい。ここで、それぞれのマスク領域を切り出した第2候補領域320がそれぞれ図6(d)〜(f)である。
As the cutout of the
また、第2候補を抽出するための処理において、複数の第2候補領域320を切り出して、それぞれの領域についてパターンマッチングを行ってもよい。例えば、第1候補領域310から上下、左右、斜め上下へそれぞれずらした全8つの第2候補領域320について、それぞれパターンマッチングを行うようにしてもよい。この場合、全第2候補領域320のパターンマッチングにおいて、最も適合率の高い文字を第2候補としてもよい。図6の場合、(d)が「0」との適合率が80%となり、第2候補として「0」選択される。
Further, in the process for extracting the second candidate, a plurality of
さらに、本実施形態では、第3候補以下の候補も選定することができる。この場合、第3候補以下の候補は、第2候補領域に対するパターンマッチングの結果の適合率が高い順に従ってそれぞれ定める。 Furthermore, in this embodiment, candidates below the third candidate can also be selected. In this case, candidates below the third candidate are respectively determined in descending order of the matching rate of the pattern matching result for the second candidate region.
小切手C表面に、認識対象の文字が複数印字されている場合には、それぞれの文字について上記の処理を実行して、複数の候補文字を決定する。そして、複合処理装置1は、すべての認識対象文字について、第1候補以下の文字及びその適合率を含む認識結果のデータを、例えば、図7に示すような形式でホストコンピュータ50に送信する。ホストコンピュータ50ではこのデータを受信し、各候補文字及び適合率を表示画面53に表示する。これにより、オペレータは認識対象文字について、順位がついた複数の候補文字を知ることができる。さらには、順位をつけて複数の候補をあげることにより、ホストコンピュータ50における後続する処理を自動的に行うことができる。
When a plurality of characters to be recognized are printed on the surface of the check C, the above processing is executed for each character to determine a plurality of candidate characters. Then, the
なお、ホストコンピュータ50に送信する認識結果データには、上記処理による第1候補文字と磁気データを用いた認識結果とが一致しない文字の認識結果だけを含むようにしてもよい。
Note that the recognition result data transmitted to the
本実施形態では、第1候補を認識するための領域と第2候補を認識するための領域とが異なるようにしたので、第1候補が誤認識であった場合に、第2候補以下で正しい文字を抽出できる可能性が高く、第2候補以下の精度が向上する。 In the present embodiment, since the region for recognizing the first candidate and the region for recognizing the second candidate are different, when the first candidate is erroneously recognized, it is correct below the second candidate. There is a high possibility that characters can be extracted, and the accuracy below the second candidate is improved.
上述した本発明の実施形態は、本発明の説明のための例示であり、本発明の範囲をそれらの実施形態にのみ限定する趣旨ではない。当業者は、本発明の要旨を逸脱することなしに、他の様々な態様で本発明を実施することができる。 The above-described embodiments of the present invention are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to those embodiments. Those skilled in the art can implement the present invention in various other modes without departing from the gist of the present invention.
10 小切手処理装置 50 ホストコンピュータ
11 裏側スキャナ 12 表側スキャナ
13 MICR 14 印刷ヘッド
C 小切手 C1 裏書欄
C2 銀行処理欄 d 認証データ
P 送り経路
g1 小切手表面画像データ
g2 小切手裏面画像データ
g3 合成画像データ
243 小切手裏面画像データブロック
244 磁気データブロック
245 認証データブロック
246 合成画像データブロック
DESCRIPTION OF
Claims (4)
前記スキャナ部から出力された画像データに基づいて、認識対象文字の画像の一部または全部を含む切り出し領域の画像データを切り出す切り出し手段と、
前記切り出し手段により切り出された切り出し領域の画像データに含まれる文字の認識を行う文字認識手段と、を備え、
前記切り出し手段が第1の切り出し領域を切り出したとき、前記文字認識手段は前記第1の切り出し領域について文字認識を行って第1候補を決定し、
前記第1候補が決定した後、前記切り出し手段が前記第1の切り出し領域とは異なる第2の切り出し領域を切り出したとき、前記文字認識手段は前記第2の切り出し領域について文字認識を行い、前記第1候補とは異なる第2候補を決定する、ことを特徴とする文字認識装置。 A scanner unit that scans a print medium on which characters are printed and outputs image data; and
Based on the image data output from the scanner unit, a cutout unit that cuts out image data of a cutout region including part or all of the image of the recognition target character
Character recognition means for recognizing characters included in the image data of the cutout area cut out by the cutout means,
When the cutout unit cuts out the first cutout region, the character recognition unit performs character recognition on the first cutout region to determine a first candidate,
After the first candidate is determined, when the cutout unit cuts out a second cutout region different from the first cutout region, the character recognition unit performs character recognition on the second cutout region, A character recognition device characterized by determining a second candidate different from the first candidate.
前記文字認識装置は、
前記磁気インクで印字された文字の磁気を検出し、検出された磁気データを出力する磁気センサと、をさらに備え、
前記切り出し手段は、所定形状のマスクを、前記磁気センサが出力した磁気データに基づいて定まる位置に適用して、前記スキャナ部から出力された画像データから前記第1の切り出し領域を切り出すことを特徴とする請求項1に記載の文字認識装置。 The characters printed on the printing medium are printed using magnetic ink,
The character recognition device includes:
A magnetic sensor for detecting the magnetism of characters printed with the magnetic ink and outputting the detected magnetic data;
The cutout unit applies a mask having a predetermined shape to a position determined based on magnetic data output from the magnetic sensor, and cuts out the first cutout region from image data output from the scanner unit. The character recognition device according to claim 1.
前記文字認識手段は、前記複数の第2の切り出し領域のそれぞれについて文字認識を行い、それぞれの文字認識結果に基づいて前記第2候補を決定することを特徴とする請求項1に記載の文字認識装置。 The cutout unit cuts out a plurality of different areas as the second cutout area,
2. The character recognition according to claim 1, wherein the character recognition unit performs character recognition for each of the plurality of second cutout regions and determines the second candidate based on each character recognition result. apparatus.
前記取得した画像データに基づいて、認識対象文字の画像の一部または全部を含む第1の切り出し領域の画像データを切り出すステップと、
前記第1の切り出し領域について文字認識を行って第1候補を決定ステップと、
前記第1候補が決定した後、前記取得した画像データに基づいて、前記第1の切り出し領域と異なる第2の切り出し領域の画像データを切り出すステップと、
前記第2の切り出し領域について文字認識を行って第2候補を決定ステップと、を有する文字認識処理方法。 Scanning a print medium on which characters are printed to obtain image data;
Cutting out image data of a first cutout region including a part or all of an image of a recognition target character based on the acquired image data;
Performing character recognition on the first cutout region to determine a first candidate;
Cutting out image data of a second cutout area different from the first cutout area based on the acquired image data after the first candidate is determined;
A character recognition processing method comprising: performing character recognition on the second cutout region to determine a second candidate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004317894A JP2006127375A (en) | 2004-11-01 | 2004-11-01 | Character recognition device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004317894A JP2006127375A (en) | 2004-11-01 | 2004-11-01 | Character recognition device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006127375A true JP2006127375A (en) | 2006-05-18 |
Family
ID=36722041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004317894A Withdrawn JP2006127375A (en) | 2004-11-01 | 2004-11-01 | Character recognition device and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006127375A (en) |
-
2004
- 2004-11-01 JP JP2004317894A patent/JP2006127375A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4691900B2 (en) | CHECK PROCESSING METHOD, PROGRAM, AND CHECK PROCESSING DEVICE | |
US7657093B2 (en) | Magnetic ink character recognition apparatus and magnetic ink character recognition method | |
JP4438387B2 (en) | Magnetic ink character reader | |
US7341178B2 (en) | Processing apparatus, system and method for processing checks in communication with a host computer and a host computer for controlling the check processing apparatus | |
EP2219137A2 (en) | Recording device and control method for a recording device | |
JP2006012027A (en) | Optical reader, recognition processor, character reading method and program, magnetic ink character reader, and pos terminal device | |
JP2007173912A (en) | Print inspection apparatus | |
JP5974499B2 (en) | RECORDING DEVICE, CONTROL DEVICE, AND RECORDING DEVICE CONTROL METHOD | |
JP2006127375A (en) | Character recognition device and method | |
JP4947122B2 (en) | Magnetic ink character reading apparatus and reading processing method thereof | |
JP2006126952A (en) | Character recognition device and method | |
JP2018196972A (en) | Printer and printing method | |
JP2014046459A (en) | Electronic apparatus, and control method for the electronic device | |
JP2007172027A (en) | Print inspection device | |
JP2007172029A (en) | Print inspection device | |
JP2005269057A (en) | Image reading apparatus and image reading method | |
JP4470403B2 (en) | Image reading device | |
JP2007172031A (en) | Print inspection device | |
JP2021160252A (en) | Printer | |
JP2010118891A (en) | Image reading system and image reading method | |
JP2013037602A (en) | Control device, check processing device, method for controlling control device, and program | |
JP2006260146A (en) | Medium processing device and method | |
JP2004094629A (en) | Method for reading magnetic ink character, reader and pos terminal using the reader | |
JP2005199484A (en) | Bankbook handling device | |
JP2007134821A (en) | Control method of print medium processing apparatus and print medium processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20080108 |