JP4923223B2 - Magnetic character recognition method and magnetic character recognition device - Google Patents

Magnetic character recognition method and magnetic character recognition device Download PDF

Info

Publication number
JP4923223B2
JP4923223B2 JP2007131232A JP2007131232A JP4923223B2 JP 4923223 B2 JP4923223 B2 JP 4923223B2 JP 2007131232 A JP2007131232 A JP 2007131232A JP 2007131232 A JP2007131232 A JP 2007131232A JP 4923223 B2 JP4923223 B2 JP 4923223B2
Authority
JP
Japan
Prior art keywords
character
magnetic
waveform
peak
peaks
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.)
Expired - Fee Related
Application number
JP2007131232A
Other languages
Japanese (ja)
Other versions
JP2008287457A (en
Inventor
宏 中村
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.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo 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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP2007131232A priority Critical patent/JP4923223B2/en
Priority to AT08008898T priority patent/ATE537524T1/en
Priority to EP08008898A priority patent/EP1993077B1/en
Priority to US12/123,090 priority patent/US8121384B2/en
Publication of JP2008287457A publication Critical patent/JP2008287457A/en
Application granted granted Critical
Publication of JP4923223B2 publication Critical patent/JP4923223B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

本発明は、磁気インク文字で印刷された文字列を読み取って、再生波形を生成し、文字認識を行う磁気文字認識方法及び磁気文字認識装置に関し、特に、精度の良い文字認識を行うことが可能なものに関する。   The present invention relates to a magnetic character recognition method and a magnetic character recognition device that read a character string printed with magnetic ink characters, generate a reproduction waveform, and perform character recognition, and in particular, can perform character recognition with high accuracy. About things.

従来から、磁気インク文字(MICR文字)が印刷された媒体表面の文字印刷部分を、磁気ヘッドで読み取って磁気再生信号を取得し、これを用いて文字認識を行う様々な方法が開示されている。磁気インク文字(MICR文字)は、金融機関などで扱われる小切手等で用いられ、文字タイプとしてはE13B、CMC7が代表的であり、ISO1004などで規格化されている。   Conventionally, various methods have been disclosed in which a character print portion on the surface of a medium on which magnetic ink characters (MICR characters) are printed is read by a magnetic head to obtain a magnetic reproduction signal, and character recognition is performed using the magnetic reproduction signal. . Magnetic ink characters (MICR characters) are used in checks and the like handled by financial institutions and the like. Typical character types are E13B and CMC7, and are standardized by ISO1004 and the like.

MICR文字認識技術発展の初期段階では、磁気文字ラインを磁気ヘッドで読取り、その磁気再生信号波形を論理回路に入力してピーク位置やその出力レベルの特徴に基づいて文字認識をする方法が主流であったが、マイクロプロセッサの高性能化や記憶素子の高速化・大容量化に伴い、近年は、ソフトウエアで磁気信号を処理することによって文字認識するものが増えてきている。また、磁気信号のみならず、媒体をイメージスキャンして得られる画像を併用する例もある。   At the early stage of MICR character recognition technology development, the mainstream method is to read a magnetic character line with a magnetic head, input the magnetic reproduction signal waveform to a logic circuit, and perform character recognition based on the characteristics of the peak position and its output level. However, in recent years, with the increase in performance of microprocessors and the increase in speed and capacity of storage elements, the number of characters that are recognized by processing magnetic signals with software has been increasing. In addition, there is an example in which not only a magnetic signal but also an image obtained by image scanning of a medium is used in combination.

磁気信号による方法では、磁気再生信号のピーク間隔を判定し、その大小の組み合わせからその組み合わせパターンが表す文字に対応付ける方法が開示されている(例えば特許文献1参照)。   In the method using a magnetic signal, a method is disclosed in which the peak interval of a magnetic reproduction signal is determined and associated with a character represented by the combination pattern from the combination of the magnitudes (see, for example, Patent Document 1).

特開2001−351062号公報JP 2001-351062 A

しかしながら、実際に市場で流通している小切手等の中には、公差内にはあるものの、磁気インク文字の印刷状態が良くないものがある。そのため、文字認識技術は、この境界線上の文字を認識することができ、間違った文字認識を行わないことが要求される。   However, some checks and the like that are actually distributed in the market are within the tolerances, but the printing state of magnetic ink characters is not good. Therefore, the character recognition technique is required to recognize characters on the boundary line and not to perform wrong character recognition.

より詳細には、実際の磁気インク文字は、磁気インクの品質、印刷装置、再生磁気ヘッド及び着磁ヘッドの磁気特性によってばらつき、高磁力、低磁力、太文字・細文字、傾斜等の変化が生じる。さらに、小切手の使用状態、保管状態によっては、穴あき、かすれ、にじみなどの変化が生じることもあり、磁気インク文字の磁気再生波形は様々に変形することとなる。特に、折り曲げて保管されていた場合は、折り目の部分をスキャンする際に、文字幅や文字ピッチが変化し、認識精度の低下に繋がる虞がある。   More specifically, the actual magnetic ink characters vary depending on the quality of the magnetic ink, the magnetic characteristics of the printing device, reproducing magnetic head and magnetizing head, and there are changes in high magnetic force, low magnetic force, bold / thin characters, inclination, etc. Arise. Furthermore, depending on the use state and storage state of the check, changes such as perforation, blurring, and blurring may occur, and the magnetic reproduction waveform of the magnetic ink character will be variously deformed. In particular, in the case of being stored after being folded, there is a possibility that the character width and the character pitch change when scanning the fold portion, leading to a decrease in recognition accuracy.

そこで、上述した特許文献1に開示された方法では、磁気波形のピーク間隔を判定して、所定の間隔よりも広いときには間隔パターンを1、所定の間隔よりも狭いときには間隔パターンを0に変換する手順を設けている。そして、これら1と0の配列パターンが正規のパターンと一致するか否かによって、異常の有無を検出するようにしている。   Therefore, in the method disclosed in Patent Document 1 described above, the peak interval of the magnetic waveform is determined, and the interval pattern is converted to 1 when it is wider than the predetermined interval, and is converted to 0 when it is smaller than the predetermined interval. There are procedures. The presence / absence of an abnormality is detected based on whether the array pattern of 1 and 0 matches the regular pattern.

ところが、この特許文献1に開示された方法だと、磁気パターンの間隔が広いときと狭いときとの中間付近にある場合には、判定ミスを起こしやすく、誤認識に繋がる可能性が大きい。   However, according to the method disclosed in Patent Document 1, when the interval between the magnetic patterns is in the middle and between the narrow and narrow intervals, a determination error is likely to occur and there is a high possibility of erroneous recognition.

本発明は、このような点に鑑みてなされたものであり、その目的は、磁気波形のパターンの変形がある場合であっても、精度良く磁気文字認識を行うことが可能な磁気文字認識方法及び磁気文字認識装置を提供することにある。   The present invention has been made in view of these points, and an object thereof is a magnetic character recognition method capable of accurately recognizing magnetic characters even when there is a deformation of a magnetic waveform pattern. And a magnetic character recognition device.

以上のような課題を解決するために、本発明は、以下のものを提供する。   In order to solve the above problems, the present invention provides the following.

(1) 磁気インクを用いて印字された複数の磁気文字からなる文字列を磁気ヘッドで読み取る際の基準となる基準波形に基づいて、磁気文字の1文字ごとの基準文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、基準ピーク間隔配列データを準備する配列データ準備工程と、情報記録媒体の表面に印字された磁気文字の文字列から、再生波形を生成する波形生成工程と、前記再生波形から、磁気文字の1文字ごとの文字波形を切り出す切り出し工程と、前記文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、ピーク間隔配列データを生成する配列データ生成工程と、前記ピーク間隔配列データと、前記基準ピーク間隔配列データとを比較する比較工程と、を含み、前記切り出し工程において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定し、前記切り出し工程において、前記所定の強度値は、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散を求め、その分散値に基づいて決定され、前記比較工程の比較結果に基づいて、最も一致度の高いピーク間隔配列データに対応する文字を読み取り文字として決定することを特徴とする磁気文字認識方法。 (1) Based on a reference waveform serving as a reference when a character string composed of a plurality of magnetic characters printed using magnetic ink is read by a magnetic head, the peak constituting the reference character waveform for each character of the magnetic character Waveform generation for generating a reproduction waveform from an array data preparation step for preparing reference peak interval array data from an array pattern of intervals between a plurality of peaks included, and a character string of magnetic characters printed on the surface of an information recording medium A peak interval array data is generated from a step, a cutout step of cutting out a character waveform of each magnetic character from the reproduced waveform, and an array pattern of intervals between peaks included in the peaks constituting the character waveform wherein the arrangement data generating process of, and the array data of peak intervals, and a comparison step of comparing the reference array data of peak intervals, the cutout Engineering In this case, depending on whether or not there is a peak greater than or equal to a predetermined intensity value within the length of one character, it is determined whether the reproduced waveform of that portion corresponds to a character area or a non-signal area In the clipping step, the predetermined intensity value is obtained for all peak values included in the reproduced waveform, and the variance of peaks within a certain range is obtained from the average value of the reproduced waveform, and based on the variance value is determined, based on the comparison result of the comparing step, the magnetic character recognition method characterized by determining a character corresponding to the best match high degree of array data of peak intervals as read characters.

本発明によれば、まず、磁気文字の1文字ごとの基準文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、基準ピーク間間隔配列データを準備しておく。その後、磁気文字の文字列から再生波形を生成し、1文字ごとの文字波形を切り出し、その文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンからピーク間隔配列データを生成し、ピーク間隔配列データと基準ピーク間隔配列データを比較し、その結果、最も一致度の高いピーク間隔配列データに対応する文字を読み取り文字として決定することとしたので、精度良く磁気文字認識を行うことができる。   According to the present invention, first, reference inter-peak interval arrangement data is prepared from an arrangement pattern of intervals between a plurality of peaks included in a peak constituting a reference character waveform for each magnetic character. Thereafter, a reproduction waveform is generated from the character string of the magnetic character, the character waveform for each character is cut out, and peak interval array data is generated from an array pattern of intervals between peaks included in the peaks constituting the character waveform. The peak interval array data is compared with the reference peak interval array data, and as a result, the character corresponding to the peak interval array data having the highest degree of coincidence is determined as the read character, so that magnetic character recognition is performed with high accuracy. Can do.

すなわち、本発明に係る磁気文字認識方法は、ピーク間の大・小比較やパターン変換処理を必要としないことから、磁気パターンの間隔が広いときと狭いときとの中間付近にある場合であっても、判定ミスを起しにくい。その結果、磁気文字認識の精度向上に資することができる。   In other words, the magnetic character recognition method according to the present invention does not require large / small comparison between peaks or pattern conversion processing, and therefore, the magnetic character recognition method is in the middle of the interval between when the magnetic pattern interval is wide and when it is narrow. However, it is difficult to make a judgment mistake. As a result, the accuracy of magnetic character recognition can be improved.

(2) 前記磁気文字認識方法は、前記ピーク間隔配列データと前記基準ピーク間隔配列データとの相関係数を比較して、最も一致度の高い相関係数に対応する文字を読み取り文字として決定することを特徴とする(1)記載の磁気文字認識方法。   (2) In the magnetic character recognition method, the correlation coefficient between the peak interval arrangement data and the reference peak interval arrangement data is compared, and the character corresponding to the correlation coefficient having the highest degree of coincidence is determined as a read character. (1) The magnetic character recognition method according to (1).

本発明によれば、上述した磁気文字認識方法は、ピーク間隔配列データと基準ピーク間隔配列データとの相関係数を比較して、最も一致度の高い相関係数に対応する文字を読み取り文字として決定することとしたので、ピーク間距離を距離パターンなどに変換する必要がなく、処理負荷の軽減に資することができる。   According to the present invention, the magnetic character recognition method described above compares the correlation coefficient between the peak interval array data and the reference peak interval array data, and uses the character corresponding to the correlation coefficient with the highest degree of matching as a read character. Since the determination is made, it is not necessary to convert the peak-to-peak distance into a distance pattern or the like, which can contribute to a reduction in processing load.

記切り出し工程において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定することを特徴とする。 In previous SL-cutting process step, 1 within the length of the character, depending on whether a predetermined intensity value or more peaks are present, the corresponding reproduction waveform of that portion, the non-signal area or to correspond to the character region it you wherein determining whether to.

本発明によれば、上述した切り出し工程において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定することとしたので、ノイズの影響を受けにくく、ひいては磁気文字認識の精度向上に資することができる。   According to the present invention, in the above-described clipping step, the reproduced waveform of the portion is made to correspond to the character region depending on whether or not a peak having a predetermined intensity value or more exists within the length of one character. Therefore, it is difficult to be affected by noise, and as a result, the accuracy of magnetic character recognition can be improved.

記切り出し工程において、前記所定の強度値は、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散を求め、その分散値に基づいて決定されることを特徴とする。 Determined in the previous SL-cutting process step, the predetermined intensity value, all peak values included in the reproduced waveform determined, determine the variance of the peaks from the mean value of the reproduction waveform within a certain range, based on the variance value It is the fact that to said.

本発明によれば、上述した切り出し工程において、上述した所定の強度値は、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散を求め、その分散値に基づいて決定されることとしたので、認識処理系の個性に起因するノイズレベルの変動に影響され難くなり、ひいては磁気文字認識の精度向上に資することができる。   According to the present invention, in the clipping step described above, the predetermined intensity value described above obtains all peak values included in the reproduced waveform, obtains the variance of peaks within a certain range from the average value of the reproduced waveform, Since it is determined based on the variance value, it is difficult to be affected by fluctuations in the noise level due to the individuality of the recognition processing system, and as a result, it can contribute to improving the accuracy of magnetic character recognition.

) 磁気インクを用いて印字された複数の磁気文字からなる文字列を磁気ヘッドで読み取る際の基準となる基準波形に基づいて、磁気文字の1文字ごとの基準文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンを、基準ピーク間隔配列データとして記憶する配列データ記憶部と、情報記録媒体の表面に印字された磁気文字の文字列から、再生波形を生成する波形生成部と、前記再生波形から、磁気文字の1文字ごとの文字波形を切り出す切り出し部と、前記文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、ピーク間隔配列データを生成する配列データ生成部と、前記ピーク間隔配列データと、前記基準ピーク間隔配列データとを比較する比較部と、を含み、前記切り出し部において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定し、前記切り出し部において、前記所定の強度値は、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散を求め、その分散値に基づいて決定され、前記比較部の比較結果に基づいて、最も一致度の高いピーク間隔配列データに対応する文字を読み取り文字として決定することを特徴とする磁気文字認識装置。
(4) 前記比較部は、前記ピーク間隔配列データと前記基準ピーク間隔配列データとの相関係数を比較して、最も一致度の高い相関係数に対応する文字を読み取り文字として決定することを特徴とする(3)記載の磁気文字認識装置。

( 3 ) Based on a reference waveform used as a reference when reading a character string composed of a plurality of magnetic characters printed using magnetic ink with a magnetic head, the peak constituting the reference character waveform for each character of the magnetic character Waveform generation that generates a reproduction waveform from an array data storage unit that stores an array pattern of intervals between a plurality of peaks as reference peak interval array data and a character string of magnetic characters printed on the surface of an information recording medium Generating peak interval array data from a reproduction portion, a cutout portion for cutting out a character waveform of each magnetic character from the reproduction waveform, and an array pattern of intervals between peaks included in the peaks constituting the character waveform A sequence data generation unit, a comparison unit that compares the peak interval sequence data and the reference peak interval sequence data, and in the cutout unit Depending on whether or not there is a peak greater than or equal to a predetermined intensity value within the length of one character, it is determined whether the reproduced waveform of that part corresponds to a character area or a non-signal area. In the cut-out unit, the predetermined intensity value is determined based on a dispersion value obtained by obtaining all peak values included in the reproduced waveform, obtaining a dispersion of peaks within a certain range from the average value of the reproduced waveform. And determining a character corresponding to the peak interval array data having the highest degree of coincidence as a read character based on the comparison result of the comparison unit.
(4) The comparison unit compares a correlation coefficient between the peak interval array data and the reference peak interval array data, and determines a character corresponding to the correlation coefficient with the highest degree of matching as a read character. The magnetic character recognition device according to (3), characterized in that it is characterized in that:

本発明によれば、磁気文字認識装置に、配列データ記憶部と、波形生成部と、切り出し部と、配列データ生成部と、比較部と、を設け、比較部の比較結果に基づいて、上述したピーク間隔配列データと基準ピーク間隔配列データとの一致度が最も高い場合におけるピーク間隔配列データに対応する文字を読み取り文字として決定することとしたので、精度良く磁気文字認識を行うことができる。   According to the present invention, the magnetic character recognition device is provided with the sequence data storage unit, the waveform generation unit, the cutout unit, the sequence data generation unit, and the comparison unit. Based on the comparison result of the comparison unit, Since the character corresponding to the peak interval arrangement data when the degree of coincidence between the peak interval arrangement data and the reference peak interval arrangement data is the highest is determined as a read character, magnetic character recognition can be performed with high accuracy.

本発明によれば、ピーク間隔配列データと基準ピーク間隔配列データとの比較によって、最も一致度の高いピーク間隔配列データに対応する文字を読み取り文字として決定することとしているので、磁気波形のパターンの変形がある場合であっても、精度良く磁気文字認識を行うことができる。   According to the present invention, the character corresponding to the peak interval array data having the highest degree of coincidence is determined as the read character by comparing the peak interval array data with the reference peak interval array data. Even if there is a deformation, magnetic character recognition can be performed with high accuracy.

以下、本発明を実施するための最良の形態について、図面を参照しながら説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

[磁気文字認識装置]
図1は、本発明の実施の形態に係る磁気文字認識装置1の構成を示す模式図である。なお、本発明の実施の形態では、MICR認識機能を備えた小切手リーダを例にとって説明する。図1では、本発明の実施の形態に係る磁気文字認識装置1のMICR文字認識処理に関する部分を中心とした構成を示している。
[Magnetic character recognition device]
FIG. 1 is a schematic diagram showing a configuration of a magnetic character recognition device 1 according to an embodiment of the present invention. In the embodiment of the present invention, a check reader having a MICR recognition function will be described as an example. In FIG. 1, the structure centering on the part regarding the MICR character recognition process of the magnetic character recognition apparatus 1 which concerns on embodiment of this invention is shown.

図1において、磁気文字認識装置1は、紙媒体搬送路11と、MICR文字(磁気インクを用いて印字された磁気インク文字)を再磁化する着磁ヘッド12と、MICR文字の磁気を検出する磁気ヘッド13と、紙媒体を搬送するローラ14と、磁気ヘッド駆動・増幅回路15と、媒体搬送制御回路16と、マイクロプロセッサ17と、RAM18と、を有している。磁気ヘッド13は、磁気ヘッド駆動・増幅回路15によって、ローラ14は、媒体搬送制御回路16によって、それぞれ制御されている。また、磁気ヘッド駆動・増幅回路15及び媒体搬送制御回路16は、CPU等のマイクロプロセッサ17の指令に基づいて動作し、マイクロプロセッサ17は、RAM18をワーキングメモリとして使用する。   In FIG. 1, a magnetic character recognition device 1 detects a paper medium conveyance path 11, a magnetizing head 12 that remagnetizes MICR characters (magnetic ink characters printed using magnetic ink), and magnetism of the MICR characters. A magnetic head 13, a roller 14 for conveying a paper medium, a magnetic head driving / amplifying circuit 15, a medium conveyance control circuit 16, a microprocessor 17, and a RAM 18 are provided. The magnetic head 13 is controlled by a magnetic head drive / amplifier circuit 15, and the roller 14 is controlled by a medium transport control circuit 16. The magnetic head drive / amplifier circuit 15 and the medium transport control circuit 16 operate based on a command from a microprocessor 17 such as a CPU. The microprocessor 17 uses the RAM 18 as a working memory.

紙媒体搬送路11に挿入された小切手(情報記録媒体)は、ローラ14によって搬送され、着磁ヘッド12及び磁気ヘッド13を通過する。着磁ヘッド12は、小切手に印字されたMICR文字を再磁化し、磁気ヘッド13は、着磁ヘッド12によって再磁化されたMICR文字の磁気を検出する。   The check (information recording medium) inserted into the paper medium conveyance path 11 is conveyed by the roller 14 and passes through the magnetizing head 12 and the magnetic head 13. The magnetized head 12 remagnetizes the MICR character printed on the check, and the magnetic head 13 detects the magnetism of the MICR character remagnetized by the magnetized head 12.

磁気ヘッド13によって読取られたMICR文字からは再生波形が生成され(波形生成部による波形生成工程)、生成された再生波形は、デジタル化されてMICR波形メモリ(例えばRAM18)に記録される。このMICR波形メモリに記憶されたMICR再生波形データを用いて、磁気文字認識装置1に内蔵されたマイクロプロセッサ17において磁気文字認識処理が行われる。磁気文字認識の詳細については、後述する[磁気文字認識方法]において説明する。   A reproduction waveform is generated from the MICR characters read by the magnetic head 13 (waveform generation step by the waveform generation unit), and the generated reproduction waveform is digitized and recorded in a MICR waveform memory (for example, RAM 18). Using the MICR reproduction waveform data stored in the MICR waveform memory, a magnetic character recognition process is performed in the microprocessor 17 built in the magnetic character recognition apparatus 1. Details of the magnetic character recognition will be described in [Magnetic Character Recognition Method] described later.

なお、本実施の形態においては、磁気文字認識装置1に内蔵されたマイクロプロセッサ17において磁気文字認識が行われるが、MICR再生波形を上位制御装置(例えばATMなど)に転送して、上位制御装置において磁気文字認識を行うこととしてもよい。また、小切手の表面の画像を読取るための密着型1次元撮像素子を、紙媒体搬送路11の上部または下部または両側に配置することとしてもよい。さらに、小切手表面に所定の事項を印字するための印字ブロックを配置することとしてもよい。   In the present embodiment, magnetic character recognition is performed by the microprocessor 17 built in the magnetic character recognition device 1. However, the MICR reproduction waveform is transferred to a higher-level control device (for example, ATM) and the higher-level control device. It is good also as performing magnetic character recognition. Further, a close contact type one-dimensional image sensor for reading an image on the surface of a check may be arranged on the upper part, the lower part or both sides of the paper medium conveyance path 11. Furthermore, it is good also as arrange | positioning the printing block for printing a predetermined matter on the check surface.

図2は、本発明の実施の形態に係る磁気文字認識装置1の電気的構成を示すブロック図である。図2では、MICR文字認識処理に関する部分を中心とした構成を示している。   FIG. 2 is a block diagram showing an electrical configuration of the magnetic character recognition apparatus 1 according to the embodiment of the present invention. FIG. 2 shows a configuration centering on a portion related to MICR character recognition processing.

図2において、磁気文字認識装置1は、認識制御部100と、MICR波形メモリ(例えばEEPROMなど)101と、基準波形データベース(例えばEEPROMなど)102と、前処理部103と、ピーク検出部104と、文字境界検出部105と、文字認識部107と、を有している。   2, the magnetic character recognition device 1 includes a recognition control unit 100, a MICR waveform memory (for example, EEPROM) 101, a reference waveform database (for example, EEPROM) 102, a preprocessing unit 103, a peak detection unit 104, and the like. A character boundary detecting unit 105 and a character recognizing unit 107.

MICR波形メモリ101に格納されたMICR再生波形は、まず、前処理部103において、平滑化によるMICR再生波形全体のノイズ除去が行われ、ノイズが除去された整形波形が生成される。   The MICR reproduction waveform stored in the MICR waveform memory 101 is first subjected to noise removal of the entire MICR reproduction waveform by smoothing in the preprocessing unit 103 to generate a shaped waveform from which noise has been removed.

次いで、ピーク検出部104において、整形されたMICR再生波形に含まれる全てのピーク情報が検出され、その各々のピークの極性(正・負)、強度、尖頭位置等のピーク情報が記憶される。このとき、ピークの強度が一定値に満たないピークの除外処理も同時に行われる。   Next, in the peak detection unit 104, all peak information included in the shaped MICR reproduction waveform is detected, and peak information such as polarity (positive / negative), intensity, and peak position of each peak is stored. . At this time, a peak exclusion process in which the peak intensity is less than a certain value is also performed.

次いで、これらのピーク情報に基づいて、文字境界検出部105において、MICR再生波形から、磁気インク文字1文字ごとの先頭ピークの検出が行われ、1文字に対応する文字波形が切り出される(切り出し部による切り出し工程)。そして、切り出された文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、ピーク間隔配列データが生成される(配列データ生成部による配列データ生成工程)。そして、文字認識部107において、このピーク間隔配列データと、基準波形データベース102に格納された基準ピーク間隔配列データとの比較が行われ(比較部による比較工程)、磁気文字認識が行われる。   Next, based on these peak information, the character boundary detection unit 105 detects the first peak for each magnetic ink character from the MICR reproduction waveform, and cuts out a character waveform corresponding to one character (cutout unit). Cutting out step). Then, peak interval arrangement data is generated from an arrangement pattern of intervals between a plurality of peaks included in the peaks constituting the extracted character waveform (an arrangement data generation step by an arrangement data generation unit). Then, the character recognition unit 107 compares the peak interval arrangement data with the reference peak interval arrangement data stored in the reference waveform database 102 (comparison step by the comparison unit) to perform magnetic character recognition.

ここで、上述した基準波形データベース102は、例えばEEPROMやフラッシュメモリ等からなる記憶手段であって、配列データ準備工程において使用される基準ピーク間隔配列データを記憶する配列データ記憶部として機能する。具体的には、基準波形データベース102は、磁気インクを用いて印字された複数の磁気文字からなる文字列を磁気ヘッドで読み取る際の基準となる基準波形に基づいて、磁気文字の1文字ごとの基準文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンを、基準ピーク間隔配列データとして記憶する。   Here, the reference waveform database 102 described above is a storage means including, for example, an EEPROM or a flash memory, and functions as an array data storage unit that stores reference peak interval array data used in the array data preparation process. Specifically, the reference waveform database 102 stores each character of a magnetic character based on a reference waveform that serves as a reference when a character string composed of a plurality of magnetic characters printed using magnetic ink is read by a magnetic head. An arrangement pattern of intervals between a plurality of peaks included in a peak constituting the reference character waveform is stored as reference peak interval arrangement data.

なお、本実施形態に係る磁気文字認識装置1では、基準波形データベース102以外にも、各種の変形要因に対応した基準ピーク間隔配列データを記憶するデータベースを備えていてもよい。すなわち、初期段階において、一意的に文字が決定できなかった場合は、第二,三のデータベースとの比較を行うこととしてもよい。   In addition to the reference waveform database 102, the magnetic character recognition apparatus 1 according to the present embodiment may include a database that stores reference peak interval arrangement data corresponding to various deformation factors. That is, in the initial stage, when a character cannot be uniquely determined, it may be compared with the second and third databases.

[磁気文字認識方法]
図3は、本発明の実施の形態に係る磁気文字認識方法の全体的な流れを示すフローチャートである。
[Magnetic character recognition method]
FIG. 3 is a flowchart showing an overall flow of the magnetic character recognition method according to the embodiment of the present invention.

図3に示すように、本実施の形態に係る磁気文字認識方法では、まず、スムージングが行われる(ステップS1)。具体的には、移動平均法などを用いてMICR波形全体の平滑化を行い、高周波ノイズを除去することにより、ノイズの影響を受けることなく波形比較ができるように処理を行う。   As shown in FIG. 3, in the magnetic character recognition method according to the present embodiment, first, smoothing is performed (step S1). Specifically, the entire MICR waveform is smoothed using a moving average method or the like, and high-frequency noise is removed to perform processing so that waveforms can be compared without being affected by noise.

次いで、ピーク検出が行われる(ステップS2)。具体的には、MICR再生波形に含まれる全てのピーク、すなわち、極大値及び極小値が検出される。   Next, peak detection is performed (step S2). Specifically, all the peaks included in the MICR reproduction waveform, that is, the maximum value and the minimum value are detected.

正のピークは上側に凸のパターンとして検出される。すなわち、現時点tにおける信号出力Amp(t)とひとつ先の信号出力Amp(t+1)との差を△(t)=Amp(t+1)−Amp(t)とし、△(t)>0かつ△(t+1)<0のとき、Amp(t+1)は正の極大値であると判定される。また負のピークは下側に凸のパターンとして検出される。すなわち、△(t)<0かつ△(t+1)>0のとき、Amp(t+1)は負の極大値(極小値)であると判定される。   A positive peak is detected as an upwardly convex pattern. That is, the difference between the signal output Amp (t) at the current time t and the previous signal output Amp (t + 1) is Δ (t) = Amp (t + 1) −Amp (t), where Δ (t)> 0 and Δ ( When t + 1) <0, it is determined that Amp (t + 1) is a positive maximum value. A negative peak is detected as a downwardly convex pattern. That is, when Δ (t) <0 and Δ (t + 1)> 0, Amp (t + 1) is determined to be a negative maximum value (minimum value).

この正と負のピークは交互に出現する。ピークが検出されるごとにそのインデクスtと信号出力Amp(t)と極性Sgnが記憶される。なお、同一の信号出力値が連続してひとつのピークが形成されている場合には、ピークの形状は台形状となるので、ピークの平坦部の開始位置と終了位置を求め、両者の中間点をピーク位置と判定するようにする。こうすることにより、小切手のMICR磁気再生出力が飽和した場合でも正確にピーク位置を検出することができる。   The positive and negative peaks appear alternately. Each time a peak is detected, its index t, signal output Amp (t), and polarity Sgn are stored. In addition, when the same signal output value forms one peak continuously, the peak shape is trapezoidal. Therefore, the start position and end position of the flat part of the peak are obtained, and the intermediate point between the two is obtained. Are determined to be peak positions. By doing so, the peak position can be accurately detected even when the MICR magnetic reproduction output of the check is saturated.

次に、ピーク閾値決定処理が行われる(ステップS3)。ピーク閾値は、再生波形に含まれるピークがノイズであるか、真のピークであるかを判定するのに使用される。ある信号出力値がピークであると判定された場合であっても、その信号出力レベルが一定値に満たない場合には、その信号はノイズであると判断して、採用しないようにすることにより、ノイズの影響を受けることなく、精度の良い磁気文字認識を行うことができる。   Next, peak threshold value determination processing is performed (step S3). The peak threshold is used to determine whether a peak included in the reproduced waveform is noise or a true peak. Even if it is determined that a certain signal output value is a peak, if the signal output level is less than a certain value, it is determined that the signal is noise and not adopted. Thus, it is possible to perform accurate magnetic character recognition without being affected by noise.

なお、図4は、図3におけるステップS3のピーク閾値決定処理を詳細に説明するためのフローチャートである。図4では、最初に再生波形全体の平均値Pavを求める(ステップS11)。ピーク検出処理(図3のステップS2)によって得られたピークのうち、レベル値Pkが適当なR(>0)に対して、Pav−R≦Pk≦Pav+Rを満たすものを抽出する(ステップS12)。そして、抽出したピークの平均値Pm及び標準偏差Psを計算する(ステップS13)。なお、Rには、磁気再生回路系の特性を考慮して、適切な値を用いるようにするとよい。   FIG. 4 is a flowchart for explaining in detail the peak threshold value determining process in step S3 in FIG. In FIG. 4, first, an average value Pav of the entire reproduced waveform is obtained (step S11). Of the peaks obtained by the peak detection process (step S2 in FIG. 3), those satisfying Pav−R ≦ Pk ≦ Pav + R with respect to R (> 0) having an appropriate level value Pk are extracted (step S12). . Then, the average value Pm and standard deviation Ps of the extracted peaks are calculated (step S13). An appropriate value may be used for R in consideration of the characteristics of the magnetic reproducing circuit system.

最後に、ピーク閾値Athは、Ath=Pm+δPsの計算式を用いて計算する(ステップS14)。なお、δは、3又は4を用いる。これにより、信号レベルのバラつきに左右されることなくなり、適切なピーク値を設定することができる。   Finally, the peak threshold value Ath is calculated using a calculation formula of Ath = Pm + δPs (step S14). Note that 3 or 4 is used for δ. Thus, an appropriate peak value can be set without being affected by variations in signal level.

このように、図4に示すフローチャートでは、ピーク閾値Athを決定するにあたって、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散(又は標準偏差)を求め、その分散値(又は標準偏差)に基づいて決定するようにしている。   As described above, in the flowchart shown in FIG. 4, in determining the peak threshold value Ath, all peak values included in the reproduced waveform are obtained, and the dispersion (or standard deviation) of peaks within a certain range from the average value of the reproduced waveform. ) And is determined based on the dispersion value (or standard deviation).

なお、本実施形態では、ピーク閾値Athを決定するにあたって標準偏差を用いることとしたが、それ以外の値を用いてもよい。すなわち、1文字分の長さの範囲に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定することとしてもよい。また、図3では、説明の便宜上、ステップS3のピーク閾値決定処理とステップS4の文字切り出し処理とを分けて記載しているが、ステップS3のピーク閾値決定処理を、ステップS4の文字切り出し処理の中に含めることとしてもよい。   In the present embodiment, the standard deviation is used to determine the peak threshold value Ath, but other values may be used. That is, it is determined whether the reproduction waveform of the portion corresponds to the character region or the non-signal region depending on whether or not a peak having a predetermined intensity value or more exists in the length range of one character. It is good as well. In FIG. 3, for the sake of convenience of explanation, the peak threshold value determination process in step S3 and the character cutout process in step S4 are described separately. However, the peak threshold value determination process in step S3 is the same as the character cutout process in step S4. It may be included.

次いで、文字切り出しが行われる(ステップS4)。図5は、図3に示すフローチャートにおいて、「文字切り出し」(ステップS4)の詳細な流れを示すフローチャートであり、図6は、MICR再生波形データの一例を示す図である。   Next, character segmentation is performed (step S4). FIG. 5 is a flowchart showing a detailed flow of “character segmentation” (step S4) in the flowchart shown in FIG. 3, and FIG. 6 is a diagram showing an example of MICR reproduction waveform data.

文字切り出しにおいては、まず、文字の先頭ピーク位置の検出を行う。文字の先頭ピークはMICR文字の印字に関する規格により、正極であって一定レベル以上の信号出力値をもつメジャーなピークであると規定されているため、MICR再生波形を先頭からスキャンして、そのレベル値Pkが正であってピーク閾値Ath以上であるか否かを判定する。この閾値は、例えば全ての正ピーク値について平均値を求めておき、その60%の値に設定する。   In character segmentation, first, the beginning peak position of a character is detected. The leading peak of the character is defined as a major peak having a signal output value of a certain level or higher according to the standard related to MICR character printing. It is determined whether or not the value Pk is positive and equal to or greater than the peak threshold value Ath. For this threshold value, for example, an average value is obtained for all positive peak values, and is set to a value of 60% thereof.

図5において、変数i及び変数kに1を代入するとともに、NEXTPEAKに、位置情報IDX(i)(すなわちIDX(1))を代入する(ステップS21)。そして、レベル値Pk(i)が正であって(極性関数Sgn(i)を用いて正負を検出する)、ピーク閾値Ath以上であるとき、IDX(i)がNEXTPEAK−USIZEよりも大きいか否かを判断する(ステップS22)。これがNEXTPEAK−USIZEよりも大きくないときは、その時点におけるIDX(i)は文字の切り出し部分ではないと判断し、iをインクリメントした後(ステップS24)、iがlastになるまで処理をステップS22に戻す。   In FIG. 5, 1 is substituted into variable i and variable k, and position information IDX (i) (that is, IDX (1)) is substituted into NEXTPEAK (step S21). When the level value Pk (i) is positive (positive / negative is detected using the polarity function Sgn (i)) and is equal to or higher than the peak threshold value Ath, whether IDX (i) is larger than NEXTPEAK-USIZE. Is determined (step S22). If this is not larger than NEXTPEAK-USIZE, it is determined that IDX (i) at that time is not a character cut-out part, and after incrementing i (step S24), the process proceeds to step S22 until i becomes last. return.

一方で、IDX(i)がNEXTPEAK−USIZEよりも大きいときには(すなわち、NEXTPEAK−USIZEよりも先で値であって、ピーク閾値Ath以上かつ正のレベル値Pk(i)が登場したときには)、その時点におけるIDX(i)は文字の切り出し部分であると判断し、そのIDX(i)をBGN(k)に代入する(ステップS23)。また、NEXTPEAKにIDX(i)+PITCH(文字間隔)を代入するとともに、変数kを1だけインクリメントする。これにより、図6に示すPk(1)の位置情報IDX(1)がBGN(1)に代入され、図6に示すPk(17)の位置情報IDX(17)がBGN(2)に代入されることになる。BGN(3)以降も同様である。   On the other hand, when IDX (i) is larger than NEXTPEAK-USIZE (that is, when the value is higher than NEXTPEAK-USIZE and exceeds the peak threshold Ath and a positive level value Pk (i)), IDX (i) at the time is determined to be a character cut-out portion, and the IDX (i) is substituted into BGN (k) (step S23). Further, IDX (i) + PITCH (character spacing) is substituted for NEXTPEAK, and the variable k is incremented by one. As a result, the position information IDX (1) of Pk (1) shown in FIG. 6 is assigned to BGN (1), and the position information IDX (17) of Pk (17) shown in FIG. 6 is assigned to BGN (2). Will be. The same applies to BGN (3) and thereafter.

このようにして、文字の先頭ピークの検出を続け、MICR文字波形の終端を超えたところで(ステップS25:YES)、文字切り出しを打ち切る。なお、上述したUSIZEは、文字波形の切り出しを先頭ピークの何ポイント手前から切り出すかを表すものである。すなわち、基準波形データは、その先頭からUSIZE番目に第1ピークが来るように作成されている。したがって、先頭ピークからUSIZE手前の地点を切り出し開始点とし、基準波形の長さと同じ長さの波形を切り出す。   In this way, the detection of the leading peak of the character is continued, and when the end of the MICR character waveform is exceeded (step S25: YES), the character segmentation is terminated. Note that the above-mentioned USIZE represents the number of points before the top peak of the character waveform. That is, the reference waveform data is created so that the first peak comes from the top of the reference waveform. Accordingly, a point having the same length as that of the reference waveform is cut out with a point before USIZE from the top peak as a cut start point.

ここで、図5のステップ22において、NEXTPEAK(−USIZE)に到達しない間は、この間のピークを逐次検出し、隣接ピーク間の距離を次々に記憶していく。この場合、隣接ピーク間距離の計算は、正のピーク又は負のピークのどちらか一方に関して行われる。   Here, in step 22 of FIG. 5, while NEXTPEAK (-USIZE) is not reached, the peaks in between are sequentially detected, and the distances between adjacent peaks are successively stored. In this case, the calculation of the distance between adjacent peaks is performed for either the positive peak or the negative peak.

このように、文字の先頭ピークの検出と、隣接ピーク間距離計算を続け、MICR文字波形の終端を超えたところで文字切り出しを打ち切る。CMC7フォントの場合は、ひとつの文字は7本のバーと6本のスペースで構成されている。ピーク間距離は、1文字あたり6個のデータから構成されることになる。   Thus, the detection of the leading peak of the character and the calculation of the distance between adjacent peaks are continued, and the character cut-off is terminated when the end of the MICR character waveform is exceeded. In the case of CMC7 font, one character is composed of 7 bars and 6 spaces. The distance between peaks is composed of 6 pieces of data per character.

i番目の文字に関するピーク間距離を、Di1,Di2,Di3,Di4,Di5,Di6と表すと、図6の例では、D11=Pk(3)−Pk(1)、D12=Pk(5)−Pk(3),・・・,D16=Pk(13)−Pk(11)となる。   When the peak-to-peak distance for the i-th character is expressed as Di1, Di2, Di3, Di4, Di5, Di6, in the example of FIG. 6, D11 = Pk (3) −Pk (1), D12 = Pk (5) − Pk (3),..., D16 = Pk (13) −Pk (11).

次いで、文字認識が行われる(図3のステップS5)。   Next, character recognition is performed (step S5 in FIG. 3).

図7は、図3に示すフローチャートにおいて、「文字認識」(ステップS5)の詳細な流れを示すフローチャートである。また、図8は、小切手等の媒体に印字された磁気文字ラインの一例を示す図である。磁気パターンの読み取りは、図8中の右から左に向かって行われる。このようにして読み取られた磁気再生波形を、前述の文字切り出しステップで処理することによって、次の[表1]に示す隣接ピーク間距離のデータ配列が得られる(ステップS31)。   FIG. 7 is a flowchart showing a detailed flow of “character recognition” (step S5) in the flowchart shown in FIG. FIG. 8 is a diagram showing an example of magnetic character lines printed on a medium such as a check. Reading of the magnetic pattern is performed from right to left in FIG. By processing the read magnetic reproduction waveform in the above-described character extraction step, a data array of adjacent peak-to-peak distances shown in [Table 1] is obtained (step S31).

Figure 0004923223

次に、文字ごとにピーク間距離のデータ配列を、予め用意された[表2](下記参照)のテンプレートのデータ配列(標準パターン配列)のそれぞれと逐次比較する(ステップS32)。なお、本実施形態では、一致度(一致係数)の尺度としては、正規化相関を用いている。
Figure 0004923223

Next, the data arrangement of the distance between peaks for each character is sequentially compared with each of the template data arrangement (standard pattern arrangement) of [Table 2] (see below) prepared in advance (step S32). In the present embodiment, normalized correlation is used as a measure of the degree of coincidence (coincidence coefficient).

Figure 0004923223

例えば、図8の一番先頭(右端)の文字について、この文字のピーク間距離は、D1=(D16,D15,D14,D13,D12,D11)である。そして、このD1と、標準パターンの1番目、すなわち数字の"1"を示すT1=(1,0,0,0,1,0)との相関係数R(1,1)を求める。
Figure 0004923223

For example, for the first character (right end) in FIG. 8, the distance between the peaks of this character is D1 = (D16, D15, D14, D13, D12, D11). Then, a correlation coefficient R (1, 1) between D1 and T1 = (1, 0, 0, 0, 1, 0) indicating the first standard pattern, that is, the numeral “1” is obtained.

Figure 0004923223

次に、数字の"2"を示すT2との相関係数R(1,2)を求める。以下同様に、記号"SV"までの各テンプレートデータとの相関係数R(1,t)を求める。最後に、これら相関係数の最大値Rm=max(R(1,t)を求め、そのときのtに対応する文字が求める認識結果となる。
Figure 0004923223

Next, a correlation coefficient R (1,2) with T2 indicating the number “2” is obtained. Similarly, a correlation coefficient R (1, t) with each template data up to the symbol “SV” is obtained. Finally, a maximum value Rm = max (R (1, t) of these correlation coefficients is obtained, and a character corresponding to t at that time is obtained as a recognition result.

そして、Rmが所定の値よりも大きいか小さいかによって、一致度が十分か否かが判断される(ステップS33)。Rmが所定の値よりも小さい場合は、波形に異常があるとして、文字特定不能とする一方で(ステップS35)、Rmが所定の値よりも大きい場合は、文字決定が行われる(ステップS34)。なお、ステップS35の「文字特定不能」とする以外には、例えば、類似度が接近したものだけに絞って更に波形解析をすることとしてもよい。   Then, whether or not the matching degree is sufficient is determined based on whether Rm is larger or smaller than a predetermined value (step S33). If Rm is smaller than a predetermined value, it is determined that the waveform is abnormal and the character cannot be specified (step S35). If Rm is larger than the predetermined value, character determination is performed (step S34). . Note that, other than setting “character cannot be specified” in step S35, for example, the waveform analysis may be further limited to only those having similar degrees of similarity.

このように、ステップS33では、すなわち、ピーク間隔配列データと基準ピーク間隔配列データとの相関係数を比較して、最も一致度の高い相関係数が所定の値よりも大きい場合には、その相関係数に対応する文字を読み取り文字として決定するようにしている。   Thus, in step S33, that is, when the correlation coefficient between the peak interval array data and the reference peak interval array data is compared, and the correlation coefficient having the highest degree of matching is greater than a predetermined value, The character corresponding to the correlation coefficient is determined as the read character.

次に、最後の文字か否かが判断され(ステップS36)、最後の文字でなければ、処理はステップS31に移される。一方、最後の文字である場合には、本サブルーチンを終了する。なお、類似性の尺度としては、本実施形態で用いた正規化相関の他、必要に応じて差分絶対値和なども適宜用いることができる。また、MICR文字には、E13−Bや、CNC−7等の規格があるが、本発明は、どちらのMICR文字であっても適用することができる。   Next, it is determined whether or not it is the last character (step S36). If it is not the last character, the process proceeds to step S31. On the other hand, if it is the last character, this subroutine is terminated. As a measure of similarity, in addition to the normalized correlation used in the present embodiment, the sum of absolute differences can be used as appropriate. Moreover, although there are standards such as E13-B and CNC-7 for MICR characters, the present invention can be applied to any MICR character.

[実施形態の効果]
以上説明したように本実施形態に係る磁気文字認識装置1及び磁気文字認識方法によれば、1文字分の磁気再生波形において隣接するピーク間の距離を求めて、その距離データからなる配列(ピーク間隔配列データ)を生成し、配列を予め求めてあった文字パターンのビット配列辞書(基準ピーク間隔配列データ)と比較することで、パターンと文字の関連付けを行うこととしたので、ピーク間隔の大・小比較やパターン変換処理の必要がなく、磁気文字認識の精度向上に資することができる。
[Effect of the embodiment]
As described above, according to the magnetic character recognition device 1 and the magnetic character recognition method according to the present embodiment, the distance between adjacent peaks in the magnetic reproduction waveform for one character is obtained, and the array (peak) of the distance data is obtained. (Interval array data) is generated and the pattern is compared with the character pattern bit array dictionary (reference peak interval array data) obtained in advance. -There is no need for small comparisons and pattern conversion processing, which can contribute to improving the accuracy of magnetic character recognition.

具体的に説明すると、公知例と異なって、個々のピーク間距離について大小関係を調べて、距離パターンに変換する必要がなく、単に相関係数を求めるだけなので、処理が単純化される。また、ピーク間距離が大と小の中間にあるような場合、公知例では第2の変換処理を設けているが、本実施形態では、ピーク間距離のゆらぎがあっても文字全体としての相似性を数値化して判定しているため、精度良い文字認識を行うことができる。   More specifically, unlike the known example, it is not necessary to examine the magnitude relationship between the distances between individual peaks and convert them into distance patterns, and the correlation coefficient is simply obtained, so that the processing is simplified. Also, in the case where the distance between peaks is between the large and small, the second conversion process is provided in the known example, but in this embodiment, even if there is a fluctuation in the distance between peaks, the similarity as the whole character is similar. Since the character is determined by quantifying, the character recognition can be performed with high accuracy.

また、使用される文字セットが変わった場合でも、文字セットに対応した標準データを用意するだけでよいことから、磁気文字認識装置1の保守性を高めることができる。   Further, even when the character set to be used is changed, it is only necessary to prepare standard data corresponding to the character set, so that the maintainability of the magnetic character recognition device 1 can be improved.

さらに、上述したピーク閾値決定(図3のステップS3)又は文字切り出し(図3のステップS4)において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定することとしたので、ノイズの影響を受けにくい。そして、再生波形の平均値から一定の範囲内にあるピークの分散値に基づいて、この所定の強度値を決定することとしたので、認識処理系の個性に起因するノイズレベルの変動に影響されにくい。   Further, in the above-described peak threshold determination (step S3 in FIG. 3) or character segmentation (step S4 in FIG. 3), whether or not a peak having a predetermined intensity value or more exists within the length of one character. Therefore, since it is determined whether the reproduced waveform of the portion corresponds to the character area or the non-signal area, it is hardly affected by noise. Since the predetermined intensity value is determined based on the variance value of the peaks within a certain range from the average value of the reproduced waveform, it is affected by fluctuations in the noise level due to the individuality of the recognition processing system. Hateful.

以上説明した実施形態では、媒体の印字文字は数字と記号としているが、媒体によってはアルファベットも使用される場合がありうる。その場合、文字中の大きいピーク間隔と小さいピーク間隔の存在比率が変わるため、公知例ではそれに対応した処理ロジックの追加が必要である。しかし、本実施形態では、上述した表2の基準データテーブルに英字部分を追加するだけでよいので、認識対象のバリエーションに柔軟に対応することができる。   In the embodiment described above, the printed characters on the medium are numbers and symbols, but depending on the medium, alphabets may also be used. In that case, since the existence ratio of the large peak interval and the small peak interval in the character changes, in the known example, it is necessary to add processing logic corresponding thereto. However, in the present embodiment, it is only necessary to add an alphabetic part to the reference data table of Table 2 described above, so that it is possible to flexibly cope with variations of recognition targets.

本発明に係る磁気文字認識方法及び磁気文字認識装置は、磁気文字認識の精度を向上させることが可能なものとして有用である。   The magnetic character recognition method and the magnetic character recognition device according to the present invention are useful as those capable of improving the accuracy of magnetic character recognition.

本発明の実施の形態に係る磁気文字認識装置の構成を示す模式図である。It is a schematic diagram which shows the structure of the magnetic character recognition apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る磁気文字認識装置の電気的構成を示すブロック図である。It is a block diagram which shows the electrical constitution of the magnetic character recognition apparatus which concerns on embodiment of this invention. 本発明の実施の形態に係る磁気文字認識方法の全体的な流れを示すフローチャートである。It is a flowchart which shows the whole flow of the magnetic character recognition method which concerns on embodiment of this invention. 図3におけるステップS3のピーク閾値決定処理を詳細に説明するためのフローチャートである。It is a flowchart for demonstrating in detail the peak threshold value determination process of step S3 in FIG. 図3に示すフローチャートにおいて、「文字切り出し」(ステップS4)の詳細な流れを示すフローチャートである。In the flowchart shown in FIG. 3, it is a flowchart which shows the detailed flow of "character cutting out" (step S4). MICR再生波形データの一例を示す図である。It is a figure which shows an example of MICR reproduction waveform data. 図3に示すフローチャートにおいて、「文字認識」(ステップS5)の詳細な流れを示すフローチャートである。In the flowchart shown in FIG. 3, it is a flowchart which shows the detailed flow of "character recognition" (step S5). 小切手等の媒体に印字された磁気文字ラインの一例を示す図である。It is a figure which shows an example of the magnetic character line printed on media, such as a check.

符号の説明Explanation of symbols

1 磁気文字認識装置
11 紙媒体搬送路
12 着磁ヘッド
13 磁気ヘッド
14 ローラ
DESCRIPTION OF SYMBOLS 1 Magnetic character recognition apparatus 11 Paper medium conveyance path 12 Magnetization head 13 Magnetic head 14 Roller

Claims (4)

磁気インクを用いて印字された複数の磁気文字からなる文字列を磁気ヘッドで読み取る際の基準となる基準波形に基づいて、磁気文字の1文字ごとの基準文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、基準ピーク間隔配列データを準備する配列データ準備工程と、
情報記録媒体の表面に印字された磁気文字の文字列から、再生波形を生成する波形生成工程と、
前記再生波形から、磁気文字の1文字ごとの文字波形を切り出す切り出し工程と、
前記文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、ピーク間隔配列データを生成する配列データ生成工程と、
前記ピーク間隔配列データと、前記基準ピーク間隔配列データとを比較する比較工程と、を含み、
前記切り出し工程において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定し、
前記切り出し工程において、前記所定の強度値は、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散を求め、その分散値に基づいて決定され、
前記比較工程の比較結果に基づいて、最も一致度の高いピーク間隔配列データに対応する文字を読み取り文字として決定することを特徴とする磁気文字認識方法。
A plurality of peaks included in a reference character waveform for each character of a magnetic character based on a reference waveform serving as a reference for reading a character string composed of a plurality of magnetic characters printed using magnetic ink with a magnetic head. An array data preparation step of preparing reference peak interval array data from an array pattern of intervals between peaks of
A waveform generating step for generating a reproduction waveform from a character string of magnetic characters printed on the surface of the information recording medium;
From the reproduced waveform, a cutting process to cut out the character waveform for each character of the magnetic character,
An array data generation step for generating peak interval array data from an array pattern of intervals between a plurality of peaks included in the peaks constituting the character waveform;
Comparing the peak interval sequence data with the reference peak interval sequence data,
In the clipping step, depending on whether or not there is a peak greater than or equal to a predetermined intensity value within the length of one character, the reproduced waveform at that portion is made to correspond to the character region or to the non-signal region. Determine whether
In the clipping step, the predetermined intensity value is determined based on a dispersion value obtained by obtaining all peak values included in the reproduced waveform, obtaining a variance of peaks within a certain range from the average value of the reproduced waveform. ,
A magnetic character recognition method, wherein a character corresponding to peak interval array data having the highest degree of coincidence is determined as a read character based on a comparison result of the comparison step.
前記磁気文字認識方法は、前記ピーク間隔配列データと前記基準ピーク間隔配列データとの相関係数を比較して、最も一致度の高い相関係数に対応する文字を読み取り文字として決定することを特徴とする請求項1記載の磁気文字認識方法。   In the magnetic character recognition method, the correlation coefficient between the peak interval arrangement data and the reference peak interval arrangement data is compared, and the character corresponding to the correlation coefficient having the highest degree of coincidence is determined as a read character. The magnetic character recognition method according to claim 1. 磁気インクを用いて印字された複数の磁気文字からなる文字列を磁気ヘッドで読み取る際の基準となる基準波形に基づいて、磁気文字の1文字ごとの基準文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンを、基準ピーク間隔配列データとして記憶する配列データ記憶部と、
情報記録媒体の表面に印字された磁気文字の文字列から、再生波形を生成する波形生成部と、
前記再生波形から、磁気文字の1文字ごとの文字波形を切り出す切り出し部と、
前記文字波形を構成するピークに含まれる複数のピーク間の間隔の配列パターンから、ピーク間隔配列データを生成する配列データ生成部と、
前記ピーク間隔配列データと、前記基準ピーク間隔配列データとを比較する比較部と、を含み、
前記切り出し部において、1文字分の長さの範囲内に、所定の強度値以上のピークが存在するか否かによって、その部分の再生波形を、文字領域に対応させるか無信号領域に対応させるかを判定し、
前記切り出し部において、前記所定の強度値は、再生波形に含まれる全てのピーク値を求め、再生波形の平均値から一定の範囲内にあるピークの分散を求め、その分散値に基づいて決定され、
前記比較部の比較結果に基づいて、最も一致度の高いピーク間隔配列データに対応する文字を読み取り文字として決定することを特徴とする磁気文字認識装置。
A plurality of peaks included in a reference character waveform for each character of a magnetic character based on a reference waveform serving as a reference for reading a character string composed of a plurality of magnetic characters printed using magnetic ink with a magnetic head. An array data storage unit for storing an array pattern of intervals between peaks as reference peak interval array data;
A waveform generator for generating a reproduced waveform from a character string of magnetic characters printed on the surface of the information recording medium;
A cutout unit that cuts out a character waveform for each character of the magnetic character from the reproduced waveform;
An array data generation unit for generating peak interval array data from an array pattern of intervals between a plurality of peaks included in the peaks constituting the character waveform;
A comparison unit for comparing the peak interval arrangement data and the reference peak interval arrangement data,
In the cutout unit, depending on whether or not there is a peak of a predetermined intensity value or more within the range of the length of one character, the reproduced waveform of that portion is made to correspond to the character region or to the non-signal region. Determine whether
In the clipping unit, the predetermined intensity value is determined based on a dispersion value obtained by obtaining all peak values included in the reproduced waveform, obtaining a variance of peaks within a certain range from the average value of the reproduced waveform. ,
A magnetic character recognition apparatus, wherein a character corresponding to peak interval array data having the highest degree of coincidence is determined as a read character based on a comparison result of the comparison unit.
前記比較部は、前記ピーク間隔配列データと前記基準ピーク間隔配列データとの相関係数を比較して、最も一致度の高い相関係数に対応する文字を読み取り文字として決定することを特徴とする請求項3記載の磁気文字認識装置。The comparison unit compares a correlation coefficient between the peak interval arrangement data and the reference peak interval arrangement data, and determines a character corresponding to the correlation coefficient with the highest degree of matching as a read character. The magnetic character recognition device according to claim 3.
JP2007131232A 2007-05-17 2007-05-17 Magnetic character recognition method and magnetic character recognition device Expired - Fee Related JP4923223B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2007131232A JP4923223B2 (en) 2007-05-17 2007-05-17 Magnetic character recognition method and magnetic character recognition device
AT08008898T ATE537524T1 (en) 2007-05-17 2008-05-14 METHOD AND DEVICE FOR MAGNETIC CHARACTER RECOGNITION
EP08008898A EP1993077B1 (en) 2007-05-17 2008-05-14 Method and apparatus for magnetic character recognition
US12/123,090 US8121384B2 (en) 2007-05-17 2008-05-19 Method and apparatus for magnetic character recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007131232A JP4923223B2 (en) 2007-05-17 2007-05-17 Magnetic character recognition method and magnetic character recognition device

Publications (2)

Publication Number Publication Date
JP2008287457A JP2008287457A (en) 2008-11-27
JP4923223B2 true JP4923223B2 (en) 2012-04-25

Family

ID=40147119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007131232A Expired - Fee Related JP4923223B2 (en) 2007-05-17 2007-05-17 Magnetic character recognition method and magnetic character recognition device

Country Status (1)

Country Link
JP (1) JP4923223B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101495656B1 (en) 2009-06-24 2015-02-25 노틸러스효성 주식회사 A method of recognizing magnetic ink character

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3531303B2 (en) * 1994-10-18 2004-05-31 セイコーエプソン株式会社 Printer and control method thereof
JP3748496B2 (en) * 1999-04-23 2006-02-22 日本電産サンキョー株式会社 Data demodulation method
JP3778742B2 (en) * 1999-11-02 2006-05-24 日本電産サンキョー株式会社 Data demodulating method and data demodulating device
JP2001209903A (en) * 2000-01-24 2001-08-03 Sankyo Seiki Mfg Co Ltd Magnetic card reader and reproducing method of magnetic data
JP4617537B2 (en) * 2000-06-06 2011-01-26 セイコーエプソン株式会社 Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus
JP4186806B2 (en) * 2003-11-28 2008-11-26 セイコーエプソン株式会社 Magnetic barcode recognition apparatus, magnetic barcode recognition method, and program

Also Published As

Publication number Publication date
JP2008287457A (en) 2008-11-27

Similar Documents

Publication Publication Date Title
US6986464B2 (en) Magnetic ink character reading apparatus and magnetic ink character reading method
EP1993077B1 (en) Method and apparatus for magnetic character recognition
JP4887516B2 (en) Magnetic ink character recognition method and magnetic character recognition device
JP5245088B2 (en) Magnetic character recognition method and magnetic character recognition device
JP4923227B2 (en) Magnetic character recognition method and magnetic character recognition device
JP4923223B2 (en) Magnetic character recognition method and magnetic character recognition device
US9208368B2 (en) Recording media processing device, control method of a recording media processing device, and storage medium for recognizing magnetic ink characters
US9576211B2 (en) Device, method, and storage medium for magnetic ink character peak detection and recognition
JP4923225B2 (en) Character cutting method and character cutting device
JP2017199326A (en) Character reading device
US9129175B2 (en) Recording media processing device, control method of a recording media processing device, and computer-readable recording medium
JP6974151B2 (en) Magnetic ink character recognition device and program
Ng et al. Segmentation of music primitives
US9047530B2 (en) Recording media processing device, control method of a recording media processing device, and computer-readable recording medium storing a program
JP2011054029A (en) Magnetic ink character recognition device and magnetic ink character recognition method
US9042633B2 (en) Recording media processing device, control method of a recording media processing device, and non-transitory storage medium
JP2001291058A (en) Character recognizing device and recording medium
US9189671B2 (en) Method, device and non-transitory storage medium storing program instructions to recognize magnetic ink characters utilizing reference and input waveform scaling
JP2778436B2 (en) Character segmentation device
JP2010079725A (en) Magnetic ink character reader
JPH09259225A (en) Character recognizing and converting method and character data processor
JPH01234985A (en) Character segmenting device for character reader
JP2004295359A (en) Apparatus and method for reading magnetic data
JP2013020414A (en) Recording medium processor, control method of the same and program
JPH11272795A (en) Method and device for character read and method and device for character examination

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100126

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110719

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110913

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111220

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120110

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4923223

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees