JPS60105083A - Character recognizing method - Google Patents

Character recognizing method

Info

Publication number
JPS60105083A
JPS60105083A JP58213558A JP21355883A JPS60105083A JP S60105083 A JPS60105083 A JP S60105083A JP 58213558 A JP58213558 A JP 58213558A JP 21355883 A JP21355883 A JP 21355883A JP S60105083 A JPS60105083 A JP S60105083A
Authority
JP
Japan
Prior art keywords
character pattern
code
direction code
extracted
strokes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP58213558A
Other languages
Japanese (ja)
Inventor
Masahiro Nakamura
昌弘 中村
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP58213558A priority Critical patent/JPS60105083A/en
Publication of JPS60105083A publication Critical patent/JPS60105083A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To ensure the stable extraction of strokes by adding the directionbased code to a character pattern, propagating the same direction code as long as the character pattern continues and using a feature parameter for each extracted stroke to recognize characters. CONSTITUTION:The writing is carried out to RAM1-6 via address controllers AC1-AC8 under the control of a controller CONT. The data on a subject character pattern is written to the RAM1. A direction code is added to the written character pattern by the program processing of a CPU through the controller CONT or the processing through the proper hardware. Then the character pattern containing the direction code is written to the RAM2. The controller CONT extracts strokes for each direction code according to the data on said character pattern to write the data on the strokes extracted with direction codes 0, 1 and 3 to the RAM3, RAM4 and RAM5 respectively.

Description

【発明の詳細な説明】 技罷加W 本発明は、文字パターンにおけるストローク毎の特徴パ
ラメータを抽出して文字の認識を行なう文字認識方法に
関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a character recognition method that performs character recognition by extracting feature parameters for each stroke in a character pattern.

LLjJ t+1ir 一般にOCRにおいて文字認識を行なわせるには、文字
パターンに方向別のコー1−を付してそのコートにした
がってストロークを抽出し、その各ストローク毎の特徴
パラメータをわり出して文字の認識をなすようにしてい
る。いま例えば第1図の文字パターンを従来の方法によ
って方向コード&(4すど第2図のようになり、それに
ついて方向0のみのストローク抽出を行なわせると第3
図のようになる。その場合、第4図に示すように文字パ
ターン中に1画素分のノイズNが混入していると、それ
に対して従来のように方向コード付けを行なわせると第
5図のようになり、それについて方向0のみあストロー
ク抽出を行なわせると第6図のようになって抽出される
ストロークが異なるものになってしまう。しかして文字
読取りの時点でこのような文字パターン中にノイズが混
入−するようなことは@繁に生ずることであり、その都
度文字認識エラーに生じていたのでは文字認識を行なう
0 (: Rの機能が著しく低下してしまう。
LLjJ t+1ir Generally, in order to perform character recognition using OCR, a character pattern is marked with a code 1- for each direction, strokes are extracted according to the code, and the characteristic parameters for each stroke are calculated to recognize the character. I try to do it. For example, if the character pattern in Figure 1 is processed using the conventional method, the direction code &
It will look like the figure. In that case, if one pixel worth of noise N is mixed into the character pattern as shown in Figure 4, if direction coding is applied to it as in the past, the result will be as shown in Figure 5. If only stroke extraction in direction 0 is performed for the two directions, the extracted strokes will be different as shown in FIG. However, it is common for noise to be mixed into character patterns when reading characters, and if a character recognition error were to occur each time, it would be difficult to perform character recognition (0 (: R function is significantly reduced.

そのため従来では、このようなノイズの混入に対処する
ために抽出されたスト〇−クの特徴パラメータに対応さ
せる辞書をふやすようにしている。
Therefore, conventionally, in order to deal with such noise contamination, the number of dictionaries that correspond to the extracted stock feature parameters has been increased.

しかし辞−J:を大きくすることによってメモリの記憶
容量が増大してしまうとともに、抽出された特徴パラメ
ータと辞1’rとの対応時間が長くなって検索に長時間
を要してしまうことになる。その場合、辞8を大きくし
ないと文字の認識皐が低下することは明らかである。
However, by increasing the term -J:, the storage capacity of the memory increases, and the correspondence time between the extracted feature parameters and the term 1'r increases, resulting in a long search time. Become. In that case, it is clear that unless the letter 8 is made larger, the recognition of the characters will deteriorate.

■し一咋 本発明は以−]二の点を考ladしてなされたもので、
ノイズの混入に影響さJしることなく安定した方向コー
ド付けおよびストローク抽出をなして文字の特徴パラメ
ータのわり出しをilE確に行なわせることかできるよ
うにした文字認識方法を提供するものである。
■The present invention was made with the following two points in mind,
To provide a character recognition method that can perform stable direction coding and stroke extraction without being affected by noise, and can accurately calculate character characteristic parameters. .

4虞 以下、本発明の一実施例について詳述する。4th place An embodiment of the present invention will be described in detail below.

本発明による文字認識方法にあっては、文字パターンに
対して方向別のコード付けをなしてそのコー1−にした
がってストロークを抽出し、その抽出された各スI・ロ
ーフ毎の1.1徴パラメータをわり出して文字の認識を
行なオ)せる際、各方向別にパターンが続く限りその方
向コードを伝播させることによってストローク些抽出す
る手段をとるようにしている。
In the character recognition method according to the present invention, character patterns are coded according to direction, strokes are extracted according to the codes, and 1.1 characteristics are extracted for each extracted stroke. When character recognition is performed by determining parameters, a means is taken to extract strokes by propagating the direction code as long as the pattern continues in each direction.

いま例えは第1図の文字パターンに対して第2図のよう
に方向コード付けされたもののストローク抽出を行なわ
せる場合について、以下説明をする。まず方向コード0
に関して、以下の手順によってスト〇−り抽出を行なわ
せる。
For example, a case where stroke extraction is performed for the character pattern shown in FIG. 1 with direction codes added as shown in FIG. 2 will be described below. First direction code 0
With respect to

(1)第7図に示す方向コード付けさ、ttだ文字パタ
ーン(第2図の一部分を示している)に対してj方向に
ラスク走査しながら方向コードOをさがす。
(1) Search for direction code O while rask-scanning in the j direction with respect to the direction coded, tt character pattern shown in FIG. 7 (part of which is shown in FIG. 2).

(2+方向コードOをみつけると第8図に示す画素メモ
リー1−にコード0を書き込むとともに、第9図に示し
た方向コーI−によって所定に重み付けされた領域(み
つけら汎た方向コードの画素をXとしている)内に才j
いて画素Xに隣接する画素0の位置に方向コード0かあ
るか否かを調べる。
(When a 2+ direction code O is found, a code 0 is written to the pixel memory 1- shown in FIG. is X)
Then, it is checked whether direction code 0 exists at the position of pixel 0 adjacent to pixel X.

(3)その結果、方向コード0があれば第8図の対応す
る画素メモリ上にコード0を書き込む。
(3) As a result, if the direction code is 0, write the code 0 onto the corresponding pixel memory shown in FIG.

(4)また方向コードがOでなければ、文字パターンが
続いているか否かを調べる。
(4) If the direction code is not O, check whether the character pattern continues.

イb−その結果、文字パターンが続いていなければ1画
素分j方向に進めて前記■のステップにもどる。
(b) As a result, if the character pattern does not continue, advance one pixel in the j direction and return to step (2) above.

(6)また文字パターンが続いていれば第8図の対応す
る画素メモリ」二にコード0を書き込んだのち、1画素
分j方向に進めて前記■のステップにもとる。
(6) If the character pattern continues, write code 0 to the corresponding pixel memory "2" in FIG.

以−1−の手順で方向コード0に関してパターンか続く
限りその方向コードを伝播させると、第8図に示すよう
なストロークが抽出さJしることになる。
If the direction code 0 is propagated as long as the pattern continues in accordance with the procedure described in 1-1 above, strokes as shown in FIG. 8 will be extracted.

他の方向コード1〜3に関しても全く同様に、第9図に
示した方向コードの位置に同一の方向コードまたはパタ
ーンかあるかを調べ、そ」Lらが続く限り方向コードを
伝播させるようにすれば各方向コード別によるストロー
タがそれぞれ抽出されることになる。
Regarding the other direction codes 1 to 3, in the same way, it is checked whether the same direction code or pattern exists at the position of the direction code shown in FIG. 9, and the direction codes are propagated as long as they continue. Then, the strokers for each direction code will be extracted.

さらに、J方向のラスク走査に加えて、第10図に示す
方向コー1−の位置についても同様に−j力方向ラスク
走査による各方向コードについての伝播を行なわせれば
、&ストローク抽出を2回の走査でより完全に行なわせ
ることができるようになる。
Furthermore, in addition to the rask scan in the J direction, if the position of the direction code 1- shown in FIG. This can be done more completely by scanning.

このように本発明による文字iJJ識方法によJしは、
方向コード別にパターンが続く限りその方向コーI−を
伝播させるようにしているため、ノイズ混入の影響を受
けることなく常に安定したストローク抽出を行なわぜろ
ことかてきるようになる。
In this way, by using the character iJJ recognition method according to the present invention,
Since the direction code I- is propagated for each direction code as long as the pattern continues, stable stroke extraction can always be performed without being affected by noise.

第11図は本発明による文字認識方法を見付“的に実施
するための−・構成例を示すもので、制御装置i7 C
: ON Tの制御下においてアドレスコン1〜ローラ
AC1〜八C8を介して各RA M 1〜6への書込み
を行なわせるようにしている。RAMIにはンI象とな
る文字パターンのデータが書き込ま11シ、その書き込
まJE、へ文字パターンが制御S、’i jff CO
Nゴに才旨するCPUのプロタラム処理または固有のハ
ードウェアによる処理によって方向コードト1けさ扛、
その方向コード付けさ、lI、h文字パターンのデータ
かRA M2に、lj−き込ま肛る。制御装置C7ON
Tはその方向付けされた文字パターンのデータにしたが
一〕で前述した手順により名方向コード別にストロ一り
抽出を行ない、方向二1−ドOに閂′シフて抽出された
ストロータのデータをRΔへ13に、方向コードIに関
して抽出さ41.たストロータのデータを’RA〜14
に、方向コード2に関して抽出さ引1.たストロークの
データをRA +ti 5に、方向コード3に関して抽
出されたス1ヘロ一ノノのチ′−夕をRΔMGにぞれぞ
41.占き込む。な、13その際、古Ji向コード別に
ス!〜ローク抽出がなさ扛だのちに−え字の特徴パラメ
ータのわり出しまでをも行な71)けるよもにすれば、
1z A M 3〜Bの代わりしわり出された文字のパ
ラメータのデータ[、:!+;き込むための1つのRA
Mを用いればよい。また第12図に示すように、注目画
素の方向コードに制御η1装買C0NTから出されるア
ドレスビット伯じに応し7て1でΔM3’の」三位2ピ
ッI−または下位2ピツ1〜のアドレスに書き込ませる
ようにすれは、第111jl rllのRAM3のA 
(:’tのメモリ容量をも−1た1つのR△へ13′で
第11図中のRAM3〜6に代用することができるよう
になる。なお、第13図に制御装置C0NTにおける制
御のフローチャー1−を示している。2 幼−求 以−1−5本発明による文字認識方法にあっては、文字
パターンに方向別のコード付けをなしたのちに、その各
方向コードにしたがうスト日一り抽出を行ない、その抽
出された各ストローク毎の特徴パラメータをわり出して
文字認識を行なわせる方法に才?いて、各方向コード別
にパターンが続く限番)同一の方向コードを1云播させ
ることによってストローク抽出を行なわせるようにした
もので、ノイズの影響を受けることなく安定(−6たス
1ヘローク抽出を行なわせることができ、従来に比して
少ないl’:’l”J:容量をもって、また短かい倹素
11テ間をもって文字認識を効率良くか1正IH1゛に
行なわぜることかできるという優れた利点をイ1し、で
いろ。
FIG. 11 shows an example of a configuration for visually implementing the character recognition method according to the present invention.
: Under the control of ONT, writing to each RAM 1-6 is performed via address controller 1-roller AC1-8C8. The data of the character pattern that becomes the object is written in the RAMI, and the character pattern is controlled by the character pattern 'i jff CO.
The direction code is determined by the CPU's program processing or by the processing by its own hardware.
The direction coded data of the lI,h character pattern is written into RAM2. Control device C7ON
T is the data of the oriented character pattern, but the strokes are extracted for each name direction code using the procedure described above, and the data of the strokes extracted by shifting to the direction 21-D O is extracted. 13 to RΔ, extracted with respect to direction code I 41. The stroker data 'RA~14
1. Extracted with respect to direction code 2. The stroke data extracted for direction code 3 is set to RA+ti5, and the stroke data extracted for direction code 3 is set to RΔMG41. Fortune-telling. Na, 13 At that time, there was a separate code for the old Ji! ~ If you can even calculate the characteristic parameters of the letters after the extraction of the letters (71),
1z A M 3~ Parameter data of characters drawn out instead of B [,:! +; 1 RA for loading
M may be used. Further, as shown in FIG. 12, the direction code of the pixel of interest is 7 according to the address bit output from control η1 and C0NT, and ΔM3' is 1. In order to write to the address of 111jl rll,
(The memory capacity of 't can also be substituted for RAMs 3 to 6 in Fig. 11 by adding -1 to R△13'. In addition, Fig. 13 shows the control in the control device C0NT. Flowchart 1-5 is shown in the character recognition method according to the present invention. By extracting one stroke per day, and calculating the characteristic parameters for each extracted stroke to perform character recognition, we can print out the same direction code once (as long as the pattern continues for each direction code). This allows stroke extraction to be performed stably without being affected by noise. : It has the excellent advantage of being able to efficiently perform character recognition with a large capacity and a short time interval.

図面のfiI !Itな説明 第1図は認識対象となる文字パターンの・例を示す図、
第2図はその方向コードト1(づさ」またデータ状態を
示ずし1、第3図は従来方法により方向コート0に関し
て抽出されたス1へc+ −7〕を示すし1、第4図な
いし第6図は文字パターン中にノギスが混入したときの
第1ないしノ第31+:4にそ、1[そ:It ′1.
t tと;したものを示す図、第7図は第二3図の・部
分在示す1;/1、第81メ1は本発明により方向コー
トC)に門[、・て抽出されたストロータを示す図、第
9図はi JJ向にラスタ走Hするときの方向コードの
(:l HVlを]iす図、第10は−j力方向ラフ、
り走、fcすると?与の方向コードの位置を示す図、第
11図才)よひ第12図は本発明をj1体的に実施する
ための構Jj!4例をそれぞれ示すブロック図、第13
図は同大施19!lにおける制御i装置の制御フローの
−i’illを示す図である。
FiI of the drawing! Explanation: Figure 1 shows an example of a character pattern to be recognized.
FIG. 2 shows the direction code 1 and the data state; FIG. 3 shows the direction code 1 (c+ -7) extracted with respect to direction code 0 by the conventional method; FIG. 6 shows the 1st to 31st+:4 Niso, 1[So:It'1.
Figure 7 is a diagram showing the presence of parts of Figure 2 and 3; Figure 9 is a diagram showing the direction code (:l HVl) when raster running H in the i JJ direction, Figure 10 is the -j force direction rough,
What if I run and fc? Figure 11 shows the location of the given direction code, and Figure 12 shows the structure for implementing the invention in an integrated manner. Block diagram showing each of the four examples, No. 13
The figure is the same Daishi 19! FIG. 3 is a diagram showing -i'ill of the control flow of the control i device in l.

CON T・制御装!ti、Ac1〜A C,3・アl
ヘレスコン1−ローラ j]冒願人代理人 烏井 ン古 21°f ? +>、11 第81凹 第9図 ’:j’; 101’A 第11図 hl ム3 図 (a) 第13図(b) 第13図(d) 第 13 図 (e)
CONT/control equipment! ti, Ac1~A C,3・Al
Hellescon 1-Lola J] Entrepreneur's Agent Karasui Nko 21°f? +>, 11 Fig. 81 concave Fig. 9 ':j';101'A Fig. 11 hl M3 Fig. (a) Fig. 13 (b) Fig. 13 (d) Fig. 13 (e)

Claims (1)

【特許請求の範囲】 1、文字パターンに方向別のコード(=Jはをなしたの
ちに、その各方向コー1〜にしたがうストローク抽出を
行ない、その抽出さ九た各ストローク亀の特徴パラメー
タをわり出して文字認識を行なわせる方法において、各
方向コード別にパターンか続く限り同一の方向コードを
伝播させることによってストローク抽出を行なわせるよ
うにしたことを特徴とする文字認識方法。 2、方向コードの伝播を一方向のみに行なオ〕せるよう
にしたことを特徴とするI前記第1項の記49、艷によ
る文字認識方法。 3、方向コー1−の伝播を双方向に行なわせるようにし
たことを特徴とする前記第1項の記載による文字認識方
法。
[Claims] 1. After creating a code for each direction (=J) in the character pattern, strokes are extracted according to the codes 1 to 1 in each direction, and the characteristic parameters of each stroke turtle are calculated based on the extracted strokes. A character recognition method characterized in that stroke extraction is performed by propagating the same direction code for each direction code as long as the pattern continues.2. 49, character recognition method using a bar, characterized in that the propagation is made to be carried out in one direction only. The character recognition method according to item 1 above, characterized in that:
JP58213558A 1983-11-14 1983-11-14 Character recognizing method Pending JPS60105083A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58213558A JPS60105083A (en) 1983-11-14 1983-11-14 Character recognizing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58213558A JPS60105083A (en) 1983-11-14 1983-11-14 Character recognizing method

Publications (1)

Publication Number Publication Date
JPS60105083A true JPS60105083A (en) 1985-06-10

Family

ID=16641194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58213558A Pending JPS60105083A (en) 1983-11-14 1983-11-14 Character recognizing method

Country Status (1)

Country Link
JP (1) JPS60105083A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5928010A (en) * 1996-06-05 1999-07-27 Sumitomo Wiring Systems, Ltd. Locking apparatus for resin moulded product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5928010A (en) * 1996-06-05 1999-07-27 Sumitomo Wiring Systems, Ltd. Locking apparatus for resin moulded product

Similar Documents

Publication Publication Date Title
US5504822A (en) Character recognition system
US5208869A (en) Character and pattern recognition machine and method
CA2463230A1 (en) A method and apparatus for decoding handwritten characters
Zeki The segmentation problem in arabic character recognition the state of the art
US5526440A (en) Hand-written character recognition apparatus
JPS60105083A (en) Character recognizing method
JPH0516632B2 (en)
JP3198218B2 (en) Online handwriting recognition method
JPS5835674A (en) Extracting method for feature of online hand-written character
JPH0962788A (en) On-line handwritten character recognition method
JP2788506B2 (en) Character recognition device
JP2665488B2 (en) Personal dictionary registration method
JPS6370390A (en) Detailed sorting method for character identification
JP3015137B2 (en) Handwritten character recognition device
JP2924040B2 (en) Handwritten character recognition device
JPH051512B2 (en)
JP3100786B2 (en) Character recognition post-processing method
JPS60217478A (en) Handwritten character recognizing device
JPH06162266A (en) Method for recognizing on-line handwritten character and device therefor
JPS59161784A (en) On-line character recognizing and rough classifying method
JPS6321949B2 (en)
JPH0950490A (en) Handwritten character recognizing device
JP2784004B2 (en) Character recognition device
JPH02300986A (en) Hand-written character recognizing method
JPH03217995A (en) Handwritten character recognizer