Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0474754B2 - - Google Patents
[go: Go Back, main page]

JPH0474754B2 - - Google Patents

Info

Publication number
JPH0474754B2
JPH0474754B2 JP58108956A JP10895683A JPH0474754B2 JP H0474754 B2 JPH0474754 B2 JP H0474754B2 JP 58108956 A JP58108956 A JP 58108956A JP 10895683 A JP10895683 A JP 10895683A JP H0474754 B2 JPH0474754 B2 JP H0474754B2
Authority
JP
Japan
Prior art keywords
character
read
analog
reading
recognition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP58108956A
Other languages
Japanese (ja)
Other versions
JPS603067A (en
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 filed Critical
Priority to JP58108956A priority Critical patent/JPS603067A/en
Publication of JPS603067A publication Critical patent/JPS603067A/en
Publication of JPH0474754B2 publication Critical patent/JPH0474754B2/ja
Granted legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は文字を読取つて認識する文字認識方式
に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a character recognition method for reading and recognizing characters.

文字認識方式として媒体上の文字を読取つてサ
ンプリングし、そのデータより各文字を順次に認
識する方式がある。しかしこの方式ではサンプリ
ングデータのみから各文字を順次に認識するの
で、媒体上の文字と文字との間に汚れ等があつた
場合にはその汚れ等を文字の一部と誤認して文字
認識を開始してしまい、結局は文字を認識できな
くなり又は誤読することになる。
As a character recognition method, there is a method in which characters on a medium are read and sampled, and each character is sequentially recognized from the data. However, this method recognizes each character sequentially from only sampling data, so if there is dirt between the characters on the medium, the dirt will be mistaken as part of the character and character recognition will be interrupted. The characters may end up being unrecognizable or misread.

本発明は媒体上の汚れ等による文字認識不能や
誤読を防止するためのアナログ回路手段で読取り
文字の開始点を検出してから設定時間が経過する
以前に読取り文字の終端点を検出した時には文字
認識を行なわないようにした文字認識方式を提供
することを目的とする。
The present invention uses analog circuit means to prevent characters from being unrecognizable or misreading due to dirt on the medium, etc., and when the start point of a read character is detected and the end point of the read character is detected before a set time elapses, the character is The purpose of this invention is to provide a character recognition method that does not perform recognition.

以下図面を参照しながら本発明について詳細に
説明する。
The present invention will be described in detail below with reference to the drawings.

本発明の構成を第1図で説明すると、文字幅が
複数種類の文字幅のいずれかに規定されていて所
定の間隔で横方向に配列されている媒体上の複数
の文字が文字読取り手段1により横方向に走査さ
れて読取られ、アナログ/デジタル変換回路2に
よりアナログ/デジタル変換される。また、アナ
ログ回路手段5が文字読取り手段1からの文字読
取り出力より各読取り文字の開始点と終端点とを
検出し、アナログ回路手段5からの文字開始点信
号によりアナログ/デジタル変換回路2からの各
読取り文字のデータの記憶が記憶手段3で行なわ
れる。認識手段4は記憶手段3のデータを基にし
て読取り文字の認識を行なう。タイマー手段6は
アナログ回路手段5からの文字開始点信号により
動作し、上記複数種類の文字幅のうちの最小文字
幅に対応する時間より小さい所定の設定時間を計
時する。制御手段7は上記タイマー手段6が設定
時間を計時する以前に読取り文字の終端点が上記
アナログ回路手段5で検出されたことを検出して
上記認識手段4に文字認識を行なわせない。
The structure of the present invention will be explained with reference to FIG. The signal is scanned and read in the horizontal direction by the analog/digital conversion circuit 2, and converted from analog to digital by the analog/digital conversion circuit 2. Further, the analog circuit means 5 detects the start point and end point of each read character from the character reading output from the character reading means 1, and the character start point signal from the analog/digital conversion circuit 2 is detected by the analog circuit means 5. The storage means 3 stores the data of each read character. The recognition means 4 recognizes the read characters based on the data in the storage means 3. The timer means 6 is operated by a character start point signal from the analog circuit means 5, and measures a predetermined set time smaller than the time corresponding to the minimum character width among the plurality of character widths. The control means 7 detects that the end point of the read character is detected by the analog circuit means 5 before the timer means 6 measures the set time, and prevents the recognition means 4 from performing character recognition.

第2図は本発明の一実施例を示す。 FIG. 2 shows an embodiment of the invention.

この実施例は磁気インク文字E13Bが横方向へ
一定の間隔で記録されている小切手等のカードよ
りなる媒体から磁気インク文字を読取つて認識す
る例であり、カードがセツトされるとこのカード
を搬送手段により一定の速度で搬送させることに
より定位置の磁気ヘツド11でカードを文字の横
方向に走査してカード上の磁気インク文字を検出
する。この磁気ヘツド11の出力は増幅器12で
増幅されてローパスフイルタ13によりノイズが
除去され、アナログ/デジタル変換回路14が中
央処理装置(CPU)15からの信号で動作する
ことによつてサンプリング及びデジタル化がなさ
れてランダムアクセスメモリ(RAM)16に記
憶される。また増幅器12の出力信号は積分回路
17で積分され、波形整形回路18により一定の
レベルで2値化されて反転され負の矩形波とな
る。積分回路17の時定数は波形回路18からの
負の矩形波の立下り及び立上りがどの磁気インク
文字に対してもその開始点及び終端点と対応する
ように設定されており、文字の開始点及び終端点
が積分回路17及び波形整形回路18により検出
される。ここに、JIS規格のE13Bは第4図〜
に示すような形状で媒体に記録される14種類の磁
気インク文字であり、媒体上に横方向へ一列に一
定の間隔をおいて選択的に記録される。この磁気
インク文字は磁気ヘツド11により横方向に走査
されて読取られることにより後側から読取られ、
磁気ヘツド11からの文字読取り信号は磁気イン
ク文字の横方向への磁気変化量を示す微分波形に
なつて第4図〜に示すような波形で出力され
る。この文字読取り信号を横方向に8ブロツクに
等分割した場合には、必ず最初の第1ブロツクに
プラスのピークが来て、最後のピークが後半の第
5〜8ブロツクのいずれかに来るように磁気イン
ク文字が構成されており、文字幅が4種類であ
る。この文字読取り信号は積分回路17で積分さ
れて波形整形回路18により一定のレベルで2値
化されて反転されることで負の矩形波となり、こ
の矩形波は文字読取り信号の文字幅分存在する。
積分回路17及び波形整形回路18は文字読取り
信号が一定のレベルを越えた時を始点として検出
して波形整形回路18から負の矩形波の立下りと
して出力し、文字読取り信号が一定のレベルより
低下する時を終端として検出して波形整形回路1
8から負の矩形波の立上りとして出力する。例え
ば第4図の磁気インク文字では文字読取り信
号、積分回路17の出力信号及び波形整形回路1
8からの負の矩形波は第5図に示すようになる。
また、E13Bは文字幅が4種類であり、最小文字
幅が1.321mmである。ソフトタイマー(CPU15
に組込まれたタイマー)19の時間は最小文字巾
の文字に対する波形整形回路18の出力矩形波の
時間巾より小さい値に設定されるが、カード上の
インクの汚れを考慮すると上記時間巾の1/3程度
あれば実際上は差支ない。CPU15,RAM1
6,リードオンリメモリ(ROM)20、入出力
ポート(図では簡単にするため省略)はマイクロ
コンピユータを構成し、CPU15はROM20に
記憶されている第3図に示すようなプログラムに
よつて次のような処理を行う。CPU15は波形
整形回路18からの矩形波が入力されていてその
立下り及び立上りが文字開始点信号及び文字終端
点信号として与えられるが、その矩形波の立下り
を検知するとソフトタイマー19に設定時間の検
出動作を開始させると同時にアナログ/デジタル
変換回路14を動作させて読取り信号のサンプリ
ングを行なわせそのデータをRAM16に記憶さ
せる。タイマー19が設定時間を検出する前に波
形整形回路18からの矩形波が立上つて文字終端
点信号が与えられると、これは文字の読取りでは
なくて汚れの読取りであると判断してアナログ/
デジタル変換回路14を停止させて読取りり信号
のサンプリングを停止させると共に文字認識プロ
グラムの実行に入らない。したがつて、各文字読
取り信号の開始点から終端点までがソフトタイマ
ー19の設定時間(E13Bの最小文字幅に相当す
る時間より小さい設定時間)以下となつた場合に
は文字認識を行なわないので、媒体上の各文字の
間にソフトタイマー19の設定時間に対応する長
さより短い汚れ等があつても、この汚れ等により
文字認識が不能となつたり文字を誤読したりする
ことはない。波形整形回路18からの矩形波が立
上つて文字終端点信号が与えられる以前にタイマ
ー19が設定時間を検出すると、これは文字の読
取りであると判断し、アナログ/デジタル変換回
路14に動作を継続させて読取り信号のサンプリ
ングを継続させる。その後波形整形回路18から
の矩形波が立上つて文字終端点信号が与えられる
と、アナログ/デジタル変換回路14を停止させ
て文字認識プログラムに入りRAM16内のデー
タに基づいて読取り文字を認識する。
This embodiment is an example of reading and recognizing magnetic ink characters from a medium such as a card such as a check on which magnetic ink characters E13B are recorded at regular intervals in the horizontal direction. The magnetic ink characters on the card are detected by transporting the card at a constant speed by scanning the card in the lateral direction of the characters with the magnetic head 11 at a fixed position. The output of the magnetic head 11 is amplified by an amplifier 12, noise is removed by a low-pass filter 13, and an analog/digital conversion circuit 14 operates with a signal from a central processing unit (CPU) 15 to perform sampling and digitization. is created and stored in random access memory (RAM) 16. Further, the output signal of the amplifier 12 is integrated by an integrating circuit 17, binarized at a constant level by a waveform shaping circuit 18, and inverted to become a negative rectangular wave. The time constant of the integrator circuit 17 is set so that the falling and rising edges of the negative rectangular wave from the waveform circuit 18 correspond to the starting and ending points of any magnetic ink character. and the termination point are detected by the integrating circuit 17 and the waveform shaping circuit 18. Here, the JIS standard E13B is shown in Figure 4~
These are 14 types of magnetic ink characters that are recorded on a medium in the shape shown in , and are selectively recorded on the medium in a horizontal row at regular intervals. This magnetic ink character is read from the rear side by being scanned and read in the horizontal direction by the magnetic head 11,
The character reading signal from the magnetic head 11 is output as a differential waveform indicating the amount of magnetic change in the lateral direction of the magnetic ink character as shown in FIGS. When this character reading signal is equally divided horizontally into 8 blocks, the positive peak always appears in the first block, and the last peak appears in any of the 5th to 8th blocks in the latter half. The magnetic ink characters are composed of four different character widths. This character reading signal is integrated by the integrating circuit 17, binarized at a certain level by the waveform shaping circuit 18, and inverted to become a negative rectangular wave, and this rectangular wave exists for the character width of the character reading signal. .
The integrating circuit 17 and the waveform shaping circuit 18 detect the time when the character reading signal exceeds a certain level as the starting point, and output it from the waveform shaping circuit 18 as the falling edge of a negative rectangular wave. The waveform shaping circuit 1 detects the time of drop as the termination point.
8, it is output as a rising edge of a negative rectangular wave. For example, in the magnetic ink character shown in FIG. 4, the character reading signal, the output signal of the integrating circuit 17, and the waveform shaping circuit 1
The negative square wave from 8 is as shown in FIG.
Furthermore, E13B has four types of character widths, and the minimum character width is 1.321 mm. Soft timer (CPU15
The time of the built-in timer) 19 is set to a value smaller than the time width of the output rectangular wave of the waveform shaping circuit 18 for characters with the minimum character width, but considering the ink stains on the card, the time width of the above time width is set to 1 If it is about /3, there is no problem in practice. CPU15, RAM1
6. Read-only memory (ROM) 20 and input/output ports (omitted in the figure for simplicity) constitute a microcomputer, and the CPU 15 executes the following operations using a program as shown in Fig. 3 stored in the ROM 20. Perform processing like this. The CPU 15 receives the rectangular wave from the waveform shaping circuit 18, and its falling and rising edges are given as a character start point signal and a character end point signal.When the CPU 15 detects the falling edge of the rectangular wave, it sets the set time to the soft timer 19. At the same time as starting the detection operation, the analog/digital conversion circuit 14 is operated to sample the read signal and store the data in the RAM 16. If the rectangular wave from the waveform shaping circuit 18 rises and a character end point signal is given before the timer 19 detects the set time, it is determined that this is not a character reading but a dirt reading, and the analog/
The digital conversion circuit 14 is stopped, sampling of the read signal is stopped, and the character recognition program is not executed. Therefore, if the time from the start point to the end point of each character reading signal is less than the set time of the soft timer 19 (the set time smaller than the time corresponding to the minimum character width of E13B), character recognition will not be performed. Even if there is a stain or the like whose length is shorter than the time corresponding to the set time of the soft timer 19 between each character on the medium, this stain will not make it impossible to recognize the character or cause the character to be read incorrectly. When the timer 19 detects the set time before the rectangular wave from the waveform shaping circuit 18 rises and the character end point signal is given, it determines that this is a character reading and instructs the analog/digital conversion circuit 14 to operate. The reading signal continues to be sampled. Thereafter, when the rectangular wave from the waveform shaping circuit 18 rises and a character end point signal is applied, the analog/digital conversion circuit 14 is stopped and a character recognition program is entered to recognize the read character based on the data in the RAM 16.

以上のように本発明による文字認識方式にあつ
てはアナログ回路手段で読取り文字の開始点を検
出してから設定時間が経過する以前に読取り文字
の終端点を検出した時には文字認識を行なわない
ようにしたので、媒体上の各文字の間に汚れ等が
あつてもこの汚れ等による文字認識不能や誤読を
防止することができて文字認識率が高くなり文字
認識の効率も高くなる。
As described above, in the character recognition method according to the present invention, if the ending point of the read character is detected before a set time has elapsed after the analog circuit means detects the start point of the read character, character recognition is not performed. Therefore, even if there is dirt or the like between the characters on the medium, it is possible to prevent the characters from being unrecognizable or misreading due to the dirt, etc., thereby increasing the character recognition rate and the efficiency of character recognition.

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

第1図は本発明の構成を示すブロツク図、第2
図は本発明の一実施例を示すブロツク図、第3図
は同実施例のプログラムを示すフローチヤート、
第4図はE13Bの各文字及び読取り信号波形を示
す図、第5図は上記実施例のタイミングチヤート
である。 1…文字読取り手段、2…アナログ/デジタル
変換回路、3…記憶手段、4…認識手段、5…ア
ナログ回路手段、6…タイマー手段、7…制御手
段。
Figure 1 is a block diagram showing the configuration of the present invention, Figure 2 is a block diagram showing the configuration of the present invention.
The figure is a block diagram showing one embodiment of the present invention, and FIG. 3 is a flowchart showing a program of the same embodiment.
FIG. 4 is a diagram showing each character of E13B and the read signal waveform, and FIG. 5 is a timing chart of the above embodiment. DESCRIPTION OF SYMBOLS 1... Character reading means, 2... Analog/digital conversion circuit, 3... Storage means, 4... Recognition means, 5... Analog circuit means, 6... Timer means, 7... Control means.

Claims (1)

【特許請求の範囲】[Claims] 1 文字幅が複数種類の文字幅のいずれかに規定
されていて所定の間隔で横方向に配列されている
媒体上の複数の文字を文字読取り手段により横方
向に走査して読取つてサンプリングデータとして
記憶し、該記憶したサンプリングデータに基づい
て読取り文字を認識する文字認識方式であつて、
各読取り文字の開始点と終端点とを上記文字読取
り手段からの文字読取り出力より検出するアナロ
グ回路手段と、このアナログ回路手段からの文字
開始点信号により動作し上記複数種類の文字幅の
うちの最小文字幅に対応する時間より小さい所定
の設定時間を計時するタイマー手段と、上記文字
読取り手段からの文字読取り出力が入力されるア
ナログ/デジタル変換回路と、このアナログ/デ
ジタル変換回路からの各読取り文字のデータの記
憶を上記文字開始点信号により開始する記憶手段
と、この記憶手段のデータを基にして読取り文字
の認識を行なう認識手段と、上記タイマー手段が
設定時間を計時する以前に読取り文字の終端点が
上記アナログ回路手段で検出されたことを検出し
て上記認識手段に文字認識を行なわせない制御手
段とを備えたことを特徴とする文字認識方式。
1 A plurality of characters on a medium whose character width is specified as one of multiple types of character widths and which are arranged horizontally at a predetermined interval are scanned and read in the horizontal direction by a character reading means, and are read as sampling data. A character recognition method that stores and recognizes read characters based on the stored sampling data,
analog circuit means for detecting the start point and end point of each read character from the character reading output from the character reading means; a timer means for timing a predetermined set time smaller than the time corresponding to the minimum character width; an analog/digital conversion circuit to which the character reading output from the character reading means is input; and each reading from the analog/digital conversion circuit. a memory means for starting the storage of character data by the character start point signal; a recognition means for recognizing the read character based on the data in the memory means; and a recognition means for recognizing the read character based on the data in the memory means; and control means for detecting that the terminal point of the character has been detected by the analog circuit means and for not causing the recognition means to perform character recognition.
JP58108956A 1983-06-17 1983-06-17 Recognizing method of character Granted JPS603067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58108956A JPS603067A (en) 1983-06-17 1983-06-17 Recognizing method of character

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58108956A JPS603067A (en) 1983-06-17 1983-06-17 Recognizing method of character

Publications (2)

Publication Number Publication Date
JPS603067A JPS603067A (en) 1985-01-09
JPH0474754B2 true JPH0474754B2 (en) 1992-11-27

Family

ID=14497916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58108956A Granted JPS603067A (en) 1983-06-17 1983-06-17 Recognizing method of character

Country Status (1)

Country Link
JP (1) JPS603067A (en)

Also Published As

Publication number Publication date
JPS603067A (en) 1985-01-09

Similar Documents

Publication Publication Date Title
US20050023349A1 (en) Reading method for data in card reader and card reader utilizing the same
JPH0474754B2 (en)
JPH0421233B2 (en)
JPH0421913B2 (en)
JP2630261B2 (en) Character recognition device
JP3095437B2 (en) Character line detection cutout device and character reading device
JP2572148B2 (en) Barcode demodulator
JP2902694B2 (en) Optical character reader
JPH0426153B2 (en)
JPH0261066B2 (en)
JPS6129097Y2 (en)
JPH0475557B2 (en)
JPH0520760B2 (en)
JPS6039277A (en) Peak value correcting system
JP3160458B2 (en) Character reading device and character reading method
JP2576370B2 (en) ID mark reading device
JPH0315791B2 (en)
JPH0347552B2 (en)
JPS6022791B2 (en) How to determine the characters to be read
JPS596419B2 (en) Character extraction method
JPH0320792B2 (en)
JPH0315792B2 (en)
JPS6259832B2 (en)
JPH0421232B2 (en)
JPS6013219B2 (en) optical character reader