JPS6036628B2 - Segment method in pattern recognition - Google Patents

Segment method in pattern recognition

Info

Publication number
JPS6036628B2
JPS6036628B2 JP52096464A JP9646477A JPS6036628B2 JP S6036628 B2 JPS6036628 B2 JP S6036628B2 JP 52096464 A JP52096464 A JP 52096464A JP 9646477 A JP9646477 A JP 9646477A JP S6036628 B2 JPS6036628 B2 JP S6036628B2
Authority
JP
Japan
Prior art keywords
signal
character
scan
width
reference width
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
JP52096464A
Other languages
Japanese (ja)
Other versions
JPS5429931A (en
Inventor
弘資 今林
千三 久徳
暢史 戸倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shinko Electric Co Ltd
Original Assignee
Shinko Electric Co Ltd
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 Shinko Electric Co Ltd filed Critical Shinko Electric Co Ltd
Priority to JP52096464A priority Critical patent/JPS6036628B2/en
Publication of JPS5429931A publication Critical patent/JPS5429931A/en
Publication of JPS6036628B2 publication Critical patent/JPS6036628B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Description

【発明の詳細な説明】 本発明はパターン認識における新規のセグメント方式を
提供する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a novel segmentation approach in pattern recognition.

パターン認識にあってはセグメント方式は誤読取りを防
ぐのに有効・適切な手法の一つである。
In pattern recognition, the segment method is one of the effective and appropriate methods to prevent misreading.

ところが、従来のセグメント方式は文字の連続部分の集
まりを検知して後或いは文字部終了後の一定幅以上の白
地確認の後に、セグメント信号を出し文字切出しを行う
方法であり、ラベルの汚れ、しみ等に比較的無防備で文
字間空白部のしみを文字部と判定し誤ってセグメントす
ることも起り得た。本発明は上記に鑑み文字前方にガー
ドバーを設けそのバーより基準幅信号を演算しスキャン
方向(水平方向)へは、上記基準幅信号の幅数値をもと
にそれを何倍かした数値を文字列幅に対応したスキャン
ニングの視野範囲として設定し、一方スキャンニングの
進行方向(垂直方向)へは、長さ情報としてスキャン線
の本数を用い、スキャン線間の長さを求めそお本数を教
えて長さを測定し、上記基準幅信号に基づき文字部分、
空白部分の長さを設定し、実際に得られた黒情報を含む
スキャン信号の連続部分、逆に黒情報を含まないスキャ
ン信号部分が上記文字部、空白部の設定長さといかなる
関係にあるか、即ちその大小関係を比較して文字部ある
いは空白部を判定しセグメントを行なうもので、一定幅
以下のしみ、汚れを無視し得セグメント誤りを防ぐこと
ができるという特徴を有する。
However, the conventional segment method outputs a segment signal to cut out characters after detecting a collection of continuous parts of characters or after confirming a white background of a certain width or more after the end of the character section, and it is a method to cut out characters by detecting dirt or stains on the label. etc., and it was possible that a stain in a space between characters could be determined to be a character part and be erroneously segmented. In view of the above, the present invention provides a guard bar in front of the character, calculates a reference width signal from the bar, and calculates a value in the scanning direction (horizontal direction) by multiplying the width value of the reference width signal by several times. Set the scanning field of view corresponding to the column width, while in the scanning direction (vertical direction), use the number of scan lines as length information, calculate the length between the scan lines, and then tell the number of lines. The length is measured based on the reference width signal above, and the character part is
Set the length of the blank part, and determine what relationship the actually obtained continuous part of the scan signal that contains black information, and conversely the part of the scan signal that does not contain black information, have with the set length of the character part and blank part. In other words, the method performs segmentation by comparing the size relationships to determine character portions or blank portions, and has the feature that stains and stains of less than a certain width can be ignored and segment errors can be prevented.

以下図面の実施例により本手法を具体的に説明する。This method will be specifically explained below with reference to embodiments shown in the drawings.

第1図は実施例に係るスキャン対象のラベルで数字列1
とその前方に設けたガードバー2より構成される。図で
スキャンニングは下から上へ行われ、その一つ(Qスキ
ャン)をとり2値化された映像信号(スキャン信号)を
示すと、同図口のびスキャン信号のようになり印刷部分
でHレベル、その他の部分はLレベルとなる。このガー
ドバー2で得られた2値信号より基準幅信号Rを演算し
、この基準幅信号Rをもとに文字列1の幅を設定、スキ
ャンニングの視野範囲を、スタート信号aから上記基準
幅Rより求めた文字幅設定値を計数しエンド信号bを発
生させて決定する。また更に文字部、空間部のスキャン
ニング進行方法Vへの基準長さCR,SRを基準幅Rよ
り求める。即ち、最初のスキャンでガードバー2より基
準幅Rを求めこのRよりエンド信号bを計数しスキャン
視野を決定・文字範囲を定める。次いで順次スキャンニ
ングを行うが、図では一番最初の文字2の先端部のスキ
ャン線8よりスキャンニングの本数を計数、スキャン線
間の間隔と相まって終端部までの本数を数えれば文字2
の幅Cが額0長されそれと先の文字基準幅CRを比較す
れば文字部であるか否かが判明し、図のようにC>CR
であれば文字部のエンド信号が生じ次の白地部計数のス
タート信号となる。引続きスキャンニングが行われ、黒
情報を含まない空白部のスキャン信号が黒字部と同様先
に求めた空白部基準幅信号SRを越えるとその部分Sは
空白部である旨の判定を行ない、基準幅信号SR時点で
セグメント信号を出す。更にスキャンを続け文字5では
先の文字2と同様の操作を再び繰返す。このように本発
明はガードバーより文字部分及び文字と文字との間の空
白部分に各相当する基準幅信号を求め、実際に縛られる
長さ情報に変換された文字、空白部分のスキャン本数を
夫々上記文字、空白部の各基準幅信号と比較しその大小
により文字、空白部であるか否かを判別しその判定結果
によりセグメントを行うものである。なお、スキャン本
数を長さ情報に変換するにはスキャン線間の間隔が基準
のクロツクパルスの何個分に相当するかを計算すればよ
く、日本標準方式のTVカメラで入力する場合を例示し
て説明する。TVカメラは、1フレームの有効走査本数
が約250本、有効水平走査時間は約53仏Sec、水
平・垂直画面比は4:3である。また基準のクロックパ
ルスの周波数をfとすると、水平方向日の長さのクロッ
クパルス計数値と垂直方向のスキャンニング本数との関
係は、変換係数をKとすると、53×10−6Xf=2
50×きXK K〒0.16×f×10‐6 となり、スキャンニング各線間の間隔は水平方向へのク
ロツクパルスK個分長さ‘こ相当することを示す。
Figure 1 shows the label to be scanned according to the embodiment, and the number string 1
and a guard bar 2 provided in front of it. In the figure, scanning is performed from bottom to top, and when one of them (Q scan) is taken and the binarized video signal (scan signal) is shown, it looks like a stretched scan signal in the printed part. level, and other parts are at L level. A reference width signal R is calculated from the binary signal obtained by the guard bar 2, and the width of the character string 1 is set based on this reference width signal R, and the field of view for scanning is set from the start signal a to the above reference width. The character width setting value obtained from R is counted and determined by generating an end signal b. Further, the reference lengths CR and SR for the scanning progress method V of the character portion and the space portion are determined from the reference width R. That is, in the first scan, a reference width R is obtained from the guard bar 2, and an end signal b is counted from this R to determine the scanning field of view and the character range. Next, scanning is performed sequentially, but in the figure, the number of scans is counted from the scan line 8 at the tip of the first character 2, and if you count the number of scans to the end in combination with the spacing between the scan lines, it is character 2.
The width C of the frame is 0 length, and by comparing it with the previous character standard width CR, it becomes clear whether it is a character part or not, and as shown in the figure, C>CR
If so, an end signal for the character section is generated and becomes a start signal for counting the next blank section. Scanning is continued, and if the scan signal of a blank area that does not include black information exceeds the previously determined blank area reference width signal SR, as with the black area, that area S is determined to be a blank area, and the reference width signal SR is determined. A segment signal is issued at the time of the width signal SR. Further scanning is continued, and for character 5, the same operation as for character 2 is repeated again. In this way, the present invention obtains the reference width signals corresponding to the character parts and the blank parts between characters from the guard bar, and calculates the number of scans of the characters and the blank parts, respectively, which are converted into length information to be actually bound. It compares the reference width signals of the characters and blanks with the respective reference width signals, determines whether or not the width is a character or blank, and performs segmentation based on the determination result. To convert the number of scans into length information, all you need to do is calculate how many standard clock pulses the interval between scan lines corresponds to. explain. In a TV camera, the number of effective scan lines per frame is about 250, the effective horizontal scan time is about 53 French Sec, and the horizontal/vertical screen ratio is 4:3. Furthermore, if the frequency of the reference clock pulse is f, then the relationship between the horizontal day length clock pulse count and the vertical scanning number is 53 x 10-6 x f = 2, where the conversion coefficient is K.
50×XK K〒0.16×f×10-6, which indicates that the interval between each scanning line corresponds to the length of K clock pulses in the horizontal direction.

従って、スキャン方向に設定された基準幅信号Rがスキ
ャンニング本数の何本分に相当するかは、例えば第2図
に示す回路によって実現できる。
Therefore, how many scanning lines the reference width signal R set in the scanning direction corresponds to can be realized by, for example, the circuit shown in FIG.

即ち、基準幅Rの基準クロックによる計数値RDをコン
パレータ3の一方へ、他方へは1スキャン毎に計数され
るK個のクロックを各入力し、このスキャン毎に入力さ
れるクロックパルスが計数値RDに一致したとき一致出
力を出し、上記基準幅Rがスキャン本数の何本分に相当
するかが明らかとなる。
That is, the count value RD based on the reference clock with the reference width R is input to one side of the comparator 3, and the K clocks counted for each scan are input to the other side, and the clock pulses input for each scan are the count value. When it matches RD, a match output is output, and it becomes clear how many scans the reference width R corresponds to.

なお、1スキャン毎にK個のクロックを出すには、同図
イのようにフリツプフロツプ7、ANDゲート5、K個
のクロックを積算して後出力を出す係数器8で閉ループ
を組むとか、口のようにカウンタ4とコンパレータ5と
の間にK倍の係数器9を、或いは逆にハのように基準幅
Rの計数信号RD入力側に1/K倍の係数器10を挿入
する等すれば容易に実現できる。斯くして、ガードバー
2より得られる基準幅信号Rは時間軸のスキャンニング
方向日に設定されるが、文字列のフオーマットが決定さ
れれば、これに対応して文字部、空白部の基準信号CR
,SRが求まり、このCR,SRに相当する変換係数K
を設定してお仇まラベルの大小に拘わらず自動的にセグ
メントを行うことができる。
Note that in order to output K clocks for each scan, a closed loop can be constructed using a flip-flop 7, an AND gate 5, and a coefficient multiplier 8 that integrates the K clocks and outputs the final output, as shown in Figure A. For example, insert a K times coefficient multiplier 9 between the counter 4 and the comparator 5 as shown in (c), or insert a 1/K times multiplier 10 on the input side of the count signal RD of the reference width R as shown in C. This can be easily realized. In this way, the reference width signal R obtained from the guard bar 2 is set to the date in the scanning direction of the time axis, but once the format of the character string is determined, the reference width signal R for the character part and blank part is set accordingly. CR
, SR are found, and the conversion coefficient K corresponding to this CR, SR is determined.
By setting , segments can be automatically performed regardless of the size of the enemy label.

第3図の上記手法を実現するための具体的な回路例を示
す。
A specific example of a circuit for realizing the above-mentioned method shown in FIG. 3 will be shown.

図において、ブロック1はスキャンニングの結果得られ
た2値化ピディオ信号(スキャン信号)に文字部、即ち
黒情報を、含むか否かを判別する回路で、スキャン信号
VをANDゲート11を介し、フリップフロップ12へ
入れ、文字列の始まりを示すスタ−ト信号aと、終りを
示すエンド信号bを夫々セット、リセット入力とするフ
リップフロップ13に基づき、即ちそのQ出力でAND
ゲート11の開閉を行い、またエンド信号をタイマ14
を介し先のフリツプフロツプ12のリセツト信号とし、
スキャン信号Vが黒情報を含んでいるならば、スタート
信号aによりANDゲート11が開かられており、フリ
ツプフロツプ12のQ出力がHレベルとなり、次の文字
部判別を行うブロックDへ黒情報を投入する。
In the figure, block 1 is a circuit that determines whether or not the binary video signal (scan signal) obtained as a result of scanning contains a character part, that is, black information. , into the flip-flop 12, set a start signal a indicating the beginning of a character string, and an end signal b indicating the end, respectively, based on the flip-flop 13 which serves as a reset input, that is, AND with its Q output.
The gate 11 is opened and closed, and the end signal is sent to the timer 14.
as a reset signal for the destination flip-flop 12 through
If the scan signal V contains black information, the AND gate 11 is opened by the start signal a, the Q output of the flip-flop 12 becomes H level, and the black information is input to the block D which performs the next character section discrimination. do.

逆にスキャン信号に黒情報が含まれておらず空白部分の
情報であるならば、1つまえのスキャンニングに基づい
てエンド信号bのタイマ14を介した情号によりリセツ
トされ9出力がHレベルとなっているフリツブフロップ
12は反転せず、このQの日出力と今回のスキャン信号
終了を示すエンド信号bとのANDをとり15黒情報醸
しの信号を文字間の空白部分を判別しセグメント信号を
出すためのブ。ック瓜へ送る。ブロックロ‘ま文字部分
であるか否かを判別するための回路で、先に第2図で説
明した、基準幅Rのスキャン進行方向への変換回路にお
いて係数器80の設定を文字幅に相当する適切な値に行
ったことを特長とし黒情報のスキャン信号が入るフリッ
プフロップ70、ANDゲート50、計数器80、カウ
ンタ40、コンパレータ30更に一致出力によりフリツ
プフロツプ70をリセツトさせる係数器80の出力との
オアをとるORゲート160、また後にその機能を説明
するがコンパレータ40のリセット側に挿入されるOR
ゲート170から構成される。
On the other hand, if the scan signal does not contain black information and is blank information, it is reset by the information sent from the end signal b through the timer 14 based on the first scanning, and the 9 output goes to H level. The flip-flop 12, which is , is not inverted, but it is ANDed with the output of this Q and the end signal b indicating the end of the current scan signal, and the signal containing black information is detected as a segment by determining the blank area between characters. bu for giving signals. Send it to Kukku. This is a circuit for determining whether or not it is a block character part, and the setting of the coefficient unit 80 corresponds to the character width in the circuit for converting the reference width R to the scanning direction as explained in FIG. The flip-flop 70 receives the black information scan signal, the AND gate 50, the counter 80, the counter 40, the comparator 30, and the output of the coefficient multiplier 80 which resets the flip-flop 70 by a coincidence output. An OR gate 160, whose function will be explained later, is inserted into the reset side of the comparator 40.
It consists of a gate 170.

即ち、スキャン信号の黒情報を含む本数、文字部分であ
る旨の判定を行うための基準信号CRよりも多数であれ
ば一致出力が出されカウンタ40をクリアするとともに
空白部分の判別を行う次のブロックmへ送られる。また
フリップフロッブ70もリセットされる。従って、引続
き黒情報がくるとカゥンタ40‘ま最初から計数し直す
。このようにこれら一連のスキャン信号が黒情報を含み
文字部である旨判定し一致出力が生じると、次のブロッ
クmへ送られ、このブロックm中のフリツプフロツプ1
9のQ出力がHレベルとなる。従って、文字部分が終了
し、スキャン信号が“黒情報無しの信号”に変るとAN
Dゲート18が開き、プロックロと同様のフリツプフロ
ップ7m、ANDゲート5m、係数器8m、ORゲート
16m,17m、力ウンタ4m、コン/ぐレータ3mよ
り成る‘‘空白部分である旨判別しセグメントを行う回
路”が作動開始する。そして黒地情報を含まないスキャ
ン信号の本数が基準の空白部分SRよりも大ならば一致
出力が出され文字と文字との間の空白部分であることが
判明する。即ち、セグメント信号が出力されセグメント
が行われる。第1図、イの20がこれに相当する。次に
空白部中にしみがある場合の処理を説明する。
That is, if the number of scan signals containing black information is greater than the reference signal CR for determining whether it is a character portion, a match output is output, the counter 40 is cleared, and the next signal for determining a blank portion is output. It is sent to block m. Flip-flop 70 is also reset. Therefore, when black information continues to arrive, the counter 40' starts counting again from the beginning. In this way, when it is determined that these series of scan signals contain black information and are character parts, and a matching output is generated, the signals are sent to the next block m, and the flip-flop 1 in this block m is
The Q output of No. 9 becomes H level. Therefore, when the character part ends and the scan signal changes to a "signal without black information", the AN
The D gate 18 opens, and it is determined that it is a blank area, which consists of 7 m of flip-flops, 5 m of AND gates, 8 m of coefficient multipliers, 16 m and 17 m of OR gates, 4 m of force counters, and 3 m of con/gulators, and performs segmentation. If the number of scan signals that do not include black background information is greater than the reference blank area SR, a matching output is output and it is determined that the blank area is between characters. , a segment signal is output and segmentation is performed. This corresponds to 20 in FIG.

例えば第1図の5と4との間にしみ21が存在する場合
、ブロックDで文字“5”は文字部分の基準幅CRを満
足している旨判定、一致出力が出されゲート18が開い
た後文字部が終了し白情報が入力されるとブロックmの
カウンタ4mが計数を始める。この状態で白地の基準幅
SRを教え終らないうちにしみ21に当ると、白地のス
キャン信号がなくなりカゥンタ4mの計数は一旦停止さ
れ、逆にブロックロ側のカウンタ40が計数を始める。
勿論、しみ21の大きさは黒地の基準幅CRに比べ小さ
く黒地の一致出力が生じない前に再び白地情報がくる。
この結果、ブロックmの白地側カウンタ4mは再び計数
を始め、先にしみ21の始まりで一旦停止した計数値に
積算され、逆に文字側のブロックロのカウンタ40‘ま
計数を停止する。更に白地が続くも、やがてカゥンタ4
mの計数値が白地基準幅SRに達し、一致出力22が発
生、セグメントが行われる。即ち、白地中に僅かな大き
さのしみ等があっても、それを無視し白地として判定を
行いセグメント信号を発する。なお、このしみ21によ
る黒地情報はカウンタ401こ文字部であるとして残っ
ており、次の文字部の計数はこの上に積算されていき実
際のそれよりも多少短かくなるが、しみ21の大きさが
黒地の基準幅CRに比べ小さく、殆んど問題はない。同
じ事が黒地情報の場合についても言え、例えば文字部に
“欠け”を有し、第1図の“4”の一部が連続しておら
ずスキャン信号が白地情報を含む場合、その白地スキャ
ン信号の間はブロックロのカウンタ40の計数が一旦停
止され、黒地スキャン信号に切換わるとともに再び計数
が再開され、結局欠け部分だけ黒地幅の設定が延びるこ
とになる。要するに、ラベル中のしみ、汚れ等の影響を
なるべく受けないように、しみ、汚れを無視してセグメ
ントを行うものである。上記とは逆にしみ、汚れをも正
規の文字、空白部として、後のパターン認識処理に一層
の精密さを要求するようにしてもよく、その場合、空白
部中のしみ、文字部中の欠け等によってカウンタ40,
4mをクリアし零に戻しまた始めから計数し直すことが
考えられる。
For example, if a stain 21 exists between 5 and 4 in FIG. 1, it is determined in block D that the character "5" satisfies the standard width CR of the character part, a match output is issued, and the gate 18 is opened. After the character part is completed and the white information is input, the counter 4m of block m starts counting. In this state, if the stain 21 is hit before the white background standard width SR has been taught, the white background scan signal disappears and counting by the counter 4m is temporarily stopped, and conversely, the counter 40 on the block side starts counting.
Of course, the size of the stain 21 is smaller than the reference width CR of the black background, and the white background information comes again before the black background matching output is generated.
As a result, the counter 4m on the white background side of the block m starts counting again, and is integrated with the count value that was previously stopped at the beginning of the blot 21, and conversely, the counter 40' of the block 4 on the character side also stops counting. The white background continues, but eventually counter 4
The count value of m reaches the white background reference width SR, a coincidence output 22 is generated, and segmentation is performed. That is, even if there is a slight stain or the like on a white background, it is ignored and determined as a white background, and a segment signal is generated. Note that the black background information due to this stain 21 remains in the counter 401 as a character area, and the count for the next character area is accumulated on top of this, and although it will be somewhat shorter than the actual value, it will depend on the size of the stain 21. The width is smaller than the reference width CR of the black background, and there is almost no problem. The same thing can be said for black background information. For example, if there is a "miss" in the character part and a part of "4" in Figure 1 is not continuous and the scan signal contains white background information, the white background scan Counting by the block counter 40 is temporarily stopped during the signal, and counting is restarted again when switching to the black ground scan signal, and the setting of the black ground width is eventually extended by the missing portion. In short, segmentation is performed while ignoring stains and stains in the label so as to minimize the influence of stains and stains on the label. Contrary to the above, stains and dirt may also be treated as regular characters and blank areas to require greater precision in the subsequent pattern recognition process. The counter 40 due to chipping, etc.
It is conceivable to clear 4m, return to zero, and start counting again from the beginning.

即ち、連続して黒地情報、或いは白地情報が来ない限り
セグメント信号を出さないとする方式で、第3図の一点
鎖線で示すように黒地スキャン信号をカウンタ4mのリ
セット入力として、或は逆に白地スキャン信号をカウン
タ40のリセット入力とすることにより実現できる。ま
た、第3図の破線で示すようにブロック0の一致出力を
ブロックmのカウンタ4mのリセット入力とすることも
できる。これは白地スキャン信号を計数途中で、即ち白
地幅が基準の設定幅SRに達しない前に文字部のスキャ
ン信号が入り、かつスキャン信号幅が正規の基準幅CR
を有している場合、黒地の一致出力がプロックロより発
せられるが、その一致出力でカウンタ4mをクリアし、
文字部分が終了した後に白地スキャン信号を改めて計数
し直し、先の途中まで計数した白地情報をリセットし、
積算による誤ったセグメントを防止したものである。即
ち、文字と文字との間が規定の白地幅に満たないとそれ
らは一文字とみなしセグメントを行わないのは勿論の事
であるが、その間の白地幅を計数しているので、後の方
の文字情報の一致出力でこの白地計数値をクリヤし文字
部終了後の白地部の計数を零より行ないこの白地部分が
規定の基準幅SRより大きいことを確認の上セグメント
するようにした。上記のように本発明は文字列の前方に
ガードバーを設けそれにより基準幅を計算し、文字部分
、空白部分である旨判定を行う基準を上記基準幅より求
め、かつそのスキャンニング進行方向への設定をスキャ
ン線の本数で行うようにし、実際のスキャン信号が上記
文字、空白部分よりも大なる場合に文字部あるいは空白
部である旨の判定を行ない、セグメント信号を発するよ
うにしたことを特徴とするもので、従来のセグメント方
式のように実際に得られたスキャン信号から単純に文字
部、空白部である旨を判定しセグメントを行うものに比
べ信頼性を向上させることができる。
In other words, the segment signal is not output unless black background information or white background information is received continuously, and the black background scan signal is used as a reset input for the counter 4m, as shown by the dashed line in FIG. 3, or vice versa. This can be realized by using the white background scan signal as the reset input of the counter 40. Further, as shown by the broken line in FIG. 3, the coincidence output of block 0 can be used as the reset input of the counter 4m of block m. This is because the scan signal for the character section is input while counting the white background scan signal, that is, before the white background width reaches the standard set width SR, and the scan signal width reaches the normal reference width CR.
If it has, a matching output with a black background will be emitted from the Prokuro, but the matching output will clear the counter 4m,
After the character part is finished, the white background scan signal is counted again, and the white background information counted up to the middle of the previous part is reset.
This prevents incorrect segments due to integration. In other words, if the space between two characters is less than the specified white width, it is of course considered to be one character and segmentation is not performed, but since the white space between them is counted, the latter This white background count value is cleared by the matching output of character information, and the white background area after the end of the character area is counted from zero to confirm that this white background area is larger than a prescribed reference width SR before segmentation. As described above, the present invention provides a guard bar in front of the character string, calculates the reference width using the guard bar, determines the standard for determining whether it is a character part or a blank part from the above reference width, and also calculates the reference width in the scanning direction. The feature is that the setting is made by the number of scan lines, and if the actual scan signal is larger than the character or blank area, it is determined that it is a character area or a blank area, and a segment signal is issued. This makes it possible to improve reliability compared to the conventional segmentation method, which simply determines whether it is a character portion or a blank portion from the actually obtained scan signal and performs segmentation.

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

第1図は本発明に係るガードバーを文字列前方に設けた
ラベルの一例とそのスキャン信号波形、第2図はガード
バーより求めた基準幅をスキャンニング進行方向へ換算
するための回路、第3図は第2図示の換算回路を基本に
組立てたセグメント方式の一実施例、を夫々表わす。 1…・・・スキャン信号の、Hレベルを含むか否かの判
定回路、ロ・・・・・・日レベルのスキャン信号本数を
計数し、文字部分であるか否か判別する回路、m・・・
・・・同じくLレベルのスキャン信号本数を計数し、空
白部分であるか否か判別する回路。 矛ー図 才2図 ナ3図
Fig. 1 shows an example of a label according to the present invention in which a guard bar is provided in front of a character string and its scan signal waveform, Fig. 2 shows a circuit for converting the reference width obtained from the guard bar into the scanning direction, and Fig. 3 1 and 2 respectively represent an embodiment of a segment method assembled based on the conversion circuit shown in the second figure. 1: A circuit for determining whether or not a scan signal contains an H level;・・・
. . . Similarly, a circuit that counts the number of L level scan signals and determines whether it is a blank area or not. Spear figure 2 figure na 3 figure

Claims (1)

【特許請求の範囲】[Claims] 1 走査対象のラベルに例えばガードバーを設けこのガ
ードバーよりラベル上の文字・図形等に対応した基準幅
信号を求め、スキヤンニングの進行方向へは、スキヤン
線の本数を長さ情報として、即ち、スキヤン線間の間隔
を求めその何本分が上記基準幅信号に合致するかを確認
し、文字部分及び文字と文字との間の空白部分の各基準
値を上記基準幅信号に基づき予じめ設定しておき、実際
に得られたスキヤン信号のHレベルを含むが否かを判別
しHレベルを含むならその連続本数を計数・先の文字部
分の基準値と比較しそれより大であれば文字部分である
旨の信号を出し、この信号によりゲートが開かれ文字部
分終了の後のHレベルを含まない空白部分のスキヤン信
号の計数を始めその計数値が先に設定の空白部分の基準
値よりも大となつた時点で空白部分である旨判定、セグ
メント信号を出すようにしたことを特徴とするパターン
認識におけるセグメント方式。
1 For example, a guard bar is provided on the label to be scanned, and from this guard bar, a reference width signal corresponding to characters, figures, etc. on the label is obtained, and in the scanning direction, the number of scan lines is used as length information, that is, the scanning Determine the spacing between lines and check how many of them match the reference width signal above, and set each reference value for the character part and the blank space between characters in advance based on the reference width signal above. Then, determine whether the actually obtained scan signal contains the H level or not. If it contains the H level, count the number of consecutive signals and compare it with the reference value of the previous character part. If it is larger than that, the character is The gate is opened by this signal, and the scan signal of the blank area that does not include the H level after the end of the character area is counted, and the counted value is higher than the set standard value of the blank area. This segment method for pattern recognition is characterized in that when the area becomes large, it is determined that it is a blank area and a segment signal is output.
JP52096464A 1977-08-10 1977-08-10 Segment method in pattern recognition Expired JPS6036628B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52096464A JPS6036628B2 (en) 1977-08-10 1977-08-10 Segment method in pattern recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52096464A JPS6036628B2 (en) 1977-08-10 1977-08-10 Segment method in pattern recognition

Publications (2)

Publication Number Publication Date
JPS5429931A JPS5429931A (en) 1979-03-06
JPS6036628B2 true JPS6036628B2 (en) 1985-08-21

Family

ID=14165742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52096464A Expired JPS6036628B2 (en) 1977-08-10 1977-08-10 Segment method in pattern recognition

Country Status (1)

Country Link
JP (1) JPS6036628B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63179321A (en) * 1987-01-20 1988-07-23 Matsushita Electric Ind Co Ltd LCD display module

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56143084A (en) * 1980-04-09 1981-11-07 Denki Onkyo Co Ltd Magnetic information processing method
JPS60203407A (en) * 1984-03-29 1985-10-15 日本コンクリ−ト工業株式会社 Mold release working method and mold release working device for concrete post body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63179321A (en) * 1987-01-20 1988-07-23 Matsushita Electric Ind Co Ltd LCD display module

Also Published As

Publication number Publication date
JPS5429931A (en) 1979-03-06

Similar Documents

Publication Publication Date Title
EP0032501B1 (en) Portable bar-code reader
US4115761A (en) Method and device for recognizing a specific pattern
DE60012376T2 (en) Optical data carrier and address reading device and method for optical data carriers
DE2654765C3 (en) Device for decoding data which are encoded in a predetermined number of alternating bars and spaces of different widths
JPH0772905B2 (en) How to recognize a symbol string
JPS6077279A (en) Initiation of character image
JPS6357831B2 (en)
JPS6036628B2 (en) Segment method in pattern recognition
GB1020647A (en) Character reader
GB1264804A (en) Counting logic for scanning systems
GB1093721A (en) A device for reading digits in a series manner
GB1119778A (en) Character recognition system
GB1078783A (en) Improvements in or relating to character reading
JPS602713B2 (en) optical character reader
KR19980042021A (en) Barcode reader
SU475636A1 (en) The method of counting the number of objects
JPS594747B2 (en) Barcode reader
JP2902097B2 (en) Information processing device and character recognition device
JPH061504B2 (en) Feature extraction circuit
JPS596419B2 (en) Character extraction method
JPH0334112B2 (en)
JPS6224837B2 (en)
GB985399A (en) Character recognition apparatus
JP2812705B2 (en) Character extraction device
JPH06119494A (en) String recognition method