JP2006127375A - Character recognition device and method - Google Patents

Character recognition device and method Download PDF

Info

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
Application number
JP2004317894A
Other languages
Japanese (ja)
Inventor
Yukie Sei
幸恵 静
Takashi Takehana
貴志 竹花
Masahiro Katagiri
正宏 片桐
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2004317894A priority Critical patent/JP2006127375A/en
Publication of JP2006127375A publication Critical patent/JP2006127375A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Character Input (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve precision of the second and following candidates when outputting a plurality of candidates as recognition results in recognizing characters by using image data. <P>SOLUTION: This check processor is provided with a segmenting means for segmenting image data in a segmentation region including one part or whole part of the image of a recognition object character on the basis of image data read by an image reading part and a character recognizing means for recognizing characters included in the image data of the segmentation region segmented by the segmenting means. Then, when a first segmentation region 310 is segmented by the segmenting means, character recognition is carried out to the first segmentation region 310 by the character recognizing means, and a first candidate is decided. After the first candidate is decided, when a second segmentation region 320 different from the first segmentation region 310 is segmented by the segmenting means, character recognition is carried out to the second segmentation region 320 by the character recognizing means, and the second candidate different from the first candidate is decided. <P>COPYRIGHT: (C)2006,JPO&NCIPI

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.

特開2000−344428号公報JP 2000-344428 A

一般に、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 check processing device 10 including a character recognition device according to an embodiment of the present invention will be described with reference to the drawings. As shown in FIG. 1, a check processing apparatus 10 according to the present embodiment is used in connection with a composite processing apparatus 1 that performs image reading and printing processing of a check C, and generates authentication data or a composite processing apparatus. And a host computer 50 for controlling the above.

ホストコンピュータ50は、各種入力を行うキーボード51やマウス52と、小切手Cの画像データの表示やエラー報知を行う表示画面53を備えており、複合処理装置1と有線または無線接続されている(図示ではコネクタケーブルで接続)。   The host computer 50 includes a keyboard 51 and a mouse 52 for performing various inputs, and a display screen 53 for displaying the image data of the check C and notifying an error, and is connected to the composite processing apparatus 1 by wire or wirelessly (illustrated). (Connect with a connector cable.)

ところで、ホストコンピュータ50は、ネットワーク(例えば、インターネット)を介して、小切手Cの有効性を認証するための決済処理サーバと接続されている。ホストコンピュータ50は、複合処理装置1のMICR13(図4参照)によって読み取った小切手データを受信し、決済処理サーバに送信する。そして、決済処理サーバの応答に基づいて小切手Cが有効であるか無効であるかを判別する。   By the way, the host computer 50 is connected to a settlement processing server for authenticating the validity of the check C via a network (for example, the Internet). The host computer 50 receives the check data read by the MICR 13 (see FIG. 4) of the composite processing apparatus 1 and transmits it to the settlement processing server. Then, it is determined whether the check C is valid or invalid based on the response of the payment processing server.

ここで、本実施形態に係る小切手処理装置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 check processing apparatus 1 according to the present embodiment and a settlement process using the check C will be described with reference to FIG. As shown in FIG. 5A, a serial number 91 and a user name 92 are printed in advance on the surface of the check C, as well as a use date field 93, a payee store name field 94, payment amount fields 95 and 96, There is a signature field 97. Further, a bank number, an account number, and a check number are printed with a magnetic ink character 98 on the lower surface. The validity of the check C can be confirmed by reading the portion printed with the magnetic ink characters 98 with MICR 13 (Magnetic Ink Character Reader; see FIG. 4).

利用者は、小切手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 magnetic ink characters 98 printed on check C with MICR 13 to confirm the validity of the check, and then the bank processing area on the back side of check C The authentication data d indicating that the check settlement process by the bank A has been completed is printed in C2. At the same time, the images on the front and back sides of the check C are read and stored as image data. The authentication data d has different notation contents depending on each bank, but mainly includes a bank name, a bank number, a processing date, and a processing number.

その後、銀行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 composite processing apparatus 1 will be described. As shown in FIG. 1, the composite processing apparatus 1 faces the U-shaped feed path P and is printed on the check C and an image reading unit 100 (see also FIG. 3) that optically reads the image of the check C. A feeding mechanism 20 that has a magnetic data reading unit 110 (see also FIG. 3) for reading the magnetism of magnetic ink characters and a printing unit 120 that prints authentication data on the check C, and sends the check C along the feeding path P. (See FIG. 3).

図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 outer guide 2a and the inner guide 2b, and the straight portions 35a and 35b and both ends thereof are connected to the straight portions 35a and 35b. The U-shaped bottom portion 34 has a general U-shape.

また、送り機構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 feed mechanism 20 feeds the check C in the direction of the arrow A along the straight portion 35a and through the U-shaped bottom portion 34. Then, after changing the direction 180 degrees from the time of insertion, the check C is sent in the direction of arrow B through the straight portion 35b, and the check C is discharged from the check discharge port 4. That is, the feeding mechanism 20 is configured to feed the check C while being curved in a U shape along the feeding path P. In the combined processing apparatus 1, the surface of the check C is arranged toward the inner guide 2 b as a rule.

また、送り機構20は、第1送りローラ6、第2送りローラ7および排出ローラ8を有しており、これら各ローラ6,7,8は、それぞれモータにより駆動される駆動ローラ6a,7a,8aと、この駆動ローラに対して小切手Cを押し付ける押付ローラ(従動ローラ)6b,7b,8bから成るグリップローラで構成されている。   The feed mechanism 20 includes a first feed roller 6, a second feed roller 7, and a discharge roller 8. These rollers 6, 7, and 8 are respectively driven rollers 6a, 7a, 8a and a grip roller comprising pressing rollers (driven rollers) 6b, 7b and 8b for pressing the check C against the driving roller.

第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 first feed roller 6 is disposed at the first corner portion of the feed path P, and a BOF (Bottom of Form) detector 9 is provided on the upstream side, and a TOF is provided on the downstream side of the first feed roller 6. A (Top of Form) detector 10 is provided. These detectors 9 and 10 detect the leading end and the trailing end of the check C sent along the feed path P. The motor 40 is driven according to the detection of the BOF detector 9, and the first feed roller 6, the second feed roller 7 and the discharge roller 8 start to rotate.

TOF検出器10と、第2送りローラ7との間のU字底部分34には、画像読取部100を構成する裏表2つのスキャナ11,12および磁気データ読取部110を構成するMICR13が配置されている。   The U-shaped bottom portion 34 between the TOF detector 10 and the second feed roller 7 is provided with two front and rear scanners 11 and 12 constituting the image reading unit 100 and MICR 13 constituting the magnetic data reading unit 110. ing.

2つのスキャナ11,12は、それぞれ小切手Cの画像を読み取る画像読取センサである。一方の裏側スキャナ11は小切手Cの裏面画像を読取可能なように送り経路Pの外側ガイド2a側に設けられ、他方の表側スキャナ12は、小切手Cの表面画像を読み取り可能なように送り経路Pの内側ガイド2b側に設けられている。これらの両スキャナ11,12は、送り経路Pを介した対向面側に配置された押付け部材(ローラ)11a,12aによって小切手Cをスキャナ11,12に押し付けた状態で画像を読み取る。   The two scanners 11 and 12 are image reading sensors that read the image of the check C, respectively. One back side scanner 11 is provided on the outer guide 2a side of the feed path P so as to be able to read the back side image of the check C, and the other front side scanner 12 is feed path P so that the front image of the check C can be read. Is provided on the inner guide 2b side. Both the scanners 11 and 12 read an image in a state where the check C is pressed against the scanners 11 and 12 by pressing members (rollers) 11a and 12a arranged on the opposite surface side through the feed path P.

MICR13は、小切手Cの表面に印刷された磁気インク文字を読み取る磁気読み取りセンサであり、小切手Cの表面に対向可能なように送り経路Pの内側ガイド2b側に設けられている。MICR13は、送り経路Pを介した対向面側に配置された押付け部材(パッド)13aによって小切手CをMICR13に押し付けた状態で磁気インク文字を読み取る。   The MICR 13 is a magnetic reading sensor that reads magnetic ink characters printed on the surface of the check C, and is provided on the inner guide 2b side of the feed path P so as to face the surface of the check C. The MICR 13 reads a magnetic ink character in a state where the check C is pressed against the MICR 13 by a pressing member (pad) 13a disposed on the opposite surface side through the feed path P.

第2送りローラ7は、送り経路Pの第2コーナー部分に配設され、また排出ローラ8は小切手排出口4の近傍に配設されている。第2送りローラ7と排出ローラ8との間の直線部分35bには、印刷部120を構成する印刷ヘッド14が送り経路Pに向けられて配置されている。この印刷ヘッド14は、ガイド軸15aを介して移動可能に構成されたキャリッジ15に載置されており、キャリッジ15を介して印刷領域18と退避位置19との間を移動することができる。   The second feed roller 7 is disposed in the second corner portion of the feed path P, and the discharge roller 8 is disposed in the vicinity of the check discharge port 4. The print head 14 constituting the printing unit 120 is disposed in the straight portion 35b between the second feed roller 7 and the discharge roller 8 so as to face the feed path P. The print head 14 is mounted on a carriage 15 configured to be movable via a guide shaft 15 a, and can move between a print area 18 and a retreat position 19 via the carriage 15.

小切手Cに印刷を行う場合には、印刷ヘッド14は印刷領域18内の所定の位置に停止しており、小切手Cの送りに同期して印刷ヘッド14が駆動され、小切手Cへの印刷が行われる。一方、詳細は後述するが、この直線部分35bにロール紙を導入した場合には、ロール紙の送り(副走査)と印刷ヘッド14の移動(主走査)とにより、ロール紙に印刷が行われる。   When printing on the check C, the print head 14 is stopped at a predetermined position in the printing area 18, and the print head 14 is driven in synchronization with the feeding of the check C, and printing on the check C is performed. Is called. On the other hand, as will be described in detail later, when roll paper is introduced into the linear portion 35b, printing is performed on the roll paper by feeding the roll paper (sub-scanning) and moving the print head 14 (main scanning). .

印刷ヘッド14の下流側には、排出ローラ8および小切手排出口4が設けられている。印刷が終了した小切手Cは、排出ローラ8を介して小切手排出口4より排出される。また、排出ローラ8の近傍には、排出検出器(図示省略)が設けられており、印刷が終了した小切手Cが排出されたかどうか検出することが可能である。   A discharge roller 8 and a check discharge port 4 are provided on the downstream side of the print head 14. The check C for which printing has been completed is discharged from the check discharge port 4 via the discharge roller 8. Further, a discharge detector (not shown) is provided in the vicinity of the discharge roller 8, and it is possible to detect whether or not the check C after printing has been discharged.

なお、本実施形態では、裏・表両スキャナ11,12およびMICR13が配置されているU字底部分34以外の場所では、外側ガイド2aと内側ガイド2bの高さは、送られる小切手Cの幅よりも低くなっており、紙詰まり等が発生した場合に、手で容易に取り出せるようになっている。   In this embodiment, the height of the outer guide 2a and the inner guide 2b is the width of the check C to be sent at a place other than the U-shaped bottom portion 34 where the back and front scanners 11 and 12 and the MICR 13 are arranged. When a paper jam or the like occurs, it can be easily removed by hand.

また、図示は省略するが、本実施形態の複合処理装置1は、小切手Cを送るための送り経路Pの他、送り経路Pの直線部分35bと一部重複し、送り経路Pと送り方向がほぼ直交(図3における紙面を貫通する方向)している垂直送り経路である、ロール紙を送るロール紙送り経路を備えている。そして、送り経路Pの直線部分35a,35bの間には、ロール紙を収容するロール紙収納部が設けられている。ロール紙の一端は、このロール紙収納部からロール紙送り経路に引き出されて、ロール紙送り経路に沿って送りが行われ、印刷ヘッド14と近接対向する印刷領域18を通過するときに、移動する(主走査)印刷ヘッド14を介してロール紙に対する印刷が行われる。すなわち、本実施形態の複合処理装置1は、小切手Cの処理を行うと共に、ロール紙を用いてレシートを発行することも可能である。   Although not shown, the composite processing apparatus 1 of the present embodiment partially overlaps the straight portion 35b of the feed path P in addition to the feed path P for sending the check C, and the feed path P and the feed direction are different. A roll paper feed path for feeding roll paper is provided, which is a vertical feed path that is substantially orthogonal (direction passing through the paper surface in FIG. 3). A roll paper storage unit for storing roll paper is provided between the straight portions 35a and 35b of the feed path P. One end of the roll paper is pulled out from the roll paper storage unit to the roll paper feed path, and is fed along the roll paper feed path, and moves when passing through the print area 18 that is in close proximity to the print head 14. (Main scanning) Printing on the roll paper is performed via the print head 14. That is, the composite processing apparatus 1 of this embodiment can process the check C and issue a receipt using roll paper.

さらに、本実施形態の複合処理装置1には、印刷領域18に配置する印刷ヘッド14に対応して設けられ、印刷領域18付近の外側ガイド2aと内側ガイド2bとの間に形成される上部開口から、外側ガイド2aと内側ガイド2bとの間に挿入された、小切手Cを垂直に送る垂直送り経路を有している。この垂直送り経路は、小切手Cを上方から挿入して印刷を行い、印刷後再び上方へ小切手Cを排出するバリデーション印刷を行うための送り経路である。   Furthermore, the composite processing apparatus 1 according to the present embodiment is provided corresponding to the print head 14 disposed in the print area 18 and is an upper opening formed between the outer guide 2a and the inner guide 2b in the vicinity of the print area 18. From the outside guide 2a and the inside guide 2b, there is a vertical feed path for feeding the check C vertically. This vertical feed path is a feed path for performing validation printing in which the check C is inserted from above and printing is performed, and the check C is discharged again after printing.

本実施形態の印刷ヘッド14は、キャリッジ15に載置されており、送り経路Pの直線部分35bに沿って水平方向に印刷領域18の間を移動可能である。すなわち、小切手Cへの印刷には、前述したような印刷ヘッド14の位置を固定した状態で小切手Cを水平方向に移動させることにより印刷を行う印刷ヘッド固定モードと、小切手Cの位置を固定した状態で印刷ヘッド14を水平方向に移動させることにより印刷を行う小切手固定モードと、の2つがある。   The print head 14 of this embodiment is placed on the carriage 15 and can move between the print areas 18 in the horizontal direction along the straight line portion 35b of the feed path P. That is, for printing on the check C, the print head fixing mode for performing printing by moving the check C in the horizontal direction with the position of the print head 14 fixed as described above, and the position of the check C are fixed. There are two modes: a check fixing mode in which printing is performed by moving the print head 14 in the horizontal direction.

また、ロール紙への印刷も、印刷ヘッド14がキャリッジ15を介して水平方向に移動しながら一行印刷を行い、複数行印刷する必要がある場合には、一行印刷の終了後、ロール紙を一行分上方に紙送りした後(副走査)に、再度印刷ヘッド14を水平方向に移動させて(主走査)2行目以降の印刷を行う。   In addition, when printing on roll paper, it is necessary to perform one line printing while the print head 14 moves in the horizontal direction via the carriage 15, and when it is necessary to print a plurality of lines, one line of roll paper is printed after the end of the one line printing. After the paper is fed upward (sub-scanning), the print head 14 is moved again in the horizontal direction (main scanning), and the second and subsequent lines are printed.

次に、小切手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 BOF detector 9, the BOF detector 9 detects the tip of the check C. Then, the drive roller 6 a of the first feed roller 6 starts to rotate in response to the detection by the BOF detector 9. Thereby, the check C is delivered to the first feed roller 6, that is, smoothly sandwiched between the drive roller 6a and the pressing roller 6b, along the feed path P without slipping due to the rotation of the drive roller 6a, It is sent along the wall of the outer guide 2a of the U-shaped portion 34.

第1送りローラ6によって送られてゆく小切手Cの先端が、TOF検出器10に達すると、その先に設置されたスキャナ11,12とMICRの電源がONして検出待機状態となる。本実施形態の複合処理装置1は、ローラの駆動を含め、必要なときだけ必要な部位に電力を供給するようになっており、無駄な電力の消費を防ぐように構成されている。   When the leading end of the check C sent by the first feed roller 6 reaches the TOF detector 10, the scanners 11 and 12 and the MICR installed at the tip of the check C are turned on to enter a detection standby state. The composite processing apparatus 1 according to the present embodiment supplies power to necessary parts only when necessary, including driving of rollers, and is configured to prevent wasteful power consumption.

さらに、小切手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 outer guide 2a side reads the back image of the check C, and the front scanner 12 installed on the inner guide 2b side reads the surface image of the check C. read. Further, the MICR 13 installed on the inner guide 2b side reads magnetic data of magnetic ink characters written in advance on the check C. Although the details will be described later, the read surface image data g1 and back image data g2 of the check C are temporarily stored in the check surface image data block 242 and the check back image data block 243 of the check processing apparatus 1, and are combined by the CPU 220. In addition to the image data g3 generation, predetermined processing is performed.

小切手Cは、TOF検出器10を通過した後に、その先端が第2送りローラ7に達すると、駆動ローラ7aと押付けローラ7bの間に挟まれて、駆動ローラ7aの回転によって直線部分35b側へ送り出される。   After the check C has passed through the TOF detector 10, when its tip reaches the second feed roller 7, it is sandwiched between the driving roller 7a and the pressing roller 7b and moved toward the straight portion 35b by the rotation of the driving roller 7a. Sent out.

そして、小切手Cが印刷ヘッド14と近接対向する印刷領域18を通過するときに、印刷ヘッド14が駆動され、この小切手Cへの印刷を行う。このとき、印刷ヘッド14は印刷領域18中の予め決められた位置に停止しており、印刷媒体である小切手Cの移動(主走査)と同期して駆動され、所定の印刷が行われる。   Then, when the check C passes through the print area 18 that is in close proximity to the print head 14, the print head 14 is driven and printing on the check C is performed. At this time, the print head 14 is stopped at a predetermined position in the print area 18 and is driven in synchronization with the movement (main scanning) of the check C, which is a print medium, to perform predetermined printing.

印刷ヘッド14によりその裏面側に印刷が行われた小切手Cは、排出ローラ8で矢印Bの方向へ排出され、すなわち駆動ローラ8aと押付ローラ8bの間に挟まれた状態で駆動ローラ8aが回転することによって、複合処理装置1の外部へ送り出されることにより、小切手Cに関する処理が終了する。   The check C printed on the back side by the print head 14 is discharged by the discharge roller 8 in the direction of arrow B, that is, the drive roller 8a rotates while being sandwiched between the drive roller 8a and the pressing roller 8b. By doing so, the processing related to the check C is completed by being sent out of the composite processing apparatus 1.

ここで、図4を参照し、小切手処理装置10を構成する複合処理装置1およびホストコンピュータ50の制御構成について説明する。   Here, with reference to FIG. 4, the control structure of the composite processing apparatus 1 and the host computer 50 which comprise the check processing apparatus 10 is demonstrated.

複合処理装置1は、小切手Cの画像を読み取る画像読取部(画像読み取り手段)100と、小切手Cに記載された磁気インク文字を読み取る磁気データ読取部(磁気インク文字読み取り手段)110と、小切手Cの裏面に印刷を行う印刷部(印刷手段)120と、小切手Cの先端および後端を検出する検出部と、各部を駆動する駆動部140と、各部と接続され、複合処理装置1全体を制御する制御部200とによって構成されている。   The composite processing apparatus 1 includes an image reading unit (image reading unit) 100 that reads an image of a check C, a magnetic data reading unit (magnetic ink character reading unit) 110 that reads a magnetic ink character written on the check C, and a check C. A printing unit (printing means) 120 that prints on the back side of the printer, a detection unit that detects the leading and trailing ends of the check C, a driving unit 140 that drives each unit, and the respective units are connected to control the entire complex processing apparatus 1. It is comprised by the control part 200 which performs.

画像読取部100は、裏・表両スキャナ11,12を有し、小切手Cの表面および裏面画像の読み取りを行う。また、磁気データ読取部110は、MICR13を有し小切手Cに記載された磁気インク文字の読み取りを行う。印刷部120は、印刷ヘッド14を有し、主として小切手Cの裏面にホストコンピュータ50より受信した認証データdの印刷を行う。   The image reading unit 100 includes both the back and front scanners 11 and 12 and reads the front and back images of the check C. The magnetic data reading unit 110 has a MICR 13 and reads magnetic ink characters written on the check C. The printing unit 120 includes the print head 14 and mainly prints the authentication data d received from the host computer 50 on the back surface of the check C.

検出部130は、BOF検出器9およびTOF検出器10を有し、それぞれ小切手Cの先端および後端を検出する。また、駆動部140は、第1送りローラ6、第2送りローラ7および排出ローラ8(送り機構20)と、これら複数の送りローラ6,7,8のうち、駆動ローラ6a、7a、8aを回転駆動するモータ40とを備え、小切手Cの送りを制御する。   The detection unit 130 includes a BOF detector 9 and a TOF detector 10, and detects the leading end and the trailing end of the check C, respectively. The drive unit 140 includes a first feed roller 6, a second feed roller 7, a discharge roller 8 (feed mechanism 20), and a drive roller 6 a, 7 a, 8 a among the plurality of feed rollers 6, 7, 8. And a rotationally driven motor 40 for controlling the feeding of the check C.

制御部200は、CPU220、ROM230、RAM240および入出力制御装置210(以下、「IOC:Input Output Controller」という)を備え、互いに内部バス250により接続されている。ROM230は、小切手Cの読み取りや印刷の制御、並びに読み取った小切手Cの裏面画像データg2と、ホストコンピュータ50から受信した認証データdと、を合成して合成画像データg3を生成する制御を行うためのプログラムの他、CPU220で処理する各種プログラムを記憶する制御プログラムブロック231と、合成画像データg3を生成するための制御データや各種テーブル等を記憶する制御データブロック232と、を有している。   The control unit 200 includes a CPU 220, a ROM 230, a RAM 240, and an input / output control device 210 (hereinafter referred to as “IOC: Input Output Controller”), which are connected to each other via an internal bus 250. The ROM 230 controls the reading and printing of the check C, and the control of generating the composite image data g3 by combining the read back image data g2 of the check C and the authentication data d received from the host computer 50. In addition to the above program, there are a control program block 231 for storing various programs to be processed by the CPU 220, and a control data block 232 for storing control data and various tables for generating the composite image data g3.

RAM240は、フラグ等として使用される各種ワークエリアブロック241の他、読み取った小切手Cの表面画像データg1を記憶する小切手表面画像データブロック242と、読み取った小切手Cの裏面画像データg2を記憶する小切手裏面画像データブロック243と、読み取った小切手Cの磁気データを記憶する磁気データブロック244と、ホストコンピュータ50から受信した認証データdを一時的に記憶する認証データブロック245と、小切手裏面画像データg2と認証データdとを合成して生成した合成画像データg3を一時的に記憶する合成画像データブロック246と、を備え、制御処理のための作業領域として使用される。   The RAM 240, in addition to various work area blocks 241 used as flags, etc., a check surface image data block 242 for storing the read check C surface image data g1, and a check for storing the read check C back image data g2. A back image data block 243, a magnetic data block 244 for storing the magnetic data of the read check C, an authentication data block 245 for temporarily storing the authentication data d received from the host computer 50, and a check back image data g2. And a composite image data block 246 for temporarily storing composite image data g3 generated by combining the authentication data d and used as a work area for control processing.

IOC210には、CPU220の機能を補うと共に各種周辺回路とのインタフェース信号を取り扱うための論理回路が、ゲートアレイやカスタムLSIなどにより構成されて組み込まれている。これにより、IOC210は、裏・表両スキャナ11,12により読み取られた画像データや、MICR13により読み取られた磁気データ、並びにホストコンピュータ50からの認証データや制御データをそのまま或いは加工して内部バス250に取り込むと共に、CPU220と連動して、CPU220から内部バス250に出力されたデータや制御信号を、そのまま或いは加工して印刷部120等各部に出力する。   In the IOC 210, a logic circuit that complements the function of the CPU 220 and handles interface signals with various peripheral circuits is configured and configured by a gate array, a custom LSI, or the like. As a result, the IOC 210 causes the internal bus 250 to process the image data read by the back and front scanners 11 and 12, the magnetic data read by the MICR 13, and the authentication data and control data from the host computer 50 as they are or after processing. In conjunction with the CPU 220, the data and control signals output from the CPU 220 to the internal bus 250 are output as they are or processed to the respective units such as the printing unit 120.

そして、CPU220は、上記の構成により、ROM230内の制御プログラムに従って、IOC210を介して複合処理装置1内の各部の各種信号・データを制御することにより、合成画像データg3の生成処理や、小切手Cの印刷処理などを行う。   Then, with the above configuration, the CPU 220 controls the various signals and data of each unit in the composite processing apparatus 1 via the IOC 210 according to the control program in the ROM 230, thereby generating the composite image data g3 and the check C. Print processing.

また、複合処理装置1に接続されて用いられるホストコンピュータ50は、ROMおよびRAMから成るメモリ54と、ホストコンピュータ50内の各部を制御するCPU55の他、複合処理装置1を制御するためのプログラムであるドライバ56を備えている。   A host computer 50 used by being connected to the composite processing apparatus 1 is a program for controlling the composite processing apparatus 1 in addition to a memory 54 composed of a ROM and a RAM and a CPU 55 for controlling each part in the host computer 50. A driver 56 is provided.

メモリ54は、ROM内にCPU55で処理する制御プログラムや、各種テーブルを含む制御データを記憶すると共に、RAM内にワークエリアや各種レジスタ群の他、オペレータによって入力された情報(銀行名や銀行番号が該当する)、並びに複合処理装置1から受信した合成画像データg3や小切手Cの表面画像データg1の記憶領域を有し、制御処理のための作業領域として使用する。   The memory 54 stores a control program processed by the CPU 55 in the ROM and control data including various tables, and information (bank name and bank number) input by the operator in addition to the work area and various register groups in the RAM. And the storage area of the composite image data g3 received from the composite processing apparatus 1 and the surface image data g1 of the check C, and is used as a work area for control processing.

ホストコンピュータ50は、複合処理装置1より、認証データの送信を要求するための認証データ要求コマンドを受信すると、RAM内に記憶した情報(銀行名や銀行番号)に処理日付、処理番号を付加して認証データdを生成し、複合処理装置1へ送信する。   When the host computer 50 receives an authentication data request command for requesting transmission of authentication data from the composite processing apparatus 1, it adds a processing date and a processing number to information (bank name and bank number) stored in the RAM. Authentication data d is generated and transmitted to the composite processing apparatus 1.

次に、磁気インク文字の認識処理の詳細について説明する。本実施形態に係る複合処理装置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 composite processing apparatus 1 according to the present embodiment, the MICR 13 reads the magnetism of the magnetic ink character 98 and performs character recognition based on the read magnetic data. Furthermore, in this embodiment, in addition to character recognition by the MICR 13, character recognition is performed based on the surface image data g1 including the image of the magnetic ink character 98 read by the front scanner 12 and stored in the check surface image data block 242. I do. The character recognition processing using the image data is performed by executing the control program read from the ROM 230 by the CPU 220, and using the binarized image data on the surface of the check C, the areas of the magnetic ink characters 98 are individually set. Cut out and perform character recognition processing to determine the character.

この結果、複合処理装置1は、イメージデータを用いた文字認識の結果と、MICR13での磁気データを用いた文字認識の結果とを組み合わせることで、文字認識の精度を向上させることができる。以下、イメージデータを用いた文字認識の処理な処理について説明する。   As a result, the composite processing apparatus 1 can improve the accuracy of character recognition by combining the result of character recognition using image data and the result of character recognition using magnetic data in the MICR 13. Hereinafter, a process of character recognition using image data will be described.

まず、小切手Cに印字される磁気インク文字98は、所定のフォントで印字された、所定の文字に限定されている。すなわち、印字される可能性のある文字は、「0,1,2,3,4,5,6,7,8,9,T,A,O,D」の14文字であり、使用されるフォントは1種類である。従って、本実施形態での認識対象となる磁気インク文字98は、この14パターンに限定される。上述の14の文字パターンデータが、制御データブロック232に予め格納されている。   First, the magnetic ink character 98 printed on the check C is limited to a predetermined character printed with a predetermined font. That is, the characters that may be printed are 14 characters “0, 1, 2, 3, 4, 5, 6, 7, 8, 9, T, A, O, D” and are used. There is one type of font. Therefore, the magnetic ink characters 98 to be recognized in the present embodiment are limited to these 14 patterns. The 14 character pattern data described above are stored in advance in the control data block 232.

例えば、表面スキャナ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 surface scanner 12 recognizes “0” deformed for some reason as shown in FIG. At this time, if a normal character recognition mask 300 is applied and cut out, an image including a part of the recognition target character is cut out as shown in FIG. The surface image data g1 is binarized. Here, when all of the recognition target characters are cut out, in the following pattern matching, they are usually recognized as correct characters with a considerably high probability.

ところで、この切り出しで使用するマスク300の形状は、例えば、同図に示すような矩形形状でよい。さらに、表面画像データg1が200dpiである場合は、マスク300のサイズは24ドット×19ドットとしてもよい。表面画像データg1に対してマスク300を適用する際の位置決めは、例えば、MICR13が検出した磁気インク文字98の磁気データを用いて行う。すなわち、小切手CのX方向(図2参照)の位置を磁気が検出された位置を基準として定め、小切手CのY方向(図2参照)の位置をイメージの下端から所定距離の位置としてもよい。   By the way, the shape of the mask 300 used in this cutting may be a rectangular shape as shown in FIG. Furthermore, when the surface image data g1 is 200 dpi, the size of the mask 300 may be 24 dots × 19 dots. Positioning when the mask 300 is applied to the surface image data g1 is performed using magnetic data of the magnetic ink characters 98 detected by the MICR 13, for example. That is, the position of the check C in the X direction (see FIG. 2) may be determined with reference to the position where the magnetism is detected, and the position of the check C in the Y direction (see FIG. 2) may be a position at a predetermined distance from the lower end of the image. .

図示するような第1候補領域310について、文字パターンを適用して認識処理を行うと、「1」(適合率55%)が第1候補として決定される。ここで、適合率とは、予め制御データブロック232に記憶されている文字パターンと第1候補領域310の画像データとを画素単位で比較したときに、全画素に対する一致する画素数の割合を示す。   When recognition processing is performed by applying a character pattern to the first candidate area 310 as shown in the drawing, “1” (matching rate 55%) is determined as the first candidate. Here, the relevance ratio indicates the ratio of the number of matching pixels to all the pixels when the character pattern stored in the control data block 232 and the image data of the first candidate area 310 are compared in pixel units. .

上記の場合、「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 second candidate area 320 different from the first candidate area is cut out. And about this area | region, the 2nd candidate is extracted by pattern matching similarly to the case of the 1st candidate area | region 310. FIG. At this time, pattern matching with the character that is already the first candidate is not performed.

第2候補領域320の切り出しとしては、例えば、第1候補領域と同一のマスク300を、第1候補領域を切り出した領域から、所定距離だけずらして切り出すようにしてもよい。ずらす方向は、例えば、左右、上下、斜め上下など、種々のずらし方がある。図6(a)〜(c)は、それぞれ、第1候補領域310から右方向、上方向、右下方向へマスク300をずらしたときの例を示している。このずらし幅は、例えば、1画素、2画素、あるいは5画素でよい。ここで、それぞれのマスク領域を切り出した第2候補領域320がそれぞれ図6(d)〜(f)である。   As the cutout of the second candidate area 320, for example, the same mask 300 as that of the first candidate area may be cut out with a predetermined distance from the cutout area of the first candidate area. There are various ways of shifting, for example, left and right, up and down, and diagonal up and down. FIGS. 6A to 6C show examples when the mask 300 is shifted from the first candidate region 310 in the right direction, the upward direction, and the lower right direction, respectively. This shift width may be, for example, 1 pixel, 2 pixels, or 5 pixels. Here, the second candidate areas 320 obtained by cutting out the respective mask areas are shown in FIGS.

また、第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 second candidate areas 320 may be cut out and pattern matching may be performed for each area. For example, pattern matching may be performed for each of the eight second candidate regions 320 that are shifted from the first candidate region 310 vertically and horizontally, and obliquely up and down. In this case, in the pattern matching of all the second candidate areas 320, the character having the highest matching rate may be set as the second candidate. In the case of FIG. 6, the matching rate when “d” is “0” is 80%, and “0” is selected as the second candidate.

さらに、本実施形態では、第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 composite processing apparatus 1 transmits the recognition result data including the characters below the first candidate and the matching rate thereof to the host computer 50 in a format as shown in FIG. The host computer 50 receives this data and displays each candidate character and the matching rate on the display screen 53. As a result, the operator can know a plurality of candidate characters ranked in the recognition target character. Furthermore, the subsequent processing in the host computer 50 can be automatically performed by giving a plurality of candidates by ranking.

なお、ホストコンピュータ50に送信する認識結果データには、上記処理による第1候補文字と磁気データを用いた認識結果とが一致しない文字の認識結果だけを含むようにしてもよい。   Note that the recognition result data transmitted to the host computer 50 may include only the recognition result of characters that do not match the first candidate character and the recognition result using magnetic data by the above processing.

本実施形態では、第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.

本発明の一実施形態に係る小切手処理装置の構成図である。It is a lineblock diagram of a check processing device concerning one embodiment of the present invention. 一般的な小切手の一例を示す平面図である。It is a top view which shows an example of a general check. 小切手処理装置の機能を含む複合処理装置における送り経路の模式図である。It is a schematic diagram of the feed path in the composite processing apparatus including the function of the check processing apparatus. 小切手処理装置の制御ブロック図である。It is a control block diagram of a check processing device. 認識対象文字について、第1候補領域の切り出しについて説明する図である。It is a figure explaining extraction of the 1st candidate field about a recognition object character. 認識対象文字について、第2候補領域の切り出しについて説明する図である。It is a figure explaining extraction of the 2nd candidate field about a character for recognition. 認識結果データを示す図である。It is a figure which shows recognition result data.

符号の説明Explanation of symbols

10 小切手処理装置 50 ホストコンピュータ
11 裏側スキャナ 12 表側スキャナ
13 MICR 14 印刷ヘッド
C 小切手 C1 裏書欄
C2 銀行処理欄 d 認証データ
P 送り経路
g1 小切手表面画像データ
g2 小切手裏面画像データ
g3 合成画像データ
243 小切手裏面画像データブロック
244 磁気データブロック
245 認証データブロック
246 合成画像データブロック
DESCRIPTION OF SYMBOLS 10 Check processing apparatus 50 Host computer 11 Back side scanner 12 Front side scanner 13 MICR 14 Print head C Check C1 End document field C2 Bank processing field d Authentication data P Feed path g1 Check surface image data g2 Check back image data g3 Composite image data 243 Check back surface Image data block 244 Magnetic data block 245 Authentication data block 246 Composite image data block

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の切り出し領域のそれぞれについて文字認識を行い、それぞれの文字認識結果に基づいて前記第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.
JP2004317894A 2004-11-01 2004-11-01 Character recognition device and method Withdrawn JP2006127375A (en)

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)

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