JPS6249593A - Character recognizing device - Google Patents

Character recognizing device

Info

Publication number
JPS6249593A
JPS6249593A JP60190182A JP19018285A JPS6249593A JP S6249593 A JPS6249593 A JP S6249593A JP 60190182 A JP60190182 A JP 60190182A JP 19018285 A JP19018285 A JP 19018285A JP S6249593 A JPS6249593 A JP S6249593A
Authority
JP
Japan
Prior art keywords
mode
dictionary
character
dictionaries
character 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.)
Pending
Application number
JP60190182A
Other languages
Japanese (ja)
Inventor
Kiyohiko Kobayashi
清彦 小林
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 JP60190182A priority Critical patent/JPS6249593A/en
Publication of JPS6249593A publication Critical patent/JPS6249593A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To shorten the recognition time of a handwritten character by referring to one piece of dictionary, based on a result of recognition which has referred to plural independent dictionaries in accordance with a difference of an inclination degree of the character. CONSTITUTION:When a parameter from a feature extracting part 16, which is read by a read part 10 is supplied to a dictionary retrieving part 18, independent dictionaries 20A, 20B are referred to, respectively in accordance with a difference of an inclination degree of a character, based on a designation of the first mode by a mode control part 22. Also, the smallest one of a calculated distance value is recognized as the first candidate, and in accordance with the recognition which is executed one after another, counters 24A, 24B corresponding to the dictionaries 20A, 20B, respectively are brought to an increment. Subsequently, when the second mode is set by the control part 22, only one piece of the dictionaries 20A, 20B corresponding to an inclination of a handwritten character is referred to in accordance with the counters 24A, 24B whose counting contents are large, an inclined handwritten character is recognized without referring to all the dictionaries, and the recognition time is shortened.

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、手書き文字を認識する文字認識装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a character recognition device for recognizing handwritten characters.

〔従来技術〕[Prior art]

手書き文字を認識する文字認識装置では1文字の変形に
対応できるように認識用辞書を作成する必要がある0文
字変形のうちで9文字の傾きは特に個人差が激しいもの
であり、従来から文字の傾きについては充分な考慮が払
われている。
In a character recognition device that recognizes handwritten characters, it is necessary to create a recognition dictionary so that it can handle the transformation of a single character.Of the 0 character transformations, the slope of 9 characters is particularly variable among individuals, and has traditionally been used to Sufficient consideration has been given to the slope of

しかし、従来の文字認識装置においては、傾きのある文
字用の辞書と傾きのない文字用の辞書とが文字ごとにま
とめられ1両者は一体化された辞書構成となっており、
辞書全体を検索して入力文字を認識するように構成され
ていたため、認識時間が長いという問題があった。
However, in conventional character recognition devices, a dictionary for characters with an inclination and a dictionary for characters without an inclination are grouped together for each character, and the two are integrated.
Since the system was configured to search the entire dictionary to recognize input characters, there was a problem in that the recognition time was long.

〔目 的〕〔the purpose〕

本発明の目的は、従来と同様に文字の傾きに対応でき、
かつ従来より認識時間の短い文字認識装置を提供するこ
とにある。
The purpose of the present invention is to be able to cope with the inclination of characters as in the past,
Another object of the present invention is to provide a character recognition device that requires shorter recognition time than the conventional one.

〔構 成〕〔composition〕

この目的を達成するために、本発明による文字認識装置
は1文字認識用辞書が文字の傾き程度の違いに応じて独
立した複数の辞書に分割されるとともに、動作モードと
して文字認識に前記辞書のすべてを使用する第1のモー
ドと1つだけを使用する第2のモードとを有し、前記第
2のモードで使用される辞書は第1のモードでの認識結
果に基づき決定され、前記動作モードは、前記第2のモ
ードで使用する辞書を決定するための情報が得られるま
で前記第1のモードが選ばれ、その情報が得られると前
記第2のモードに切り替えられるように構成されるもの
である。
In order to achieve this object, the character recognition device according to the present invention divides a single character recognition dictionary into a plurality of independent dictionaries depending on the degree of inclination of the character, and also uses the dictionary for character recognition as an operation mode. The dictionary has a first mode in which all are used and a second mode in which only one is used, and the dictionary used in the second mode is determined based on the recognition result in the first mode, and the The mode is configured such that the first mode is selected until information for determining a dictionary to be used in the second mode is obtained, and when that information is obtained, the mode is switched to the second mode. It is something.

〔実施例] 以下1図面を参照し、本発明の実施例について説明する
[Example] An example of the present invention will be described below with reference to one drawing.

第1図は本発明の一実施例を示す概略ブロック図である
。この図において、10は入力帳票を光学的に走査して
、その画像を読み取る読取部である。この読取部10か
ら出力される画像信号は。
FIG. 1 is a schematic block diagram showing one embodiment of the present invention. In this figure, numeral 10 is a reading unit that optically scans an input form and reads its image. The image signal output from this reading section 10 is as follows.

2値化・ノイズ除去部12によって、2値化およびノイ
ズ除去の処理を施されてから切出部14に送られる。と
の切出部14は入力された2値化面像データから1個々
の文字の画像データを切り出し、特徴抽出部16へ送る
。特徴抽出部16は入力された文字の画像データから特
徴抽出を行い。
The signal is subjected to binarization and noise removal processing by the binarization/noise removal section 12 and then sent to the cutting section 14 . The cutting unit 14 cuts out the image data of each character from the input binarized surface image data and sends it to the feature extracting unit 16. The feature extraction unit 16 extracts features from the input character image data.

入力文字のパラメータ(特徴ベクトル)を辞書検索部1
8へ送る。
Dictionary search unit 1 searches parameters (feature vectors) of input characters.
Send to 8.

この辞書検索部18は、入力文字のパラメータと認識用
辞書に登録されている各文字のパラメータとの間で距離
演算を行い、入力文字を認識するものである。
The dictionary search unit 18 recognizes the input character by calculating the distance between the parameter of the input character and the parameter of each character registered in the recognition dictionary.

本発明にあっては、認識用辞書は、文字の傾きの程度に
応じて独立した複数の辞書に分割されるが、この実施例
においては、傾きのない(無視できる程度の傾き)の文
字の辞書20Aと傾きのある文字用の辞書20Bの2つ
に分割されている。
In the present invention, the recognition dictionary is divided into a plurality of independent dictionaries according to the degree of inclination of the characters. It is divided into two parts: a dictionary 20A and a dictionary 20B for slanted characters.

各辞書20A、20Bは、物理的には同一記憶媒体上に
用意されていてもよいが、例えば、それぞれ独立した連
続した記憶アドレス空間に配置され、辞書検索部18か
ら見て、それぞれ独立した辞書として扱い得るように論
理的には明確に分離されたもの・である。
Although the dictionaries 20A and 20B may be physically prepared on the same storage medium, for example, they may be arranged in independent and continuous storage address spaces, and viewed from the dictionary search unit 18, they are independent dictionaries. They are clearly separated logically so that they can be treated as such.

この文字認識装置は、動作モードとして、辞書20A、
20Bの両方を使用して文字認識動作を行う第1のモー
ドと、辞書20A、20Bの一方だけを使用して文字認
識を行う第2のモードとを有する。
This character recognition device has a dictionary 20A,
A first mode in which character recognition is performed using both dictionaries 20A and 20B, and a second mode in which character recognition is performed using only one of dictionaries 20A and 20B.

この動作モードの切替制御は、モード制御部22によっ
て行われる。このモード制御に関連して、辞書2OA、
2.OBのそれぞれに対応したカウンタ24A、24B
が設けられいている。このカウンタ24A、24Bは、
第1のモード動作中に辞書検索部18によりインクリメ
ントされ、第2のモードで使用される辞書を選択するた
めの頻度情報が得られる。この情報に基づき、モード制
御部22は動作モードの切替制御と辞書選択を行う。
This operation mode switching control is performed by the mode control section 22. In connection with this mode control, dictionary 2OA,
2. Counters 24A and 24B corresponding to each OB
is provided. These counters 24A and 24B are
It is incremented by the dictionary search unit 18 during operation in the first mode, and frequency information for selecting a dictionary to be used in the second mode is obtained. Based on this information, the mode control unit 22 performs operation mode switching control and dictionary selection.

次に、この文字認識装置の動作を説明する。初め、モー
ド制御部22は動作モードを第1のモードに設定する。
Next, the operation of this character recognition device will be explained. Initially, the mode control unit 22 sets the operation mode to the first mode.

読取部10により入力帳票が読み取られ1文字の画像デ
ータが切出部14によって順次切り出されて特徴抽出部
16に入力され、そのパラメータが辞書検索部18に入
力される。
The input form is read by the reading unit 10 , one-character image data is sequentially extracted by the extraction unit 14 and input to the feature extraction unit 16 , and its parameters are input to the dictionary search unit 18 .

辞書検索部18は、モード制御部22によって第1のモ
ードが指定されているため、辞書20A。
Since the first mode is specified by the mode control unit 22, the dictionary search unit 18 uses the dictionary 20A.

20Bの両方に登録されている文字のパラメータと入力
文字のパラメータとの距離演算を行い、!&小距離の第
1候補文字を捜し、その文字コードを認識結果として出
力する。また、辞書検索部18は、第1候補文字が辞書
20Aから見付かった場合にはカウンタ24Aを1だけ
インクリメントし、辞書20Bから見付かった場合には
カウンタ24Bを1だけインクリメントする。ただし、
動作の開始にあたって、カウンタ24A、24Bはクリ
アされている。
The distance between the parameter of the character registered in both 20B and the parameter of the input character is calculated, and! & Search for the first candidate character at a short distance and output its character code as a recognition result. Further, the dictionary search unit 18 increments the counter 24A by 1 when the first candidate character is found in the dictionary 20A, and increments the counter 24B by 1 when the first candidate character is found in the dictionary 20B. however,
At the start of operation, counters 24A and 24B are cleared.

このようにして文字認識の進行により、各辞書2OA、
20Bから第1候補が見付かった回数、つまり頻度の情
報がカウンタ24A、24Bに蓄積されていく。
In this way, as character recognition progresses, each dictionary 2OA,
The number of times the first candidate is found from 20B, that is, frequency information is accumulated in counters 24A and 24B.

モード制御部22は、カウンタ24A、24Bの値の差
を監視しており、その差が所定の値を越えると動作モー
ドを第2のモードに切り替えるに必要に情報が収集され
たと判断する。そして、辞書検索部18に対して、第2
のモードを指定するとともに、カウンタ24A、24B
の値の大きい方に対応する辞書2OAまたは20Bを使
用辞書として指定する。
The mode control unit 22 monitors the difference between the values of the counters 24A and 24B, and when the difference exceeds a predetermined value, it determines that information necessary to switch the operation mode to the second mode has been collected. Then, the second
In addition to specifying the mode of the counters 24A and 24B,
The dictionary 2OA or 20B corresponding to the larger value of is designated as the dictionary to be used.

これ以降、辞書検索部18は第2のモードで動作し、モ
ード制御部18により指定された一方の辞lF20Aま
たは20Bだけを用いて入力文字を認識する。
From this point on, the dictionary search unit 18 operates in the second mode and recognizes input characters using only one of the words 1F 20A or 20B designated by the mode control unit 18.

手書き文字の傾きは個人差が激しいが、特定の筆者では
文字の傾きは傾向がほぼ一定している。
Although the slant of handwritten letters varies greatly from person to person, the slant of the letters of a particular writer tends to be almost constant.

したがって、一方の辞書を選択して使用するようなモー
ドに切り替えても、正読率は殆ど低下しない、そして、
辞書の容量は1両者の辞書を用いる場合より半減するた
め、認識時間もほぼ半減する。
Therefore, even if you switch to a mode that selects and uses one dictionary, the correct reading rate will hardly decrease, and
Since the capacity of the dictionary is halved compared to when both dictionaries are used, the recognition time is also halved.

なお1本実施例において、カウンタ24A、24Bの値
の差が所定値を越えた時に第2のモードに動作モードを
切り替えたが、予め決めた適当な文字数(例えば数文字
ないし十数文字)分の認識が終了した時点でモード切替
を行うようにしてもよい。
Note that in this embodiment, when the difference between the values of the counters 24A and 24B exceeds a predetermined value, the operation mode is switched to the second mode. The mode may be switched at the time when the recognition is completed.

また1文字の傾き程度を3段階以上に分類し、各分類ご
とに辞書を独立させてもよい。
Alternatively, the degree of inclination of one character may be classified into three or more levels, and an independent dictionary may be provided for each classification.

次に、本発明の他の実施例について説明する。Next, other embodiments of the present invention will be described.

装置のブロック構成は第1図に示したものと同様でよい
ので、第1図を参照して説明する0本発明の第2の実施
例においては、辞書検索部18は。
The block configuration of the device may be the same as that shown in FIG. 1, so in the second embodiment of the present invention, which will be described with reference to FIG.

第1のモード期間に入力文字との距離が最小の第1候補
文字と、距離が火車の第2候補文字とを求める。そして
、第1候補文字と第2候補文字がそれぞれ異った辞書か
ら選ばれた場合は、前記第1実施例と同様に該当のカウ
ンタ24Aまたは24Bを1だけインクリメントする。
A first candidate character having a minimum distance from the input character during the first mode period and a second candidate character having a distance from the input character are determined. If the first candidate character and the second candidate character are selected from different dictionaries, the corresponding counter 24A or 24B is incremented by 1 as in the first embodiment.

しかし、第1候補文字と第2候補文字が同一の辞書から
選ばれた場合、第1候補文字の選ばれた辞書に対応のカ
ウンタ24Aまたは24Bのインクリメント量を増加さ
せる1例えば、2だけインクリメントする。
However, when the first candidate character and the second candidate character are selected from the same dictionary, the increment amount of the counter 24A or 24B corresponding to the dictionary from which the first candidate character is selected is increased by 1, for example, by 2. .

このように、同一辞書から両候補文字が選ばれた場合の
インクリメント量を大きくすると、第2のモードで使用
するための辞書の決定に必要な情報を得るための文字数
を、前記第1実施例の場合よりも減らすことができる。
In this way, by increasing the amount of increment when both candidate characters are selected from the same dictionary, the number of characters required to obtain the information necessary for determining the dictionary to be used in the second mode can be increased from the number of characters in the first embodiment. can be reduced more than in the case of

これ以外は、前記第1実施例と同様である。Other than this, the second embodiment is the same as the first embodiment.

本発明の第3の実施例によれば、第1のモードにおいて
、第1候補文字と第2候補文字とが別々の辞書から選ば
れた場合、辞書検索部18は、各候補文字の入力文字と
の距離の差を求め、それが所定値より大きい場合には1
両候補文字が同一辞書から選ばれた場合と同様に、カウ
ンタ24A。
According to the third embodiment of the present invention, in the first mode, when the first candidate character and the second candidate character are selected from different dictionaries, the dictionary search unit 18 selects the input character of each candidate character. Find the difference in distance between the
As in the case where both candidate characters are selected from the same dictionary, the counter 24A.

24Bインクリメント量を大きくする。これ以外の構成
は、前記第2実施例と同様である。
Increase the 24B increment amount. The configuration other than this is the same as that of the second embodiment.

この実施例によれば、前記第2実施例よりさらに少ない
文字数で第2のモードで使用する辞書を決定できる。
According to this embodiment, the dictionary to be used in the second mode can be determined with an even smaller number of characters than the second embodiment.

本発明の第4の実施例によれば、辞書検索部18の出力
データ(文字コードまたはりジェクトコード)がモード
制御部22に入力される。そして。
According to the fourth embodiment of the present invention, the output data (character code or redirect code) of the dictionary search section 18 is input to the mode control section 22 . and.

第2のモードで動作中にリジェクトが発生し、リジェク
トコードが辞書検索部18から出力された場合、モード
制御部22は動作モードを再び第1のモードに切り替え
、カウンタ24A、24Bをクリアする。これ以降の動
作は、動作開始時以降と同様である。
If a rejection occurs during operation in the second mode and a reject code is output from the dictionary search unit 18, the mode control unit 22 switches the operation mode to the first mode again and clears the counters 24A and 24B. The operations thereafter are the same as those after the start of the operations.

このようにすれば、正続率をさらに向上できる。In this way, the success rate can be further improved.

以上1本発明の実施例について説明したが1本発明は各
実施例に限定されるものではなく、適宜変形して実施し
得るものである。
Although the embodiments of the present invention have been described above, the present invention is not limited to each embodiment, and can be implemented with appropriate modifications.

〔効 果〕〔effect〕

以上説明したように1本発明によれば、手書き文字の認
識時間を従来よりも大幅に短縮した優れた文字文字認識
装置を実現できるという効果を達成できる。
As explained above, according to the present invention, it is possible to achieve the effect of realizing an excellent character recognition device in which the recognition time for handwritten characters is significantly shortened compared to the conventional one.

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

第1図は、本発明による文字認識装置の概略ブロック図
である。 10・・・読取部、  12・・・2値化・ノイズ除去
部。 14・・・切出部、  16・・・特徴抽出部。 18・・・辞書検索部、  20A、20B・・・辞書
。 22・・・モード制御部、  24A、24B・・・カ
ウンタ。 第  1  図 4B
FIG. 1 is a schematic block diagram of a character recognition device according to the present invention. 10... Reading section, 12... Binarization/noise removal section. 14... Extraction section, 16... Feature extraction section. 18... Dictionary search unit, 20A, 20B... Dictionary. 22...Mode control section, 24A, 24B...Counter. 1st Figure 4B

Claims (3)

【特許請求の範囲】[Claims] (1)手書き文字の認識を行う文字認識装置において、
文字認識用辞書は文字の傾き程度の違いに応じて独立し
た複数の辞書に分割されるとともに、動作モードとして
文字認識に前記辞書のすべてを使用する第1のモードと
1つだけを使用する第2のモードとを有し、前記第2の
モードで使用される辞書は前記第1のモードでの認識結
果に基づき決定され、前記動作モードは、前記第2のモ
ードで使用する辞書を決定するための情報が得られるま
で前記第1のモードが選ばれ、その情報が得られると前
記第2のモードに切り替えられることを特徴とする文字
認識装置。
(1) In a character recognition device that recognizes handwritten characters,
The character recognition dictionary is divided into multiple independent dictionaries according to the degree of inclination of the characters, and there are two operating modes: a first mode in which all of the dictionaries are used for character recognition, and a second mode in which only one is used. 2 modes, the dictionary used in the second mode is determined based on the recognition result in the first mode, and the operation mode determines the dictionary used in the second mode. A character recognition device characterized in that the first mode is selected until information for the character is obtained, and when the information is obtained, the character recognition device is switched to the second mode.
(2)前記第2のモードにおいてリジェクトが発生する
と、前記動作モードは前記第2のモードから前記第1の
モードに切り替えられることを特徴とする特許請求の範
囲第1項記載の文字認識装置。
(2) The character recognition device according to claim 1, wherein when a rejection occurs in the second mode, the operation mode is switched from the second mode to the first mode.
(3)前記情報は前記各辞書ごとの候補文字が選ばれた
頻度に関連した情報であり、一定以上の頻度の差が得ら
れた場合に動作モードは前記第1のモードから前記第2
の動作モードに切り替えられることを特徴とする特許請
求の範囲第2項記載の文字認識装置。
(3) The information is information related to the frequency with which candidate characters are selected for each of the dictionaries, and if a difference in frequency of more than a certain value is obtained, the operation mode changes from the first mode to the second mode.
3. The character recognition device according to claim 2, wherein the character recognition device can be switched to an operation mode.
JP60190182A 1985-08-29 1985-08-29 Character recognizing device Pending JPS6249593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60190182A JPS6249593A (en) 1985-08-29 1985-08-29 Character recognizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60190182A JPS6249593A (en) 1985-08-29 1985-08-29 Character recognizing device

Publications (1)

Publication Number Publication Date
JPS6249593A true JPS6249593A (en) 1987-03-04

Family

ID=16253809

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60190182A Pending JPS6249593A (en) 1985-08-29 1985-08-29 Character recognizing device

Country Status (1)

Country Link
JP (1) JPS6249593A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115506A (en) * 1997-05-07 2000-09-05 Nec Corporation Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115506A (en) * 1997-05-07 2000-09-05 Nec Corporation Character recognition method, character recognition apparatus and recording medium on which a character recognition program is recorded

Similar Documents

Publication Publication Date Title
JP4454789B2 (en) Form classification method and apparatus
US4757551A (en) Character recognition method and system capable of recognizing slant characters
JP2000113103A (en) Method and device for discriminating direction of document image and recording medium
EP0432937B1 (en) Hand-written character recognition apparatus
JPS6249593A (en) Character recognizing device
JPS60153574A (en) Character reading system
KR910000786B1 (en) Pattern recognition system
JPS60153575A (en) Character reading system
JP2766205B2 (en) Character recognition device
JPH0744656A (en) Handwritten character recognizing device
JP3121401B2 (en) Recognition dictionary and character recognition device
JPS59158482A (en) Character recognizing device
JPH0576674B2 (en)
JPH0795336B2 (en) Character recognition method
JP2509992B2 (en) Separation character integration method
JP3267038B2 (en) Character recognition device
JPS62280985A (en) Optical character reader
JPS61251984A (en) Device for recognizing multi-font type character
JPH08329191A (en) Character string segmenting method
JPS63309999A (en) Voice recognition equipment
JPH10240868A (en) Device for reading character
JPH0326877B2 (en)
JPH07121665A (en) Compiling method and retrieving method for character recognition dictionary
JPH10207985A (en) Method and device for segmenting character
JPS6327991A (en) Formation of histogram for input information recognizing device