JP2010079725A - Magnetic ink character reader - Google Patents

Magnetic ink character reader Download PDF

Info

Publication number
JP2010079725A
JP2010079725A JP2008249059A JP2008249059A JP2010079725A JP 2010079725 A JP2010079725 A JP 2010079725A JP 2008249059 A JP2008249059 A JP 2008249059A JP 2008249059 A JP2008249059 A JP 2008249059A JP 2010079725 A JP2010079725 A JP 2010079725A
Authority
JP
Japan
Prior art keywords
magnetic
character
data
magnetic ink
recognition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008249059A
Other languages
Japanese (ja)
Inventor
Haruhiko Shirota
晴彦 城田
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.)
Canon Electronics Inc
Original Assignee
Canon Electronics Inc
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 Canon Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2008249059A priority Critical patent/JP2010079725A/en
Publication of JP2010079725A publication Critical patent/JP2010079725A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Character Discrimination (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve the recognition rate of magnetic ink characters, and increase processing speed. <P>SOLUTION: The magnetic ink character reader is provided with: a magnetic data acquiring means for acquiring magnetic data included in the magnetic ink characters printed in a document; a magnetic character recognizing part for recognizing the magnetic ink characters from the magnetic data; an optical character reading part for optically reading the magnetic ink characters, and acquiring image data; and an optical character recognizing part for recognizing the magnetic ink characters from the image data. The optical character recognizing part recognizes the magnetic ink characters on the basis of recognition candidate characters obtained by the magnetic character recognizing part. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、少なくとも磁気インク文字読取部及び光学文字読取部を備え、小切手等の被処理媒体に印刷されている磁気インク文字の読取処理を行う磁気インク文字読取装置に関する。   The present invention relates to a magnetic ink character reading device that includes at least a magnetic ink character reading unit and an optical character reading unit, and performs reading processing of magnetic ink characters printed on a processing target medium such as a check.

商取引や店舗での買い物、レストランでの支払い等においては、小切手等を用いて決済が行われることがある。一般に、小切手の所定の場所(下欄)に、口座番号、金額等が磁気インク文字により印刷されている。小切手による精算処理では、この磁気インク文字を読み取り、読み取ったデータを所定の機関に照会することにより小切手の有効性を確認する。   In commercial transactions, shopping at stores, payments at restaurants, etc., payments may be made using checks or the like. Generally, an account number, a monetary amount, and the like are printed with magnetic ink characters at a predetermined place (lower column) of a check. In the check-out process by check, the validity of the check is confirmed by reading the magnetic ink characters and referring the read data to a predetermined organization.

磁気インク文字を読み取るための技術として、MICR(Magnetic Ink Character Recognition)がある。この技術では、磁気インク文字に含まれる磁気情報を磁気リーダで読み取り、読み取った磁気情報をもとに文字を認識する(特許文献1)。   There is MICR (Magnetic Ink Character Recognition) as a technique for reading magnetic ink characters. In this technique, magnetic information contained in a magnetic ink character is read by a magnetic reader, and the character is recognized based on the read magnetic information (Patent Document 1).

前述したように磁気インク情報には口座番号や金額等が含まれるため、小切手の精算処理では磁気インク文字の読み取りは重要である。そのため、正確に磁気インク文字を読み取るための工夫がなされている。   As described above, since the magnetic ink information includes an account number, a monetary amount, etc., it is important to read magnetic ink characters in the check settlement process. Therefore, a device for accurately reading magnetic ink characters has been devised.

特許文献2に記載の磁気インク文字読み取り装置では、磁気インク文字読取部での磁気的文字認識処理の他に光学的文字認識処理(OCR:Optical Character Recognition)を行い、磁気インク文字読取部で読みとれなかった文字を、光学的文字認識処理することにより、認識率の向上を図っている。
特開昭49−49545号公報 特開平7−182448号公報
In the magnetic ink character reading device described in Patent Document 2, in addition to magnetic character recognition processing in the magnetic ink character reading unit, optical character recognition processing (OCR: Optical Character Recognition) is performed, and the magnetic ink character reading unit can read the character. The recognition rate is improved by optically recognizing the missing characters.
JP 49-49545 A JP 7-182448 A

しかしながら、磁気的文字認識処理で認識できなかった文字について、光学的文字認識処理で認識しようとしてもうまくいかない場合がある。   However, there are cases where a character that cannot be recognized by the magnetic character recognition process does not succeed even if an attempt is made to recognize the character by the optical character recognition process.

図16は、実際の小切手の磁気インク文字周辺の拡大図である。図16において、磁気インク文字列「7680」のうち、枠線100で囲んだ文字「0」には、顧客の直筆によるサイン文字の一部がかぶっている。このサイン文字の影響で、枠線100で囲んだ文字「0」は、「8」に近く見える形状となっている。   FIG. 16 is an enlarged view around the magnetic ink character of an actual check. In FIG. 16, the character “0” surrounded by the frame line 100 in the magnetic ink character string “7680” is covered with a part of the signature character handwritten by the customer. Due to the influence of the sign character, the character “0” surrounded by the frame line 100 has a shape that looks close to “8”.

枠線100で囲んだ文字「0」は、特許文献2に記載されているような単純な光学的文字認識処理を施した場合、認識結果が「8」となる可能性があり、磁気インク文字の認識結果の悪化が懸念される。   The character “0” surrounded by the frame line 100 may have a recognition result of “8” when a simple optical character recognition process as described in Patent Document 2 is performed. There is concern about the deterioration of the recognition results.

また、一般的に光学的文字認識処理においては、認識対象と比較するための辞書データが多ければ多いほど、処理時間が多くかかるという問題がある。光学的文字認識処理の高速化のためには、必要最小限の辞書データのみで、処理を行うような構成にすることが望ましい。   In general, in optical character recognition processing, there is a problem that the more dictionary data to be compared with the recognition target, the longer the processing time. In order to increase the speed of the optical character recognition process, it is desirable that the process be performed with only the minimum necessary dictionary data.

本発明は上述した課題に鑑みてなされたものであり、磁気インク文字の認識率を向上させ、さらに、処理の高速化を図ることを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to improve the recognition rate of magnetic ink characters and to increase the processing speed.

上述した課題を解決し、目的を達成するために、本発明に係わる磁気インク文字読取装置は、原稿に印字された磁気インク文字に含まれる磁気データを取得する磁気データ取得手段と、前記磁気データから、前記磁気インク文字を認識する磁気的文字認識手段と、前記磁気インク文字を光学的に読み取り、画像データを取得する光学文字読取手段と、前記画像データから、前記磁気インク文字を認識する光学的文字認識手段と、を備え、前記光学的文字認識手段は、前記磁気的文字認識手段の認識結果である認識候補文字に基づいて前記磁気インク文字を認識することを特徴とする。   In order to solve the above-described problems and achieve the object, a magnetic ink character reading device according to the present invention includes magnetic data acquisition means for acquiring magnetic data included in magnetic ink characters printed on a document, and the magnetic data. The magnetic character recognition means for recognizing the magnetic ink character, the optical character reading means for optically reading the magnetic ink character to obtain image data, and the optical for recognizing the magnetic ink character from the image data Character recognition means, wherein the optical character recognition means recognizes the magnetic ink character based on a recognition candidate character that is a recognition result of the magnetic character recognition means.

また、本発明に係わる磁気インク文字読取装置の制御方法は、原稿に印字された磁気インク文字に含まれる磁気データを取得する磁気データ取得手段を用いて、前記磁気データを取得する磁気データ取得工程と、前記磁気データから、前記磁気インク文字を認識する磁気的文字認識工程と、原稿に印字された磁気インク文字を読み取る光学文字読取手段を用いて、画像データを取得する画像データ取得工程と、前記画像データから、前記磁気インク文字を認識する光学的文字認識工程と、を備え、前記光学的文字認識工程は、前記磁気的文字認識工程の認識結果である認識候補文字に基づいて前記磁気インク文字を認識することを特徴とする。   The magnetic ink character reading device control method according to the present invention includes a magnetic data acquisition step of acquiring the magnetic data by using magnetic data acquisition means for acquiring magnetic data included in the magnetic ink characters printed on the document. A magnetic character recognition step for recognizing the magnetic ink characters from the magnetic data, and an image data acquisition step for acquiring image data using an optical character reading means for reading the magnetic ink characters printed on the document, An optical character recognition step for recognizing the magnetic ink character from the image data, the optical character recognition step based on a recognition candidate character that is a recognition result of the magnetic character recognition step. It is characterized by recognizing characters.

本発明によれば、磁気インク文字の認識率を向上させ、さらに、処理の高速化を図ることが可能となる。   According to the present invention, it is possible to improve the recognition rate of magnetic ink characters and to increase the processing speed.

以下、本発明に係る磁気インク文字読み取り装置の一実施形態について、図面を参照しながら詳細に説明する。   Hereinafter, an embodiment of a magnetic ink character reading device according to the present invention will be described in detail with reference to the drawings.

なお、本発明は磁気インク文字読取装置に関するものであり、小切手のみならず手形等の被処理媒体の処理にも適用可能であるが、最も典型的な例として、以下の説明では被処理媒体(原稿)として小切手を用いて説明する。   The present invention relates to a magnetic ink character reader and can be applied to processing of a medium to be processed such as a check as well as a check. As a most typical example, in the following description, a medium to be processed ( A description will be given using a check as a manuscript.

また、本発明は読み取られる磁気インク文字のフォントを限定するものではないが、説明を分かり易くするため、本実施形態において読み取られる磁気インク文字の対象は、E13Bとする。図1に、E13Bフォントの文字の一覧を示す。   In addition, although the present invention does not limit the font of the magnetic ink character to be read, the target of the magnetic ink character to be read in the present embodiment is E13B for easy understanding. FIG. 1 shows a list of characters in the E13B font.

図2は、一実施形態の磁気インク文字読取装置1の外観を示す斜視図である。   FIG. 2 is a perspective view showing an appearance of the magnetic ink character reading device 1 according to the embodiment.

磁気インク文字読取装置1には、小切手を積載するためのホッパー部2が設けられている。3は小切手を立てた状態で搬送する搬送路であり、ホッパー部2から排出口4まで溝状に形成されている。ホッパー部2に積載された小切手は図示しない搬送機構により1枚ずつ搬送路3を矢印方向に搬送される。なお、排出口4は2箇所設けられ、例えば、正常に磁気インク文字を読めたか否かを振り分け条件に設定すれば、読取結果に応じて小切手は2つの排出口4に振り分けられる。   The magnetic ink character reading device 1 is provided with a hopper portion 2 for stacking checks. A conveyance path 3 conveys the check in a standing state, and is formed in a groove shape from the hopper portion 2 to the discharge port 4. The checks stacked on the hopper 2 are conveyed one by one in the direction of the arrow along the conveyance path 3 by a conveyance mechanism (not shown). Note that the discharge port 4 is provided at two locations. For example, if the distribution condition is set as to whether or not the magnetic ink characters can be read normally, the check is distributed to the two discharge ports 4 according to the reading result.

図3は小切手の一例を示す図である。小切手90には、図3に示すように所定の領域91に磁気インク文字が印字されている。小切手90の領域91は、図3の左側から「補助自行欄II」、「補助自行欄I」、「交換所欄(交換番号、機関コード)」、「自行データ欄(店No・手形No・口座No)」、「金額欄」に分けられ、各欄に磁気情報が記録されている。磁気インク文字は文字の順とは逆に右側から左側に向かって読取処理されるものとして説明する。   FIG. 3 shows an example of a check. On the check 90, magnetic ink characters are printed in a predetermined area 91 as shown in FIG. The area 91 of the check 90 includes, from the left side of FIG. 3, “auxiliary own bank column II”, “auxiliary own bank column I”, “exchange office column (exchange number, institution code)”, “own bank data column (store No. bill no. Account No) ”and“ Money amount column ”, and magnetic information is recorded in each column. The description will be made assuming that the magnetic ink characters are read from the right side to the left side in the reverse order of the characters.

図4は本実施形態の磁気インク文字読取装置1の内部構成を示すブロック図である。   FIG. 4 is a block diagram showing the internal configuration of the magnetic ink character reading device 1 of this embodiment.

図4の概略の内部構成図に示すように、磁気インク文字読取装置1は搬送路3を搬送される小切手から情報を読取る磁気読取部10と光学読取部20、メモリ34、およびこれら各部を制御する主制御部31から構成され、ホスト装置40と外部インターフェイス32を介して接続されている。各部はバスライン33を介して接続され、CPU等の主制御部31からの命令を受け取ることのできる構成となっている。搬送路3に沿って記載されている矢印Dは、小切手の搬送方向を示す。   As shown in the schematic internal configuration diagram of FIG. 4, the magnetic ink character reading device 1 controls the magnetic reading unit 10, the optical reading unit 20, the memory 34, and these units that read information from a check conveyed on the conveyance path 3. The main control unit 31 is connected to the host device 40 via the external interface 32. Each unit is connected via a bus line 33 and can receive a command from a main control unit 31 such as a CPU. An arrow D written along the conveyance path 3 indicates the conveyance direction of the check.

磁気読取部10は、小切手に印字された磁気インク文字の中の磁気データを読み取る磁気ヘッド6(磁気データ取得手段)と、磁気ヘッド6によって読み取られた磁気データに、A/D変換や平滑化等の処理を施す磁気データ処理部11と、磁気データから各文字の位置情報を検出する文字切り出し部15と、後述する磁気認識処理の際に使用される磁気データ辞書テーブル12と、文字切り出し部15によって切り出された各文字データに対し、磁気データ辞書テーブル12を用いて認識処理を行う磁気認識処理部13(磁気的文字認識手段)とから構成される。本実施形態の文字切り出し部15や磁気認識処理部13はハードウエアで構成されているが、それらの一部又は全てを主制御部31等のCPUのソフトウエアとして構成することもできる。なお、磁気ヘッド6内には、小切手が流れる上流側に磁気インクを磁化する部分が配置され、下流側に磁化された磁気インクを読み取る読み取りヘッドが配置されている。   The magnetic reading unit 10 is a magnetic head 6 (magnetic data acquisition means) that reads magnetic data in magnetic ink characters printed on a check, and A / D conversion or smoothing is performed on the magnetic data read by the magnetic head 6. A magnetic data processing unit 11 that performs processing such as the above, a character cutout unit 15 that detects position information of each character from the magnetic data, a magnetic data dictionary table 12 that is used in magnetic recognition processing described later, and a character cutout unit 15 includes a magnetic recognition processing unit 13 (magnetic character recognition means) that performs recognition processing on each character data clipped by 15 using the magnetic data dictionary table 12. Although the character cutout unit 15 and the magnetic recognition processing unit 13 of the present embodiment are configured by hardware, some or all of them can be configured as CPU software such as the main control unit 31. In the magnetic head 6, a portion for magnetizing the magnetic ink is arranged on the upstream side where the check flows, and a reading head for reading the magnetized magnetic ink is arranged on the downstream side.

また、光学読取部20は、小切手中の磁気インク文字を光学的に読み取る画像読取センサ7と、画像読取センサ7(光学文字読取手段)によって読み取られた画像データを、光学認識処理に好適な画像とするための各種処理を行う光学データ処理部21と、後述する光学的文字認識処理の際に使用される光学データ辞書テーブル23と、画像データに対し、光学データ辞書テーブル23を用いて光学的文字認識処理を行う光学認識処理部22(光学的文字認識手段)とから構成される。本実施形態の光学データ処理部21や光学認識処理部22はハードウエアで構成されているが、それらの一部又は全てを主制御部31等のCPUのソフトウエアとして構成することもできる。   Further, the optical reading unit 20 optically reads the magnetic ink character in the check and the image data read by the image reading sensor 7 (optical character reading means) is an image suitable for optical recognition processing. An optical data processing unit 21 that performs various processes to achieve the above, an optical data dictionary table 23 that is used in an optical character recognition process to be described later, and optical data dictionary table 23 for image data. An optical recognition processing unit 22 (optical character recognition means) that performs character recognition processing is included. Although the optical data processing unit 21 and the optical recognition processing unit 22 of the present embodiment are configured by hardware, some or all of them may be configured as CPU software such as the main control unit 31.

次に、磁気インク文字読取装置1における文字認識の一連の処理の流れを、図5のフローチャートを用いて説明する。   Next, a flow of a series of character recognition processing in the magnetic ink character reading device 1 will be described with reference to the flowchart of FIG.

ステップS101では、磁気ヘッド6から出力される読取信号を用いて、小切手に印字された磁気インク中の磁気データの取得が行われる。   In step S101, magnetic data in the magnetic ink printed on the check is acquired using the read signal output from the magnetic head 6.

小切手に印刷された磁気インク文字には磁性材料が混合されている。そのため、小切手が搬送路3によって搬送され、磁気ヘッド6の前を通過すると、磁気インク文字は磁気インクを磁化する部分で磁化される。磁化された磁気インク文字が読み取りヘッドの前を通過すると、磁気インク文字の形に応じて磁束が変化するため、文字の形に応じた波形が磁気ヘッド6から出力される。   Magnetic material is mixed with the magnetic ink characters printed on the check. Therefore, when the check is conveyed by the conveyance path 3 and passes in front of the magnetic head 6, the magnetic ink character is magnetized at a portion that magnetizes the magnetic ink. When the magnetized magnetic ink character passes in front of the reading head, the magnetic flux changes according to the shape of the magnetic ink character, so that a waveform corresponding to the shape of the character is output from the magnetic head 6.

図6に、E13Bフォントの一つである「0」と「1」について、磁気ヘッドにて磁気情報を読み取った際の読取信号の波形を示す。左側が「0」を磁気ヘッドで読み取った際の波形、右側が「1」のものである。縦軸は出力電圧値(128=0V)であり、横軸は時間の経過を表す。   FIG. 6 shows a waveform of a read signal when magnetic information is read by a magnetic head for “0” and “1” which are one of E13B fonts. The left side is the waveform when “0” is read by the magnetic head, and the right side is the waveform of “1”. The vertical axis represents the output voltage value (128 = 0V), and the horizontal axis represents the passage of time.

磁気ヘッド6から出力された読取信号(磁気データ)は、磁気データ処理部11に送られる。   The read signal (magnetic data) output from the magnetic head 6 is sent to the magnetic data processing unit 11.

磁気データ処理部11では、取得した磁気データに対しA/D変換を行い、磁気データをデジタルデータに変換する。なお、A/D変換については、既知の技術であるため、ここでは詳細な説明を省略する。   The magnetic data processing unit 11 performs A / D conversion on the acquired magnetic data, and converts the magnetic data into digital data. Since A / D conversion is a known technique, detailed description thereof is omitted here.

ステップS102では、画像読取センサ7により、小切手の磁気インク文字部分の光学読取(画像データ取得)が行われる。読み取られた画像は、光学データ処理部21にて、シェーディング処理、ガンマ補正などの数々の画像処理が施され加工される。シェーディング処理、ガンマ補正については、既知の技術であるため、ここでは詳細な説明を省略する。   In step S102, the image reading sensor 7 performs optical reading (image data acquisition) of the magnetic ink character portion of the check. The read image is processed by the optical data processing unit 21 through various image processing such as shading processing and gamma correction. Since the shading process and the gamma correction are known techniques, a detailed description thereof is omitted here.

ステップS103では、ステップS101でデジタルデータに変換された磁気データ(以下、サンプリング波形という)から、磁気文字部分が切り出される。   In step S103, a magnetic character portion is cut out from the magnetic data (hereinafter referred to as a sampling waveform) converted into digital data in step S101.

文字の切り出しは、文字開始位置を検出することにより確定する。具体的には、サンプリング波形の先端を小切手の右端のデータとし、文字開始位置を検出する。そのために、まずサンプリング波形の最初のピークを検出する。次に、最初に見つかったピーク位置を基にして文字開始位置を求めるとともに、文字開始位置からの予め定められた所定の範囲を1文字分のデータとして切り出す。   The character cutout is determined by detecting the character start position. Specifically, the character start position is detected using the tip of the sampling waveform as the right end data of the check. For this purpose, first, the first peak of the sampling waveform is detected. Next, the character start position is obtained based on the peak position found first, and a predetermined range from the character start position is cut out as data for one character.

ステップS103での文字切り出し処理の一連の流れを、図7のフローチャートを用いて説明する。なお、説明文中のDはサンプリングデータを表し、D(X)は、Xの位置のサンプリングデータであることを表す。また、説明文中のRは1文字を切り出すために用いられる、文字フォントやサンプリングレートにより一意に決定される定数である。   A series of flow of character cutout processing in step S103 will be described with reference to the flowchart of FIG. In the description, D represents sampling data, and D (X) represents sampling data at the position of X. R in the description is a constant uniquely determined by the character font and sampling rate used to cut out one character.

まず、小切手の右端からデータを走査していくために、Xを0にリセットし、同時に、文字数カウントNも0にリセットする(ステップS201)。次に、D(X)を所定の閾値Kと比較し(ステップS202)、D(X)がKより大きければ(ステップS202:Yes)、D(X)と、D(X+1)とを比較する(ステップS204)。D(X)がD(X+1)より大きければ(ステップS204:Yes)、D(X)は、波形データにおける最初の頂点位置であると判断できる。そこで、XからX+RまでのデータがN番目の文字データであることを表す位置情報がメモリ34に保存される(ステップS205)。その後、XをRだけ進め、Nを1つカウントする(ステップS206)。D(X)がKより小さい(ステップS202:No)か、またはD(X)がD(X+1)より小さい場合(ステップS204:No)は、Xを1つ進める(ステップS203)。そして、Xが小切手の右端から左端までのサンプリングデータの長さLengthよりも少ないか否か判断し(ステップS207)、少ない場合(ステップS207:Yes)は、ステップS202に戻り、等しい又は超えている場合(ステップS207:No)、文字切り出し処理の一連の流れを終了しステップS104へと進む。   First, in order to scan data from the right end of the check, X is reset to 0, and at the same time, the character count N is also reset to 0 (step S201). Next, D (X) is compared with a predetermined threshold value K (step S202). If D (X) is larger than K (step S202: Yes), D (X) is compared with D (X + 1). (Step S204). If D (X) is larger than D (X + 1) (step S204: Yes), it can be determined that D (X) is the first vertex position in the waveform data. Therefore, position information indicating that the data from X to X + R is the Nth character data is stored in the memory 34 (step S205). Thereafter, X is advanced by R, and N is counted by 1 (step S206). If D (X) is smaller than K (step S202: No) or D (X) is smaller than D (X + 1) (step S204: No), X is advanced by one (step S203). Then, it is determined whether or not X is less than the length Length of the sampling data from the right end to the left end of the check (step S207). If it is smaller (step S207: Yes), the process returns to step S202, and is equal to or exceeds. In the case (step S207: No), the series of character cut-out processing ends, and the process proceeds to step S104.

ステップS104では、文字数カウントNを0にリセットする。   In step S104, the character count N is reset to zero.

ステップS105では、磁気認識処理部13による、N文字目の磁気的文字認識処理(MICR認識処理)を行う。   In step S105, the N-th magnetic character recognition process (MICR recognition process) is performed by the magnetic recognition processing unit 13.

図8は、ステップS105におけるMICR認識処理の一連の流れを示すフローチャートである。   FIG. 8 is a flowchart showing a series of MICR recognition processing in step S105.

まずステップS301では、磁気認識処理部13は、N文字目の磁気データを取得する。すなわち、メモリ34に保存された位置情報データを参照し、磁気データの中からN文字目の磁気データに該当する部分の波形を切り出す。   First, in step S301, the magnetic recognition processing unit 13 acquires magnetic data of the Nth character. That is, with reference to the position information data stored in the memory 34, the waveform of the portion corresponding to the Nth magnetic data is cut out from the magnetic data.

ステップS302では、磁気認識処理部13はN文字目の磁気データについて、ピーク位置の検出とピーク位置データの作成を行う。   In step S302, the magnetic recognition processing unit 13 detects the peak position and creates peak position data for the Nth character magnetic data.

本実施形態での磁気インク文字のフォントであるE13Bフォントは、1文字分の幅を時間軸に対して8等分に分割すると、磁気ヘッドで文字を読み取った時に得られる読取信号のピークは、それぞれ異なるブロックに存在するよう構成されている。そこで、1文字毎に8等分すると共に、磁気信号の何処にピークがあるかを調べピーク位置を検出する。さらに、ピーク位置毎の振幅レベルを調べ、ピーク位置の時間と振幅レベルから成るピーク位置データを作成する。   When the E13B font, which is the font of magnetic ink characters in this embodiment, is divided into eight equal parts with respect to the time axis, the peak of the read signal obtained when the character is read with the magnetic head is Each block is configured to exist in a different block. Therefore, each character is divided into eight equal parts, and the peak position is detected by examining where the peak is in the magnetic signal. Further, the amplitude level for each peak position is examined, and peak position data including the time and amplitude level of the peak position is created.

ピークの検出方法としては、例えば、サンプリング波形の振幅レベルが増加から減少に転じた点を正のピークとし、サンプリング波形の振幅レベルが減少から増加に転じた点を負のピークとして検出する方法がある。なお、ピークの検出方法は、この他の様態であっても構わない。   As a peak detection method, for example, a method in which a point at which the amplitude level of the sampling waveform has changed from an increase to a decrease is detected as a positive peak, and a point at which the amplitude level of the sampling waveform has changed from a decrease to an increase is detected as a negative peak. is there. The peak detection method may be other modes.

例えば、図9(a)のようなデジタル信号について、上記の方法でピーク位置を表す信号を図示すると図9(b)のようになり、ピーク数が6であることを表している。ピーク位置データを図示した場合は図9(c)のようになる。   For example, for a digital signal as shown in FIG. 9A, a signal representing a peak position by the above method is shown in FIG. 9B, which indicates that the number of peaks is six. When the peak position data is illustrated, it is as shown in FIG.

ステップS303では、磁気認識処理部13は、ステップS302によって得られたピーク位置データに基づいてピーク位置の時間と振幅レベルと極性の関係をテーブルとして作成する。このテーブルのことをサンプルテーブルと呼ぶ。図10に、サンプルテーブルの一例を示す。   In step S303, the magnetic recognition processing unit 13 creates a relationship between the peak position time, amplitude level, and polarity as a table based on the peak position data obtained in step S302. This table is called a sample table. FIG. 10 shows an example of the sample table.

なお、図10ではピーク数が4であったとしてサンプルテーブルを作成しているが、実際にはこの限りではない。本実施形態では、説明を分かり易くするため、N文字目の磁気データからピークが4つ検出された場合について説明する。   In FIG. 10, the sample table is created on the assumption that the number of peaks is 4, but this is not the case. In the present embodiment, a case where four peaks are detected from the magnetic data of the Nth character will be described for easy understanding.

ステップS304では、磁気認識処理部13は、磁気データ辞書テーブル12の中にある個々のデータテーブルと、ステップS303にて作成されたサンプルテーブルを比較する。   In step S304, the magnetic recognition processing unit 13 compares each data table in the magnetic data dictionary table 12 with the sample table created in step S303.

磁気データ辞書テーブル12には、予め文字毎にピーク位置の時間、振幅レベル、および極性を示す個々の辞書テーブルが格納されている。図11は1つの文字の辞書テーブルを一例として示すが、全てのMICR文字(14種類)に関して辞書テーブルが作成されている。   The magnetic data dictionary table 12 stores in advance individual dictionary tables indicating the peak position time, amplitude level, and polarity for each character. FIG. 11 shows a dictionary table of one character as an example, but a dictionary table is created for all MICR characters (14 types).

なお、図11の辞書テーブルの例では、ピークが4つである文字の辞書テーブルとなっているが、ピーク数はこの限りではない。   In the example of the dictionary table of FIG. 11, the dictionary table is a character having four peaks, but the number of peaks is not limited to this.

ステップS304において、磁気認識処理部13は、ステップS303で作成したサンプルテーブルと、磁気データ辞書テーブル12が持つすべての辞書テーブルとを比較する。すなわち、サンプルテーブルの各ピークと、すべての辞書テーブルの各ピークとの二次元上の距離を、各々算出する。   In step S304, the magnetic recognition processing unit 13 compares the sample table created in step S303 with all dictionary tables included in the magnetic data dictionary table 12. That is, the two-dimensional distance between each peak in the sample table and each peak in all dictionary tables is calculated.

図12は、辞書テーブルの波形データとサンプルテーブルの波形データを重て表示した図である。縦軸は振幅を表し、横軸は時間をあらわす。実線にて表された波形はサンプルテーブルが表す波形データであり、一方、点線にて表された波形は比較される辞書テーブルが表す波形データである。   FIG. 12 is a diagram in which the waveform data of the dictionary table and the waveform data of the sample table are displayed in an overlapping manner. The vertical axis represents amplitude, and the horizontal axis represents time. The waveform represented by the solid line is the waveform data represented by the sample table, while the waveform represented by the dotted line is the waveform data represented by the dictionary table to be compared.

なお、以下の説明では、図10で示したサンプルテーブルと、図11で示した辞書テーブルとを比較した場合について述べる。また、図10および図11のテーブルに含まれている極性は、本実施形態では使用されない。   In the following description, a case where the sample table shown in FIG. 10 is compared with the dictionary table shown in FIG. 11 will be described. Further, the polarities included in the tables of FIGS. 10 and 11 are not used in this embodiment.

磁気認識処理部13はサンプルテーブルの1つ目の項(St_0、Sl_0)に対して、辞書テーブルにある4つの項の二次元上の距離L0、L1、L2、L3を算出する。距離L0は図12に示すようにサンプルテーブルが表す波形の最初のピークS−peak0から辞書テーブルが表す波形の最初のピークD−peak0までの距離、距離L1はサンプルテーブルが表す波形の最初のピークS−peak0から辞書テーブルが表す波形の2番目のピークD−peak1までの距離、距離L2はサンプルテーブルが表す波形の最初のピークS−peak0から辞書テーブルが表す波形の3番目のピークD−peak2までの距離、距離L3はサンプルテーブルが表す波形の最初のピークS−peak0から辞書テーブルが表す波形の4番目のピークD−peak3までの距離である。これらの距離L0、L1、L2、L3は以下の演算で得られる。   The magnetic recognition processing unit 13 calculates the two-dimensional distances L0, L1, L2, and L3 of the four terms in the dictionary table with respect to the first term (St_0, Sl_0) of the sample table. The distance L0 is the distance from the first peak S-peak0 of the waveform represented by the sample table to the first peak D-peak0 of the waveform represented by the dictionary table as shown in FIG. 12, and the distance L1 is the first peak of the waveform represented by the sample table. The distance from the first peak D-peak1 of the waveform represented by the sample table to the third peak D-peak2 of the waveform represented by the dictionary table from the distance S2 from the first peak D-peak1 of the waveform represented by the sample table. The distance L3 is a distance from the first peak S-peak0 of the waveform represented by the sample table to the fourth peak D-peak3 of the waveform represented by the dictionary table. These distances L0, L1, L2, and L3 are obtained by the following calculation.

L0=√{A×(St_0−Dt_0)2+B×(Sl_0−Dl_0)2
L1=√{A×(St_0−Dt_1)2+B×(Sl_0−Dl_1)2
L2=√{A×(St_0−Dt_2)2+B×(Sl_0−Dl_2)2
L3=√{A×(St_0−Dt_3)2+B×(Sl_0−Dl_3)2
ここで、A、Bは所定の定数である。
L0 = √ {A × (St — 0−Dt — 0) 2 + B × (Sl — 0—Dl — 0) 2 }
L1 = √ {A × (St — 0−Dt — 1) 2 + B × (Sl — 0—Dl — 1) 2 }
L2 = √ {A × (St — 0−Dt — 2 ) 2 + B × (Sl — 0—Dl — 2 ) 2 }
L3 = √ {A × (St — 0−Dt — 3) 2 + B × (Sl — 0—Dl — 3) 2 }
Here, A and B are predetermined constants.

次に、磁気認識処理部13は得られた距離に基づいて、サンプルテーブルの1つ目の項は、磁気データ辞書テーブル12の中の比較される文字の辞書テーブルにある4つの項の中でどれに最も近いかを総当りで判定し、最も近い項との間の距離を記憶しておく。比較される文字の辞書テーブルにおいて最も近いと判定された項は、以降省かれる。続いて、サンプルテーブルの2つ目の項(St_1、Sl_1)に対して残り3つの項との間の距離を算出し、最も近い項との間の距離を記憶しておくとともに、最も近い項を次回の比較から省く。次に、3つ目の項(St_2、Sl_2)に対して残り2つの項との間の距離を算出し、最も近い項との間の距離を記憶しておくとともに、最も近い項を次回の比較から省く。最後に、4つ目の項(St_3、Sl_3)に対してに対して残りの項との間の距離を算出して記憶する。このように辞書テーブル12の中の比較される文字の辞書テーブルの項との二次元上の距離を演算し、それぞれ最も近いピークを判定する。なお、時間軸の単位と振幅軸の単位を調整して、二次元図面上で1文字分の波形の縦横比が極端に縦長や横長にならないように、上記二次元上の距離を演算する際に考慮されているものとする。又は、定数A、Bを調整し、時間と振幅の演算時の重み付けのバランスをとっておくものとする。   Next, based on the obtained distance, the magnetic recognition processing unit 13 determines that the first term of the sample table is the four terms in the dictionary table of characters to be compared in the magnetic data dictionary table 12. Which is closest is determined by brute force, and the distance to the nearest term is stored. The term determined to be the closest in the dictionary table of the characters to be compared is subsequently omitted. Subsequently, the distance between the second term (St_1, Sl_1) of the sample table and the remaining three terms is calculated, the distance between the closest terms is stored, and the closest term is stored. Is omitted from the next comparison. Next, the distance between the remaining two terms is calculated for the third term (St_2, Sl_2), the distance between the closest terms is stored, and the closest term is Omit from comparison. Finally, the distance between the fourth term (St_3, Sl_3) and the remaining terms is calculated and stored. Thus, the two-dimensional distance from the dictionary table term of the character to be compared in the dictionary table 12 is calculated, and the closest peak is determined. When calculating the two-dimensional distance by adjusting the unit of time axis and the unit of amplitude axis so that the aspect ratio of the waveform for one character on the two-dimensional drawing does not become extremely long or wide. Is considered. Alternatively, the constants A and B are adjusted to balance weighting when calculating time and amplitude.

このように最後まで、つまり、4つ目の項(St_3、Sl_3)まで判定すると、それぞれ最も近いと判定した距離を加算し、その総和値を記憶しておく。以下、同様に図10のサンプルテーブルに対して辞書テーブル12の中の次の文字、その次の文字というように順次最も近いと判定した項との距離の総和を算出していく。   As described above, when the determination is made up to the end, that is, the fourth term (St_3, S1_3), the distances determined to be closest to each other are added, and the sum value is stored. Similarly, the sum of distances from the sample table shown in FIG. 10 to the next character in the dictionary table 12 and the term determined to be closest to the next character is calculated.

ステップS305では、ステップS304にて算出された距離の総和から、認識候補文字の決定を行う。   In step S305, recognition candidate characters are determined from the sum of the distances calculated in step S304.

具体的には、ステップS304にて算出した距離の総和が最小となった辞書テーブル12の中の文字を第1候補文字とし、以下、総和の小さい順から順番に第2候補、第3候補(複数の候補)と決定していく。本実施形態では、総和の小さい順から3番目までを、認識候補文字とする。   Specifically, the character in the dictionary table 12 in which the sum of the distances calculated in step S304 is minimized is set as the first candidate character, and the second candidate, the third candidate ( Multiple candidates). In this embodiment, the third to the third smallest in the sum are used as recognition candidate characters.

また、その文字の辞書テーブルと比較した際に算出した総和は、MICR文字読み取り結果の確信度(スコア)と同義である。総和が少なければ、辞書データとの一致率が高いので、認識結果の信頼性が高く、逆に、総和が多ければ、辞書データとの一致率が少なく、認識結果の信頼性が低いと判断することができる。本実施形態では、ステップS305にて決定された第1〜第3の認識候補文字の識別情報と、それぞれの確信度とをペアにし、メモリ34に保存する。なお第1〜第3の認識候補文字の識別情報を用いるのは一例であり、認識候補文字数は3より多くても少なくてもよい。ステップS305の一連の処理を終えると、磁気読取部10は、MICRデータ認識処理の一連の処理を終了し、ステップS106に進み、処理を続ける。   Further, the sum calculated when compared with the dictionary table of the character is synonymous with the certainty (score) of the MICR character reading result. If the sum is small, the match rate with the dictionary data is high, so the recognition result is highly reliable. Conversely, if the sum is large, the match rate with the dictionary data is low and the recognition result is judged to be low in reliability. be able to. In the present embodiment, the identification information of the first to third recognition candidate characters determined in step S 305 and the respective certainty factors are paired and stored in the memory 34. Note that the identification information of the first to third recognition candidate characters is used as an example, and the number of recognition candidate characters may be more or less than three. When the series of processing in step S305 is completed, the magnetic reading unit 10 ends the series of MICR data recognition processing, proceeds to step S106, and continues the processing.

ステップS106では、ステップS105で得られたMICR認識結果に対して、更にOCRによる文字認識が必要かどうかを判断する。   In step S106, it is determined whether or not character recognition by OCR is further required for the MICR recognition result obtained in step S105.

図13は、更にOCRによる文字認識が必要かどうかを判断するステップS106における一連の流れを示すフローチャートである。   FIG. 13 is a flowchart showing a series of steps in step S106 for determining whether or not character recognition by OCR is necessary.

ステップS401では、ステップS105にて得られた第1候補文字のMICR認識のスコアと、所定の閾値Gを比較する。第1候補文字のスコアが所定の閾値G以下であれば(ステップS401:Yes)、ステップS402に進み、第1候補は十分信頼でき、更なるOCRによる文字認識は不要と判断する。そして第1候補文字を最終的な認識結果とし、ステップS109へと進む。第1候補文字のスコアが所定の閾値Gより大きければ(ステップS401:No)、ステップS403にすすむ。   In step S401, the MICR recognition score of the first candidate character obtained in step S105 is compared with a predetermined threshold G. If the score of the first candidate character is equal to or smaller than the predetermined threshold G (step S401: Yes), the process proceeds to step S402, and it is determined that the first candidate is sufficiently reliable and that further character recognition by OCR is unnecessary. Then, the first candidate character is set as a final recognition result, and the process proceeds to step S109. If the score of the first candidate character is greater than the predetermined threshold G (step S401: No), the process proceeds to step S403.

ステップS403では、第1候補文字のMICR認識のスコアが所定の閾値B(閾値Gよりも大きい値)以上かどうか判断する。第1候補文字のMICR認識のスコアが所定の閾値B以上であれば(ステップS403:Yes)、ステップS404に進み、第1候補はあまりに信頼できないと判断し、読み取り不能文字だったとして扱い、ステップS109へ進む。第1候補文字のMICR認識のスコアが所定の閾値Bより小さければ(ステップS403:No)、更にOCRによる文字認識が必要だとし、ステップS107へと進む。   In step S403, it is determined whether the MICR recognition score of the first candidate character is equal to or greater than a predetermined threshold B (a value greater than the threshold G). If the MICR recognition score of the first candidate character is equal to or greater than the predetermined threshold B (step S403: Yes), the process proceeds to step S404, the first candidate is determined to be too unreliable, and is treated as an unreadable character. Proceed to S109. If the MICR recognition score of the first candidate character is smaller than the predetermined threshold B (step S403: No), it is further determined that character recognition by OCR is necessary, and the process proceeds to step S107.

ステップS107では、OCR認識にて使用される辞書データの選択を行う。   In step S107, dictionary data used in OCR recognition is selected.

磁気データ辞書テーブル12と同様、光学データ辞書テーブル23も、E13Bフォント文字全文字分、すなわち14文字に対してそれぞれの辞書データを有している。光学データ辞書テーブル23が有している辞書データの一例を、図14に示す。図14に示すように、光学データ辞書テーブル23が有している個々の辞書データは、各文字の2値画像データのテンプレートとなっている。以下、光学辞書テーブルが有している各文字の辞書データのことをテンプレートと呼ぶ。図14(a)は、図3に示したE13Bフォントの各文字の辞書の一例であり、図14(b)は、文字「1」のテンプレートの拡大図である。図に示したように文字の高さ方向をx方向とし、x方向と直交する方向をy方向とする。   Similar to the magnetic data dictionary table 12, the optical data dictionary table 23 has dictionary data for all E13B font characters, that is, 14 characters. An example of dictionary data included in the optical data dictionary table 23 is shown in FIG. As shown in FIG. 14, each dictionary data that the optical data dictionary table 23 has is a template of binary image data of each character. Hereinafter, the dictionary data of each character included in the optical dictionary table is referred to as a template. FIG. 14A is an example of the dictionary for each character of the E13B font shown in FIG. 3, and FIG. 14B is an enlarged view of the template for the character “1”. As shown in the figure, the height direction of the character is the x direction, and the direction orthogonal to the x direction is the y direction.

ステップS107では、後段のステップS108で使用するテンプレートとして、ステップS305にて認識された第1〜第3候補文字のテンプレートのみを選択する。例えば、ステップS305にて第1候補文字が「2」、第2候補文字が「5」、第3候補文字が「8」と決定されたのであれば、ステップS107において選択されるテンプレートは、「2」、「5」、「8」となる。   In step S107, only the first to third candidate character templates recognized in step S305 are selected as templates to be used in the subsequent step S108. For example, if it is determined in step S305 that the first candidate character is “2”, the second candidate character is “5”, and the third candidate character is “8”, the template selected in step S107 is “ 2 ”,“ 5 ”, and“ 8 ”.

ステップS108では、ステップS107で選択されたテンプレートを用いて、N文字目のOCR認識処理を行う。   In step S108, an OCR recognition process for the Nth character is performed using the template selected in step S107.

図15は、OCR認識処理の一連の処理の流れを示すフローチャートである。   FIG. 15 is a flowchart showing a flow of a series of processes of the OCR recognition process.

ステップS501では、ステップS102で得られた画像データから、N文字目の位置の画像データの切り出しを行う。メモリ34に保存された各文字の位置情報は、磁気データに関する位置情報であるので、これを画像データ(ピクセル数)に換算する必要がある。具体的には、以下の式を用いて磁気データに関する位置情報をピクセル単位の位置情報に換算する。   In step S501, the image data at the position of the Nth character is cut out from the image data obtained in step S102. Since the position information of each character stored in the memory 34 is position information regarding magnetic data, it is necessary to convert this into image data (number of pixels). Specifically, the position information regarding the magnetic data is converted into the position information in units of pixels using the following formula.

(SPC)×(CPS)×(DPI)÷2.54
SPC:1文字あたりの磁気データのサンプル数
CPS:1サンプルあたりのセンチメートル数
DPI: 画像の解像度(ドット/インチ)
上記の式によって1文字あたりの横方向のドット数を計算し、N文字目の画像データを切り出す。
(SPC) × (CPS) × (DPI) ÷ 2.54
SPC: Number of magnetic data samples per character CPS: Centimeters per sample DPI: Image resolution (dots / inch)
The number of dots in the horizontal direction per character is calculated by the above formula, and the image data of the Nth character is cut out.

ステップS502では、ステップS501にて切り出された2値画像データと、ステップS107で選択されたテンプレートとの比較を行う。具体的には、認識対象範囲の中のx方向24ドット、y方向19ドットの比較区画を、ステップS107で選択された各テンプレートと比較対照し、456個のドットのうち、不一致であったドット数をカウントし、不一致率として保持する。   In step S502, the binary image data cut out in step S501 is compared with the template selected in step S107. Specifically, the comparison area of 24 dots in the x direction and 19 dots in the y direction in the recognition target range is compared with each template selected in step S107, and among the 456 dots, there is a mismatched dot. Count the number and keep it as a discrepancy rate.

ステップS503では、ステップS502でカウントされた各テンプレートとの不一致率の結果から、認識結果文字を決定する。   In step S503, a recognition result character is determined from the result of the mismatch rate with each template counted in step S502.

まず、各テンプレートとの不一致率の中で、最も不一致率が低かったテンプレートを決定する。次に、最も不一致率が低かったテンプレートの不一致率が、所定の定数P以下であれば、そのテンプレートの文字を認識結果とし、ステップS109へ進む。逆に、最も不一致率が低かったテンプレートの不一致率が、所定の定数Pより高い場合は、N文字目は読み取り不能であるとし、ステップS109へ進む。   First, the template having the lowest mismatch rate among the mismatch rates with each template is determined. Next, if the mismatch rate of the template having the lowest mismatch rate is equal to or smaller than a predetermined constant P, the character of the template is taken as the recognition result, and the process proceeds to step S109. On the contrary, when the mismatch rate of the template having the lowest mismatch rate is higher than a predetermined constant P, it is determined that the Nth character cannot be read, and the process proceeds to step S109.

ステップS109では、認識処理が最後の文字まで終わったかどうか判断する。認識処理が最後の文字まで終わっていない場合(ステップS109:No)、ステップS110へ進み、Nを1つインクリメントし、ステップS105へ戻り処理を続ける。認識処理が最後の文字まで終わった場合(ステップS109:Yes)、磁気インク文字読取装置1は、文字認識結果をホスト装置40に送信し、一連の処理を終了する。   In step S109, it is determined whether the recognition process has been completed up to the last character. If the recognition process is not completed up to the last character (step S109: No), the process proceeds to step S110, N is incremented by 1, and the process returns to step S105 to continue the process. When the recognition process has been completed up to the last character (step S109: Yes), the magnetic ink character reading device 1 transmits a character recognition result to the host device 40, and ends a series of processes.

本実施形態では辞書データテーブルの極性データは使用していないが、例えば振幅を+127から−128までとした場合等では、極性を利用して二次元距離の算出を行うことができる。また、第3候補文字があまりに悪いスコアであれば、第3候補文字の辞書情報をOCRに使用しないようにしてもよい。また、第2候補文字があまりに悪いスコアであれば、第2候補文字と第3候補文字の辞書情報をOCRに使用しないようにしてもよい。また、いつでも第1候補文字の辞書情報だけをOCRに使用し、OCRの認識結果が悪ければ認識不能と判断してもよい。また、光学データ辞書テーブルが備える画像データのテンプレートは2値画像であるが、光学読取部から取得される画像データが多値画像であった場合は、多値画像に適用できるようなテンプレートにしておくことが望ましい。また、OCRの方法は、本実施例にて開示した方法に限らない。このように、本実施形態では、光学読取部での光学認識処理の際に画像データとの比較の対象となる文字の辞書情報を磁気認識処理の結果に応じて変更したり限定したりする構成となっている。光学認識処理の際に、前段の磁気認識処理の情報を活用することで、磁気インク文字の認識結果を向上させ、かつ、処理時間の高速化が期待できる。   In the present embodiment, the polarity data of the dictionary data table is not used. However, for example, when the amplitude is from +127 to -128, the two-dimensional distance can be calculated using the polarity. If the third candidate character has a too bad score, the dictionary information of the third candidate character may not be used for OCR. Further, if the second candidate character has a too bad score, the dictionary information of the second candidate character and the third candidate character may not be used for OCR. Alternatively, only the dictionary information of the first candidate character may be used for OCR at any time, and it may be determined that recognition is not possible if the OCR recognition result is bad. In addition, the image data template provided in the optical data dictionary table is a binary image. However, if the image data acquired from the optical reading unit is a multi-value image, the template can be applied to the multi-value image. It is desirable to keep it. Further, the OCR method is not limited to the method disclosed in the present embodiment. As described above, in the present embodiment, the configuration is such that the dictionary information of the characters to be compared with the image data is changed or limited according to the result of the magnetic recognition processing in the optical recognition processing in the optical reading unit. It has become. By utilizing the information of the previous magnetic recognition process during the optical recognition process, the magnetic ink character recognition result can be improved and the processing time can be increased.

より詳しくは、以下のような効果がある。   More specifically, there are the following effects.

図17は、磁気インク文字「0」、「8」について、磁気情報を磁気リーダで読み取った際の波形データの例である。図17(a)が、磁気インク文字「0」の波形データ、図17(b)が、磁気インク文字「8」の波形データを表す。縦方向が磁気情報の信号強度、横方向が時間の経過を表す。図17に示すように、磁気インク文字「0」「8」の波形データはその形状において大変異なっている。したがって、磁気インク文字読取部が、「0」を「8」と誤認識することは、ほとんどないと考えられる。   FIG. 17 is an example of waveform data when magnetic information is read by a magnetic reader for magnetic ink characters “0” and “8”. FIG. 17A shows the waveform data of the magnetic ink character “0”, and FIG. 17B shows the waveform data of the magnetic ink character “8”. The vertical direction represents the signal intensity of magnetic information, and the horizontal direction represents the passage of time. As shown in FIG. 17, the waveform data of the magnetic ink characters “0” and “8” are very different in their shapes. Therefore, it is considered that the magnetic ink character reading unit hardly recognizes “0” as “8”.

そこで、本実施形態では、図16を用いて示したような、光学的文字認識処理における誤読の可能性があっても、又は磁気インク文字読み取り部での磁気文字認識結果が不十分であっても、光学的文字認識処理工程において磁気文字認識工程の結果を活用することで、優れた認識率を確保できる構成とした。こうすることで、磁気文字認識工程と光学的文字認識処理工程とが互いに弱点を補い、磁気インク文字の認識結果の向上および処理時間の高速化が期待できる。   Therefore, in this embodiment, even if there is a possibility of misreading in the optical character recognition processing as shown in FIG. 16, or the magnetic character recognition result in the magnetic ink character reading unit is insufficient. In the optical character recognition process, the result of the magnetic character recognition process is utilized to secure an excellent recognition rate. By doing so, the magnetic character recognition step and the optical character recognition processing step compensate for each other's weaknesses, and it can be expected that the magnetic ink character recognition result is improved and the processing time is increased.

E13Bフォントの文字の一覧を示す図である。It is a figure which shows the list of the character of E13B font. 一実施形態の磁気インク文字読取装置の外観を示す斜視図である。It is a perspective view which shows the external appearance of the magnetic ink character reader of one Embodiment. 小切手の一例を示す図である。It is a figure which shows an example of a check. 一実施形態の磁気インク文字読取装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the magnetic ink character reader of one Embodiment. 磁気インク文字読取装置における文字認識の一連の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a series of processes of character recognition in a magnetic ink character reader. E13Bフォントの一部である「0」と「1」について、磁気ヘッドにて磁気情報を読み取った際の波形を示す図である。It is a figure which shows the waveform at the time of reading magnetic information with a magnetic head about "0" and "1" which are a part of E13B font. 文字切り出し処理の一連の流れを示すフローチャートである。It is a flowchart which shows a series of flows of a character cut-out process. MICR認識処理の一連の流れを示すフローチャートである。It is a flowchart which shows a series of flows of a MICR recognition process. デジタル信号、ピーク位置信号、ピーク値データの例を示す図である。It is a figure which shows the example of a digital signal, a peak position signal, and peak value data. サンプルテーブルの一例を示す図である。It is a figure which shows an example of a sample table. 辞書テーブルの一例を示す図である。It is a figure which shows an example of a dictionary table. 辞書テーブルの波形データとサンプルテーブルの波形データを重ねて表示した図である。It is the figure which displayed the waveform data of the dictionary table, and the waveform data of the sample table in an overlapping manner. OCRによる再認識が必要かどうかを判断する一連の流れを示すフローチャートである。It is a flowchart which shows a series of flows which judge whether the re-recognition by OCR is required. E13Bフォントの各文字のテンプレートの一例を示す図である。It is a figure which shows an example of the template of each character of E13B font. OCR認識の一連の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a series of processes of OCR recognition. 実際の小切手の磁気インク文字周辺の拡大図である。It is an enlarged view around the magnetic ink character of an actual check. 磁気インク文字の波形データの例を示す図である。It is a figure which shows the example of the waveform data of a magnetic ink character.

符号の説明Explanation of symbols

1 磁気インク文字読取装置
2 ホッパー部
3 搬送路
4 排出口
6 磁気ヘッド
7 画像読取センサ
10 磁気読取部
11 磁気データ処理部
12 磁気データ辞書テーブル
13 磁気認識処理部
15 文字切り出し部
20 光学読取部
21 光学データ処理部
22 光学認識処理部
23 光学データ辞書テーブル
31 主制御部
32 外部インターフェイス
33 アドレスバス
34 メモリ
40 ホスト装置
90 小切手
91 磁気インク文字部分
100 磁気インク文字「0」
DESCRIPTION OF SYMBOLS 1 Magnetic ink character reader 2 Hopper part 3 Conveyance path 4 Outlet 6 Magnetic head 7 Image reading sensor 10 Magnetic reading part 11 Magnetic data processing part 12 Magnetic data dictionary table 13 Magnetic recognition process part 15 Character cutout part 20 Optical reading part 21 Optical data processing unit 22 Optical recognition processing unit 23 Optical data dictionary table 31 Main control unit 32 External interface 33 Address bus 34 Memory 40 Host device 90 Check 91 Magnetic ink character part 100 Magnetic ink character “0”

Claims (3)

原稿に印字された磁気インク文字に含まれる磁気データを取得する磁気データ取得手段と、
前記磁気データから、前記磁気インク文字を認識する磁気的文字認識手段と、
前記磁気インク文字を光学的に読み取り、画像データを取得する光学文字読取手段と、
前記画像データから、前記磁気インク文字を認識する光学的文字認識手段と、
を備え、
前記光学的文字認識手段は、前記磁気的文字認識手段の認識結果である認識候補文字に基づいて前記磁気インク文字を認識することを特徴とする磁気インク文字読取装置。
Magnetic data acquisition means for acquiring magnetic data contained in magnetic ink characters printed on a document;
Magnetic character recognition means for recognizing the magnetic ink characters from the magnetic data;
Optical character reading means for optically reading the magnetic ink characters and acquiring image data;
Optical character recognition means for recognizing the magnetic ink characters from the image data;
With
The magnetic ink character reading device, wherein the optical character recognition unit recognizes the magnetic ink character based on a recognition candidate character that is a recognition result of the magnetic character recognition unit.
前記磁気的文字認識手段は、複数の認識候補文字を決定することを特徴とする請求項1に記載の磁気インク文字読取装置。   The magnetic ink character reader according to claim 1, wherein the magnetic character recognition unit determines a plurality of recognition candidate characters. 原稿に印字された磁気インク文字に含まれる磁気データを取得する磁気データ取得手段を用いて、前記磁気データを取得する磁気データ取得工程と、
前記磁気データから、前記磁気インク文字を認識する磁気的文字認識工程と、
原稿に印字された磁気インク文字を読み取る光学文字読取手段を用いて、画像データを取得する画像データ取得工程と、
前記画像データから、前記磁気インク文字を認識する光学的文字認識工程と、
を備え、
前記光学的文字認識工程は、前記磁気的文字認識工程の認識結果である認識候補文字に基づいて前記磁気インク文字を認識することを特徴とする磁気インク文字読取装置の制御方法。
A magnetic data acquisition step of acquiring the magnetic data using magnetic data acquisition means for acquiring magnetic data included in the magnetic ink characters printed on the original;
A magnetic character recognition step for recognizing the magnetic ink characters from the magnetic data;
An image data acquisition step of acquiring image data using an optical character reader that reads magnetic ink characters printed on a document;
An optical character recognition step for recognizing the magnetic ink characters from the image data;
With
The method of controlling a magnetic ink character reader, wherein the optical character recognition step recognizes the magnetic ink character based on a recognition candidate character that is a recognition result of the magnetic character recognition step.
JP2008249059A 2008-09-26 2008-09-26 Magnetic ink character reader Pending JP2010079725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008249059A JP2010079725A (en) 2008-09-26 2008-09-26 Magnetic ink character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008249059A JP2010079725A (en) 2008-09-26 2008-09-26 Magnetic ink character reader

Publications (1)

Publication Number Publication Date
JP2010079725A true JP2010079725A (en) 2010-04-08

Family

ID=42210076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008249059A Pending JP2010079725A (en) 2008-09-26 2008-09-26 Magnetic ink character reader

Country Status (1)

Country Link
JP (1) JP2010079725A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3156981A4 (en) * 2014-06-13 2017-08-23 GRG Banking Equipment Co., Ltd. Multi-cue fusion based ticket positioning recognition method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5682984A (en) * 1979-12-10 1981-07-07 Fujitsu Ltd Recorded-data reader
JPH07182448A (en) * 1993-10-28 1995-07-21 At & T Global Inf Solutions Internatl Inc Character recognition method
JP2004259254A (en) * 2003-02-03 2004-09-16 Seiko Epson Corp Magnetic ink character reading device and its reading processing method
JP2006040257A (en) * 2004-06-21 2006-02-09 Seiko Epson Corp Magnetic ink character reading apparatus, method for controlling the same, magnetic ink character reading method, program and pos terminal equipment
JP2008129868A (en) * 2006-11-21 2008-06-05 Nidec Sankyo Corp Magnetic ink character recognition method and magnetic character recognition device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5682984A (en) * 1979-12-10 1981-07-07 Fujitsu Ltd Recorded-data reader
JPH07182448A (en) * 1993-10-28 1995-07-21 At & T Global Inf Solutions Internatl Inc Character recognition method
JP2004259254A (en) * 2003-02-03 2004-09-16 Seiko Epson Corp Magnetic ink character reading device and its reading processing method
JP2006040257A (en) * 2004-06-21 2006-02-09 Seiko Epson Corp Magnetic ink character reading apparatus, method for controlling the same, magnetic ink character reading method, program and pos terminal equipment
JP2008129868A (en) * 2006-11-21 2008-06-05 Nidec Sankyo Corp Magnetic ink character recognition method and magnetic character recognition device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3156981A4 (en) * 2014-06-13 2017-08-23 GRG Banking Equipment Co., Ltd. Multi-cue fusion based ticket positioning recognition method and system

Similar Documents

Publication Publication Date Title
JP4438387B2 (en) Magnetic ink character reader
US7689025B2 (en) Optical reading apparatus, character recognition processing apparatus, character reading method and program, magnetic ink character reading apparatus, and POS terminal apparatus
US7606408B2 (en) Magnetic ink character reading method and program
CN102567764A (en) Bill certificate and system for improving electronic image recognition efficiency
KR20100129133A (en) Bar code processing apparatus and bar code processing method
JPH07182448A (en) Character recognition method
JP2012221337A (en) Recording medium processor, control method of the same and program
JP2017199326A (en) Character reading device
JP2010079725A (en) Magnetic ink character reader
US9208368B2 (en) Recording media processing device, control method of a recording media processing device, and storage medium for recognizing magnetic ink characters
JP4947122B2 (en) Magnetic ink character reading apparatus and reading processing method thereof
US9031309B2 (en) Recording media processing device, control method of a recording media processing device, and storage medium
US9129175B2 (en) Recording media processing device, control method of a recording media processing device, and computer-readable recording medium
JP2012168837A (en) Recording medium processor, control method of recording medium processor, and program
JP2599320B2 (en) Paper sheet recognition device
JPH06318246A (en) Paper sheets recognizing device
US9047530B2 (en) Recording media processing device, control method of a recording media processing device, and computer-readable recording medium storing a program
JP2011028531A (en) Magnetic ink character reading apparatus
JP2006040257A (en) Magnetic ink character reading apparatus, method for controlling the same, magnetic ink character reading method, program and pos terminal equipment
JP2011238279A (en) Optical reader, recognition processor, character reading method and program, magnetic ink character reader, and pos terminal device
JP5619111B2 (en) Image determination apparatus and program
JPH10207978A (en) Character pattern collating method and device therefor
KR101337022B1 (en) Financial apparatus, medium sensing apparatus and method
US9042633B2 (en) Recording media processing device, control method of a recording media processing device, and non-transitory storage medium
JPH09114926A (en) Method and device for rough classifying input characters for on-line character recognition

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130304

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130712