JP2001351062A - Method for recognizing magnetic pattern, information recording medium, magnetic pattern recognition device, and composite processor - Google Patents

Method for recognizing magnetic pattern, information recording medium, magnetic pattern recognition device, and composite processor

Info

Publication number
JP2001351062A
JP2001351062A JP2000169239A JP2000169239A JP2001351062A JP 2001351062 A JP2001351062 A JP 2001351062A JP 2000169239 A JP2000169239 A JP 2000169239A JP 2000169239 A JP2000169239 A JP 2000169239A JP 2001351062 A JP2001351062 A JP 2001351062A
Authority
JP
Japan
Prior art keywords
interval
pattern
magnetic
bar
magnetic pattern
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.)
Granted
Application number
JP2000169239A
Other languages
Japanese (ja)
Other versions
JP2001351062A5 (en
JP4617537B2 (en
Inventor
Yoshiaki Kinoshita
禄章 木下
Shugo Mochizuki
秀剛 望月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2000169239A priority Critical patent/JP4617537B2/en
Publication of JP2001351062A publication Critical patent/JP2001351062A/en
Publication of JP2001351062A5 publication Critical patent/JP2001351062A5/ja
Application granted granted Critical
Publication of JP4617537B2 publication Critical patent/JP4617537B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a magnetic pattern recognition method, its device, an information recording medium and a composite processor capable of recognizing a magnetic pattern of a bent state and a magnetic pattern of a non-bent state which are printed on check paper by converting the peak interval of a detecting magnetic waveform acquired from the magnetic pattern into a bar interval pattern. SOLUTION: In a step S402, the detected magnetic waveform of one magnetic pattern is segmented from an acquired detecting magnetic waveform, and in a step S403, plural peak intervals of the segmented detecting magnetic waveform are measured. In a step S404, plural bar intervals of the magnetic pattern are calculated from the measured peak intervals and each of the calculated bar intervals is converted into a 'wide' interval or a 'narrow' interval of the bar interval pattern on the basis of pattern conversion consisting of two steps, S405 and S412. In a step S409, a character is recognized from the bar interval pattern of one converted magnetic pattern on the basis of a correspondence table between bar interval patterns and characters.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、磁気パターンの認
識方法、情報記録媒体、磁気パターン認識装置及び複合
処理装置に関する。特に、磁気パターンの認識方法にお
いて、磁気パターンの取得した検出磁気波形のピーク間
隔をバー間隔パターンに変換して、数字及び記号として
認識するステップを備えた磁気パターンの認識方法、情
報記録媒体、磁気パターン認識装置及び複合処理装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic pattern recognition method, an information recording medium, a magnetic pattern recognition device, and a multifunction device. In particular, in the method of recognizing a magnetic pattern, a method of recognizing a magnetic pattern, comprising the steps of converting a peak interval of a detected magnetic waveform obtained from a magnetic pattern into a bar interval pattern and recognizing the interval as a number and a symbol, The present invention relates to a pattern recognition device and a multifunction device.

【0002】[0002]

【従来の技術】従来から、金融機関などにおいては、磁
気インク文字が使用されており、磁気インク文字の印刷
されたチェック用紙などが磁気パターン認識装置によっ
て選別され、集計等の作業が行われていた。現金やカー
ドと同様に多くのパーソナルチェックが店舗における買
い物に使用されるケースも多い。このパーソナルチェッ
クの表面には、カスタマーアカウントやパーソナルチェ
ックのシリアル番号などが磁気インク文字(MICR文
字、Magnetic Ink Character
Recognition)を用いて記載してあり、この
磁気インク文字を磁気ヘッドで読み取り、これらのデー
タを照会することによって、パーソナルチェックの有効
・無効が確認できるようになっている。
2. Description of the Related Art Conventionally, magnetic ink characters have been used in financial institutions and the like, and check sheets or the like on which magnetic ink characters have been printed are selected by a magnetic pattern recognition device, and operations such as tabulation are performed. Was. Many personal checks, like cash and cards, are often used for shopping at stores. On the surface of the personal check, the customer account, the serial number of the personal check, and the like are printed with magnetic ink characters (MICR characters, Magnetic Ink Character).
Recognition), and the validity / invalidity of the personal check can be confirmed by reading the magnetic ink characters with a magnetic head and referring to these data.

【0003】このため、各々の店舗の会計処理ステーシ
ョン(POSステーション)に磁気インクを認識するた
めの装置が設置されるようになっており、これらの多く
の装置は直流モータを用いてパーソナルチェック用紙を
搬送しながら磁気ヘッドによって磁気インク文字を認識
するようになっている。
[0003] For this reason, devices for recognizing magnetic ink are installed at accounting stations (POS stations) of each store. Many of these devices use a DC motor to provide personal check paper. The magnetic head recognizes magnetic ink characters while transporting the ink.

【0004】MICR文字としては、欧州や南米などに
おいて使用されているCMC7フォントと主に北米にお
いて使用されているE13Bフォントがある。以下、磁
気インク文字であるMICR文字のCMC7フォント
(以下、MICR−CMC7フォント文字とする)を使
用して説明する。
[0004] As MICR characters, there are CMC7 fonts used in Europe and South America, and E13B fonts mainly used in North America. Hereinafter, a description will be given using a MICR character CMC7 font (hereinafter, referred to as MICR-CMC7 font character) which is a magnetic ink character.

【0005】MICR−CMC7フォント文字を使用し
て印刷されたCMC7チェックの規格においては、フォ
ントとして、10種類の数字、5種類の記号及び26種
類のアルファベットが存在する。
[0005] In the CMC7 check standard printed using MICR-CMC7 font characters, there are 10 types of numbers, 5 types of symbols, and 26 types of alphabets as fonts.

【0006】MICR−CMC7フォント文字は磁気バ
ーコードである。一文字が7本のバーで構成され、隣り
合う2つのバーによって形成される6つのバー間隔が
「広い」間隔(=1)、または「狭い」間隔(=0)の
組み合せによって、文字を認識する。MICR−CMC
7フォント文字において、バー間隔の「広い」間隔の数
をN1、「狭い」間隔の数をN0とすると、数字と記号
は、N1:N0=2:4であり、アルファベットは、N
1:N0=1:5またはN1:N0=3:3である。
[0006] MICR-CMC7 font characters are magnetic barcodes. One character is composed of seven bars, and the character is recognized by a combination of a “wide” interval (= 1) or a “narrow” interval (= 0) in which six adjacent bars formed by two adjacent bars are spaced apart. . MICR-CMC
Assuming that the number of "wide" bar intervals is N1 and the number of "narrow" intervals is 7 in 7 font characters, the numbers and symbols are N1: N0 = 2: 4, and the alphabet is N
1: N0 = 1: 5 or N1: N0 = 3: 3.

【0007】図6は、MICR−CMC7フォント文字
の数字と記号の一例を示す。図7は、MICR−CMC
7フォント文字を、6つのバー間隔の「広い」間隔(=
1)または「狭い」間隔(=0)の組み合せパターン
(以下、「バー間隔パターン」とする)によって表した
対応表である。
FIG. 6 shows an example of numbers and symbols of MICR-CMC7 font characters. FIG. 7 shows the MICR-CMC
7 font characters are converted to a "wide" space (=
1) or a correspondence table represented by a combination pattern of “narrow” intervals (= 0) (hereinafter, referred to as a “bar interval pattern”).

【0008】[0008]

【発明が解決しようとする課題】現在、市場に流通して
いるCMC7チェック用紙に使用されているMICR−
CMC7フォント文字は、数字と記号のみであり、アル
ファベットは使用されていない。そのため、バー間隔の
「広い」間隔の数をN1、「狭い」間隔の数をN0とす
るとき、文字を認識するための判定条件は、N1とN0
の割合が重要となる。即ち、N1:N0=2:4である
場合は、数字または記号であると判定できる。
SUMMARY OF THE INVENTION At present, MICR-CMI7 is used for CMC7 check paper on the market.
CMC7 font characters are only numbers and symbols, and no alphabet is used. Therefore, when the number of “wide” intervals of the bar intervals is N1 and the number of “narrow” intervals is N0, the determination conditions for character recognition are N1 and N0.
Is important. That is, if N1: N0 = 2: 4, it can be determined that the number or symbol is used.

【0009】しかしながら、CMC7チェック用紙を折
り曲げた場合、CMC7チェック用紙は、折り目部分に
おいて物理的な縮みが生じる。従って、折り目部分の物
理的な縮みにより、折り曲げられたCMC7チェック用
紙を磁気ヘッドによって読み取った検出磁気波形も縮み
の影響を受ける。
[0009] However, when the CMC7 check paper is folded, the CMC7 check paper physically shrinks at the fold. Therefore, due to the physical contraction of the fold, the detected magnetic waveform obtained by reading the folded CMC7 check sheet by the magnetic head is also affected by the contraction.

【0010】フォント上に折り目がある場合、折り目部
分の物理的な縮みにより、本来「広い」間隔であるはず
のバー間隔が、「狭い」間隔のバー間隔であると判定さ
れてしまう可能性がある。そのため、バー間隔の「広
い」間隔の数をN1、「狭い」間隔の数をN0とすると
き、数字または記号であるはずのN1:N0=2:4
が、N1:N0=1:5となってしまい、数字または記
号であると認識できない可能性がある。
When there is a fold on a font, there is a possibility that a bar interval which should be a "wide" interval is determined to be a "narrow" interval due to physical shrinkage of a fold portion. is there. Therefore, when the number of “wide” intervals of the bar intervals is N1 and the number of “narrow” intervals is N0, N1: N0 = 2: 4, which should be a number or a symbol.
However, there is a possibility that N1: N0 = 1: 5, and it cannot be recognized as a number or a symbol.

【0011】図8、図9は、CMC7チェック用紙のフ
ォント上に折り目が存在する場合の、折り目によるバー
間隔の縮みを説明する図である。ここで、説明に用いた
MICR−CMC7フォント文字は、記号「SV」であ
る。また、バーの長軸に平行となるような折り目軸とす
る。
FIGS. 8 and 9 are diagrams for explaining the reduction of the bar interval due to the fold when the fold exists on the font of the CMC7 check paper. Here, the MICR-CMC7 font character used in the description is the symbol “SV”. Also, the fold axis is parallel to the long axis of the bar.

【0012】図8(a)は、折り曲げる前のCMC7チ
ェック用紙を、折り目軸に直交する面で切断した図であ
る。図8(b)は、折り曲げた後のCMC7チェック用
紙を、折り目軸に直交する面で切断した図である。図8
(c)は、折り曲げる前のバー間隔を説明する図であ
る。図8(d)は、折り曲げた後のバー間隔を説明する
図である。
FIG. 8A is a diagram in which the CMC7 check sheet before bending is cut along a plane perpendicular to the fold axis. FIG. 8B is a diagram in which the folded CMC7 check paper is cut along a plane perpendicular to the fold axis. FIG.
(C) is a figure explaining bar interval before bending. FIG. 8D is a diagram illustrating the bar interval after bending.

【0013】図8に示すように、用紙送り方向を矢印8
02とするとき、CMC7チェック用紙804を用紙送
り方向に沿って移動させて磁気ヘッド801によって検
出磁気波形を取得する。このとき、磁気ヘッド801に
よる検出磁気波形の読み取り方向は矢印803となる。
MICR−CMC7フォント文字の7本のバーをバー8
05aからバー805gとする。折り曲げる前の隣り合
う2つのバーによって形成される6つのバー間隔をバー
間隔806aからバー間隔806fとし、折り曲げた後
の隣り合う2つのバーによって形成される6つのバー間
隔をバー間隔808aからバー間隔808fとし、そし
て、折り曲げた位置を折り目807とする。ここで、磁
気ヘッド801の読み取り方向をバーの長軸に直交する
方向とする。また、磁気ヘッド801に対して先に読み
取られるバーの近端部と次に読み取られるバーの近端部
との間の距離をバー間隔とする。即ち、図8において
は、隣り合う2つのバーのそれぞれの右端部の間の距離
がバー間隔である。
[0013] As shown in FIG.
When the value is set to 02, the CMC 7 check paper 804 is moved in the paper feed direction, and the detected magnetic waveform is acquired by the magnetic head 801. At this time, the reading direction of the detected magnetic waveform by the magnetic head 801 is indicated by an arrow 803.
MICR-CMC7 7 bars of font characters into bar 8
Starting from 05a, the bar is 805g. The interval between six bars formed by two adjacent bars before bending is set to a bar interval 806f from the bar interval 806a, and the interval between six bars formed by two adjacent bars after bending is set to a bar interval from the bar interval 808a. 808f, and the bent position is a fold 807. Here, the reading direction of the magnetic head 801 is a direction orthogonal to the long axis of the bar. The distance between the near end of the bar that is read first with respect to the magnetic head 801 and the near end of the bar that is read next is defined as a bar interval. That is, in FIG. 8, the distance between the right ends of two adjacent bars is the bar interval.

【0014】折り曲げる前のバー間隔を、「広い」間隔
(=1)と「狭い」間隔(=0)とによって表すと、バ
ー間隔806aは0、バー間隔806bは0、バー間隔
806cは0、バー間隔806dは0、バー間隔806
eは1、バー間隔806fは1となる。即ち、MICR
−CMC7フォント文字の1文字分のバー間隔パターン
は「000011」となり、図7の表から記号「SV」
であると認識できる。
When the bar interval before bending is represented by a “wide” interval (= 1) and a “narrow” interval (= 0), the bar interval 806a is 0, the bar interval 806b is 0, and the bar interval 806c is 0. The bar interval 806d is 0, the bar interval 806
e is 1 and the bar interval 806f is 1. That is, MICR
The bar interval pattern of one character of the CMC7 font character is “0000011”, and the symbol “SV” is obtained from the table of FIG.
Can be recognized.

【0015】一方、折り目807をバー805eとバー
805fの間とする場合、CMC7チェック用紙の折り
目807の近傍において縮みが生じる。即ち、折り山が
できることによって折り目807を挟んだバー間隔80
8eが、折り曲げる前と比較して狭くなる。折り曲げた
後のバー間隔を「広い」間隔(=1)と「狭い」間隔
(=0)とによって表すと、バー間隔808aは0、バ
ー間隔808bは0、バー間隔808cは0、バー間隔
808dは0、バー間隔808eは0、バー間隔808
fは1となる。即ち、MICR−CMC7フォント文字
の1文字分のバー間隔パターンは「000001」とな
り、アルファベットとしては認識できるが、記号「S
V」として認識できない結果となる。
On the other hand, if the fold 807 is located between the bars 805e and 805f, the CMC7 check paper shrinks near the fold 807. That is, the bar interval 80 sandwiching the fold 807
8e becomes narrower than before bending. When the bar interval after bending is represented by a “wide” interval (= 1) and a “narrow” interval (= 0), the bar interval 808a is 0, the bar interval 808b is 0, the bar interval 808c is 0, and the bar interval 808d. Is 0, bar interval 808e is 0, bar interval 808
f becomes 1. That is, the bar interval pattern for one MICR-CMC7 font character is “000001”, which can be recognized as an alphabet, but the symbol “S
V "cannot be recognized.

【0016】上述したCMC7チェック用紙の縮みを、
磁気ヘッド801によって取得した検出磁気波形を使用
して説明する。
The shrinkage of the CMC7 check sheet described above is
A description will be given using a detected magnetic waveform acquired by the magnetic head 801.

【0017】図9(a)は、磁気バーコードであるMI
CR−CMC7フォント文字のバーと検出磁気波形の関
係を示す図である。ここで、磁気ヘッドの読み取り方向
を矢印901とし、MICR−CMC7フォント文字の
バーをバー902aからバー902gとする。また、磁
気ヘッドに早く読み取られる側の読み取り方向に垂直な
バーの端部を、バー右端部904aからバー右端部90
4gとし、磁気ヘッドに遅く読み取られる側の読み取り
方向に垂直なバーの端部を、バー左端部903aからバ
ー左端部903gとし、MICR−CMC7フォント文
字の隣り合う2つのバーのバー間隔を、バー間隔905
aからバー間隔905fとする。
FIG. 9A shows a magnetic bar code MI.
It is a figure which shows the relationship between the bar of CR-CMC7 font character, and a detected magnetic waveform. Here, the reading direction of the magnetic head is indicated by an arrow 901, and the bars of the MICR-CMC7 font characters are indicated by bars 902a to 902g. In addition, the end of the bar perpendicular to the reading direction on the side where the magnetic head reads quickly is moved from the bar right end 904a to the bar right end 90a.
4g, and the end of the bar perpendicular to the reading direction on the side that is read late by the magnetic head is from the left end of the bar 903a to the left end of the bar 903g, and the bar interval between two adjacent bars of the MICR-CMC7 font character is expressed as Interval 905
The bar interval is 905f from a.

【0018】検出磁気波形は、CMC7チェック用紙の
磁化されたバーによる磁束密度の変化を電圧変化として
測定したものである。
The detected magnetic waveform is obtained by measuring a change in magnetic flux density due to a magnetized bar of the CMC7 check paper as a voltage change.

【0019】従って、検出磁気波形は微分波形となり、
バーの端部の位置において、極値をとる波形となる。即
ち、バー右端部904aからバー右端部904gの位置
において、検出磁気波形は極大値(以下、ピークとい
う)となり、バー左端部903aからバー左端部903
gの位置において検出磁気波形は極小値(以下、ボトム
ピークという)となる。
Therefore, the detected magnetic waveform becomes a differential waveform,
At the position of the end of the bar, the waveform has an extreme value. That is, at the position from the bar right end 904a to the bar right end 904g, the detected magnetic waveform has a maximum value (hereinafter, referred to as a peak), and the bar left end 903a to the bar left end 903.
At the position g, the detected magnetic waveform has a minimum value (hereinafter, referred to as a bottom peak).

【0020】また、バー間隔905aからバー間隔90
5fは、検出磁気波形の隣り合うピークの間の距離であ
るピーク間隔906aからピーク間隔906fに対応付
けられる。即ち、バー間隔が「広い」間隔とは、ピーク
間隔が「広い」間隔であり、バー間隔が「狭い」間隔と
は、ピーク間隔が「狭い」間隔である。
The bar interval 905a to the bar interval 90
5f is associated with a peak interval 906a to a peak interval 906f which is a distance between adjacent peaks of the detected magnetic waveform. That is, the "wide" bar interval is a "wide" peak interval, and the "narrow" bar interval is a "narrow" peak interval.

【0021】図9(b)は、図8に示したように、折り
目807をバー805eとバー805fの間とする場合
の、MICR−CMC7フォント文字を折り曲げる前の
検出磁気波形と折り曲げた後の検出磁気波形を示す図で
ある。
FIG. 9 (b) shows the detected magnetic waveform before the MICR-CMC7 font character is folded and the folded magnetic wave after folding the fold 807 between the bars 805e and 805f as shown in FIG. It is a figure showing a detected magnetic waveform.

【0022】MICR−CMC7フォント文字を折り曲
げる前の検出磁気波形を実線により示す波形911と
し、折り曲げた後の検出磁気波形を点線により示す波形
912とする。また、波形911のピーク間隔をピーク
間隔913aからピーク間隔913fとし、波形912
のピーク間隔をピーク間隔914aからピーク間隔91
4fとする。ここで、図9(b)は検出磁気波形の読み
取り方向を矢印910とする。
A detected magnetic waveform before bending the MICR-CMC7 font character is represented by a waveform 911 indicated by a solid line, and a detected magnetic waveform after the bending is represented by a waveform 912 indicated by a dotted line. Further, the peak interval of the waveform 911 is changed from the peak interval 913a to the peak interval 913f, and the waveform 912 is set.
From the peak interval 914a to the peak interval 91
4f. Here, in FIG. 9B, the reading direction of the detected magnetic waveform is indicated by an arrow 910.

【0023】折り曲げる前の波形911のピーク間隔
を、「広い」間隔(=1)と「狭い」間隔(=0)とに
よって表すと、ピーク間隔913aは0、ピーク間隔9
13bは0、ピーク間隔913cは0、ピーク間隔91
3dは0、ピーク間隔913eは1、ピーク間隔913
fは1となる。即ち、ピーク間隔に対応付けられる図8
のバー間隔は、バー間隔808aは0、バー間隔808
bは0、バー間隔808cは0、バー間隔808dは
0、バー間隔808eは1、バー間隔808fは1とな
り、MICR−CMC7フォント文字の1文字分のバー
間隔パターンは「000011」となり、図7の表から
記号「SV」であると認識できる。
When the peak interval of the waveform 911 before bending is represented by a “wide” interval (= 1) and a “narrow” interval (= 0), the peak interval 913 a is 0, and the peak interval 9
13b is 0, peak interval 913c is 0, peak interval 91
3d is 0, peak interval 913e is 1, peak interval 913
f becomes 1. That is, FIG. 8 corresponding to the peak interval
The bar interval 808a is 0, the bar interval 808 is
b is 0, bar interval 808c is 0, bar interval 808d is 0, bar interval 808e is 1, bar interval 808f is 1, and the bar interval pattern for one character of the MICR-CMC7 font character is "0000011". Can be recognized from the table as “SV”.

【0024】図8に示したように、折り目807により
バー間隔808eが狭くなる。従って、検出磁気波形の
ピーク間隔がバー間隔と対応することから、折り曲げた
後の波形912のピーク間隔914eは、折り曲げる前
の波形911のピーク間隔913eと比較して狭くな
る。折り曲げた後の波形912のピーク間隔を、「広
い」間隔(=1)と「狭い」間隔(=0)とによって表
すと、ピーク間隔914aは0、ピーク間隔914bは
0、ピーク間隔914cは0、ピーク間隔914dは
0、ピーク間隔914eは0、ピーク間隔914fは1
となる。即ち、ピーク間隔に対応付けられる図8のバー
間隔は、バー間隔808aは0、バー間隔808bは
0、バー間隔808cは0、バー間隔808dは0、バ
ー間隔808eは0、バー間隔808fは1となり、M
ICR−CMC7フォント文字の1文字分のバー間隔パ
ターンは「000001」となり、アルファベットとし
ては認識できるが、記号「SV」として認識できない結
果となる。
As shown in FIG. 8, the bar interval 808e is narrowed by the fold line 807. Therefore, since the peak interval of the detected magnetic waveform corresponds to the bar interval, the peak interval 914e of the waveform 912 after bending is narrower than the peak interval 913e of the waveform 911 before bending. When the peak interval of the folded waveform 912 is represented by a “wide” interval (= 1) and a “narrow” interval (= 0), the peak interval 914 a is 0, the peak interval 914 b is 0, and the peak interval 914 c is 0. , The peak interval 914d is 0, the peak interval 914e is 0, and the peak interval 914f is 1
Becomes That is, the bar intervals in FIG. 8 associated with the peak intervals are as follows: bar interval 808a is 0, bar interval 808b is 0, bar interval 808c is 0, bar interval 808d is 0, bar interval 808e is 0, and bar interval 808f is 1 And M
The bar interval pattern for one character of the ICR-CMC7 font character is “000001”, which can be recognized as an alphabet but not as a symbol “SV”.

【0025】従って、印刷規格においてはCMC7チェ
ック用紙を折ることを禁止しているが、実際の市場おい
ては、折りたたんで携帯している場合もあるため、従来
の磁気パターン認識装置では、文字を認識できないまた
は文字を誤認識するという問題点があった。
Therefore, although the printing standard prohibits folding of the CMC7 check paper, in the actual market, it may be folded and carried, and therefore, the conventional magnetic pattern recognition device may not be able to print characters. There has been a problem that characters cannot be recognized or characters are erroneously recognized.

【0026】本発明は、以上のような問題点を解決する
ためになされたもので、磁気パターンの認識において、
取得した検出磁気波形のピーク間隔をバー間隔パターン
に変換して、数字及び記号を認識するステップを備えた
磁気パターンの認識方法、情報記録媒体、磁気パターン
認識装置及び複合処理装置を提供することを目的とす
る。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems.
It is an object of the present invention to provide a magnetic pattern recognition method, an information recording medium, a magnetic pattern recognition device, and a multifunction device including a step of converting a peak interval of an obtained detected magnetic waveform into a bar interval pattern and recognizing numerals and symbols. Aim.

【0027】[0027]

【課題を解決するための手段】本発明者は、上述した従
来の問題点を解決すべく研究を重ねた。その結果、以下
の方法によって、磁気パターンの印刷されたチェック用
紙上の折り曲げられた磁気パターンについても文字とし
て認識できることが判明した。
Means for Solving the Problems The present inventor has conducted studies to solve the above-mentioned conventional problems. As a result, it has been found that a folded magnetic pattern on a check sheet on which a magnetic pattern is printed can be recognized as a character by the following method.

【0028】磁気パターンの認識において、取得した検
出磁気波形から1つ分の磁気パターンの検出磁気波形を
切り出す。切り出した検出磁気波形の複数のピーク間隔
を測定する。測定した複数のピーク間隔から磁気パター
ンの複数バー間隔を算出する。算出した複数のバー間隔
のそれぞれを2段階からなる判定条件に基づいて、バー
間隔パターンの「広い」間隔または「狭い」間隔に変換
する。変換した1つ分の磁気パターンのバー間隔パター
ンから、バー間隔パターンと文字の対応表に基づいて、
文字を認識する。
In recognizing a magnetic pattern, a detected magnetic waveform of one magnetic pattern is cut out from the obtained detected magnetic waveform. A plurality of peak intervals of the extracted detected magnetic waveform are measured. A plurality of bar intervals of the magnetic pattern are calculated from the plurality of measured peak intervals. Each of the calculated plurality of bar intervals is converted into a “wide” interval or a “narrow” interval of the bar interval pattern based on a two-step determination condition. From the converted bar interval pattern of one magnetic pattern, based on the bar interval pattern and character correspondence table,
Recognize characters.

【0029】上記研究結果に基づき、以下の発明を提供
する。
Based on the above research results, the following invention is provided.

【0030】本発明の、磁気パターンの認識方法におけ
る第1の態様は、複数のバーによって構成される、所定
の磁気パターンが複数個付された領域を磁気検出して、
検出された磁気パターンの検出磁気波形から複数のピー
クの隣り合う2つのピークの間の距離を表すピーク間隔
を取得する磁気パターン読み取りステップと、このよう
に取得した複数個のピーク間隔から、複数のバーの隣り
合う2つのバーの間の広さを2つの値によって表すバー
間隔パターンに変換することによって、磁気パターンを
所定の文字として認識する磁気パターン認識ステップ
と、を備えることを特徴とする磁気パターンの認識方法
である。例えば、MICR−CMC7フォント文字にお
いては、磁気ヘッドによって取得した検出磁気波形のピ
ーク間隔をバー間隔パターンに変換し、変換したバー間
隔パターンを図7の対応表と比較して、文字を認識する
ステップを備えている。
In a first aspect of the magnetic pattern recognition method of the present invention, a magnetic field is detected in a region formed by a plurality of bars and provided with a plurality of predetermined magnetic patterns.
A magnetic pattern reading step of obtaining a peak interval representing a distance between two adjacent peaks of the plurality of peaks from a detected magnetic waveform of the detected magnetic pattern; and a plurality of peak intervals obtained in this manner. A magnetic pattern recognition step of recognizing the magnetic pattern as a predetermined character by converting a width between two adjacent bars into a bar interval pattern represented by two values. This is a pattern recognition method. For example, in the case of MICR-CMC7 font characters, a step of converting the peak interval of the detected magnetic waveform acquired by the magnetic head into a bar interval pattern, comparing the converted bar interval pattern with the correspondence table of FIG. 7, and recognizing the character. It has.

【0031】本発明の、磁気パターンの認識方法におけ
る第2の態様は、磁気パターン認識ステップが、検出磁
気波形から磁気パターンを構成する複数のバーの隣り合
う2つのバーの間の距離であるバー間隔を算出するバー
間隔算出ステップと、バー間隔算出ステップによって算
出した前記バー間隔を、「広い」間隔または「狭い」間
隔のバー間隔パターンに変換するパターン変換ステップ
と、パターン変換ステップによって変換した1つ分の磁
気パターンのバー間隔パターンから磁気パターンを確定
する磁気パターン確定ステップと、を備えることを特徴
とする磁気パターンの認識方法である。例えば、バー間
隔が「広い」間隔のとき、バー間隔パターンを1とし
て、「狭い」間隔のとき、バー間隔パターンを0とす
る。
According to a second aspect of the magnetic pattern recognition method of the present invention, the magnetic pattern recognition step is a step of determining a distance between two adjacent bars of a plurality of bars constituting a magnetic pattern from a detected magnetic waveform. A bar interval calculating step of calculating an interval, a pattern converting step of converting the bar interval calculated in the bar interval calculating step into a bar interval pattern of “wide” or “narrow” interval, and 1 A magnetic pattern determining step of determining a magnetic pattern from the bar interval patterns of the two magnetic patterns. For example, when the bar interval is “wide”, the bar interval pattern is set to 1; when the bar interval is “narrow”, the bar interval pattern is set to 0.

【0032】本発明の、磁気パターンの認識方法におけ
る第3の態様は、パターン変換ステップが、バー間隔が
所定の判定境界範囲の最大境界値以上であるとき、バー
間隔のバー間隔パターンを「広い」間隔と判定し、バー
間隔が所定の判定境界範囲の最小境界値以下であると
き、バー間隔のバー間隔パターンを「狭い」間隔と判定
することを特徴とする磁気パターンの認識方法である。
即ち、バー間隔パターンが、確実に「広い」間隔である
バー間隔を判定すること備えている磁気パターンの認識
方法である。
In a third aspect of the magnetic pattern recognition method according to the present invention, the pattern conversion step sets the bar interval pattern of the bar interval to "wide" when the bar interval is greater than or equal to a maximum boundary value of a predetermined determination boundary range. And a bar interval pattern of the bar interval is determined to be a "narrow" interval when the bar interval is equal to or smaller than a minimum boundary value of a predetermined determination boundary range.
That is, this is a method for recognizing a magnetic pattern provided with a method for reliably determining a bar interval in which a bar interval pattern is a “wide” interval.

【0033】本発明の、磁気パターンの認識方法におけ
る第4の態様は、パターン変換ステップが、1つ分の磁
気パターンにおいて、バー間隔パターンの「広い」間隔
の数と「狭い」間隔の数との割合が1対5であり、か
つ、バー間隔のうち2番目に広いバー間隔と3番目に広
いバー間隔との間に有意差があるとき、2番目に広いバ
ー間隔のバー間隔パターンを「広い」間隔と判定するこ
とを特徴とする磁気パターンの認識方法である。例え
ば、MICR−CMC7フォント文字においては、「広
い」間隔の数と「狭い」間隔の数の割合が1対5である
ときは、MICR−CMC7フォント文字が折り曲げら
れているために、「広い」間隔が「狭い」間隔になって
いるバー間隔が存在する可能性がある。従って、MIC
R−CMC7フォント文字が折り曲げられているため
に、「広い」間隔が「狭い」間隔になっているバー間隔
を判定すること備えている磁気パターンの認識方法であ
る。
According to a fourth aspect of the magnetic pattern recognition method of the present invention, the pattern conversion step includes the steps of determining the number of “wide” and “narrow” intervals of the bar interval pattern in one magnetic pattern. Is 1: 5 and there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals, the bar interval pattern of the second widest bar interval is set to “ This is a method for recognizing a magnetic pattern, which is characterized by determining a "wide" interval. For example, in the case of the MICR-CMC7 font character, when the ratio of the number of “wide” spaces to the number of “narrow” spaces is 1: 5, the MICR-CMC7 font characters are folded, and thus “wide”. There may be bar spacings where the spacing is "narrow". Therefore, the MIC
This is a magnetic pattern recognition method provided with determining a bar interval in which a “wide” interval is a “narrow” interval because an R-CMC7 font character is bent.

【0034】本発明の、磁気パターンの認識方法におけ
る第5の態様は、パターン変換ステップが、1つ分の磁
気パターンにおいて、バー間隔のうち2番目に広いバー
間隔と3番目に広いバー間隔、所定の判定境界範囲の中
央値、及び所定の調整係数が下記の条件を満たすとき、
バー間隔のうち2番目に広いバー間隔と3番目に広いバ
ー間隔との間に有意差があると判定することを特徴とす
る磁気パターンの認識方法である。
According to a fifth aspect of the magnetic pattern recognizing method of the present invention, the pattern conversion step is such that, in one magnetic pattern, the second widest bar interval and the third widest bar interval among the bar intervals; When the median of the predetermined determination boundary range and the predetermined adjustment coefficient satisfy the following conditions,
A magnetic pattern recognition method characterized by determining that there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals.

【0035】2番目に広いバー間隔 >= 3番目に広
いバー間隔 +( 判定境界範囲の中央値−3番目に広
いバー間隔 )* 調整係数 ここで、*は、乗算を意味する。
Second widest bar interval> = Third widest bar interval + (median of determination boundary range-Third widest bar interval) * Adjustment coefficient Here, * means multiplication.

【0036】本発明の、磁気パターンの認識方法におけ
る第6の態様は、磁気パターン確定ステップが、1つ分
の磁気パターンにおけるバー間隔パターンの「広い」間
隔の数と「狭い」間隔の数との割合が2対4であると
き、磁気パターンを一義的に確定できることを特徴とす
る磁気パターンの認識方法である。
In a sixth aspect of the magnetic pattern recognizing method according to the present invention, the magnetic pattern determining step includes determining the number of "wide" intervals and the number of "narrow" intervals of the bar interval pattern in one magnetic pattern. The magnetic pattern recognition method is characterized in that when the ratio is 2: 4, the magnetic pattern can be uniquely determined.

【0037】本発明の、磁気パターンの認識方法におけ
る第7の態様は、磁気パターン読み取りステップが、検
出磁気波形及び検出条件を取得する磁気パターン検出ス
テップと、磁気パターン検出ステップによって取得した
検出磁気波形から1つ分の磁気パターンの検出磁気波形
を切り出す磁気パターン切り出しステップと、磁気パタ
ーン切り出しステップによって切り出した1つ分の磁気
パターンの検出磁気波形の複数のピークから、隣り合う
2つのピークの間の距離を測定するピーク間隔測定ステ
ップと、を備えることを特徴とする磁気パターンの認識
方法である。例えば、検出条件として、CMC7チェッ
クの用紙を読み取る速さなども必要である。読み取る速
さにより取得される検出磁気波形が異なってくる。
In a seventh aspect of the magnetic pattern recognizing method according to the present invention, the magnetic pattern reading step comprises: a magnetic pattern detecting step of obtaining a detected magnetic waveform and a detection condition; and a detected magnetic waveform obtained by the magnetic pattern detecting step. From a plurality of peaks of the detected magnetic waveform of one magnetic pattern cut out by the magnetic pattern cutting step, which cuts out the detected magnetic waveform of one magnetic pattern from And a peak interval measuring step of measuring a distance. For example, as a detection condition, a speed at which a sheet of CMC7 check is read is required. The detected magnetic waveform obtained differs depending on the reading speed.

【0038】本発明の、磁気パターンの認識方法におけ
る第8の態様は、磁気パターンを認識するための判定条
件を変更できる判定条件変更ステップを、更に備えるこ
とを特徴とする磁気パターンの認識方法である。
An eighth aspect of the magnetic pattern recognizing method according to the present invention is a magnetic pattern recognizing method characterized by further comprising a judgment condition changing step for changing a judgment condition for recognizing a magnetic pattern. is there.

【0039】本発明の、磁気パターンの認識方法におけ
る第9の態様は、判定条件として、調整係数を変更でき
ることを特徴とする磁気パターンの認識方法である。
A ninth aspect of the magnetic pattern recognition method according to the present invention is a magnetic pattern recognition method characterized in that an adjustment coefficient can be changed as a determination condition.

【0040】本発明の、磁気パターンの認識方法におけ
る第10の態様は、磁気パターンは、磁気インク文字で
あることを特徴とする磁気パターンの認識方法である。
A tenth aspect of the magnetic pattern recognition method according to the present invention is a magnetic pattern recognition method, wherein the magnetic pattern is a magnetic ink character.

【0041】本発明の、情報記録媒体における第1の態
様は、上述の磁気パターンの認識方法のステップを有す
るプログラムを記録した情報記録媒体である。
The first aspect of the information recording medium of the present invention is an information recording medium in which a program having the steps of the above-described magnetic pattern recognition method is recorded.

【0042】本発明の、情報記録媒体における第2の態
様は、コンパクト・ディスク、フロッピー・ディスク、
ハード・ディスク、光磁気ディスク、ディジタル・ビデ
オ・ディスク、もしくは磁気テープであることを特徴と
する。
The second aspect of the information recording medium of the present invention is a compact disk, a floppy disk,
It is a hard disk, a magneto-optical disk, a digital video disk, or a magnetic tape.

【0043】本発明の、磁気パターン認識装置における
第1の態様は、複数のバーによって構成される、所定の
磁気パターンが複数個付された領域を磁気検出して、検
出された磁気パターンの検出磁気波形から複数のピーク
の隣り合う2つのピークの間の距離を表すピーク間隔を
取得する磁気パターン読み取り手段と、このように取得
した複数個のピーク間隔から、複数のバーの隣り合う2
つのバーの間の広さを2つの値によって表すバー間隔パ
ターンに変換することによって、磁気パターンを所定の
文字として認識する磁気パターン認識手段と、を備える
ことを特徴とする磁気パターン認識装置である。
A first aspect of the magnetic pattern recognition apparatus of the present invention is to detect a magnetic field in a region formed by a plurality of bars and having a plurality of predetermined magnetic patterns, and to detect the detected magnetic pattern. Magnetic pattern reading means for acquiring a peak interval indicating a distance between two adjacent peaks of a plurality of peaks from a magnetic waveform; and obtaining a plurality of adjacent bars of a plurality of bars from the plurality of peak intervals thus acquired.
A magnetic pattern recognizing means for recognizing a magnetic pattern as a predetermined character by converting a width between two bars into a bar interval pattern represented by two values. .

【0044】本発明の、磁気パターン認識装置における
第2の態様は、磁気パターン認識手段が、検出磁気波形
から磁気パターンを構成する複数のバーの隣り合う2つ
のバーの間の距離であるバー間隔を算出するバー間隔算
出手段と、バー間隔算出手段によって算出した前記バー
間隔を、「広い」間隔または「狭い」間隔のバー間隔パ
ターンに変換するパターン変換手段と、パターン変換手
段によって変換した1つ分の磁気パターンのバー間隔パ
ターンから磁気パターンを確定する磁気パターン確定手
段と、を備えることを特徴とする磁気パターン認識装置
である。
According to a second aspect of the magnetic pattern recognition device of the present invention, the magnetic pattern recognition means uses a bar interval which is a distance between two adjacent bars of a plurality of bars constituting a magnetic pattern from a detected magnetic waveform. , A pattern conversion unit that converts the bar interval calculated by the bar interval calculation unit into a bar interval pattern having a “wide” interval or a “narrow” interval, and one converted by the pattern conversion unit. And a magnetic pattern determining means for determining a magnetic pattern from the bar interval pattern of the minute magnetic pattern.

【0045】本発明の、磁気パターン認識装置における
第3の態様は、パターン変換手段が、バー間隔が所定の
判定境界範囲の最大境界値以上であるとき、バー間隔の
バー間隔パターンを「広い」間隔と判定し、バー間隔が
所定の判定境界範囲の最小境界値以下であるとき、バー
間隔のバー間隔パターンを「狭い」間隔と判定すること
を特徴とする磁気パターン認識装置である。
According to a third aspect of the magnetic pattern recognition device of the present invention, the pattern conversion means sets the bar interval pattern of the bar interval to "wide" when the bar interval is greater than or equal to a maximum boundary value of a predetermined determination boundary range. The magnetic pattern recognition device is characterized in that a bar interval pattern of the bar interval is determined as a “narrow” interval when the bar interval is determined to be an interval and the bar interval is equal to or smaller than a minimum boundary value of a predetermined determination boundary range.

【0046】本発明の、磁気パターン認識装置における
第4の態様は、パター変換手段が、1つ分の磁気パター
ンにおいて、バー間隔パターンの「広い」間隔の数と
「狭い」間隔の数との割合が1対5であり、かつ、バー
間隔のうち2番目に広いバー間隔と3番目に広いバー間
隔との間に有意差があるとき、2番目に広いバー間隔の
前記バー間隔パターンを「広い」間隔と判定することを
特徴とする磁気パターン認識装置である。
According to a fourth aspect of the magnetic pattern recognition apparatus of the present invention, the putter converting means determines whether the number of "wide" intervals and the number of "narrow" intervals in the bar interval pattern in one magnetic pattern. When the ratio is 1: 5 and there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals, the bar interval pattern of the second widest bar interval is defined as “ The magnetic pattern recognition device is characterized by determining that the interval is "wide".

【0047】本発明の、磁気パターン認識装置における
第5の態様は、パターン変換手段が、1つ分の磁気パタ
ーンにおいて、バー間隔のうち2番目に広いバー間隔と
3番目に広いバー間隔、所定の判定境界範囲の中央値、
及び所定の調整係数が下記の条件を満たすとき、バー間
隔のうち2番目に広いバー間隔と3番目に広いバー間隔
との間に有意差があると判定することを特徴とする磁気
パターン認識装置である。
According to a fifth aspect of the magnetic pattern recognition device of the present invention, the pattern conversion means is arranged so that, in one magnetic pattern, the second widest bar interval and the third widest bar interval among the bar intervals are used. Median of the judgment boundary range of
A magnetic pattern recognition device for determining that there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals when the predetermined adjustment coefficient satisfies the following condition: It is.

【0048】2番目に広いバー間隔 >= 3番目に広
いバー間隔 +( 判定境界範囲の中央値−3番目に広
いバー間隔 )* 調整係数 本発明の、磁気パターン認識装置における第6の態様
は、磁気パターン確定手段が、1つ分の磁気パターンに
おけるバー間隔パターンの「広い」間隔の数と「狭い」
間隔の数との割合が2対4であるとき、磁気パターンを
一義的に確定できることを特徴とする磁気パターン認識
装置である。
Second Widest Bar Interval> = Third Widest Bar Interval + (Median of Judgment Boundary Range−Third Widest Bar Interval) * Adjustment Coefficient The sixth aspect of the magnetic pattern recognition device of the present invention is as follows. The magnetic pattern determining means determines the number of “wide” intervals of the bar interval pattern in one magnetic pattern as “narrow”
A magnetic pattern recognition apparatus characterized in that a magnetic pattern can be uniquely determined when the ratio of the number of intervals to the number of intervals is 2: 4.

【0049】本発明の、磁気パターン認識装置における
第7の態様は、磁気パターン読み取り手段が、検出磁気
波形及び検出条件を取得する磁気パターン検出手段と、
磁気パターン検出手段によって取得した検出磁気波形か
ら1つ分の磁気パターンの検出磁気波形を切り出す磁気
パターン切り出し手段と、磁気パターン切り出し手段に
よって切り出した1つ分の磁気パターンの検出磁気波形
の複数のピークから、隣り合う2つのピークの間の距離
を測定するピーク間隔測定手段と、を備えることを特徴
とする磁気パターン認識装置である。
According to a seventh aspect of the magnetic pattern recognition device of the present invention, the magnetic pattern reading means includes a magnetic pattern detecting means for acquiring a detected magnetic waveform and a detecting condition;
Magnetic pattern cutout means for cutting out a detected magnetic waveform of one magnetic pattern from the detected magnetic waveform acquired by the magnetic pattern detecting means, and a plurality of peaks of the detected magnetic waveform of one magnetic pattern cut out by the magnetic pattern cutout means And a peak interval measuring means for measuring a distance between two adjacent peaks.

【0050】本発明の、磁気パターン認識装置における
第8の態様は、磁気パターンを認識するための判定条件
を変更できる判定条件変更手段を、更に備えることを特
徴とする磁気パターン認識装置である。
An eighth aspect of the magnetic pattern recognition device according to the present invention is a magnetic pattern recognition device further comprising a judgment condition changing means for changing a judgment condition for recognizing a magnetic pattern.

【0051】本発明の、磁気パターン認識装置における
第9の態様は、判定条件として、調整係数を変更できる
ことを特徴とする磁気パターン認識装置である。
A ninth aspect of the magnetic pattern recognition device according to the present invention is a magnetic pattern recognition device characterized in that an adjustment coefficient can be changed as a determination condition.

【0052】本発明の、磁気パターン認識装置における
第10の態様は、磁気パターンは、磁気インク文字であ
ることを特徴とする磁気パターン認識装置である。
A tenth aspect of the magnetic pattern recognition device according to the present invention is a magnetic pattern recognition device, wherein the magnetic pattern is a magnetic ink character.

【0053】本発明の、複合処理装置における第1の態
様は、上述の磁気パターン認識装置の手段を備えること
を特徴とする複合処理装置である。
A first aspect of the multifunction device of the present invention is a multifunction device including the means of the magnetic pattern recognition device described above.

【0054】本発明の、複合処理装置における第2の態
様は、パルスモータを備えた紙送り手段と、紙送り手段
により送られた紙片に印刷する印刷手段と、紙送り手段
によって送られた紙片に付された磁気パターンを検出す
る磁気検出手段と、を更に備えることを特徴とする複合
処理装置である。
A second aspect of the multifunction device according to the present invention is a paper feeding means provided with a pulse motor, a printing means for printing on a paper piece sent by the paper feeding means, and a paper piece sent by the paper feeding means. And a magnetic detecting means for detecting a magnetic pattern attached to the multi-processing device.

【0055】また、本発明のCMC7文字の読みとり方
法は、チェック用紙上の、バー間隔が広い間隔と狭い間
隔からなるCMC7文字の読みとり方法において、前記
バーの隣り合う間隔が、広い距離か、狭い距離かを判断
する第1の判断ステップと、前記広い距離と判断した数
が、第1の所定の数であるかどうか判断する第2の判断
ステップとを備えた。
Further, according to the method of reading CMC7 characters of the present invention, in the method of reading CMC7 characters on a check sheet having a wide bar interval and a narrow bar interval, the interval between adjacent bars is wide or narrow. The method includes a first determination step of determining whether the distance is a distance, and a second determination step of determining whether the number determined as the wide distance is a first predetermined number.

【0056】さらに、前記第2の判断ステップで、前記
広い距離と判断した数が、前記第1の所定の数と異なる
第2の所定の数であると判断したとき、さらに、前記バ
ーの隣り合う間隔を、隣り合う間隔順に並べ替えるステ
ップを備えた。
Further, in the second determining step, when it is determined that the number determined to be the wide distance is a second predetermined number different from the first predetermined number, further determining that the distance adjacent to the bar is A step of rearranging the matching intervals in the order of adjacent intervals is provided.

【0057】さらに、前記第1の判断ステップは、広い
距離かどうか判断するための第1の閾値と、狭い距離か
どうか判断するための前記第1の閾値とは異なる第2の
閾値を有することを特徴とする。
Further, the first judging step has a first threshold for judging whether the distance is wide and a second threshold different from the first threshold for judging whether the distance is short. It is characterized by.

【0058】さらに、前記第2の並べ替えステップによ
って並べ替えられた間隔のうち、2番目に広い間隔と、
3番目に広い間隔との間隔が有意差以上であるかどうか
判断する第3の判断ステップをさらに備え、前記有意差
以上であれば、前記2番目に広い間隔を前記広い距離と
して決定するステップを有することを特徴とする。
Further, among the intervals rearranged in the second rearranging step, a second widest interval is provided;
The method further includes a third determining step of determining whether an interval from a third wide interval is greater than or equal to a significant difference. If the difference is greater than or equal to the significant difference, a step of determining the second wider interval as the wide distance is included. It is characterized by having.

【0059】さらに、前記第2の判断ステップで、第1
の所定の数でも第2の所定の数でもないと判断したと
き、エラー処理を行うステップを備えた。
Further, in the second determining step, the first
Performing an error process when it is determined that the predetermined number is neither the predetermined number nor the second predetermined number.

【0060】また、本発明のCMC7文字の読みとり装
置は、バー間隔が広い間隔と狭い間隔からなるCMC7
文字の読みとり装置において、前記バーの隣り合う間隔
が、広い間隔かどうか判断するための第1の閾値と、狭
い距離かどうか判断するため前記第1の閾値とは異なる
第2の閾値とを有する判断手段を備えた。
Further, the CMC7 character reading device of the present invention has a CMC7 having a wide bar interval and a narrow bar interval.
In the character reading device, the bar has a first threshold for judging whether the interval between the bars is a wide interval and a second threshold different from the first threshold for judging whether the interval is a narrow distance. A judgment means was provided.

【0061】[0061]

【発明の実施の形態】この発明の一実施形態を、図面を
参照しながら説明する。なお、以下に説明する実施形態
は説明のためのものであり、本発明の範囲を制限するも
のではない。従って、当業者であればこれらの各要素も
しくは全要素をこれと均等なもので置換した実施形態を
採用することが可能であるが、これらの実施形態も本発
明の範囲に含まれる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described with reference to the drawings. The embodiments described below are for explanation, and do not limit the scope of the present invention. Therefore, those skilled in the art can adopt embodiments in which each of these elements or all elements are replaced with equivalents, but these embodiments are also included in the scope of the present invention.

【0062】図1は、MICR−CMC7フォント文字
の認識機能を備えた複合処理装置の概要を示す斜視図で
ある。
FIG. 1 is a perspective view showing the outline of a multifunction device having a function of recognizing MICR-CMC7 font characters.

【0063】以下においては、プリンタをベースとして
MICR−CMC7フォント文字(磁気インク文字)の
認識機能を備えた複合処理装置(以下「プリンタ」とい
う)100に基づいてMICR−CMC7フォント文字
の認識機能を説明する。
In the following, the MICR-CMC7 font character recognition function is described based on a multifunction device (hereinafter referred to as “printer”) 100 having a printer-based MICR-CMC7 font character (magnetic ink character) recognition function. explain.

【0064】プリンタ100は、本体101の左右に延
びた移動軸102に沿ってプリンタヘッド(印刷ヘッ
ド)103が移動しながらジャーナル印字、およびスリ
ップ印字を行う。本例のプリンタヘッド103は、たと
えばワイヤードットタイプであり、ヘッド103に内蔵
されたワイヤーをプラテン104に向かって駆動しイン
クリボンをインパクトすることによって、ロール紙10
5または単票用紙106に印字を行う。プリンタヘッド
103はタイミングベルトやヘッド送り用のパルスモー
タを用いたプリンタヘッド駆動手段によって動かされ、
プラテン104に沿って左右に動いてロール紙105ま
たは単票用紙106の所定の位置に印字を行う。ロール
紙105または単票用紙106は、後述するフィードロ
ーラー群、および紙送り用のパルスモータなどによって
構成される紙送り機構によってプリンタヘッド103の
移動方向と直角に送られる。ロール紙105は本体10
1の後方101bにセットされ、後方101bからプラ
テン104とプリンタヘッド103の間を通って本体1
01の上方101cに導かれる。本例のプリンタ100
は、2本のロール紙105をセットでき、店舗の記録用
のジャーナル紙および領収書として使用するレシート紙
の印刷が可能である。
The printer 100 performs journal printing and slip printing while a printer head (print head) 103 moves along a moving shaft 102 extending left and right of a main body 101. The printer head 103 of the present example is, for example, a wire dot type, and drives a wire built in the head 103 toward a platen 104 to impact the ink ribbon, thereby forming a roll paper 10.
5 or cut sheet 106 is printed. The printer head 103 is moved by printer head driving means using a timing belt or a pulse motor for head feed,
The paper moves left and right along the platen 104 to print at a predetermined position on the roll paper 105 or cut sheet paper 106. The roll paper 105 or the cut sheet 106 is fed at right angles to the moving direction of the printer head 103 by a paper feed mechanism including a feed roller group described below and a paper feed pulse motor. The roll paper 105 is the main body 10
1 from the rear 101b, passes between the platen 104 and the printer head 103 from the rear 101b, and
01 to the upper side 101c. Printer 100 of this example
Can set two rolls of paper 105, and can print journal paper for store records and receipt paper used as a receipt.

【0065】さらに、プリンタ100はMICRデータ
を持ったパーソナルチェックなどの単票用紙(チェック
用紙)106の処理も行えるようになっている。チェッ
ク用紙106は、本体101の前方101aに用意され
た用紙挿入口109から、後述する紙経路を通ってプリ
ンタヘッド103とプラテン104との間に導かれ、印
刷が終了した後は、プリンタの上方101cから排出さ
れる。
Further, the printer 100 can also process a cut sheet (check sheet) 106 such as a personal check having MICR data. The check paper 106 is guided between the printer head 103 and the platen 104 through a paper path to be described later from a paper insertion port 109 prepared in the front 101a of the main body 101. It is discharged from 101c.

【0066】以下の説明において、単票用紙としてパー
ソナルチェック106を用いた場合を例にとって説明す
る。なお、本例のプリンタは、パーソナルチェック以外
にも、帳票類や、レシートなど様々な単票用紙に対し印
刷できることはもちろんである。本例で参照しているパ
ーソナルチェック106は、店舗の支払いに使用される
個人使用用の小切手であり銀行で発行される。パーソナ
ルチェックの表面106aには、使用者のアカウントな
どがMICR−CMC7フォント文字107で印刷され
ている。MICR−CMC7フォント文字は文字形状や
印字品質が規格化されており、また、パーソナルチェッ
ク上の印刷位置も規格化されている。従って、パーソナ
ルチェックの所定の領域を磁気ヘッドで検出することに
よってMICR−CMC7フォント文字に対応した波形
が得られ、この波形から印刷されたデータを判別でき
る。この際、磁気ヘッドで検出する前にMICR−CM
C7フォント文字の付された領域に永久磁石を当て、M
ICR−CMC7フォント文字を磁化している。
In the following description, a case where the personal check 106 is used as a cut sheet will be described as an example. The printer of this embodiment can print on various forms such as forms and receipts in addition to the personal check. The personal check 106 referred to in this example is a check for personal use used for payment at a store and issued by a bank. On the front surface 106a of the personal check, a user account and the like are printed in MICR-CMC7 font characters 107. For MICR-CMC7 font characters, the character shape and print quality are standardized, and the print position on the personal check is also standardized. Therefore, a waveform corresponding to the MICR-CMC7 font character can be obtained by detecting a predetermined area of the personal check with the magnetic head, and the printed data can be determined from this waveform. At this time, before detection by the magnetic head, the MICR-CM
Apply a permanent magnet to the area with the C7 font character
ICR-CMC7 font characters are magnetized.

【0067】パーソナルチェック106の表面106a
には、さらに、支払われる金額や支払い者のサインが記
入される。また、パーソナルチェック106の裏面10
6bには、使用された日時、店舗名、金額などの記録が
裏書き(エンドースメント印字)108される。店舗の
担当者がパーソナルチェックを受け取ると、まず、MI
CR−CMC7フォント文字で記載されたデータからパ
ーソナルチェックの有効または無効を確認し、次に、有
効なパーソナルチェックにはエンドースメント印字を施
す。
Surface 106a of personal check 106
Is further filled with the amount to be paid and the sign of the payer. Also, the back 10 of the personal check 106
In 6b, a record such as date and time of use, store name, amount of money, etc. is endorsed (endorsement printing) 108. When the store clerk receives the personal check,
The validity or invalidity of the personal check is confirmed from the data described in the CR-CMC7 font characters, and then the effective personal check is subjected to endorsement printing.

【0068】プリンタ100においては、プリンタヘッ
ド103によってエンドースメント印字108が可能な
ように、裏面106bを上にしてパーソナルチェック1
06はセットされる。このため、パーソナルチェック1
06が挿入口109から挿入されると、MICRデータ
107は下方を向いてプリンタ本体の右側に沿って置か
れる。
In the printer 100, the personal check 1 with the back surface 106 b facing upward is performed so that endorsement printing 108 can be performed by the printer head 103.
06 is set. Therefore, personal check 1
When 06 is inserted through the insertion slot 109, the MICR data 107 is placed downward along the right side of the printer body.

【0069】図2は、複合処理装置のブロック構成図で
ある。図2に、複合処理装置(プリンタ)100の紙経
路202に沿って配置されたMICR−CMC7フォン
ト文字の認識処理に係わる部分の構成を示す。
FIG. 2 is a block diagram of the multifunction device. FIG. 2 shows a configuration of a part related to recognition processing of MICR-CMC7 font characters arranged along the paper path 202 of the multifunction device (printer) 100.

【0070】紙経路202に沿って紙の挿入口109か
ら順番に、チェック用紙に印刷されたMICR−CMC
7フォント文字を磁化するための永久磁石203、MI
CR−CMC7フォント文字による波形を検出するため
の磁気ヘッド204が配置されている。挿入口109か
ら挿入されたチェック用紙は紙送りローラ205に挟ま
れて紙経路202に沿って導かれ、永久磁石203およ
び磁気ヘッド204を順番に通過し、チェック用紙に印
刷されたMICR−CMC7フォント文字が検出され
る。紙経路202に沿って、さらに、印刷ヘッド103
が設置されており、MICR−CMC7フォント文字に
よって記載されたアカウントなどの情報が確認される
と、紙送りローラ205によってチェック用紙がさらに
搬送され、印刷ヘッド103によってエンドースメント
印字が連続して行えるようになっている。
The MICR-CMC printed on the check paper is sequentially printed from the paper insertion port 109 along the paper path 202.
Permanent magnet 203, MI for magnetizing 7 font characters
A magnetic head 204 for detecting a waveform based on CR-CMC7 font characters is provided. The check paper inserted from the insertion slot 109 is guided between the paper feed rollers 205 along the paper path 202, passes through the permanent magnet 203 and the magnetic head 204 in order, and is printed on the check paper by the MICR-CMC7 font. Characters are detected. Along the paper path 202, the print head 103
When the information such as the account described by the MICR-CMC7 font character is confirmed, the check paper is further transported by the paper feed roller 205, and the end printing can be continuously performed by the print head 103. It has become.

【0071】MICR−CMC7フォント文字を検出し
た磁気ヘッド204は、MICR文字検出回路206を
介してプロセッサ210に検出磁気波形を送る。MIC
R文字検出回路206は、磁気ヘッド204で検出され
た磁束密度の変化による微小な電圧変化を増幅する増幅
回路207と、様々なノイズやMICR文字の印刷不良
による不要な信号を除去するフィルタ回路208と、フ
ィルタ回路208を通過したアナログ信号をA/D変換
してディジタル値を出力するA/D変換回路209を備
えている。フィルタ回路208は、チェック用紙に対す
る紙送り速度とMICR−CMC7フォント文字の規格
に従った配列間隔の長さによって定まるカットオフ周波
数を用いて磁気ヘッド204からの不要な信号を除去で
きるようになっている。プロセッサ210は、MICR
文字検出回路206から送られた検出磁気波形及び検出
条件をRAM211に一次的に保管する。
The magnetic head 204 that has detected the MICR-CMC7 font character sends a detected magnetic waveform to the processor 210 via the MICR character detection circuit 206. MIC
The R character detection circuit 206 includes an amplification circuit 207 that amplifies a minute voltage change due to a change in magnetic flux density detected by the magnetic head 204, and a filter circuit 208 that removes various noises and unnecessary signals due to poor printing of MICR characters. And an A / D conversion circuit 209 for A / D converting an analog signal passed through the filter circuit 208 and outputting a digital value. The filter circuit 208 can remove an unnecessary signal from the magnetic head 204 by using a cut-off frequency determined by the paper feed speed for the check paper and the length of the arrangement interval according to the MICR-CMC7 font character standard. I have. The processor 210 uses the MICR
The detected magnetic waveform and the detection conditions sent from the character detection circuit 206 are temporarily stored in the RAM 211.

【0072】MICR−CMC7フォント文字を認識す
るための判定条件は、ROM212に記憶されている
が、入力装置213により判定条件を変更することも可
能で、変更された判定条件はRAM211に保管され
る。
The determination conditions for recognizing MICR-CMC7 font characters are stored in the ROM 212. However, the determination conditions can be changed by the input device 213, and the changed determination conditions are stored in the RAM 211. .

【0073】そして、MICR−CMC7フォント文字
の検出が終了すると、RAM211に一次的に保管され
た検出磁気波形、検出条件及び変更された判定条件と、
ROM212に記憶されている判定条件に基づいてMI
CR−CMC7フォント文字を認識する。
When the detection of the MICR-CMC7 font character is completed, the detected magnetic waveform temporarily stored in the RAM 211, the detection condition, and the changed determination condition are set as follows:
MI based on the determination condition stored in the ROM 212
Recognize CR-CMC7 font characters.

【0074】MICR−CMC7フォント文字を認識で
きると、その結果を表示したりまたは外部のコンピュー
タなどに出力する。もちろん、MICR−CMC7フォ
ント文字の検出磁気波形を直接コンピュータに転送し、
コンピュータ側でMICR−CMC7フォント文字の認
識に関する処理を行うことも可能である。
When the MICR-CMC7 font character can be recognized, the result is displayed or output to an external computer or the like. Of course, the detected magnetic waveform of the MICR-CMC7 font character is directly transferred to the computer,
It is also possible for the computer to perform processing relating to recognition of MICR-CMC7 font characters.

【0075】プリンタ100においては、プロセッサ2
10が紙送りローラ205などの搬送機構を制御する機
能も備えており、モータ制御回路215を介して搬送用
のパルスモータ214を制御し、MICR−CMC7フ
ォント文字の読み取り用と、印刷用とにパルスモータ2
14を兼用できるようになっている。さらに、プロセッ
サ210は、プリンタヘッド103を用いて印刷を行う
印刷制御回路217を制御する機能も備えている。
In the printer 100, the processor 2
10 also has a function of controlling a transport mechanism such as a paper feed roller 205, and controls a transport pulse motor 214 via a motor control circuit 215, for reading MICR-CMC7 font characters and for printing. Pulse motor 2
14 can also be used. Further, the processor 210 has a function of controlling a print control circuit 217 that performs printing using the printer head 103.

【0076】このように、プリンタ100は単票用紙へ
印字する機能に加え、チェック用紙等の単票用紙に印刷
されたMICRデータを読み取る機能を備えた複合処理
装置である。そして、同一紙経路に沿って送られるチェ
ック用紙に対し、印刷とMICRデータの読み取りの両
方が可能なように、それぞれの機能は配置されており、
パーソナルチェックに付されたMICR−CMC7フォ
ント文字の読み取りと、パーソナルチェックへのデータ
の印刷、本例では特に裏書き印字を連続して処理でき
る。
As described above, the printer 100 is a multifunction device having a function of reading MICR data printed on a cut sheet such as a check sheet in addition to a function of printing on a cut sheet. The respective functions are arranged so that both printing and reading of MICR data can be performed on the check paper sent along the same paper path.
It is possible to continuously read MICR-CMC7 font characters attached to the personal check and print data to the personal check, especially endorsement printing in this example.

【0077】図3は、複合処理装置における文字認識の
機能ブロック図である。
FIG. 3 is a functional block diagram of character recognition in the multifunction device.

【0078】プロセッサ210の搬送制御手段303
は、モータ制御回路215を介してチェック用紙を搬送
し、磁気ヘッド204によりMICR−CMC7フォン
ト文字を検出する。磁気ヘッド204によって検出され
た検出磁気波形は、MICR文字検出回路206を介し
てプロセッサ210に入力される。
Transport control means 303 of processor 210
Transports the check paper via the motor control circuit 215, and detects the MICR-CMC7 font characters by the magnetic head 204. The detected magnetic waveform detected by the magnetic head 204 is input to the processor 210 via the MICR character detection circuit 206.

【0079】プロセッサ210の磁気パターン検出手段
304は、検出された検出磁気波形及び検出条件を、い
ったんRAM211の検出波形記憶部310に記憶す
る。
The magnetic pattern detection means 304 of the processor 210 temporarily stores the detected magnetic waveform and the detected condition in the detected waveform storage section 310 of the RAM 211.

【0080】MICR−CMC7フォント文字を認識す
るための判定条件は、ROM212の認識判定条件記憶
部313に記憶されている。また、MICR−CMC7
フォント文字を認識するための判定条件は、入力装置2
13を介してプロセッサ210の判定条件変更手段30
2によって、条件変更することも可能であり、変更され
た判定条件は、RAM211の判定条件変更記憶部31
2に記憶される。
The determination conditions for recognizing MICR-CMC7 font characters are stored in the recognition determination condition storage unit 313 of the ROM 212. Also, MICR-CMC7
The determination condition for recognizing font characters is determined by the input device 2
13 the determination condition changing means 30 of the processor 210
2 can be changed, and the changed determination condition is stored in the determination condition change storage unit 31 of the RAM 211.
2 is stored.

【0081】MICR−CMC7フォント文字の検出が
終了すると、プロセッサ210の磁気パターン切り出し
手段305は、RAM211の検出波形記憶部310に
記憶された検出磁気波形から1文字ごとの開始位置を検
出し、各文字の検出磁気波形を切り出す。
When the detection of the MICR-CMC7 font characters is completed, the magnetic pattern cutout means 305 of the processor 210 detects the start position of each character from the detected magnetic waveform stored in the detected waveform storage section 310 of the RAM 211, and Cut out the detected magnetic waveform of the character.

【0082】プロセッサ210のピーク間隔測定手段3
06は、切り出された1文字分の検出磁気波形から6つ
のピーク間隔を測定する。ここで、検出磁気波形を検出
しながら、6つのピーク間隔を測定してもよい。
Peak interval measuring means 3 of processor 210
06 measures six peak intervals from the detected magnetic waveform of one character cut out. Here, six peak intervals may be measured while detecting the detected magnetic waveform.

【0083】プロセッサ210のバー間隔算出手段30
7は、RAM211の検出波形記憶部310に記憶され
た検出磁気波形や検出条件に基づいて、測定した6つの
ピーク間隔からMICR−CMC7フォント文字の6つ
のバー間隔を算出する。
Bar interval calculating means 30 of processor 210
7 calculates the six bar intervals of the MICR-CMC7 font character from the six measured peak intervals based on the detected magnetic waveform and the detection conditions stored in the detected waveform storage unit 310 of the RAM 211.

【0084】プロセッサ210のパターン変換手段30
8は、ROM212の認識判定条件記憶部313および
RAM211の判定条件変更記憶部312に従って、6
つのバー間隔のそれぞれを、「広い」間隔(=1)また
は「狭い」間隔(=0)のバー間隔パターンに変換する
(以下、パターン変換という)。
The pattern conversion means 30 of the processor 210
8 is based on a recognition condition storage unit 313 of the ROM 212 and a change condition storage unit 312 of the RAM 211.
Each of the two bar intervals is converted into a bar interval pattern having a “wide” interval (= 1) or a “narrow” interval (= 0) (hereinafter, referred to as pattern conversion).

【0085】プロセッサ210の磁気パターン確定手段
309は、ROM212の認識判定条件記憶部313に
基づいて、パターン変換されたMICR−CMC7フォ
ント文字の認識し、確定する。磁気パターン確定手段3
09において、文字が一義的に決まった場合は、その認
識結果をRAM211の認識結果記憶部311に記憶す
る。磁気パターン確定手段309において、文字が一義
的に決定できない場合は、チェック用紙を磁気ヘッド2
04に対し再び移動させてMICR−CMC7フォント
文字を再検出したり、オペレータに文字の認識ができな
かったことを通知するなどのエラー処理が行われる。
The magnetic pattern determination means 309 of the processor 210 recognizes and determines the pattern-converted MICR-CMC7 font characters based on the recognition determination condition storage unit 313 of the ROM 212. Magnetic pattern determination means 3
In 09, when the character is uniquely determined, the recognition result is stored in the recognition result storage unit 311 of the RAM 211. If the characters cannot be uniquely determined by the magnetic pattern determination means 309, the check sheet is
Error processing such as re-detecting the MICR-CMC7 font character by moving it again with respect to 04 or notifying the operator that the character could not be recognized is performed.

【0086】プロセッサ210の制御手段301は、判
定条件変更手段302、搬送制御手段303、磁気パタ
ーン検出手段304、磁気パターン切り出し手段30
5、ピーク間隔測定手段306、バー間隔算出手段30
7、パターン変換手段308及び磁気パターン確定手段
309を関連付けて制御する。
The control means 301 of the processor 210 includes a judgment condition changing means 302, a transport control means 303, a magnetic pattern detecting means 304, and a magnetic pattern cutting means 30.
5. Peak interval measuring means 306, bar interval calculating means 30
7. The pattern conversion unit 308 and the magnetic pattern determination unit 309 are controlled in association with each other.

【0087】本発明の磁気パターンの認識方法は、複数
のバーによって構成される、所定の磁気パターンが複数
個付された領域を磁気検出して、検出された磁気パター
ンの検出磁気波形から複数のピークの隣り合う2つのピ
ークの間の距離を表すピーク間隔を取得する磁気パター
ン読み取りステップと、このように取得した複数個のピ
ーク間隔から、複数のバーの隣り合う2つのバーの間の
広さを2つの値によって表すバー間隔パターンに変換す
ることによって、磁気パターンを所定の文字として認識
する磁気パターン認識ステップと、を備えている。例え
ば、MICR−CMC7フォント文字においては、磁気
ヘッドによって取得した検出磁気波形のピーク間隔をバ
ー間隔パターンに変換し、変換したバー間隔パターンを
図7の対応表と比較して、文字を認識するステップを備
えている。
The method of recognizing a magnetic pattern according to the present invention magnetically detects an area formed by a plurality of bars to which a plurality of predetermined magnetic patterns are attached, and detects a plurality of regions from a detected magnetic waveform of the detected magnetic pattern. A magnetic pattern reading step for obtaining a peak interval representing a distance between two adjacent peaks of the peak, and a width between two adjacent bars of the plurality of bars from the plurality of peak intervals thus obtained. To a bar interval pattern represented by two values, thereby recognizing the magnetic pattern as a predetermined character. For example, in the case of MICR-CMC7 font characters, a step of converting the peak interval of the detected magnetic waveform acquired by the magnetic head into a bar interval pattern, comparing the converted bar interval pattern with the correspondence table of FIG. 7, and recognizing the character. It has.

【0088】また、本発明の磁気パターンの認識方法
は、磁気パターン認識ステップが、検出磁気波形から磁
気パターンを構成する複数のバーの隣り合う2つのバー
の間の距離であるバー間隔を算出するバー間隔算出ステ
ップと、バー間隔算出ステップによって算出した前記バ
ー間隔を、「広い」間隔または「狭い」間隔のバー間隔
パターンに変換するパターン変換ステップと、パターン
変換ステップによって変換した1つ分の磁気パターンの
バー間隔パターンから磁気パターンを確定する磁気パタ
ーン確定ステップと、を備えている。例えば、バー間隔
が「広い」間隔のとき、バー間隔パターンを1として、
「狭い」間隔のとき、バー間隔パターンを0とする。
In the magnetic pattern recognizing method according to the present invention, the magnetic pattern recognizing step calculates a bar interval which is a distance between two adjacent bars of the plurality of bars constituting the magnetic pattern from the detected magnetic waveform. A bar interval calculating step, a pattern converting step of converting the bar interval calculated by the bar interval calculating step into a bar interval pattern of “wide” or “narrow” interval, and one magnetic field converted by the pattern converting step A magnetic pattern determining step of determining a magnetic pattern from the bar interval pattern of the pattern. For example, when the bar interval is a “wide” interval, the bar interval pattern is set to 1 and
When the interval is “narrow”, the bar interval pattern is set to 0.

【0089】また、本発明の磁気パターンの認識方法
は、パターン変換ステップが、バー間隔が所定の判定境
界範囲の最大境界値以上であるとき、バー間隔のバー間
隔パターンを「広い」間隔と判定し、バー間隔が所定の
判定境界範囲の最小境界値以下であるとき、バー間隔の
バー間隔パターンを「狭い」間隔と判定することができ
る。即ち、バー間隔パターンが、確実に「広い」間隔で
あるバー間隔を判定することことができる。
Further, according to the magnetic pattern recognition method of the present invention, in the pattern conversion step, when the bar interval is equal to or larger than a maximum boundary value of a predetermined determination boundary range, the bar interval pattern of the bar interval is determined to be a “wide” interval. When the bar interval is equal to or smaller than the minimum boundary value of the predetermined determination boundary range, the bar interval pattern of the bar interval can be determined to be a “narrow” interval. That is, it is possible to reliably determine a bar interval in which the bar interval pattern is a “wide” interval.

【0090】また、本発明の磁気パターンの認識方法
は、パターン変換ステップが、1つ分の磁気パターンに
おいて、バー間隔パターンの「広い」間隔の数と「狭
い」間隔の数との割合が1対5であり、かつ、バー間隔
のうち2番目に広いバー間隔と3番目に広いバー間隔と
の間に有意差があるとき、2番目に広いバー間隔のバー
間隔パターンを「広い」間隔と判定することができる。
例えば、MICR−CMC7フォント文字においては、
「広い」間隔の数と「狭い」間隔の数の割合が1対5で
あるときは、MICR−CMC7フォント文字が折り曲
げられているために、「広い」間隔が「狭い」間隔にな
っているバー間隔が存在する可能性がある。従って、M
ICR−CMC7フォント文字が折り曲げられているた
めに、「広い」間隔が「狭い」間隔になっているバー間
隔を判定することができる。
Further, in the magnetic pattern recognition method of the present invention, the pattern conversion step is such that in one magnetic pattern, the ratio of the number of “wide” intervals to the number of “narrow” intervals in the bar interval pattern is one. When there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals, the bar interval pattern of the second widest bar interval is defined as a “wide” interval. Can be determined.
For example, in MICR-CMC7 font characters,
When the ratio of the number of “wide” intervals to the number of “narrow” intervals is 1: 5, the “wide” intervals are “narrow” intervals because the MICR-CMC7 font character is folded. Bar spacing may exist. Therefore, M
Since the ICR-CMC7 font character is folded, it is possible to determine the bar interval in which the “wide” interval becomes the “narrow” interval.

【0091】また、本発明の磁気パターンの認識方法
は、パターン変換ステップが、1つ分の磁気パターンに
おいて、バー間隔のうち2番目に広いバー間隔と3番目
に広いバー間隔、所定の判定境界範囲の中央値、及び所
定の調整係数が下記の条件を満たすとき、バー間隔のう
ち2番目に広いバー間隔と3番目に広いバー間隔との間
に有意差があると判定することができる。
Further, in the magnetic pattern recognition method according to the present invention, the pattern conversion step is such that, in one magnetic pattern, the second widest bar interval and the third widest bar interval among the bar intervals, the predetermined judgment boundary When the median of the range and the predetermined adjustment coefficient satisfy the following conditions, it can be determined that there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals.

【0092】2番目に広いバー間隔 >= 3番目に広
いバー間隔 +( 判定境界範囲の中央値−3番目に広
いバー間隔 )* 調整係数 また、本発明の磁気パターンの認識方法は、磁気パター
ン確定ステップが、1つ分の磁気パターンにおけるバー
間隔パターンの「広い」間隔の数と「狭い」間隔の数と
の割合が2対4であるとき、磁気パターンを一義的に確
定することができる。
Second widest bar interval> = Third widest bar interval + (median of determination boundary range-Third widest bar interval) * Adjustment coefficient In the determination step, when the ratio of the number of “wide” intervals to the number of “narrow” intervals in the bar interval pattern in one magnetic pattern is 2 to 4, the magnetic pattern can be uniquely determined. .

【0093】また、本発明の磁気パターンの認識方法
は、磁気パターン読み取りステップが、検出磁気波形及
び検出条件を取得する磁気パターン検出ステップと、磁
気パターン検出ステップによって取得した検出磁気波形
から1つ分の磁気パターンの検出磁気波形を切り出す磁
気パターン切り出しステップと、磁気パターン切り出し
ステップによって切り出した1つ分の磁気パターンの検
出磁気波形の複数のピークから、隣り合う2つのピーク
の間の距離を測定するピーク間隔測定ステップと、を備
えている。例えば、検出条件として、CMC7チェック
の用紙を読み取る速さなども必要である。読み取る速さ
により取得される検出磁気波形が異なってくる。
In the method for recognizing a magnetic pattern according to the present invention, the step of reading a magnetic pattern includes the step of detecting a magnetic pattern and a detecting condition for obtaining a detected magnetic waveform and a detecting condition, and the step of detecting a magnetic pattern obtained by the magnetic pattern detecting step. And a distance between two adjacent peaks from a plurality of peaks of the detected magnetic waveform of one magnetic pattern extracted by the magnetic pattern extracting step. A peak interval measuring step. For example, as a detection condition, a speed at which a sheet of CMC7 check is read is required. The detected magnetic waveform obtained differs depending on the reading speed.

【0094】上述した本発明の磁気パターンの認識方法
について、図を参照しながら以下に詳細に説明する。図
4は、複合処理装置における文字認識処理のフローチャ
ート図である。
The above-described magnetic pattern recognition method of the present invention will be described below in detail with reference to the drawings. FIG. 4 is a flowchart of the character recognition process in the multifunction device.

【0095】まず、RAM211に記憶されている検出
磁気波形から文字の開始位置を検出する(ステップS4
01)。例えば、MICR−CMC7フォント文字「S
V」に対しては、図9(b)に示すような検出磁気波形
911が得られる。検出磁気波形911の1番目のピー
ク(図9(b)の左端のピーク)が、文字の開始位置と
して識別される。
First, the starting position of a character is detected from the detected magnetic waveform stored in the RAM 211 (step S4).
01). For example, the MICR-CMC7 font character "S
For “V”, a detected magnetic waveform 911 as shown in FIG. 9B is obtained. The first peak (the leftmost peak in FIG. 9B) of the detected magnetic waveform 911 is identified as the start position of the character.

【0096】次に、1文字分の検出磁気波形を切り出す
(ステップS402)。例えば、切り出された1文字分
の検出磁気波形は、図9(b)に示すように、7つのピ
ークからなっている。
Next, a detected magnetic waveform for one character is cut out (step S402). For example, as shown in FIG. 9B, the detected magnetic waveform of one cut-out character has seven peaks.

【0097】次に、切り出された1文字分の検出磁気波
形のピークから隣り合う2つのピークの間の距離(以
下、ピーク間隔という)を測定する(ステップS40
3)。即ち、6つのピーク間隔を測定する。
Next, a distance between two adjacent peaks from the peak of the detected magnetic waveform for one character (hereinafter, referred to as a peak interval) is measured (step S40).
3). That is, six peak intervals are measured.

【0098】次に、RAM211の検出波形記憶部31
0に記憶されている検出条件に基づいて、測定された検
出磁気波形のピーク間隔からMICR−CMC7フォン
ト文字のバー間隔を算出する(ステップS404)。
Next, the detected waveform storage section 31 of the RAM 211
Based on the detection condition stored in 0, the bar interval of the MICR-CMC7 font character is calculated from the peak interval of the measured detected magnetic waveform (step S404).

【0099】次に、ROM212に記憶されている認識
判定条件記憶部313に基づいて、算出されたバー間隔
を「広い」間隔(=1)または「狭い」間隔(=0)の
バー間隔パターンにパターン変換する(ステップS40
5)。また、「広い」間隔または「狭い」間隔のどちら
にも判定できない場合、算出されたバー間隔を「判定不
可能」間隔(=?)とする。ステップS405における
パターン変換を第1パターン変換とする。第1パターン
変換の変換条件は下記に従う。ここで、バー間隔パター
ンをP、バー間隔をL、バー間隔の「広い」間隔閾値を
R1(mm)、バー間隔の「狭い」間隔閾値をR2(m
m)とする。
Next, based on the recognition determination condition storage unit 313 stored in the ROM 212, the calculated bar interval is converted into a bar interval pattern of “wide” interval (= 1) or “narrow” interval (= 0). Perform pattern conversion (step S40)
5). Further, if it is not possible to determine either the “wide” interval or the “narrow” interval, the calculated bar interval is set as the “undeterminable” interval (=?). The pattern conversion in step S405 is referred to as a first pattern conversion. The conversion conditions for the first pattern conversion are as follows. Here, the bar interval pattern is P, the bar interval is L, the “wide” interval threshold of the bar interval is R1 (mm), and the “narrow” interval threshold of the bar interval is R2 (m).
m).

【0100】L >= R1 のとき、P = 1 R1 > L > R2 のとき、 P = ? L =< R2 のとき、P = 0 ステップS405において、バー間隔パターンが、確実
に「広い」間隔であるバー間隔を判定している。
When L> = R1, P = 1 When R1>L> R2, P =? When L = <R2, P = 0 In step S405, the bar interval pattern surely determines a bar interval that is a “wide” interval.

【0101】ステップS404とステップS405と
を、1文字分の全てのピーク間隔について、即ち、6つ
のピーク間隔について繰り返し実行して、1文字分のM
ICR−CMC7フォント文字のバー間隔を第1パター
ン変換する(ステップS406)。1文字分の第1パタ
ーン変換が終了した場合(ステップS406;Yes)
は、次のステップS407に移る。また、1文字分の第
1パターン変換が終了しない場合は(ステップS40
6;No)、ステップS404に戻る。
Steps S404 and S405 are repeatedly executed for all the peak intervals of one character, that is, for six peak intervals, and M for one character is obtained.
The bar interval of the ICR-CMC7 font character is converted into the first pattern (step S406). When the first pattern conversion for one character is completed (Step S406; Yes)
Moves to the next step S407. If the first pattern conversion for one character is not completed (step S40)
6; No), and return to step S404.

【0102】次に、第1パターン変換されたMICR−
CMC7フォント文字のバー間隔パターンにおいて、バ
ー間隔の「広い」間隔の数をN1としたとき、N1が2
個であるか否かを判定する(ステップS407)。図7
の対応表からわかるように、文字が数字または記号であ
る場合はN1が2個である。従って、検出された文字が
数字または記号である場合は(ステップS407;Ye
s)、次のステップS408に移る。
Next, the first pattern-converted MICR-
In the bar interval pattern of CMC7 font characters, when the number of “wide” intervals of the bar interval is N1, N1 is 2
It is determined whether the number is (step S407). FIG.
As can be seen from the correspondence table, when the character is a number or a symbol, there are two N1s. Therefore, if the detected character is a number or a symbol (step S407; Ye
s) Then, proceed to the next step S408.

【0103】次に、第1パターン変換されたMICR−
CMC7フォント文字のバー間隔パターンにおいて、バ
ー間隔の「狭い」間隔の数をN0とし、バー間隔の「判
定不可能」間隔の数をN?としたとき、N1:N0:N
?=2:4:0であるか否かを判定する(ステップS4
08)。「判定不可能」間隔のバー間隔が存在する場合
は、文字を認識することができない。即ち、N?=0の
場合のみにおいて、文字は数字または記号であると判定
する。従って、N1:N0:N?=2:4:0である場
合、即ち、検出された文字が数字または記号であると判
定された場合は(ステップS408;Yes)、次のス
テップS409に移る。
Next, the first pattern-converted MICR-
In the bar interval pattern of CMC7 font characters, the number of “narrow” intervals of the bar interval is N0, and the number of “undeterminable” intervals of the bar interval is N? , N1: N0: N
? = 2: 4: 0 (Step S4)
08). When there is a bar interval of “undeterminable” interval, characters cannot be recognized. That is, N? Only when = 0, the character is determined to be a number or a symbol. Therefore, N1: N0: N? = 2: 4: 0, that is, if it is determined that the detected character is a number or a symbol (Step S408; Yes), the process moves to the next Step S409.

【0104】第1パターン変換されたMICR−CMC
7フォント文字のバー間隔パターンを、ROM212の
認識判定条件記憶部313に基づいて、即ち、図7の対
応表に基づいて、一義的に認識し、文字を確定する(ス
テップS409)。
MICR-CMC after first pattern conversion
The bar interval pattern of the seven font characters is uniquely recognized based on the recognition determination condition storage unit 313 of the ROM 212, that is, based on the correspondence table of FIG. 7, and the character is determined (step S409).

【0105】一方、MICR−CMC7フォント文字の
バー間隔パターンにおいて、バー間隔の「広い」間隔の
数N1、「狭い」間隔の数N0及び「判定不可能」間隔
の数N?との割合が、N1:N0:N?=2:4:0で
ない場合は(ステップS408;No)、文字を認識不
可能としてエラー処理を実行し(ステップS413)、
文字の認識処理を終了する。ここで、認識対象となる文
字は、数字または記号である。 MICR−CMC7フ
ォント文字のバー間隔パターンにおいて、バー間隔の
「広い」間隔の数N1が2個でない場合は(ステップS
407;No)、バー間隔の「広い」間隔の数N1が1
個であるか否かを判定する(ステップS410)。
On the other hand, in the bar interval pattern of MICR-CMC7 font characters, the number N1 of "wide" intervals, the number N0 of "narrow" intervals, and the number N? Is N1: N0: N? If not 2: 4: 0 (step S408; No), the character is determined to be unrecognizable and error processing is executed (step S413).
The character recognition processing ends. Here, the characters to be recognized are numbers or symbols. In the bar interval pattern of the MICR-CMC7 font character, if the number N1 of the "wide" interval of the bar interval is not two (step S
407; No), the number N1 of “wide” bar intervals is 1
It is determined whether the number is (step S410).

【0106】バー間隔の「広い」間隔の数N1が1個で
ある場合(ステップS410;Yes)は、図9(b)
に示したようにチェック用紙が折り曲げられることによ
り、バー間隔の「広い」間隔(=1)が「狭い」間隔
(=0)になってしまった可能性がある。従って、チェ
ック用紙が折り曲げられることにより、バー間隔の「広
い」間隔(=1)が「狭い」間隔(=0)になってしま
う場合を考慮したパターン変換を、更に実行する。この
パターン変換を第2パターン変換とする。
If the number N1 of the "wide" bar intervals is one (step S410; Yes), FIG. 9B
It is possible that the “wide” interval (= 1) of the bar intervals has become a “narrow” interval (= 0) due to the bending of the check sheet as shown in FIG. Therefore, the pattern conversion is further performed in consideration of the case where the “wide” interval (= 1) of the bar intervals becomes the “narrow” interval (= 0) due to the bending of the check sheet. This pattern conversion is referred to as a second pattern conversion.

【0107】チェック用紙が折り曲げられることによ
り、バー間隔の「広い」間隔(=1)が「狭い」間隔
(=0)になってしまう可能性のあるバー間隔は、折り
目の存在するバー間隔だけである。従って、バー間隔の
「広い」間隔の数N1が1個でない場合(ステップS4
10;No)は、文字を認識不可能としてエラー処理を
実行し(ステップS413)、文字の認識処理を終了す
る。ここで、認識対象となる文字は、数字または記号で
ある。
When the check sheet is folded, the "wide" interval (= 1) of the bar intervals may become the "narrow" interval (= 0). It is. Therefore, when the number N1 of the "wide" bar intervals is not one (step S4).
10; No), the character is recognized as unrecognizable, error processing is performed (step S413), and the character recognition processing ends. Here, the characters to be recognized are numbers or symbols.

【0108】第2パターン変換の変換条件は、下記に従
う。ここで、MICR−CMC7フォント文字の6つの
バー間隔のうちで2番目に広いバー間隔をL2とし、3
番目に広いバー間隔をL3とする。即ち、ステップS4
05において、バー間隔の「広い」間隔と判断されなか
った5つのバー間隔のうちで1番目に広いバー間隔をL
2とし、2番目に広いバー間隔をL3とする。また、バ
ー間隔L2のバー間隔パターンをP2とし、バー間隔の
「広い」間隔閾値をR1とし、バー間隔の「狭い」間隔
閾値をR2とし、調整係数をCとする。
The conversion conditions for the second pattern conversion are as follows. Here, let L2 be the second widest bar interval among the six bar intervals of the MICR-CMC7 font character, and 3
Let L3 be the widest bar interval. That is, step S4
In 05, the first wide bar interval among the five bar intervals that were not determined to be the “wide” bar intervals is L.
2, and the second widest bar interval is L3. Further, the bar interval pattern of the bar interval L2 is P2, the "wide" interval threshold of the bar interval is R1, the "narrow" interval threshold of the bar interval is R2, and the adjustment coefficient is C.

【0109】L2 >= L3+{(R1+R2)/2
−L3}*C のとき、 P2 = 1 L2 < L3+{(R1+R2)/2−L3}*C
のとき、P2は、第1パターン変換のままとする。
L2> = L3 + {(R1 + R2) / 2
When −L3} * C, P2 = 1 L2 <L3 + {(R1 + R2) / 2−L3} * C
In this case, P2 remains the first pattern conversion.

【0110】L2 >= L3+{(R1+R2)/2
−L3}*C が成立する場合(ステップS411;Y
es)は、バー間隔L2とバー間隔L3の有意差が十分
に取れることを意味しており、チェック用紙が折り曲げ
られることにより、バー間隔の「広い」間隔(=1)が
「狭い」間隔(=0)になってしまう場合であると判定
できる。従って、ステップS405において、「広い」
間隔と判断されなかったバー間隔L2を「広い」間隔
(=1)として、パターン変換する(ステップS41
2)。
L2> = L3 + {(R1 + R2) / 2
-L3} * C is satisfied (Step S411; Y
es) means that a significant difference between the bar interval L2 and the bar interval L3 can be sufficiently obtained. When the check sheet is folded, the “wide” interval (= 1) of the bar interval becomes a “narrow” interval ( = 0). Therefore, in step S405, "wide"
The pattern conversion is performed by setting the bar interval L2 that is not determined to be the interval as a “wide” interval (= 1) (step S41).
2).

【0111】次に、第2パターン変換されたMICR−
CMC7フォント文字のバー間隔パターンにおいて、N
1:N0:N?=2:4:0であるか否かを判定する
(ステップS408)。「判定不可能」間隔のバー間隔
が存在する場合は、文字を認識することができない。即
ち、N?=0の場合のみにおいて、文字は数字または記
号であると判定する。従って、N1:N0:N?=2:
4:0である場合、即ち、検出された文字が数字または
記号であると判定された場合は(ステップS408;Y
es)、次のステップS409に移る。
Next, the second pattern-converted MICR-
In the bar interval pattern of the CMC7 font character, N
1: N0: N? = 2: 4: 0 is determined (step S408). When there is a bar interval of “undeterminable” interval, characters cannot be recognized. That is, N? Only when = 0, the character is determined to be a number or a symbol. Therefore, N1: N0: N? = 2:
If it is 4: 0, that is, if it is determined that the detected character is a number or a symbol (step S408; Y
es) Then, proceed to the next step S409.

【0112】第2パターン変換されたMICR−CMC
7フォント文字のバー間隔パターンを、ROM212の
認識判定条件記憶部313に基づいて、即ち、図7の対
応表に基づいて、一義的に認識し、文字を確定する(ス
テップS409)。
MICR-CMC after second pattern conversion
The bar interval pattern of the seven font characters is uniquely recognized based on the recognition determination condition storage unit 313 of the ROM 212, that is, based on the correspondence table of FIG. 7, and the character is determined (step S409).

【0113】L2 < L3+{(R1+R2)/2
−L3}*C が成立する場合(ステップS411;N
o)は、文字を認識不可能としてエラー処理を実行し
(ステップS413)、文字の認識処理を終了する。
L2 <L3 + {(R1 + R2) / 2
-L3} * C is satisfied (Step S411; N
In the case of o), it is determined that the character cannot be recognized, an error process is performed (step S413), and the character recognition process ends.

【0114】文字を一義的に認識した後は、ステップS
401からステップS413を繰り返して、チェック用
紙上の全ての文字について、文字の認識処理が実行され
たか否かを判定する(ステップS414)。
After uniquely recognizing the character, step S
Steps S413 to S413 are repeated to determine whether or not the character recognition processing has been executed for all the characters on the check sheet (step S414).

【0115】また、ステップS413において、文字を
認識不可能としてエラー処理を実行した後、上述した文
字の認識処理を終了せずに、次の文字の認識処理を実行
するためのステップS414に移っても良い。
In step S413, after performing the error process with the character being unrecognizable, the process proceeds to step S414 for executing the next character recognition process without terminating the above-described character recognition process. Is also good.

【0116】チェック用紙上の全ての文字について、文
字の認識処理が実行された場合(ステップS414;Y
es)は、文字の認識処理を終了する。チェック用紙上
の全ての文字について、文字の認識処理が実行されてい
ない場合(ステップS414;No)は、次の文字を認
識するために、ステップS401に戻る。
When character recognition processing has been executed for all characters on the check paper (step S414; Y)
es) ends the character recognition processing. If the character recognition processing has not been executed for all the characters on the check sheet (step S414; No), the process returns to step S401 to recognize the next character.

【0117】尚、ステップS413において、数字また
は記号以外は、認識不可能としてエラー処理している
が、ここで、自動的にチェック用紙を紙経路202に沿
ってバックフィードし、再び磁気ヘッド204の前面を
通過させてMICR−CMC7フォント文字の読み取り
を行うことも考えられる。または、オペレータに対し認
識できなかった個所を示してマニュアルで入力させるこ
とも可能である。また、MICR−CMC7フォント文
字を識別ができなかったとしてチェック用紙をプリンタ
100から排出しても良い。
In step S 413, error recognition is performed on the non-recognizable characters other than numbers or symbols. Here, the check paper is automatically back-fed along the paper path 202, and It is also conceivable to read MICR-CMC7 font characters by passing them through the front surface. Alternatively, it is also possible to indicate to the operator an unrecognized location and manually input the location. Alternatively, the check paper may be discharged from the printer 100 assuming that the MICR-CMC7 font character could not be identified.

【0118】図5は、1文字分の検出磁気波形から算出
したバー間隔を「広い」間隔(=1)または「狭い」間
隔(=0)のパターンに変換する第1変換パターンと第
2変換パターンの説明図を示す。
FIG. 5 shows a first conversion pattern and a second conversion pattern for converting a bar interval calculated from a detected magnetic waveform for one character into a pattern of a “wide” interval (= 1) or a “narrow” interval (= 0). FIG. 4 shows an explanatory diagram of a pattern.

【0119】図5(a)は、折り曲げられた部分の無い
正常な状態のチェック用紙に印刷されたMICR−CM
C7フォント文字のバー間隔の分布図を示す。
FIG. 5A shows a MICR-CM printed on a check sheet in a normal state without a bent portion.
3 shows a distribution diagram of bar intervals of C7 font characters.

【0120】折り曲げられた部分の無い正常な状態のチ
ェック用紙に印刷されたMICR−CMC7フォント文
字のバー間隔は、図5(a)に示すように、0.5mm
と0.3mmの近傍に分布する。これは、MICR−C
MC7フォント文字をチェック用紙に印刷する場合、バ
ー間隔パターンが「広い」間隔は0.5mmを目標に、
バー間隔の「狭い」間隔は0.3mmを目標に印刷する
ためである。
The bar interval of the MICR-CMC7 font characters printed on the check sheet in the normal state without the bent portion is 0.5 mm as shown in FIG.
And 0.3 mm. This is MICR-C
When printing MC7 font characters on check paper, the bar spacing pattern is set to a "wide" spacing of 0.5 mm,
The “narrow” bar interval is for printing with a target of 0.3 mm.

【0121】従って、折り曲げられた部分の無い正常な
状態のチェック用紙において、「広い」間隔で印刷され
たバー間隔は、0.5mmに近傍に分布し、「狭い」間
隔で印刷されたバー間隔は、0.3mmの近傍に分布す
る。ここで、0.5mm近傍の分布を「広い」間隔分布
501とし、0.3mm近傍の分布を「狭い」間隔分布
502とする。
Therefore, in the check sheet in a normal state having no bent portion, the bar interval printed at the “wide” interval is distributed near 0.5 mm, and the bar interval printed at the “narrow” interval. Are distributed near 0.3 mm. Here, a distribution near 0.5 mm is referred to as a “wide” interval distribution 501, and a distribution near 0.3 mm is referred to as a “narrow” interval distribution 502.

【0122】折り曲げられた部分の無い正常な状態のチ
ェック用紙に印刷されたMICR−CMC7フォント文
字のバー間隔を、バー間隔パターンの「広い」間隔また
は「狭い」間隔と判定する場合は、判定境界範囲503
に基づいて判断する。判定境界範囲503は幅を持って
おり、「広い」間隔との境界値を「広い」間隔閾値50
4とし、「狭い」間隔との境界値を「狭い」間隔閾値5
05とする。ここで、「広い」間隔閾値504の値をR
1とし、「狭い」間隔閾値505の値をR2とする。ま
た、「広い」間隔閾値504以上のバー間隔範囲を「広
い」間隔範囲506とし、「狭い」間隔閾値505以下
のバー間隔範囲を「狭い」間隔範囲507とする。
When judging the bar interval of MICR-CMC7 font characters printed on a check sheet in a normal state having no bent portion as the “wide” interval or the “narrow” interval of the bar interval pattern, the judgment boundary is used. Range 503
Judgment based on. The determination boundary range 503 has a width, and the boundary value with the “wide” interval is set to the “wide” interval threshold 50.
4 and the boundary value with the “narrow” interval is the “narrow” interval threshold 5
05. Here, the value of the “wide” interval threshold 504 is R
1, and the value of the “narrow” interval threshold 505 is R2. A bar interval range equal to or larger than the “wide” interval threshold 504 is defined as a “wide” interval range 506, and a bar interval range equal to or smaller than the “narrow” interval threshold 505 is defined as a “narrow” interval range 507.

【0123】図5(b)は、チェック用紙に印刷された
MICR−CMC7フォント文字のバー間隔に折り目が
存在する場合のバー間隔の分布図を示す。
FIG. 5B is a distribution diagram of the bar intervals of the MICR-CMC7 font character printed on the check sheet when there are folds in the bar intervals.

【0124】バー間隔の分布図は、折り目が存在するた
めに、一点鎖線で示した正常な状態の分布から、実線で
示されるような分布に変移する。ここで、正常な状態の
「広い」間隔分布501が折り目によって変移した分布
を「広い」間隔変移分布508とし、正常な状態の「狭
い」間隔分布502が折り目によって変移した分布を
「狭い」間隔変移分布509とする。
The distribution diagram of the bar intervals changes from the normal distribution indicated by the dashed line to the distribution indicated by the solid line due to the presence of the fold. Here, a distribution in which the “wide” interval distribution 501 in the normal state is shifted by the fold is referred to as a “wide” interval shift distribution 508, and a distribution in which the “narrow” interval distribution 502 in the normal state is shifted by the fold is “narrow” interval. A transition distribution 509 is set.

【0125】図から分かるように、「広い」間隔変移分
布508は、判定境界範囲503と重なったり、または
「狭い」間隔範囲507と重なったりする。
As can be seen from the figure, the “wide” interval transition distribution 508 overlaps the judgment boundary range 503 or overlaps the “narrow” interval range 507.

【0126】本発明は、2段階からなるパターン変換
(以下、第1パターン変換、第2パターン変換とする)
に基づいて、算出したバー間隔を「広い」間隔(=1)
または「狭い」間隔(=0)にパターン変換する。ま
ず、第1パターン変換は、算出したバー間隔を、「広
い」間隔または「狭い」間隔に変換する。ここで、「広
い」間隔または「狭い」間隔に判定できない場合を「判
定不可能」間隔(=?)とする。第1パターン変換の変
換条件は下記に従う。
The present invention provides a two-stage pattern conversion (hereinafter, referred to as a first pattern conversion and a second pattern conversion).
, The calculated bar interval is changed to “wide” interval (= 1)
Alternatively, the pattern is converted to a “narrow” interval (= 0). First, the first pattern conversion converts the calculated bar interval into a “wide” interval or a “narrow” interval. Here, a case where it is not possible to determine a “wide” interval or a “narrow” interval is defined as an “impossible to determine” interval (=?). The conversion conditions for the first pattern conversion are as follows.

【0127】L >= R1 のとき、P = 1 R1 > L > R2 のとき、 P = ? L =< R2 のとき、P = 0 1文字分の算出した6つのバー間隔を、バー間隔の大き
い順に、L1、L2、L3、L4、L5、L6とし、即
ち、L1>=L2>=L3>=L4>=L5>=L6と
し、それぞれのバー間隔に対応するバー間隔パターンを
P1、P2、P3、P4、P5、P6とした場合、L2
>= R1 > L3のときは、 (P1,P2,P3,P4,P5,P6) = (1,
1,0,0,0,0) となり、チェック用紙に印刷されたMICR−CMC7
フォント文字は数字または記号であると認識できる。
L1 >= R1 > L2のときは、 (P1,P2,P3,P4,P5,P6) = (1,
0,0,0,0,0) となる。尚、バー間隔パターンが「0」の替わりに
「?」となり、「1」、「0」及び「?」が混在する場
合もある。
When L> = R1, P = 1 When R1>L> R2, P =? When L = <R2, the calculated six bar intervals for one character P = 0 are set to L1, L2, L3, L4, L5, and L6 in the descending order of the bar intervals, that is, L1> = L2> = L3. > = L4> = L5> = L6, and when the bar interval patterns corresponding to the respective bar intervals are P1, P2, P3, P4, P5, and P6, L2
When> = R1> L3, (P1, P2, P3, P4, P5, P6) = (1,
1,0,0,0,0) and the MICR-CMC7 printed on the check paper
Font characters can be recognized as numbers or symbols.
When L1 >> = R1> L2, (P1, P2, P3, P4, P5, P6) = (1,
0,0,0,0,0). Note that the bar interval pattern becomes “?” Instead of “0”, and “1”, “0” and “?” May be mixed.

【0128】しかし、図5(b)に示すように、折り目
が存在しない正常な状態の場合は、「広い」間隔である
はずのバー間隔L2’が、折り目が存在するために、
「狭い」間隔のバー間隔L2となってしまった可能性も
ある。
However, as shown in FIG. 5B, in a normal state where no fold exists, the bar interval L2 ′ which should be a “wide” interval is due to the presence of the fold.
There is also a possibility that the bar interval L2 of the "narrow" interval has been reached.

【0129】そこで、第2パターン変換は、バー間隔L
2とバー間隔L3の有意差が十分取れる場合は、バー間
隔L2を「広い」間隔とする。ここで、第2パターン変
換の変換条件は下記に従う。ここで、調整係数をC(=
4/5)とする。
Therefore, the second pattern conversion uses the bar interval L
When a significant difference between the bar interval L2 and the bar interval L3 can be sufficiently obtained, the bar interval L2 is set to a "wide" interval. Here, the conversion conditions of the second pattern conversion are as follows. Here, the adjustment coefficient is C (=
4/5).

【0130】L2 >= L3+{(R1+R2)/2
−L3}*C のとき、 P2 = 1 L2 < L3+{(R1+R2)/2−L3}*C
のとき、P2は、第1パターン変換のままとする。
L2> = L3 + {(R1 + R2) / 2
When −L3} * C, P2 = 1 L2 <L3 + {(R1 + R2) / 2−L3} * C
In this case, P2 remains the first pattern conversion.

【0131】従って、L1 >= R1 > L2 か
つL2 >= L3+{(R1+R2)/2−L3}*
C のときは、 (P1,P2,P3,P4,P5,P6) = (1,
1,0,0,0,0) となり、チェック用紙に印刷されたMICR−CMC7
フォント文字は数字または記号であると認識できる。
Therefore, L1 >> = R1> L2 and L2 >> = L3 + {(R1 + R2) / 2−L3} *
In the case of C, (P1, P2, P3, P4, P5, P6) = (1,
1,0,0,0,0) and the MICR-CMC7 printed on the check paper
Font characters can be recognized as numbers or symbols.

【0132】上述したように、チェック用紙に印刷され
たMICR−CMC7フォント文字のバー間隔を第1パ
ターン変換と第2パターン変換によって、従来、文字と
して認識できなかった、折り目の存在するMICR−C
MC7フォント文字についても文字として認識できるよ
うになる。
As described above, the bar interval of the MICR-CMC7 font character printed on the check sheet is determined by the first pattern conversion and the second pattern conversion.
MC7 font characters can also be recognized as characters.

【0133】本発明の情報記録媒体は、上述の磁気パタ
ーンの認識方法のステップを有するプログラムを記録す
ることもできる。
The information recording medium of the present invention can also record a program having the steps of the above magnetic pattern recognition method.

【0134】また、本発明の情報記録媒体は、コンパク
ト・ディスク、フロッピー・ディスク、ハード・ディス
ク、光磁気ディスク、ディジタル・ビデオ・ディスク、
もしくは磁気テープであっても良い。
The information recording medium of the present invention includes a compact disk, a floppy disk, a hard disk, a magneto-optical disk, a digital video disk,
Alternatively, it may be a magnetic tape.

【0135】また、本発明の磁気パターン認識装置は、
複数のバーによって構成される、所定の磁気パターンが
複数個付された領域を磁気検出して、検出された磁気パ
ターンの検出磁気波形から複数のピークの隣り合う2つ
のピークの間の距離を表すピーク間隔を取得する磁気パ
ターン読み取り手段と、このように取得した複数個のピ
ーク間隔から、複数のバーの隣り合う2つのバーの間の
広さを2つの値によって表すバー間隔パターンに変換す
ることによって、磁気パターンを所定の文字として認識
する磁気パターン認識手段と、を備えている。
The magnetic pattern recognition device of the present invention
A region formed with a plurality of bars and provided with a plurality of predetermined magnetic patterns is magnetically detected, and a distance between two adjacent peaks of the plurality of peaks is represented from a detected magnetic waveform of the detected magnetic pattern. Magnetic pattern reading means for obtaining a peak interval, and converting the plurality of peak intervals thus obtained into a bar interval pattern expressing the width between two bars adjacent to each other by two values. Magnetic pattern recognition means for recognizing a magnetic pattern as a predetermined character.

【0136】また、本発明の磁気パターン認識装置は、
磁気パターン認識手段が、検出磁気波形から磁気パター
ンを構成する複数のバーの隣り合う2つのバーの間の距
離であるバー間隔を算出するバー間隔算出手段と、バー
間隔算出手段によって算出した前記バー間隔を、「広
い」間隔または「狭い」間隔のバー間隔パターンに変換
するパターン変換手段と、パターン変換手段によって変
換した1つ分の磁気パターンのバー間隔パターンから磁
気パターンを確定する磁気パターン確定手段と、を備え
ている。
Also, the magnetic pattern recognition device of the present invention
A magnetic pattern recognition unit configured to calculate a bar interval which is a distance between two adjacent bars of the plurality of bars forming the magnetic pattern from the detected magnetic waveform; and a bar interval calculated by the bar interval calculating unit. Pattern conversion means for converting an interval into a bar interval pattern having a "wide" interval or a "narrow"interval; and magnetic pattern determination means for determining a magnetic pattern from a bar interval pattern of one magnetic pattern converted by the pattern conversion means And

【0137】また、本発明の磁気パターン認識装置は、
パターン変換手段が、バー間隔が所定の判定境界範囲の
最大境界値以上であるとき、バー間隔のバー間隔パター
ンを「広い」間隔と判定し、バー間隔が所定の判定境界
範囲の最小境界値以下であるとき、バー間隔のバー間隔
パターンを「狭い」間隔と判定することができる。
Also, the magnetic pattern recognition device of the present invention
When the bar interval is equal to or greater than the maximum boundary value of the predetermined determination boundary range, the pattern conversion means determines the bar interval pattern of the bar interval to be a “wide” interval, and the bar interval is equal to or less than the minimum boundary value of the predetermined determination boundary range. , The bar interval pattern of the bar intervals can be determined to be a “narrow” interval.

【0138】また、本発明の磁気パターン認識装置は、
パター変換手段が、1つ分の磁気パターンにおいて、バ
ー間隔パターンの「広い」間隔の数と「狭い」間隔の数
との割合が1対5であり、かつ、バー間隔のうち2番目
に広いバー間隔と3番目に広いバー間隔との間に有意差
があるとき、2番目に広いバー間隔の前記バー間隔パタ
ーンを「広い」間隔と判定することができる。
Also, the magnetic pattern recognition device of the present invention
In one magnetic pattern, the ratio of the number of "wide" intervals to the number of "narrow" intervals in the bar interval pattern is 1: 5, and the putter conversion means is the second widest of the bar intervals. When there is a significant difference between the bar spacing and the third widest bar spacing, the bar spacing pattern with the second widest bar spacing can be determined as a "wide" spacing.

【0139】また、本発明の磁気パターン認識装置は、
パターン変換手段が、1つ分の磁気パターンにおいて、
バー間隔のうち2番目に広いバー間隔と3番目に広いバ
ー間隔、所定の判定境界範囲の中央値、及び所定の調整
係数が下記の条件を満たすとき、バー間隔のうち2番目
に広いバー間隔と3番目に広いバー間隔との間に有意差
があると判定することができる。
Further, the magnetic pattern recognition device of the present invention
The pattern conversion means includes:
The second widest bar interval among the bar intervals when the second widest bar interval and the third widest bar interval among the bar intervals, the median of the predetermined determination boundary range, and the predetermined adjustment coefficient satisfy the following conditions. It can be determined that there is a significant difference between and the third largest bar interval.

【0140】2番目に広いバー間隔 >= 3番目に広
いバー間隔 +( 判定境界範囲の中央値−3番目に広
いバー間隔 )* 調整係数 また、本発明の磁気パターン認識装置は、磁気パターン
確定手段が、1つ分の磁気パターンにおけるバー間隔パ
ターンの「広い」間隔の数と「狭い」間隔の数との割合
が2対4であるとき、磁気パターンを一義的に確定する
ことができる。
Second widest bar interval> = Third widest bar interval + (median of determination boundary range-Third widest bar interval) * Adjustment coefficient The magnetic pattern recognition device of the present invention also has a magnetic pattern determination. When the ratio of the number of “wide” intervals to the number of “narrow” intervals of the bar interval pattern in one magnetic pattern is 2 to 4, the magnetic pattern can be uniquely determined.

【0141】また、本発明の磁気パターン認識装置は、
磁気パターン読み取り手段が、検出磁気波形及び検出条
件を取得する磁気パターン検出手段と、磁気パターン検
出手段によって取得した検出磁気波形から1つ分の磁気
パターンの検出磁気波形を切り出す磁気パターン切り出
し手段と、磁気パターン切り出し手段によって切り出し
た1つ分の磁気パターンの検出磁気波形の複数のピーク
から、隣り合う2つのピークの間の距離を測定するピー
ク間隔測定手段と、を備えている。
Further, the magnetic pattern recognition device of the present invention
Magnetic pattern reading means for obtaining a detected magnetic waveform and a detection condition, magnetic pattern detection means, and magnetic pattern cutout means for cutting out a detected magnetic waveform of one magnetic pattern from the detected magnetic waveform obtained by the magnetic pattern detection means; A peak interval measuring means for measuring a distance between two adjacent peaks from a plurality of peaks of the detected magnetic waveform of one magnetic pattern cut out by the magnetic pattern cutting means.

【0142】また、本発明の複合処理装置は、上述の磁
気パターン認識装置の手段を備えている。
Further, the multifunction device of the present invention includes the means of the magnetic pattern recognition device described above.

【0143】また、本発明の複合処理装置は、パルスモ
ータを備えた紙送り手段と、紙送り手段により送られた
紙片に印刷する印刷手段と、紙送り手段によって送られ
た紙片に付された磁気パターンを検出する磁気検出手段
と、を更に備えている。
Further, the multifunction device of the present invention has a paper feeding means provided with a pulse motor, a printing means for printing on a paper piece fed by the paper feeding means, and a paper feeding means provided on the paper piece fed by the paper feeding means. Magnetic detecting means for detecting a magnetic pattern.

【0144】[0144]

【発明の効果】以上説明したように、本発明によれば、
以下の効果を奏する。
As described above, according to the present invention,
The following effects are obtained.

【0145】MICR−CMC7フォント文字が印刷さ
れたCMC7チェック用紙の文字認識において、MIC
R−CMC7フォント文字が折り曲げられた状態の場
合、文字の認識が不可能であったり、誤認識されてしま
っていたが、以下の方法によって、CMC7チェック用
紙上の折り曲げられたMICR−CMC7フォント文字
についても、数字及び記号として、認識できる磁気パタ
ーンの認識方法を提供する。
In character recognition of CMC7 check paper on which MICR-CMC7 font characters are printed, the MIC
When the R-CMC7 font character is in a folded state, the character cannot be recognized or is erroneously recognized. However, the folded MICR-CMC7 font character on the CMC7 check sheet is obtained by the following method. Also provided is a method for recognizing a magnetic pattern that can be recognized as numbers and symbols.

【0146】磁気パターンの認識において、取得した検
出磁気波形から1つ分の磁気パターンの検出磁気波形を
切り出す。切り出した検出磁気波形の複数のピーク間隔
を測定する。測定した複数のピーク間隔から磁気パター
ンの複数バー間隔を算出する。算出した複数のバー間隔
のそれぞれを2段階からなる判定条件に基づいて、バー
間隔パターンの「広い」間隔または「狭い」間隔に変換
する。変換した1つ分の磁気パターンのバー間隔パター
ンから、バー間隔パターンと文字の対応表に基づいて、
文字を認識する。
In recognizing a magnetic pattern, a detected magnetic waveform of one magnetic pattern is cut out from the obtained detected magnetic waveform. A plurality of peak intervals of the extracted detected magnetic waveform are measured. A plurality of bar intervals of the magnetic pattern are calculated from the plurality of measured peak intervals. Each of the calculated plurality of bar intervals is converted into a “wide” interval or a “narrow” interval of the bar interval pattern based on a two-step determination condition. From the converted bar interval pattern of one magnetic pattern, based on the bar interval pattern and character correspondence table,
Recognize characters.

【0147】また、上述した磁気パターンの認識方法の
プログラムを記録した情報記録媒体をソフトウェア商品
として、容易に配布したり販売したりすることができ
る。
The information recording medium on which the program for the magnetic pattern recognition method described above is recorded can be easily distributed or sold as a software product.

【0148】更に、上述した磁気パターンの認識方法を
実行する手段を備えた磁気パターン認識装置及び複合処
理装置を提供することができる。
Further, it is possible to provide a magnetic pattern recognition device and a multifunction device having means for executing the above-described magnetic pattern recognition method.

【図面の簡単な説明】[Brief description of the drawings]

【図1】複合処理装置の概要を示す斜視図である。FIG. 1 is a perspective view showing an outline of a multifunction device.

【図2】複合処理装置のブロック構成図である。FIG. 2 is a block diagram of the multifunction device.

【図3】複合処理装置における文字認識の機能ブロック
図である。
FIG. 3 is a functional block diagram of character recognition in the multifunction device.

【図4】複合処理装置における文字認識処理のフローチ
ャート図である。
FIG. 4 is a flowchart of a character recognition process in the multifunction device.

【図5】(a)折り曲げられた部分の無いMICR−C
MC7フォント文字のバー間隔の分布図、(b)折り曲
げられた部分の存在するMICR−CMC7フォント文
字のバー間隔の分布図である。
FIG. 5 (a) MICR-C without bent portion
It is a distribution diagram of bar intervals of MC7 font characters, and (b) is a distribution diagram of bar intervals of MICR-CMC7 font characters having a bent portion.

【図6】数字と記号を示すMICR−CMC7フォント
文字の一例である。
FIG. 6 is an example of MICR-CMC7 font characters showing numbers and symbols.

【図7】MICR−CMC7フォント文字のバー間隔パ
ターンの対応表である。
FIG. 7 is a correspondence table of bar interval patterns of MICR-CMC7 font characters.

【図8】(a)折り曲げる前のCMC7チェック用紙の
切断図、(b)折り曲げた後のCMC7チェック用紙の
切断図、(c)折り曲げる前のバー間隔図、(d)折り
曲げた後のバー間隔図である。
8 (a) is a cutaway view of a CMC7 check sheet before bending, FIG. 8 (b) is a cutaway view of a CMC7 check sheet after bending, (c) a bar interval before bending, and (d) a bar interval after bending. FIG.

【図9】(a)MICR−CMC7フォント文字のバー
と検出磁気波形の関係図、(b)MICR−CMC7フ
ォント文字を折り曲げる前の検出磁気波形と折り曲げた
後の検出磁気波形の関係図である。
9A is a diagram showing a relationship between a bar of a MICR-CMC7 font character and a detected magnetic waveform, and FIG. 9B is a diagram showing a relationship between a detected magnetic waveform before a MICR-CMC7 font character is bent and a detected magnetic waveform after the MICR-CMC7 font character is bent. .

【符号の説明】[Explanation of symbols]

100 複合処理装置(プリンタ) 210 プロセッサ 211 RAM 212 ROM 213 入力装置 301 制御手段 302 判定条件変更手段 303 搬送制御手段 304 磁気パターン検出手段 305 磁気パターン切り出し手段 306 ピーク間隔測定手段 307 バー間隔算出手段 308 パターン変換手段 309 磁気パターン確定手段 310 検出波形記憶部 311 認識結果記憶部 312 判定条件変更記憶部 313 認識判定条件記憶部 501 「広い」間隔のバー間隔分布 502 「狭い」間隔のバー間隔分布 503 判定境界範囲 504 「広い」間隔閾値 505 「狭い」間隔閾値 506 「広い」間隔範囲 507 「狭い」間隔範囲 508 折り曲げられた状態の「広い」間隔のバー間
隔分布 509 折り曲げられた状態の「狭い」間隔のバー間
隔分布
REFERENCE SIGNS LIST 100 multifunction device (printer) 210 processor 211 RAM 212 ROM 213 input device 301 control means 302 determination condition changing means 303 transport control means 304 magnetic pattern detection means 305 magnetic pattern cutout means 306 peak interval measurement means 307 bar interval calculation means 308 pattern Conversion unit 309 Magnetic pattern determination unit 310 Detected waveform storage unit 311 Recognition result storage unit 312 Judgment condition change storage unit 313 Recognition judgment condition storage unit 501 Bar interval distribution at “wide” interval 502 Bar interval distribution at “narrow” interval 503 Judgment boundary Range 504 "Wide" spacing threshold 505 "Narrow" spacing threshold 506 "Wide" spacing range 507 "Narrow" spacing range 508 Bar spacing distribution of "Wide" spacing in folded state 509 "Narrow" in folded state Bar interval distribution of the interval

Claims (30)

【特許請求の範囲】[Claims] 【請求項1】 複数のバーによって構成される、所定の
磁気パターンが複数個付された領域を磁気検出して、検
出された前記磁気パターンの検出磁気波形から複数のピ
ークの隣り合う2つのピークの間の距離を表すピーク間
隔を取得する磁気パターン読み取りステップと、このよ
うに取得した複数個の前記ピーク間隔から、複数の前記
バーの隣り合う2つのバーの間の広さを2つの値によっ
て表すバー間隔パターンに変換することによって、前記
磁気パターンを所定の文字として認識する磁気パターン
認識ステップと、を備えることを特徴とする磁気パター
ンの認識方法。
1. A magnetic field detecting unit comprising: a plurality of bars; a plurality of predetermined magnetic patterns; and two adjacent peaks from a detected magnetic waveform of the detected magnetic pattern. A magnetic pattern reading step for obtaining a peak interval representing a distance between the two, and from the plurality of peak intervals thus obtained, the width between two adjacent bars of the plurality of bars is represented by two values. A magnetic pattern recognition step of recognizing the magnetic pattern as a predetermined character by converting the magnetic pattern into a bar interval pattern to be represented.
【請求項2】 前記磁気パターン認識ステップが、前記
検出磁気波形から前記磁気パターンを構成する複数の前
記バーの隣り合う2つのバーの間の距離であるバー間隔
を算出するバー間隔算出ステップと、前記バー間隔算出
ステップによって算出した前記バー間隔を、「広い」間
隔または「狭い」間隔のバー間隔パターンに変換するパ
ターン変換ステップと、前記パターン変換ステップによ
って変換した1つ分の前記磁気パターンの前記バー間隔
パターンから前記磁気パターンを確定する磁気パターン
確定ステップと、を備えることを特徴とする、請求項1
に記載の磁気パターンの認識方法。
2. A bar interval calculating step of calculating a bar interval, which is a distance between two adjacent bars of the plurality of bars constituting the magnetic pattern, from the detected magnetic waveform, A pattern conversion step of converting the bar interval calculated by the bar interval calculation step into a bar interval pattern having a “wide” interval or a “narrow” interval; and the one of the magnetic patterns converted by the pattern conversion step. 2. A magnetic pattern determining step of determining the magnetic pattern from a bar interval pattern.
3. A method for recognizing a magnetic pattern according to item 1.
【請求項3】 前記パターン変換ステップが、前記バー
間隔が所定の判定境界範囲の最大境界値以上であると
き、前記バー間隔の前記バー間隔パターンを前記「広
い」間隔と判定し、前記バー間隔が所定の判定境界範囲
の最小境界値以下であるとき、前記バー間隔の前記バー
間隔パターンを前記「狭い」間隔と判定することを特徴
とする、請求項2に記載の磁気パターンの認識方法。
3. The pattern conversion step, when the bar interval is equal to or larger than a maximum boundary value of a predetermined determination boundary range, the bar interval pattern of the bar interval is determined to be the “wide” interval, and the bar interval is determined. 3. The magnetic pattern recognition method according to claim 2, wherein when is smaller than or equal to a minimum boundary value of a predetermined determination boundary range, the bar interval pattern of the bar intervals is determined to be the "narrow" interval.
【請求項4】 前記パターン変換ステップが、1つ分の
前記磁気パターンにおいて、前記バー間隔パターンの前
記「広い」間隔の数と前記「狭い」間隔の数との割合が
1対5であり、かつ、前記バー間隔のうち2番目に広い
バー間隔と3番目に広いバー間隔との間に有意差がある
とき、前記2番目に広いバー間隔の前記バー間隔パター
ンを「広い」間隔と判定することを特徴とする、請求項
3に記載の磁気パターンの認識方法。
4. The pattern conversion step, wherein in one magnetic pattern, a ratio of the number of the “wide” intervals to the number of the “narrow” intervals of the bar interval pattern is 1: 5, When there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals, the bar interval pattern of the second widest bar interval is determined to be a “wide” interval. 4. The method for recognizing a magnetic pattern according to claim 3, wherein:
【請求項5】 前記パターン変換ステップが、1つ分の
前記磁気パターンにおいて、前記バー間隔のうち2番目
に広いバー間隔と3番目に広いバー間隔、前記所定の判
定境界範囲の中央値、及び所定の調整係数が下記の条件
を満たすとき、前記バー間隔のうち2番目に広いバー間
隔と3番目に広いバー間隔との間に有意差があると判定
することを特徴とする、請求項4に記載の磁気パターン
の認識方法。 2番目に広いバー間隔 >= 3番目に広いバー間隔
+( 判定境界範囲の中央値−3番目に広いバー間隔
)* 調整係数
5. The method according to claim 5, wherein the pattern conversion step comprises: in the one magnetic pattern, the second widest bar interval and the third widest bar interval among the bar intervals; a median value of the predetermined determination boundary range; The method according to claim 4, wherein when the predetermined adjustment coefficient satisfies the following condition, it is determined that there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals. 3. A method for recognizing a magnetic pattern according to item 1. Second widest bar interval> = Third widest bar interval
+ (Median of judgment boundary range-third widest bar interval) * Adjustment coefficient
【請求項6】 前記磁気パターン確定ステップが、1つ
分の前記磁気パターンにおける前記バー間隔パターンの
前記「広い」間隔の数と前記「狭い」間隔の数との割合
が2対4であるとき、磁気パターンを一義的に確定でき
ることを特徴とする、請求項2に記載の磁気パターンの
認識方法。
6. The method according to claim 1, wherein the ratio of the number of the “wide” intervals to the number of the “narrow” intervals of the bar interval pattern in one magnetic pattern is 2 to 4. 3. The magnetic pattern recognition method according to claim 2, wherein the magnetic pattern can be uniquely determined.
【請求項7】 前記磁気パターン読み取りステップが、
前記検出磁気波形及び検出条件を取得する磁気パターン
検出ステップと、前記磁気パターン検出ステップによっ
て取得した前記検出磁気波形から1つ分の前記磁気パタ
ーンの検出磁気波形を切り出す磁気パターン切り出しス
テップと、前記磁気パターン切り出しステップによって
切り出した1つ分の前記磁気パターンの検出磁気波形の
複数のピークから、隣り合う2つのピークの間の距離を
測定するピーク間隔測定ステップと、を備えることを特
徴とする、請求項1に記載の磁気パターンの認識方法。
7. The magnetic pattern reading step,
A magnetic pattern detecting step of obtaining the detected magnetic waveform and the detection condition; a magnetic pattern cutting step of cutting out one detected magnetic waveform of the magnetic pattern from the detected magnetic waveform obtained by the magnetic pattern detecting step; A peak interval measuring step of measuring a distance between two adjacent peaks from a plurality of peaks of the detected magnetic waveform of one magnetic pattern extracted by the pattern extracting step. Item 3. A method for recognizing a magnetic pattern according to Item 1.
【請求項8】 前記磁気パターンを認識するための判定
条件を変更できる判定条件変更ステップを、更に備える
ことを特徴とする、請求項1に記載の磁気パターンの認
識方法。
8. The magnetic pattern recognition method according to claim 1, further comprising a determination condition changing step of changing a determination condition for recognizing the magnetic pattern.
【請求項9】 前記判定条件として、調整係数を変更で
きることを特徴とする、請求項8に記載の磁気パターン
の認識方法。
9. The magnetic pattern recognition method according to claim 8, wherein an adjustment coefficient can be changed as the determination condition.
【請求項10】 前記磁気パターンは、磁気インク文字
であることを特徴とする、請求項1に記載の磁気パター
ンの認識方法。
10. The method according to claim 1, wherein the magnetic pattern is a magnetic ink character.
【請求項11】 請求項1から10のいづれか1項に記
載の磁気パターンの認識方法のステップを有するプログ
ラムを記録した情報記録媒体。
11. An information recording medium in which a program having the steps of the magnetic pattern recognition method according to claim 1 is recorded.
【請求項12】 前記情報記録媒体は、コンパクト・デ
ィスク、フロッピー(登録商標)・ディスク、ハード・
ディスク、光磁気ディスク、ディジタル・ビデオ・ディ
スク、もしくは磁気テープであることを特徴とする、請
求項11に記載のプログラムを記録した情報記録媒体。
12. The information recording medium includes a compact disk, a floppy (registered trademark) disk, and a hard disk.
The information recording medium according to claim 11, wherein the information recording medium is a disk, a magneto-optical disk, a digital video disk, or a magnetic tape.
【請求項13】 複数のバーによって構成される、所定
の磁気パターンが複数個付された領域を磁気検出して、
検出された前記磁気パターンの検出磁気波形から複数の
ピークの隣り合う2つのピークの間の距離を表すピーク
間隔を取得する磁気パターン読み取り手段と、このよう
に取得した複数個の前記ピーク間隔から、複数の前記バ
ーの隣り合う2つのバーの間の広さを2つの値によって
表すバー間隔パターンに変換することによって、前記磁
気パターンを所定の文字として認識する磁気パターン認
識手段と、を備えることを特徴とする磁気パターン認識
装置。
13. Magnetically detecting an area formed by a plurality of bars and provided with a plurality of predetermined magnetic patterns,
Magnetic pattern reading means for acquiring a peak interval representing a distance between two adjacent peaks of a plurality of peaks from a detected magnetic waveform of the detected magnetic pattern, and from the plurality of peak intervals thus acquired, Magnetic pattern recognition means for recognizing the magnetic pattern as a predetermined character by converting a width between two adjacent bars of the plurality of bars into a bar interval pattern represented by two values. Characteristic magnetic pattern recognition device.
【請求項14】 前記磁気パターン認識手段が、前記検
出磁気波形から前記磁気パターンを構成する複数の前記
バーの隣り合う2つのバーの間の距離であるバー間隔を
算出するバー間隔算出手段と、前記バー間隔算出手段に
よって算出した前記バー間隔を、「広い」間隔または
「狭い」間隔のバー間隔パターンに変換するパターン変
換手段と、前記パターン変換手段によって変換した1つ
分の前記磁気パターンの前記バー間隔パターンから前記
磁気パターンを確定する磁気パターン確定手段と、を備
えることを特徴とする、請求項13に記載の磁気パター
ン認識装置。
14. A bar interval calculating unit, wherein the magnetic pattern recognizing unit calculates a bar interval, which is a distance between two adjacent bars of the plurality of bars constituting the magnetic pattern, from the detected magnetic waveform, A pattern conversion unit configured to convert the bar interval calculated by the bar interval calculation unit into a bar interval pattern having a “wide” interval or a “narrow” interval; and the one of the magnetic patterns converted by the pattern conversion unit. 14. The magnetic pattern recognition device according to claim 13, further comprising: a magnetic pattern determining unit that determines the magnetic pattern from a bar interval pattern.
【請求項15】 前記パターン変換手段が、前記バー間
隔が所定の判定境界範囲の最大境界値以上であるとき、
前記バー間隔の前記バー間隔パターンを前記「広い」間
隔と判定し、前記バー間隔が所定の判定境界範囲の最小
境界値以下であるとき、前記バー間隔の前記バー間隔パ
ターンを前記「狭い」間隔と判定することを特徴とす
る、請求項14に記載の磁気パターン認識装置。
15. The method according to claim 15, wherein the pattern conversion unit determines that the bar interval is equal to or larger than a maximum boundary value of a predetermined determination boundary range.
The bar interval pattern of the bar intervals is determined as the “wide” interval, and when the bar interval is equal to or less than a minimum boundary value of a predetermined determination boundary range, the bar interval pattern of the bar interval is determined as the “narrow” interval. The magnetic pattern recognition device according to claim 14, wherein:
【請求項16】 前記パター変換手段が、1つ分の前記
磁気パターンにおいて、前記バー間隔パターンの前記
「広い」間隔の数と前記「狭い」間隔の数との割合が1
対5であり、かつ、前記バー間隔のうち2番目に広いバ
ー間隔と3番目に広いバー間隔との間に有意差があると
き、前記2番目に広いバー間隔の前記バー間隔パターン
を「広い」間隔と判定することを特徴とする、請求項1
5に記載の磁気パターン認識装置。
16. The putter conversion means, wherein in one magnetic pattern, the ratio of the number of “wide” intervals to the number of “narrow” intervals in the bar interval pattern is one.
When there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals, the bar interval pattern of the second widest bar interval is set to “wide”. The distance is determined as the "interval".
6. The magnetic pattern recognition device according to item 5.
【請求項17】 前記パターン変換手段が、1つ分の前
記磁気パターンにおいて、前記バー間隔のうち2番目に
広いバー間隔と3番目に広いバー間隔、前記所定の判定
境界範囲の中央値、及び所定の調整係数が下記の条件を
満たすとき、前記バー間隔のうち2番目に広いバー間隔
と3番目に広いバー間隔との間に有意差があると判定す
ることを特徴とする、請求項16に記載の磁気パターン
認識装置。 2番目に広いバー間隔 >= 3番目に広いバー間隔
+( 判定境界範囲の中央値−3番目に広いバー間隔
)* 調整係数
17. The method according to claim 17, wherein, in one magnetic pattern, the second and third widest bar intervals among the bar intervals, a median value of the predetermined determination boundary range, 17. The method according to claim 16, wherein when the predetermined adjustment coefficient satisfies the following condition, it is determined that there is a significant difference between the second widest bar interval and the third widest bar interval among the bar intervals. 3. The magnetic pattern recognition device according to claim 1. Second widest bar interval> = Third widest bar interval
+ (Median of judgment boundary range-third widest bar interval) * Adjustment coefficient
【請求項18】 前記磁気パターン確定手段が、1つ分
の前記磁気パターンにおける前記バー間隔パターンの前
記「広い」間隔の数と前記「狭い」間隔の数との割合が
2対4であるとき、磁気パターンを一義的に確定できる
ことを特徴とする、請求項14に記載の磁気パターン認
識装置。
18. When the ratio of the number of “wide” intervals to the number of “narrow” intervals of the bar interval pattern in one magnetic pattern is two to four, 15. The magnetic pattern recognition device according to claim 14, wherein the magnetic pattern can be uniquely determined.
【請求項19】 前記磁気パターン読み取り手段が、前
記検出磁気波形及び検出条件を取得する磁気パターン検
出手段と、前記磁気パターン検出手段によって取得した
前記検出磁気波形から1つ分の前記磁気パターンの検出
磁気波形を切り出す磁気パターン切り出し手段と、前記
磁気パターン切り出し手段によって切り出した1つ分の
前記磁気パターンの検出磁気波形の複数のピークから、
隣り合う2つのピークの間の距離を測定するピーク間隔
測定手段と、を備えることを特徴とする、請求項13に
記載の磁気パターン認識装置。
19. The magnetic pattern reading means for obtaining the detected magnetic waveform and the detection condition, and detecting one magnetic pattern from the detected magnetic waveform obtained by the magnetic pattern detecting means. A magnetic pattern cutout means for cutting out a magnetic waveform, and a plurality of peaks of the detected magnetic waveform of the magnetic pattern for one piece cut out by the magnetic pattern cutout means
14. The magnetic pattern recognition device according to claim 13, further comprising: peak interval measuring means for measuring a distance between two adjacent peaks.
【請求項20】 前記磁気パターンを認識するための判
定条件を変更できる判定条件変更手段を、更に備えるこ
とを特徴とする、請求項13に記載の磁気パターン認識
装置。
20. The magnetic pattern recognition device according to claim 13, further comprising a determination condition changing unit that can change a determination condition for recognizing the magnetic pattern.
【請求項21】 前記判定条件として、調整係数を変更
できることを特徴とする、請求項20に記載の磁気パタ
ーン認識装置。
21. The magnetic pattern recognition device according to claim 20, wherein an adjustment coefficient can be changed as the determination condition.
【請求項22】 前記磁気パターンは、磁気インク文字
であることを特徴とする、請求項13に記載の磁気パタ
ーン認識装置。
22. The magnetic pattern recognition device according to claim 13, wherein the magnetic pattern is a magnetic ink character.
【請求項23】 請求項13から22のいづれか1項に
記載の磁気パターン認識装置の手段を備えることを特徴
とする複合処理装置。
23. A multi-processing apparatus comprising the means of the magnetic pattern recognition apparatus according to any one of claims 13 to 22.
【請求項24】 パルスモータを備えた紙送り手段と、
前記紙送り手段により送られた紙片に印刷する印刷手段
と、前記紙送り手段によって送られた前記紙片に付され
た磁気パターンを検出する磁気検出手段と、を更に備え
ることを特徴とする、請求項23に記載の複合処理装
置。
24. A paper feeding means provided with a pulse motor,
The apparatus according to claim 1, further comprising: printing means for printing on the paper piece sent by the paper feeding means; and magnetic detecting means for detecting a magnetic pattern applied to the paper piece sent by the paper feeding means. Item 24. The multifunction device according to item 23.
【請求項25】 チェック用紙上の、バー間隔が広い間
隔と狭い間隔からなるCMC7文字の読みとり方法にお
いて、 前記バーの隣り合う間隔が、広い距離か、狭い距離かを
判断する第1の判断ステップと、 前記広い距離と判断した数が、第1の所定の数であるか
どうか判断する第2の判断ステップとを備えたCMC7
文字の読みとり方法。
25. A method for reading seven characters of CMC on a check sheet, in which a bar interval has a wide interval and a narrow interval, a first judging step of judging whether an interval between adjacent bars is a wide distance or a narrow distance. And a second determining step of determining whether the number determined as the wide distance is a first predetermined number.
How to read characters.
【請求項26】 請求項25記載の前記第2の判断ステ
ップで、前記広い距離と判断した数が、前記第1の所定
の数と異なる第2の所定の数であると判断したとき、さ
らに、 前記バーの隣り合う間隔を、隣り合う間隔順に並べ替え
るステップを備えたCMC7文字の読みとり方法。
26. The method according to claim 25, wherein in the second determining step, when it is determined that the number determined as the wide distance is a second predetermined number different from the first predetermined number, A method of reading seven CMC characters, comprising the step of rearranging adjacent intervals of the bar in the order of the adjacent intervals.
【請求項27】 前記第1の判断ステップは、 広い距離かどうか判断するための第1の閾値と、狭い距
離かどうか判断するための前記第1の閾値とは異なる第
2の閾値を有することを特徴とする請求項25または2
6記載のCMC7文字の読みとり方法。
27. The method according to claim 27, wherein the first determining step has a first threshold value for determining whether the distance is wide and a second threshold value different from the first threshold value for determining whether the distance is narrow. 25. The method according to claim 25, wherein
6. Reading method of 7 characters of CMC described in 6.
【請求項28】 前記第2の並べ替えステップによって
並べ替えられた間隔のうち、2番目に広い間隔と、3番
目に広い間隔との間隔が有意差以上であるかどうか判断
する第3の判断ステップをさらに備え、 前記有意差以上であれば、前記2番目に広い間隔を前記
広い距離として決定するステップを有することを特徴と
する請求項26または27のCMC7文字の読みとり方
法。
28. A third judgment for judging whether or not the interval between the second widest interval and the third widest interval among the intervals rearranged in the second rearrangement step is a significant difference or more. 28. The method according to claim 26, further comprising the step of determining the second widest interval as the widest distance if the difference is equal to or greater than the significant difference.
【請求項29】 前記第2の判断ステップで、第1の所
定の数でも第2の所定の数でもないと判断したとき、エ
ラー処理を行うステップを備えた請求項25〜28のう
ち1に記載のCMC7文字の読みとり方法。
29. The method according to claim 25, further comprising the step of performing error processing when it is determined in the second determining step that the number is neither the first predetermined number nor the second predetermined number. How to read the described 7 characters of CMC.
【請求項30】 バー間隔が広い間隔と狭い間隔からな
るCMC7文字の読みとり装置において、 前記バーの隣り合う間隔が、広い間隔かどうか判断する
ための第1の閾値と、狭い距離かどうか判断するため前
記第1の閾値とは異なる第2の閾値とを有する判断手段
を備えたCMC7文字の読みとり装置。
30. An apparatus for reading seven characters of CMC in which a bar interval has a wide interval and a narrow interval, wherein a first threshold value for judging whether an interval between adjacent bars is a wide interval and a narrow distance are judged. Therefore, an apparatus for reading seven characters of CMC, comprising a determination means having a second threshold value different from the first threshold value.
JP2000169239A 2000-06-06 2000-06-06 Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus Expired - Fee Related JP4617537B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000169239A JP4617537B2 (en) 2000-06-06 2000-06-06 Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000169239A JP4617537B2 (en) 2000-06-06 2000-06-06 Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2010112015A Division JP2010244557A (en) 2010-05-14 2010-05-14 Magnetic pattern recognition method, information recording medium, magnetic pattern recognition device, and composite processor

Publications (3)

Publication Number Publication Date
JP2001351062A true JP2001351062A (en) 2001-12-21
JP2001351062A5 JP2001351062A5 (en) 2007-03-29
JP4617537B2 JP4617537B2 (en) 2011-01-26

Family

ID=18672126

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000169239A Expired - Fee Related JP4617537B2 (en) 2000-06-06 2000-06-06 Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus

Country Status (1)

Country Link
JP (1) JP4617537B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1993077A2 (en) 2007-05-17 2008-11-19 Nidec Sankyo Corporation Method and apparatus for magnetic character recognition
JP2008287457A (en) * 2007-05-17 2008-11-27 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
JP2009169712A (en) * 2008-01-17 2009-07-30 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
EP2128794A2 (en) 2008-05-30 2009-12-02 Nidec Sankyo Corporation Method and apparatus for magnetic character recognition
KR101495656B1 (en) 2009-06-24 2015-02-25 노틸러스효성 주식회사 A method of recognizing magnetic ink character

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4937287B1 (en) * 1965-07-28 1974-10-08
JPH03500103A (en) * 1988-06-20 1991-01-10 エヌシーアール インターナショナル インコーポレイテッド Character reading device and method
JPH0512487A (en) * 1990-12-28 1993-01-22 Ncr Corp Optical recognizing system and recognizing method of bar code character
JPH05314313A (en) * 1991-10-01 1993-11-26 Ncr Internatl Inc Magnetoresistance head for readout of magnetic ink character
JPH07334607A (en) * 1994-06-07 1995-12-22 Nippondenso Co Ltd Bar code reading device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4937287B1 (en) * 1965-07-28 1974-10-08
JPH03500103A (en) * 1988-06-20 1991-01-10 エヌシーアール インターナショナル インコーポレイテッド Character reading device and method
JPH0512487A (en) * 1990-12-28 1993-01-22 Ncr Corp Optical recognizing system and recognizing method of bar code character
JPH05314313A (en) * 1991-10-01 1993-11-26 Ncr Internatl Inc Magnetoresistance head for readout of magnetic ink character
JPH07334607A (en) * 1994-06-07 1995-12-22 Nippondenso Co Ltd Bar code reading device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1993077A2 (en) 2007-05-17 2008-11-19 Nidec Sankyo Corporation Method and apparatus for magnetic character recognition
JP2008287457A (en) * 2007-05-17 2008-11-27 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
US8121384B2 (en) 2007-05-17 2012-02-21 Nidec Sankyo Corporation Method and apparatus for magnetic character recognition
JP2009169712A (en) * 2008-01-17 2009-07-30 Nidec Sankyo Corp Method and apparatus for magnetic character recognition
EP2128794A2 (en) 2008-05-30 2009-12-02 Nidec Sankyo Corporation Method and apparatus for magnetic character recognition
US8340390B2 (en) 2008-05-30 2012-12-25 Nidec Sankyo Corporation Method and apparatus for magnetic character recognition
KR101495656B1 (en) 2009-06-24 2015-02-25 노틸러스효성 주식회사 A method of recognizing magnetic ink character

Also Published As

Publication number Publication date
JP4617537B2 (en) 2011-01-26

Similar Documents

Publication Publication Date Title
JP4438387B2 (en) Magnetic ink character reader
JP2006012027A (en) Optical reader, recognition processor, character reading method and program, magnetic ink character reader, and pos terminal device
US20110109926A1 (en) Commodity sales data processing apparatus and control method therefor
EP0801356B1 (en) Method and apparatus for reading magnetic ink characters
JPH0719272B2 (en) Document processing device
JP4617537B2 (en) Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus
JP2727010B2 (en) Magnetic ink character recognition device
JP4186806B2 (en) Magnetic barcode recognition apparatus, magnetic barcode recognition method, and program
EP1703446B1 (en) Printing apparatus
JP3716876B2 (en) Magnetic pattern recognition method, magnetic pattern recognition apparatus, and combined processing apparatus
JP2010244557A (en) Magnetic pattern recognition method, information recording medium, magnetic pattern recognition device, and composite processor
JP4032204B2 (en) Magnetic pattern recognition device, recognition method, and information recording medium
JP4042320B2 (en) Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus
JP3997694B2 (en) Magnetic pattern recognition method, information recording medium, magnetic pattern recognition apparatus, and composite processing apparatus
CA2291901C (en) Printing apparatus, method of controlling it and storage medium
US5925866A (en) Method, apparatus and article of manufacture for dynamically positioning magnetic shielding to reduce magnetic interference at a magnetic read head
JP2011238279A (en) Optical reader, recognition processor, character reading method and program, magnetic ink character reader, and pos terminal device
JP4734780B2 (en) Check processing apparatus and check processing method
EP1332464B1 (en) Magnetic ink character recognition using a dual gap read head
JP3079466U (en) Receipt paper
JP2006040257A (en) Magnetic ink character reading apparatus, method for controlling the same, magnetic ink character reading method, program and pos terminal equipment
JP2000306124A (en) Ticket issuing device
JP2006040256A (en) Magnetic ink character reading apparatus and method, program and pos terminal equipment
JP2638031B2 (en) Passbook printer
JPH05324959A (en) Ticket reader

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070209

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100514

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20100514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100903

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: 20100928

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: 20101011

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

Free format text: PAYMENT UNTIL: 20131105

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees