JP2002109474A - Character recognition device - Google Patents

Character recognition device

Info

Publication number
JP2002109474A
JP2002109474A JP2000300405A JP2000300405A JP2002109474A JP 2002109474 A JP2002109474 A JP 2002109474A JP 2000300405 A JP2000300405 A JP 2000300405A JP 2000300405 A JP2000300405 A JP 2000300405A JP 2002109474 A JP2002109474 A JP 2002109474A
Authority
JP
Japan
Prior art keywords
recognition
character
handwritten
input
unit
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
JP2000300405A
Other languages
Japanese (ja)
Inventor
Hiroaki Suzuki
博明 鈴木
Noriyuki Osuga
典之 大須賀
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2000300405A priority Critical patent/JP2002109474A/en
Publication of JP2002109474A publication Critical patent/JP2002109474A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a character recognition device which processes recognition efficiently and has high accuracy of recognition. SOLUTION: An online recognition (S4) and a rough offline recognition (S6) are processed on a handwriting character which is inputted on a tablet for handwriting input character, and the result of the recognition is integrated (S8). When the resemblance of the integrated result is over the threshold (S10: YES), it is displayed on the display. When the result is under the threshold (S10: NO), offline recognition is processed in detail again (S12), and the result of that is displayed on the display.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、入力された手書き
文字を認識して、文字コードに変換する文字認識装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character recognition device that recognizes input handwritten characters and converts them into character codes.

【0002】[0002]

【従来の技術】従来、手書き文字の認識方法としては、
入力された文字の構成線である一つの線(以下、「スト
ローク」と言う。)を認識単位とし、ストロークの入力
順の時系列を用いて認識を行うオンライン認識と、入力
された文字全体の形を用いて認識を行うオフライン認識
とが知られている。オンライン認識は、ストロークが入
力されると認識の処理が行われるために手書き文字の認
識処理が速いという特徴があるが、筆順の誤り、続け
字、重ね書きなどの筆順と画数の変動に対して脆いとい
う欠点がある。また、オフライン認識は、入力された文
字全体の形を用いて認識を行うために筆順の誤りや重ね
書き等による誤認識は少ないという特徴があるが、入力
された文字の全体的なバランス、ストロークの位置がず
れることなどに対して脆いという欠点がある。
2. Description of the Related Art Conventionally, methods for recognizing handwritten characters include:
One line (hereinafter, referred to as “stroke”), which is a constituent line of an input character, is used as a recognition unit, and online recognition is performed using a time series of the input order of strokes. Off-line recognition, which performs recognition using shapes, is known. Online recognition has a feature that the recognition process is performed when a stroke is input, so the recognition process of handwritten characters is fast.However, the stroke order and strokes such as continuation characters, overwriting, etc. It has the disadvantage of being brittle. In addition, the offline recognition has a feature that since the recognition is performed using the shape of the entire input character, there is little erroneous recognition due to a stroke order error or overwriting, but the overall balance and stroke of the input character are small. Is disadvantageous in that it is brittle when the position is shifted.

【0003】しかし、オンライン認識とオフライン認識
とは、上記のようにその特徴が互いに相補性があるため
に、オンライン認識及びオフライン認識の欠点を改善す
る手段として、特開平9−288717号公報には、オ
ンライン認識とオフライン認識とを組み合わせたハイブ
リッド方式による文字認識が提案されている。このハイ
ブリッド方式による文字認識では、オンライン認識とオ
フライン認識の欠点を相補し合うために、認識の精度
が、オンライン認識とオフライン認識との何れか一つの
認識を行うものよりも高くなるという利点がある。
However, as described above, Japanese Patent Laid-Open Publication No. Hei 9-288717 discloses an online recognition and an offline recognition as means for improving the disadvantages of the online recognition and the offline recognition because their features are mutually complementary as described above. Character recognition by a hybrid method combining online recognition and offline recognition has been proposed. The character recognition by the hybrid method has an advantage that the accuracy of the recognition is higher than that of performing any one of the online recognition and the offline recognition because the disadvantages of the online recognition and the offline recognition are complemented. .

【0004】[0004]

【発明が解決しようとする課題】しかしながら、手書き
文字の入力内容によっては、オンライン認識のみ、若し
くはオフライン認識のみで十分信頼できる結果が得られ
る場合があり、そうした場合にもハイブリッド方式によ
る文字の認識を行うことは、過剰な認識処理を施すこと
になり、文字認識処理に時間がかかり非効率であるとい
う問題点があった。
However, depending on the input contents of the handwritten characters, there is a case where a sufficiently reliable result can be obtained only by the online recognition or only the offline recognition. Even in such a case, the character recognition by the hybrid method is required. Doing so results in excessive recognition processing, and there is a problem that the character recognition processing takes time and is inefficient.

【0005】本発明は、上記課題を解決するためになさ
れたものであり、認識処理の効率が良く、且つ、認識精
度の高い文字認識装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and has as its object to provide a character recognition device which has high recognition processing efficiency and high recognition accuracy.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
の請求項1に係る発明の文字認識装置は、入力された手
書き文字を認識して、文字コードに変換する文字認識装
置において、手書きで文字を入力する手書き文字入力手
段と、前記手書き文字入力手段から入力された手書き文
字を認識して、文字コードに変換する第一の文字認識手
段と、前記手書き文字入力手段から入力された手書き文
字を認識して、文字コードに変換し、且つ、前記第一の
文字認識手段より手書き文字の認識精度が高い第二の文
字認識手段と、前記第一の文字認識手段により認識され
た認識候補の基本文字に対する類似度を判断する類似度
判断手段とを備え、前記第一の文字認識手段により認識
された認識候補を前記類似度判断手段により類似度を判
断した結果、類似度が所定の値以上の場合には、その認
識候補を認識結果として出力し、類似度が所定の値未満
の場合には、前記第二の文字認識手段により再度文字認
識を行い、その認識候補を認識結果として出力すること
を特徴とする構成となっている。
According to a first aspect of the present invention, there is provided a character recognition apparatus for recognizing an input handwritten character and converting the input handwritten character into a character code. Handwritten character input means for inputting a character, first character recognition means for recognizing the handwritten character input from the handwritten character input means and converting it to a character code, and handwritten character input from the handwritten character input means Recognize and convert to a character code, and a second character recognition means having higher recognition accuracy of handwritten characters than the first character recognition means, and a recognition candidate recognized by the first character recognition means A similarity determination unit configured to determine a similarity to a basic character. The similarity determination unit determines a similarity of the recognition candidate recognized by the first character recognition unit. Is greater than or equal to a predetermined value, the recognition candidate is output as a recognition result. If the similarity is less than the predetermined value, character recognition is performed again by the second character recognition means, and the recognition candidate is It is configured to output as a recognition result.

【0007】この構成の文字認識装置では、第一の文字
認識手段により認識された認識候補を類似度判断手段に
より類似度を判断した結果、類似度が所定の値以上の場
合には、その認識候補を認識結果として出力し、類似度
が所定の値未満の場合には、第一の文字認識手段より手
書き文字の認識精度が高い第二の文字認識手段により再
度文字認識を行い、その認識候補を認識結果として出力
する。
In the character recognition device having this configuration, when the similarity is judged by the similarity judgment means on the recognition candidates recognized by the first character recognition means, and the similarity is equal to or more than a predetermined value, the recognition is performed. A candidate is output as a recognition result, and if the similarity is less than a predetermined value, character recognition is performed again by the second character recognition unit having higher recognition accuracy of the handwritten character than the first character recognition unit, and the recognition candidate Is output as the recognition result.

【0008】また、請求項2に係る発明の文字認識装置
では、請求項1に記載の文字認識装置の構成に加えて、
前記第二の文字認識手段は、前記第一の文字認識手段に
より認識された認識候補の前記類似度が所定の値未満の
場合には、前記第一の文字認識手段から出力される認識
候補のうち前記類似度が高いものから所定の順位までの
ものについて再度文字認識を行い、その認識候補を認識
結果として出力することを特徴とする構成となってい
る。
According to a second aspect of the present invention, in addition to the configuration of the character recognition apparatus of the first aspect,
The second character recognizing unit, when the similarity of the recognition candidate recognized by the first character recognizing unit is less than a predetermined value, the recognition candidate output from the first character recognizing unit. Character recognition is performed again for those having a high similarity to a predetermined rank, and the recognition candidate is output as a recognition result.

【0009】この構成の文字認識装置では、請求項1に
記載の文字認識装置の作用に加えて、第二の文字認識手
段は、前記第一の文字認識手段により認識された認識候
補の類似度が所定の値未満の場合には、第一の文字認識
手段から出力される認識候補のうち類似度が高いものか
ら所定の順位までのものについて再度文字認識を行い、
その認識候補を認識結果として出力することができる。
[0009] In the character recognition device having this configuration, in addition to the operation of the character recognition device according to the first aspect, the second character recognition means includes a similarity measure of the recognition candidates recognized by the first character recognition means. Is less than a predetermined value, the character recognition is again performed for recognition candidates output from the first character recognition unit for those having a high similarity to a predetermined order,
The recognition candidate can be output as a recognition result.

【0010】また、請求項3に係る発明の文字認識装置
では、請求項1又は2に記載の文字認識装置の構成に加
えて、前記第二の文字認識手段は、前記第一の文字認識
手段に比べて、文字の特徴データを多く用いて手書き文
字の認識を行うことを特徴とする構成となっている。
According to a third aspect of the present invention, in addition to the configuration of the character recognition device according to the first or second aspect, the second character recognition unit includes the first character recognition unit. As compared with the above, the configuration is characterized in that handwritten characters are recognized using a large amount of character feature data.

【0011】この構成の文字認識装置では、請求項1又
は2に記載の文字認識装置の作用に加えて、前記第二の
文字認識手段は、前記第一の文字認識手段に比べて、文
字の特徴データを多く用いて手書き文字の認識を行うこ
とができる。
[0011] In the character recognition device having this configuration, in addition to the operation of the character recognition device according to claim 1 or 2, the second character recognition means is more effective than the first character recognition means. Handwritten characters can be recognized using a large amount of feature data.

【0012】また、請求項4に係る発明の文字認識装置
では、請求項1乃至3の何れかに記載の文字認識装置の
構成に加えて、前記第一の文字認識手段は、前記第二の
文字認識手段より文字認識の処理速度が速いことを特徴
とする構成となっている。
According to a fourth aspect of the present invention, in addition to the configuration of the character recognition device according to any one of the first to third aspects, the first character recognition unit includes the second character recognition unit. The configuration is characterized in that the processing speed of character recognition is faster than the character recognition means.

【0013】この構成の文字認識装置では、請求項1乃
至3の何れかに記載の文字認識装置の作用に加えて、前
記第一の文字認識手段は、前記第二の文字認識手段より
速い速度で文字認識を行うことができる。
In the character recognition device having this configuration, in addition to the operation of the character recognition device according to any one of claims 1 to 3, the first character recognition means has a higher speed than the second character recognition means. Can perform character recognition.

【0014】また、請求項5に係る発明の文字認識装置
では、請求項1乃至4の何れかに記載の文字認識装置の
構成に加えて、前記第一の文字認識手段は、前記手書き
文字入力手段から入力された手書き文字の構成線の時系
列の情報を用いて手書き文字の認識を行うオンライン認
識を行うことを特徴とし、前記第二の文字認識手段は、
前記手書き文字入力手段から入力された手書き文字の全
体の形を用いて手書き文字の認識を行うオフライン認識
を行うことを特徴とする構成となっている。
According to a fifth aspect of the present invention, in addition to the configuration of the character recognition device according to any one of the first to fourth aspects, the first character recognition unit includes the handwritten character input device. It is characterized by performing online recognition for recognizing handwritten characters using time-series information of constituent lines of handwritten characters input from the means, the second character recognition means,
Off-line recognition for recognizing a handwritten character using the entire shape of the handwritten character input from the handwritten character input unit is performed.

【0015】この構成の文字認識装置では、請求項1乃
至4の何れかに記載の文字認識装置の作用に加えて、前
記第一の文字認識手段は、前記手書き文字入力手段から
入力された手書き文字の構成線の時系列の情報を用いて
手書き文字の認識を行うオンライン認識を行い、前記第
二の文字認識手段は、前記手書き文字入力手段から入力
された手書き文字の全体の形を用いて手書き文字の認識
を行うオフライン認識を行うことができる。
In the character recognition device having this configuration, in addition to the operation of the character recognition device according to any one of claims 1 to 4, the first character recognition means includes a handwritten character input from the handwritten character input means. Performs online recognition for recognizing handwritten characters using time-series information of character constituent lines, and the second character recognition unit uses the entire shape of the handwritten characters input from the handwritten character input unit. Offline recognition for recognizing handwritten characters can be performed.

【0016】また、請求項6に係る発明の文字認識装置
では、請求項1乃至5の何れかに記載の文字認識装置の
構成に加えて、前記第一の文字認識手段は、前記手書き
文字入力手段から入力された手書き文字の構成線の時系
列の情報を用いて手書き文字の認識を行うオンライン認
識による認識結果と、前記手書き文字入力手段から入力
された手書き文字の全体の形を用いて手書き文字の認識
を行うオフライン認識の認識結果とに基づいて新たな認
識候補を生成することを特徴とし、前記第二の文字認識
手段は、前記第一の文字認識手段が行うオフライン認識
に比べて、文字の特徴データを多く用いてオフライン認
識を行うことを特徴とする構成となっている。
According to a sixth aspect of the present invention, in addition to the configuration of the character recognition device according to any one of the first to fifth aspects, the first character recognition means includes the handwritten character input. Means for recognizing handwritten characters using time-series information of constituent lines of the handwritten characters input from the means, and handwriting using the entire shape of the handwritten characters input from the handwritten character input means. It is characterized by generating a new recognition candidate based on the recognition result of the offline recognition for character recognition, wherein the second character recognition means, compared to the offline recognition performed by the first character recognition means, Offline recognition is performed using a large amount of character feature data.

【0017】この構成の文字認識装置では、請求項1乃
至5の何れかに記載の文字認識装置の作用に加えて、第
一の文字認識手段は、前記手書き文字入力手段から入力
された手書き文字の構成線の時系列の情報を用いて手書
き文字の認識を行うオンライン認識による認識結果と、
手書き文字入力手段から入力された手書き文字の全体の
形を用いて手書き文字の認識を行うオフライン認識の認
識結果とに基づいて新たな認識候補を生成でき、第二の
文字認識手段は、前記第一の文字認識手段が行うオフラ
イン認識に比べて、文字の特徴データを多く用いてオフ
ライン認識を行うことができる。
In the character recognition device having this configuration, in addition to the operation of the character recognition device according to any one of claims 1 to 5, the first character recognition means includes a handwritten character input from the handwritten character input means. Recognition results by online recognition that recognizes handwritten characters using time-series information of the constituent lines of
A new recognition candidate can be generated based on the recognition result of the offline recognition for recognizing the handwritten character using the entire shape of the handwritten character input from the handwritten character input means, and the second character recognition means includes: Compared to off-line recognition performed by one character recognition unit, off-line recognition can be performed using a large amount of character feature data.

【0018】また、請求項7に係る発明の文字認識装置
では、入力された手書き文字を認識して、文字コードに
変換する文字認識装置において、手書きで文字を入力す
る手書き文字入力手段と、前記手書き文字入力手段から
入力された手書き文字を認識して、文字コードに変換す
る第一の文字認識手段とを備え、前記第一の文字認識手
段は、前記手書き文字入力手段から入力された手書き文
字の構成線の時系列の情報を用いて手書き文字の認識を
行うオンライン認識手段と、前記手書き文字入力手段か
ら入力された手書き文字の全体の形を用いて手書き文字
の認識を行うオフライン認識手段と、前記オンライン認
識手段と前記オフライン認識手段の何れかにより前記手
書き文字入力手段から入力された手書き文字の文字認識
を行うかを指定する認識手段指定手段とを備え、前記認
識手段指定手段によって指定された認識手段で、前記手
書き文字入力手段から入力された手書き文字の認識を行
うことを特徴とする構成となっている。
According to a seventh aspect of the present invention, there is provided a character recognition apparatus for recognizing an input handwritten character and converting the input handwritten character into a character code. First character recognition means for recognizing a handwritten character input from the handwritten character input means and converting it into a character code, wherein the first character recognition means comprises a handwritten character input from the handwritten character input means. Online recognition means for recognizing handwritten characters using the time-series information of the constituent lines, and offline recognition means for recognizing handwritten characters using the entire shape of the handwritten characters input from the handwritten character input means. Specifying whether to perform character recognition of the handwritten character input from the handwritten character input unit by either the online recognition unit or the offline recognition unit. And a recognition unit designating means, the recognition means which is specified by said recognition means designating means has a configuration which is characterized in that the recognition of handwritten characters input from said handwriting input means.

【0019】この構成の文字認識装置では、第一の文字
認識手段は手書き文字入力手段から入力された手書き文
字の構成線の時系列の情報を用いて手書き文字の認識を
行うオンライン認識手段と、手書き文字入力手段から入
力された手書き文字の全体の形を用いて手書き文字の認
識を行うオフライン認識手段と、オンライン認識手段と
オフライン認識手段の何れかにより手書き文字入力手段
から入力された手書き文字の文字認識を行うかを指定す
る認識手段指定手段とを備えているので、認識手段指定
手段によって指定された認識手段で、手書き文字入力手
段から入力された手書き文字の認識を行うことができ
る。
In the character recognition device having the above configuration, the first character recognition means includes an online recognition means for recognizing handwritten characters using time-series information of constituent lines of the handwritten characters input from the handwritten character input means; Offline recognition means for recognizing handwritten characters using the entire shape of the handwritten characters input from the handwritten character input means; and handwriting characters input from the handwritten character input means by either the online recognition means or the offline recognition means. Since there is provided recognition means designating means for designating whether or not to perform character recognition, the recognition means designated by the recognition means designating means can recognize handwritten characters input from the handwritten character input means.

【0020】また、請求項8に係る発明の文字認識装置
では、請求項7に記載の文字認識装置の構成に加えて、
前記第一の文字認識手段は、前記手書き文字入力手段か
ら入力された手書き文字の構成線の時系列の情報を用い
て手書き文字の認識を行うオンライン認識手段と、前記
手書き文字入力手段から入力された手書き文字の全体の
形を用いて手書き文字の認識を行うオフライン認識手段
と、前記オンライン認識手段と前記オフライン認識手段
の認識結果とに基づいて新たな認識候補を生成する認識
候補生成手段の少なくとも2つの手段を備え、そのうち
の何れにより前記手書き文字入力手段から入力された手
書き文字の文字認識を行うかを指定する認識手段指定手
段とを備え、前記認識手段指定手段によって指定された
認識手段で、前記手書き文字入力手段から入力された手
書き文字の認識を行うことを特徴とする構成となってい
る。
According to the character recognition device of the invention according to claim 8, in addition to the configuration of the character recognition device according to claim 7,
The first character recognition means is an online recognition means for recognizing a handwritten character using time-series information of constituent lines of the handwritten character input from the handwritten character input means, and an input from the handwritten character input means. At least an off-line recognition unit for recognizing a handwritten character using the entire shape of the handwritten character, and a recognition candidate generation unit for generating a new recognition candidate based on a recognition result of the on-line recognition unit and the off-line recognition unit. Recognizing means specifying which of the two means performs character recognition of the handwritten character input from the handwritten character input means, and a recognizing means specified by the recognizing means specifying means. , And recognizes handwritten characters input from the handwritten character input means.

【0021】この構成の文字認識装置では、請求項7に
記載の文字認識装置の作用に加えて、前記第一の文字認
識手段は、前記手書き文字入力手段から入力された手書
き文字の構成線の時系列の情報を用いて手書き文字の認
識を行うオンライン認識手段と、前記手書き文字入力手
段から入力された手書き文字の全体の形を用いて手書き
文字の認識を行うオフライン認識手段と、前記オンライ
ン認識手段と前記オフライン認識手段の認識結果とに基
づいて新たな認識候補を生成する認識候補生成手段の少
なくとも2つの手段を備え、そのうちの何れにより前記
手書き文字入力手段から入力された手書き文字の文字認
識を行うかを指定する認識手段指定手段とを備えている
ので、前記認識手段指定手段によって指定された認識手
段で、前記手書き文字入力手段から入力された手書き文
字の認識を行うことができる。
[0021] In the character recognition device having this configuration, in addition to the operation of the character recognition device according to claim 7, the first character recognition means is configured to determine a constituent line of a handwritten character input from the handwritten character input means. Online recognition means for recognizing handwritten characters using time-series information; offline recognition means for recognizing handwritten characters using the entire shape of the handwritten characters input from the handwritten character input means; Means for generating a new recognition candidate based on the recognition result of the off-line recognition means, and at least two of the recognition candidate generating means for generating a new recognition candidate. And recognition means designating means for designating whether or not to perform the handwriting by the recognition means designated by the recognition means designating means. It can be recognized handwriting input from the character input means.

【0022】また、請求項9に係る発明の文字認識装置
では、請求項7又は8に記載の文字認識装置の構成に加
えて、前記第一の文字認識手段は、前記手書き文字入力
手段から入力された手書き文字の構成線の時系列の情報
を用いて手書き文字の認識を行うオンライン認識手段
と、前記手書き文字入力手段から入力された手書き文字
の全体の形を用いて手書き文字の認識を行うオフライン
認識手段と、前記オンライン認識手段と前記オフライン
認識手段の認識結果とに基づいて新たな認識候補を生成
する認識候補生成手段と、前記オンライン認識手段ある
いは前記オフライン認識手段あるいは前記オンライン認
識手段及び前記オフライン認識手段の何れにより前記手
書き文字入力手段から入力された手書き文字の文字認識
を行うかを指定する認識手段指定手段とを備え、前記認
識手段指定手段によって指定された認識手段で、前記手
書き文字入力手段から入力された手書き文字の認識を行
うことを特徴とする構成となっている。
According to a ninth aspect of the present invention, in addition to the configuration of the character recognition apparatus according to the seventh or eighth aspect, the first character recognition means includes an input means for inputting from the handwritten character input means. Online recognition means for recognizing handwritten characters by using the time-series information of the constituent lines of the handwritten characters, and handwritten character recognition using the entire shape of the handwritten characters input from the handwritten character input means Offline recognition means, recognition candidate generation means for generating new recognition candidates based on the recognition results of the online recognition means and the offline recognition means, the online recognition means or the offline recognition means or the online recognition means and the Designating which of the offline recognition means performs character recognition of the handwritten character input from the handwritten character input means A identification means specifying means, the recognition means which is specified by said recognition means designating means has a configuration which is characterized in that the recognition of handwritten characters input from said handwriting input means.

【0023】この構成の文字認識装置では、請求項7又
は8に記載の文字認識装置の作用に加えて、前記第一の
文字認識手段は、前記手書き文字入力手段から入力され
た手書き文字の構成線の時系列の情報を用いて手書き文
字の認識を行うオンライン認識手段と、前記手書き文字
入力手段から入力された手書き文字の全体の形を用いて
手書き文字の認識を行うオフライン認識手段と、前記オ
ンライン認識手段と前記オフライン認識手段の認識結果
とに基づいて新たな認識候補を生成する認識候補生成手
段と、前記オンライン認識手段あるいは前記オフライン
認識手段あるいは前記オンライン認識手段及び前記オフ
ライン認識手段の何れにより前記手書き文字入力手段か
ら入力された手書き文字の文字認識を行うかを指定する
認識手段指定手段とを備えているので、前記認識手段指
定手段によって指定された認識手段で、前記手書き文字
入力手段から入力された手書き文字の認識を行うことが
できる。
[0023] In the character recognition device having this configuration, in addition to the operation of the character recognition device according to claim 7 or 8, the first character recognition means includes a configuration of a handwritten character input from the handwritten character input means. Online recognition means for recognizing handwritten characters using time-series information of lines, offline recognition means for recognizing handwritten characters using the entire shape of the handwritten characters input from the handwritten character input means, A recognition candidate generating unit that generates a new recognition candidate based on the recognition result of the online recognition unit and the offline recognition unit; and any of the online recognition unit or the offline recognition unit or the online recognition unit and the offline recognition unit. Recognition means designating means for designating whether to perform character recognition of handwritten characters input from the handwritten character input means Is provided with the, recognition means which is specified by said recognition means specifying means, it is possible to perform the recognition of handwritten characters input from said handwriting input means.

【0024】また、請求項10に係る発明の文字認識装
置では、請求項1乃至9の何れかに記載の文字認識装置
の構成に加えて、前記手書き文字入力手段から入力され
た手書き文字から認識された認識候補を表示する表示手
段を備えている。
According to a tenth aspect of the present invention, in addition to the configuration of the character recognition apparatus according to any one of the first to ninth aspects, the character recognition apparatus recognizes a handwritten character input from the handwritten character input means. Display means for displaying the recognized recognition candidates.

【0025】この構成の文字認識装置では、請求項1乃
至9の何れかに記載の文字認識装置の作用に加えて、表
示手段により前記手書き文字入力手段から入力された手
書き文字から認識された認識候補を表示することができ
る。
According to the character recognition device having this configuration, in addition to the operation of the character recognition device according to any one of claims 1 to 9, a recognition unit that recognizes a handwritten character input from the handwritten character input unit by the display unit. Candidates can be displayed.

【0026】[0026]

【発明の実施の形態】以下、本発明の一実施の形態につ
いて図面を参照して説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0027】図1は、文字認識装置1の概略構成を示す
ブロック図であり、図2は、手書き文字入力用タブレッ
ト4の平面図であり、図3は、表示装置6の平面図であ
る。
FIG. 1 is a block diagram showing a schematic configuration of the character recognition device 1, FIG. 2 is a plan view of a handwritten character input tablet 4, and FIG. 3 is a plan view of a display device 6.

【0028】図1に示すように、本発明の第一の実施の
形態の文字認識装置1は、文字認識装置1の制御を司る
CPU2にデータを一時的に記憶するRAM8と、CP
U2で実行されるプログラム等を記憶したROM7と、
CPU2へのデータの入出力を仲介するI/Oインター
フェース3とが接続されている。また、I/Oインター
フェース3には、ペン5によって手書きされる文字を入
力する手書き文字入力用タブレット4と、液晶表示装置
から構成された表示装置6とが接続されている。
As shown in FIG. 1, a character recognition device 1 according to a first embodiment of the present invention comprises a RAM 8 for temporarily storing data in a CPU 2 for controlling the character recognition device 1,
A ROM 7 storing a program to be executed in U2,
An I / O interface 3 that mediates input / output of data to / from the CPU 2 is connected. The I / O interface 3 is connected to a handwritten character input tablet 4 for inputting characters handwritten by the pen 5 and a display device 6 including a liquid crystal display device.

【0029】次に、ROM7の記憶エリアについて説明
する。ROM7には、図1に示すように、文字切出しプ
ログラム記憶エリア7aと、オンライン認識プログラム
記憶エリア7bと、オンライン認識辞書記憶エリア7c
と、オフライン認識プログラム記憶エリア7dと、オフ
ライン認識辞書記憶エリア7e、7fと、認識結果統合
プログラム記憶エリア7gと、一次認識結果可否判定閾
値記憶エリア7hが設けられている。
Next, the storage area of the ROM 7 will be described. As shown in FIG. 1, the ROM 7 has a character extraction program storage area 7a, an online recognition program storage area 7b, and an online recognition dictionary storage area 7c.
, An off-line recognition program storage area 7d, off-line recognition dictionary storage areas 7e and 7f, a recognition result integrated program storage area 7g, and a primary recognition result availability determination threshold storage area 7h.

【0030】尚、文字切出しプログラム記憶エリア7a
には、手書き文字入力用タブレット4から入力されるデ
ータから一文字を識別して一文字のデータとして切り出
す処理をCPU2に実行させる文字切出しプログラムが
記憶されている。また、オンライン認識プログラム記憶
エリア7bには、手書き文字入力用タブレット4に入力
された文字の構成線である一つの線(ストローク)を認
識単位とし、ストロークの入力順の時系列を用いて認識
を行うオンライン認識処理をCPU2に実行させるオン
ライン認識プログラムが記憶されている。さらに、オン
ライン認識辞書記憶エリア7cには、オンライン認識処
理で参照されるオンライン認識辞書が記憶されている。
このオンライン認識辞書では、文字毎に当該文字の全ス
トロークが記憶されている。
The character extraction program storage area 7a
Stores a character extraction program for causing the CPU 2 to execute a process of identifying one character from data input from the handwritten character input tablet 4 and extracting the data as one character data. In the online recognition program storage area 7b, one line (stroke), which is a constituent line of a character input to the handwritten character input tablet 4, is used as a recognition unit, and recognition is performed using a time series of the stroke input order. An online recognition program that causes the CPU 2 to execute the online recognition process to be performed is stored. Further, the online recognition dictionary storage area 7c stores an online recognition dictionary referred to in the online recognition processing.
In this online recognition dictionary, all strokes of the character are stored for each character.

【0031】また、オフライン認識プログラム記憶エリ
ア7dには、手書き文字入力用タブレット4に入力され
た一文字の文字全体の形を用いて認識を行うオフライン
認識処理をCPU2に実行させるオンライン認識プログ
ラムが記憶されている。さらに、オフライン認識辞書記
憶エリア7eには、オフライン認識処理で参照される一
文字の文字全体の形のデータが16次元(16個)の特
徴データからなるオフライン認識辞書が記憶されてい
る。また、オフライン認識辞書記憶エリア7fには、オ
フライン認識処理で参照される一文字の文字全体の形の
データが64次元(64個)の特徴データからなるオフ
ライン認識辞書が記憶されている。認識結果統合プログ
ラム記憶エリア7gには、オンライン認識及びオフライ
ン認識の結果を統合する処理をCPU2に実行させる認
識結果統合プログラムが記憶されている。また、一次認
識結果可否判定閾値記憶エリア7hには、後述する一次
認識の結果を判定するための処理(S10)をCPU2
が行うときに判定の基準となる閾値が記憶されている。
In the off-line recognition program storage area 7d, there is stored an on-line recognition program for causing the CPU 2 to execute an off-line recognition process for recognizing the whole character of one character input to the handwritten character input tablet 4. ing. Further, in the offline recognition dictionary storage area 7e, an offline recognition dictionary in which data of the shape of one character to be referred to in the offline recognition processing is composed of 16-dimensional (16) feature data is stored. In addition, the offline recognition dictionary storage area 7f stores an offline recognition dictionary in which data of the shape of one character referred to in the offline recognition processing is composed of 64-dimensional (64) feature data. The recognition result integration program storage area 7g stores a recognition result integration program that causes the CPU 2 to execute processing for integrating the results of online recognition and offline recognition. In the primary recognition result availability determination threshold storage area 7h, a process (S10) for determining a primary recognition result, which will be described later, is performed by the CPU 2.
Is stored as a threshold value for the determination.

【0032】次に、RAM8の記憶エリアについて説明
する。RAM8には、図1に示すように、手書き文字入
力用タブレット4に入力されたストロークを記憶する入
力ストロークデータ記憶エリア8aと、手書き文字入力
用タブレット4に入力された文字をオンライン認識した
結果を記憶するオンライン認識結果記憶エリア8bと、
手書き文字入力用タブレット4に入力された文字をオフ
ライン認識した結果を記憶するオフライン認識結果記憶
エリア8cと、手書き文字入力用タブレット4に入力さ
れた文字をオンライン認識及びオフライン認識を用いて
認識した結果を記憶するハイブリッド認識結果記憶エリ
ア8dと、CPU2が行う各種の処理でデータを記憶す
るワーキングエリア8eとが設けられている。
Next, the storage area of the RAM 8 will be described. As shown in FIG. 1, the RAM 8 stores an input stroke data storage area 8a for storing strokes input to the handwritten character input tablet 4, and a result of online recognition of characters input to the handwritten character input tablet 4. An online recognition result storage area 8b to be stored;
Offline recognition result storage area 8c for storing the result of off-line recognition of characters input to handwritten character input tablet 4, and the result of recognizing characters input to handwritten character input tablet 4 using online recognition and offline recognition , And a working area 8e for storing data in various processes performed by the CPU 2.

【0033】次に、図2を参照して、手書き文字入力用
タブレット4の構造を説明する。図2に示すように、手
書き文字入力用タブレット4は横長の長方形に形成さ
れ、手書き文字入力用タブレット4の表面には、手書き
文字を入力する入力エリアとして、第一入力エリア4
a、第二入力エリア4b、第三入力エリア4cの三つの
入力エリアが設けられており、第一入力エリア4a、第
二入力エリア4b、第三入力エリア4cは、各々縦が横
よりやや長い長方形に形成され、三つが隣接して配置さ
れている。この第一入力エリア4a、第二入力エリア4
b、第三入力エリア4cの何れか入力エリアにペン5に
より文字を記入すると入力されたストロークのデータが
I/Oインターフェース3を介してCPU2に送られる
ようになっている。
Next, the structure of the handwritten character input tablet 4 will be described with reference to FIG. As shown in FIG. 2, the handwritten character input tablet 4 is formed in a horizontally long rectangle, and a first input area 4 is provided on the surface of the handwritten character input tablet 4 as an input area for inputting handwritten characters.
a, a second input area 4b, and a third input area 4c are provided. The first input area 4a, the second input area 4b, and the third input area 4c are each slightly longer in length than in width. It is formed in a rectangle, and three are arranged adjacently. The first input area 4a and the second input area 4
(b) When characters are written in any of the input areas of the third input area 4c with the pen 5, the input stroke data is sent to the CPU 2 via the I / O interface 3.

【0034】また、手書き文字入力用タブレット4の左
上部には、一次認識のモードを指定する認識モードスイ
ッチ4d、4e、4fが設けられている。認識モードス
イッチ4dをペン5で押下すると、手書き文字入力用タ
ブレット4に入力される手書き文字の一次認識として
は、後述するオンライン認識(図5のS4)及び後述す
る粗いオフライン認識(図5のS6)の両方を行うよう
に認識モードがRAMワーキングエリア8eに記憶され
る。また、認識モードスイッチ4eをペン5で押下する
と、手書き文字入力用タブレット4に入力される手書き
文字の一次認識としては、後述するオンライン認識(図
5のS4)のみ行うように認識モードがRAMワーキン
グエリア8eに記憶される。また、認識モードスイッチ
4fをペン5で押下すると、手書き文字入力用タブレッ
ト4に入力される手書き文字の一次認識としては、後述
する粗いオフライン認識(図5のS6)のみ行うように
認識モードがRAMワーキングエリア8eに記憶され
る。尚、手書き文字入力用タブレット4は、液晶を組み
込んで、入力したストロークが表示される液晶タブレッ
トを用いても良い。
Further, recognition mode switches 4d, 4e and 4f for designating a primary recognition mode are provided at the upper left of the handwriting character input tablet 4. When the recognition mode switch 4d is pressed with the pen 5, the primary recognition of the handwritten characters input to the handwritten character input tablet 4 includes online recognition described later (S4 in FIG. 5) and coarse offline recognition described later (S6 in FIG. 5). The recognition mode is stored in the RAM working area 8e so as to perform both. When the recognition mode switch 4e is pressed with the pen 5, the recognition mode is set to RAM working so that only online recognition (S4 in FIG. 5) described later is performed as primary recognition of handwritten characters input to the handwritten character input tablet 4. It is stored in the area 8e. When the recognition mode switch 4f is pressed with the pen 5, the recognition mode is set to RAM so that only coarse offline recognition (S6 in FIG. 5) described later is performed as primary recognition of handwritten characters input to the handwritten character input tablet 4. It is stored in the working area 8e. Note that the handwritten character input tablet 4 may incorporate a liquid crystal and use a liquid crystal tablet on which an input stroke is displayed.

【0035】上記の手書き文字入力用タブレット4の内
部は、手書き文字入力用タブレット4の表面と平行に数
100Ωの抵抗を持つ導電性フィルムがわずかの隙間を
あけて二枚張ってあり、手書き文字入力用タブレット4
の表面をペン5の先端で押すと二枚の導電性フィルムが
接触してX座標及びY座標が読み取られる周知の構造と
なっている。
The inside of the handwritten character input tablet 4 is provided with two conductive films having a resistance of several hundred Ω in parallel with the surface of the handwritten character input tablet 4 with a slight gap therebetween. Tablet for input 4
When the surface of is pressed by the tip of the pen 5, the two conductive films come into contact with each other and the X coordinate and the Y coordinate are read.

【0036】次に、図3を参照して、表示装置6を構造
を説明する。表示装置6は横長の長方形に構成され、表
示装置6の表面には、液晶表示装置(LCD)から構成
された表示部6aが設けられている。表示部6aには、
認識された文字が入力順に表示されるようになってい
る。
Next, the structure of the display device 6 will be described with reference to FIG. The display device 6 is formed in a horizontally long rectangle, and a display unit 6a formed of a liquid crystal display device (LCD) is provided on a surface of the display device 6. The display unit 6a includes:
Recognized characters are displayed in the order of input.

【0037】以上のように構成された文字認識装置1の
動作について、図1乃至図4を参照して説明する。図4
は、文字認識装置1が行う文字認識処理のフローチャー
トである。
The operation of the character recognition device 1 configured as described above will be described with reference to FIGS. FIG.
5 is a flowchart of a character recognition process performed by the character recognition device 1.

【0038】以下、使用者がペン5を用いて、「文」と
いう文字を入力した場合を例にして説明する。ここで
は、手書き文字入力用タブレット4の認識モードスイッ
チ4dがペン5で押下され、手書き文字入力用タブレッ
ト4に入力される手書き文字の一次認識としては、後述
するオンライン認識及び後述する粗いオフライン認識の
両方を行うように認識モードがセットされているものと
する。まず、使用者がペン5を用いて、手書き文字入力
用タブレット4の第一入力エリア4a乃至第三入力エリ
ア4cの入力エリアの何れかに「文」の文字を入力する
と(S1)、「文」の字が手書きされた一筆毎のストロ
ークが時系列の情報と共にRAM8の入力ストロークデ
ータ記憶エリア8aに記憶される(S2)。
Hereinafter, a case where the user inputs a character "sentence" using the pen 5 will be described as an example. Here, the recognition mode switch 4d of the handwritten character input tablet 4 is depressed with the pen 5, and the primary recognition of the handwritten characters input to the handwritten character input tablet 4 includes online recognition described later and coarse offline recognition described later. It is assumed that the recognition mode is set to perform both. First, when the user uses the pen 5 to enter a character of “sentence” in any of the input areas of the first input area 4a to the third input area 4c of the tablet 4 for inputting handwritten characters (S1), The stroke of each stroke in which the character "" is handwritten is stored in the input stroke data storage area 8a of the RAM 8 together with the time-series information (S2).

【0039】このときに、ROM7の文字切出しプログ
ラム記憶エリア7aに記憶されている文字切出しプログ
ラムに従って、一文字の入力が終了したか否かを判断す
る(S3)。一文字の入力が終了か否かの判断は、例え
ば、次のストロークの入力までの時間が一定時間(一例
として、「1秒間」や「2秒間」)開いた場合や第一入
力エリア4aに入力していたものが第二入力エリア4b
に入力を始めたり、第二入力エリア4bに入力していた
ものが第三入力エリア4cに入力を始めたりした場合等
に、一文字の入力が終了したと判断する(S3:YE
S)。一文字の入力が終了していない場合には(S3:
NO)、S1の処理に戻る。
At this time, it is determined according to the character extraction program stored in the character extraction program storage area 7a of the ROM 7 whether or not the input of one character has been completed (S3). The determination as to whether or not the input of one character is completed may be made, for example, when the time until the input of the next stroke is opened for a fixed time (for example, “1 second” or “2 seconds”) or when the input is performed in the first input area 4a. What was done is the second input area 4b
It is determined that the input of one character has been completed, for example, when input has been started in the second input area 4b or when input has been started in the third input area 4c (S3: YE).
S). If the input of one character has not been completed (S3:
NO), and return to the process of S1.

【0040】一文字の入力が終了した場合には(S3:
YES)、次いで、オンライン認識を行う(S4)。具
体的には、入力ストロークデータ記憶エリア8aに記憶
されたストロークの情報に基づいて、RAM7のオンラ
イン認識辞書記憶エリア7cに記憶されているオンライ
ン認識辞書を参照してオンライン認識を行う(S4)。
ここでは、CPU2がROM7のオンライン認識プログ
ラム記憶エリア7bに記憶されたオンライン認識プログ
ラムを実行することにより、オンライン認識辞書に記憶
されているストロークの時系列の情報と入力ストローク
データ記憶エリア8aに記憶されたストロークの時系列
の情報とを比較することにより文字を同定する(S
4)。
When the input of one character is completed (S3:
Then, online recognition is performed (S4). Specifically, based on the stroke information stored in the input stroke data storage area 8a, online recognition is performed with reference to the online recognition dictionary stored in the online recognition dictionary storage area 7c of the RAM 7 (S4).
Here, the CPU 2 executes the online recognition program stored in the online recognition program storage area 7b of the ROM 7, thereby storing the time-series information of strokes stored in the online recognition dictionary and the input stroke data storage area 8a. The character is identified by comparing the time series information of the stroke
4).

【0041】例えば、手書き文字の「文」の入力に対し
て、S4のオンライン認識を行った結果、第一位の候補
として「六」、第二位の候補として「文」、第三位の候
補として「父」と言う候補が生成されれば、この認識結
果をRAM8のオンライン認識結果記憶エリア8bに記
憶する(S5)。
For example, as a result of performing online recognition in S4 for the input of a “sentence” of handwritten characters, “six” as a first candidate, “sentence” as a second candidate, and a third If the candidate "father" is generated as a candidate, the recognition result is stored in the online recognition result storage area 8b of the RAM 8 (S5).

【0042】次に、粗いオフライン認識を行う(S
6)。具体的には、入力ストロークデータ記憶エリア8
aに記憶されたストロークの情報に基づいて、ROM7
のオフライン認識辞書記憶エリア7eに記憶されている
16次元のオフライン認識辞書を参照して粗いオフライ
ン認識を行う(S6)。ここでは、CPU2がRAM7
のオフライン認識プログラム記憶エリア7dに記憶され
たオフライン認識プログラムを実行することにより、1
6次元のオフライン認識辞書に記憶されている文字の形
状の情報と入力ストロークデータ記憶エリア8aに記憶
されたストロークから構成される文字の形状の情報とを
比較することにより文字を同定する(S6)。
Next, rough offline recognition is performed (S
6). Specifically, the input stroke data storage area 8
a based on the stroke information stored in the
The coarse offline recognition is performed with reference to the 16-dimensional offline recognition dictionary stored in the offline recognition dictionary storage area 7e of the first step (S6). Here, the CPU 2 is the RAM 7
By executing the off-line recognition program stored in the off-line recognition program storage area 7d of
The character is identified by comparing the information on the shape of the character stored in the six-dimensional off-line recognition dictionary with the information on the shape of the character composed of the strokes stored in the input stroke data storage area 8a (S6). .

【0043】ここで、「粗いオフライン認識」と称して
いるのは、オフライン認識に使用する文字の形状の特徴
データが16次元(16個)の特徴データから構成され
ており、後述する64次元(64個)の特徴データを用
いる詳細オフライン認識に比べて、認識処理の速度は速
いが、認識精度が低くなっているからである。粗いオフ
ライン認識(S6)の結果、例えば、手書き文字の
「文」の入力に対して、第一位の候補として「交」、第
二位の候補として「文」、第三位の候補として「之」と
言う候補が生成されれば、この認識結果をRAM8のオ
フライン認識結果記憶エリア8cに記憶する(S7)。
Here, what is referred to as "coarse offline recognition" is that the characteristic data of the character shape used for offline recognition is composed of 16-dimensional (16) characteristic data, This is because the recognition processing speed is faster than the detailed off-line recognition using (64) feature data, but the recognition accuracy is low. As a result of the coarse offline recognition (S6), for example, in response to the input of the "sentence" of handwritten characters, "interchange" as the first candidate, "sentence" as the second candidate, and "sentence" as the third candidate If the candidate "no" is generated, the recognition result is stored in the off-line recognition result storage area 8c of the RAM 8 (S7).

【0044】次いで、オンライン認識結果記憶エリア8
bに記憶されているオンライン認識結果の候補とオフラ
イン認識結果記憶エリア8cに記憶されているオフライ
ン認識結果の候補とを統合する(S8)。ここでは、ま
ず、オンライン認識結果及び粗いオフライン認識結果の
それぞれに認識スコアをつける。具体的には、認識され
た候補文字と認識に用いたデータとの類似度(距離)を
「0〜100」の値で正規化した値を用いる。例えば、
オンライン認識では、認識スコアが「100」に近いほ
ど、入力ストロークデータ記憶エリア8aに記憶された
ストロークの時系列の情報と認識候補の文字のストロー
クの時系列の情報の一致率が高くなり、認識スコアが
「0」に近いほど、入力ストロークデータ記憶エリア8
aに記憶されたストロークの時系列の情報と認識候補の
文字のストロークの時系列の情報の一致率が低くなる。
また、オフライン認識では、認識スコアが「100」に
近いほど、入力ストロークデータ記憶エリア8aに記憶
されたストロークから構成される文字の形状の特徴情報
と認識候補の文字の形状の特徴情報の一致率が高くな
り、認識スコアが「0」に近いほど、入力ストロークデ
ータ記憶エリア8aに記憶されたストロークから構成さ
れる文字の形状の特徴情報と認識候補の文字の形状の特
徴情報の一致率が低くなる。
Next, the online recognition result storage area 8
The candidate of the online recognition result stored in b and the candidate of the offline recognition result stored in the offline recognition result storage area 8c are integrated (S8). Here, first, a recognition score is given to each of the online recognition result and the coarse offline recognition result. Specifically, a value obtained by normalizing the similarity (distance) between the recognized candidate character and the data used for recognition with a value of “0 to 100” is used. For example,
In online recognition, the closer the recognition score is to "100", the higher the matching rate between the time-series information of the stroke stored in the input stroke data storage area 8a and the time-series information of the stroke of the recognition candidate character increases. The closer the score is to “0”, the more the input stroke data storage area 8
The coincidence rate between the time-series information of the stroke stored in “a” and the time-series information of the stroke of the character of the recognition candidate becomes low.
In the offline recognition, the closer the recognition score is to “100”, the higher the matching rate between the characteristic information of the shape of the character composed of the strokes stored in the input stroke data storage area 8a and the characteristic information of the character shape of the recognition candidate. Is higher, and the closer the recognition score is to “0”, the lower the matching rate between the characteristic information of the shape of the character composed of the strokes stored in the input stroke data storage area 8a and the characteristic information of the character shape of the recognition candidate is lower. Become.

【0045】このようにして、認識スコアを付けたオン
ライン認識結果の候補が例えば、「六(90)」、「文
(85)」、「父(60)」となり、粗いオフライン認
識結果の候補が、例えば、「交(85)」、「文(8
0)」、「之(40)」となる。そして、両方の認識ス
コアを文字毎に足し合わせて、合計認識スコアの高い順
に並べると「文(165)」、「六(90)」、「交
(85)」、「父(60)」、「之(40)」となり、
この統合結果を「文」、「六」、「交」、「父」、
「之」の順で、それぞれの合計認識スコアと共にハイブ
リッド認識結果記憶エリア8dに記憶する(S9)。
In this way, the candidates for the online recognition result with the recognition score are, for example, “six (90)”, “sentence (85)”, and “father (60)”. For example, "intersection (85)", "sentence (8
0) "and" no (40) ". Then, when both recognition scores are added for each character and arranged in descending order of the total recognition score, “sentence (165)”, “six (90)”, “interchange (85)”, “father (60)”, "No (40)"
The result of this integration is “sentence”, “six”, “interchange”, “father”,
In the order of "no", the information is stored in the hybrid recognition result storage area 8d together with the respective total recognition scores (S9).

【0046】次に、類似度が閾値以上か否かを判断する
(S10)。このS10の判断処理では、S8の認識結
果統合処理により統合され、ハイブリッド認識結果記憶
エリア8dに記憶された統合結果候補の文字の合計認識
スコア(類似度)が、ROM7の一次認識結果可否判定
閾値記憶エリア7hに記憶されている所定の閾値以上か
否かを判断する。例えば、一次認識結果可否判定閾値記
憶エリア7hに記憶されている所定の閾値が「160」
であれば、その閾値以上の合計認識スコア(類似度)の
統合結果の候補が(S10:YES)、RAM8の表示
バッファとして機能するワーキングエリア8eに記憶さ
れる(S11)。ここでは、ハイブリッド認識結果記憶
エリア8dに記憶された統合結果の候補文字の第一位で
ある「文」の合計認識スコア(類似度)が「165」で
あり、閾値の「160」以上であるので(S10:YE
S)、「文」の文字がワーキングエリア8eに記憶され
(S11)、図3に示すように表示装置6の表示部6a
に表示される(S15)。そして、手書き文字認識処理
は終了する。
Next, it is determined whether or not the similarity is equal to or larger than a threshold (S10). In the determination process of S10, the total recognition score (similarity) of the characters of the integration result candidates integrated by the recognition result integration process of S8 and stored in the hybrid recognition result storage area 8d is determined by the primary recognition result availability determination threshold of the ROM 7. It is determined whether the value is equal to or greater than a predetermined threshold value stored in the storage area 7h. For example, the predetermined threshold stored in the primary recognition result availability determination threshold storage area 7h is “160”.
If, the candidate of the integration result of the total recognition score (similarity) equal to or larger than the threshold is stored in the working area 8e functioning as the display buffer of the RAM 8 (S11: YES) (S11). Here, the total recognition score (similarity) of “sentence”, which is the first place of the candidate character of the integration result stored in the hybrid recognition result storage area 8d, is “165” and is equal to or more than the threshold “160”. (S10: YE
S), the character of "sentence" is stored in the working area 8e (S11), and the display unit 6a of the display device 6 as shown in FIG.
Is displayed (S15). Then, the handwritten character recognition processing ends.

【0047】S10の判断処理で、S8の認識結果統合
処理により統合され、ハイブリッド認識結果記憶エリア
8dに記憶された統合結果候補の文字の合計認識スコア
が、ROM7の一次認識結果可否判定閾値記憶エリア7
hに記憶されている所定の閾値(例えば、「160」)
未満の場合には、認識の精度が、悪い、即ち信頼度が低
いと考えられるので、64次元(64個)の特徴データ
を用いる詳細オフライン認識を行う(S12)。
In the determination processing of S10, the total recognition score of the characters of the integration result candidates integrated by the recognition result integration processing of S8 and stored in the hybrid recognition result storage area 8d is stored in the primary recognition result availability determination threshold storage area of the ROM 7. 7
The predetermined threshold value stored in h (for example, “160”)
If it is less than 1, it is considered that the recognition accuracy is poor, that is, the reliability is low. Therefore, detailed offline recognition using 64-dimensional (64) feature data is performed (S12).

【0048】具体的には、ハイブリッド認識結果記憶エ
リア8dに記憶された統合結果候補の文字の内、合計認
識スコア(類似度)が高いものから所定の順位までのも
のを入力ストロークデータ記憶エリア8aに記憶された
ストロークの情報に基づいて、ROM7のオフライン認
識辞書記憶エリア7fに記憶されている64次元のオフ
ライン認識辞書を参照して詳細オフライン認識を行う
(S12)。
More specifically, of the characters of the integration result candidates stored in the hybrid recognition result storage area 8d, those from the highest total recognition score (similarity) to the predetermined order are input stroke data storage area 8a. The detailed off-line recognition is performed with reference to the 64-dimensional off-line recognition dictionary stored in the off-line recognition dictionary storage area 7f of the ROM 7 based on the stroke information stored in (1) (S12).

【0049】この詳細オフライン認識処理(S12)で
は、CPU2がRAM7のオフライン認識プログラム記
憶エリア7dに記憶されたオフライン認識プログラムを
実行することにより、64次元のオフライン認識辞書に
記憶されている文字の形状の情報と入力ストロークデー
タ記憶エリア8aに記憶されたストロークから構成され
る文字の形状の情報とを比較することにより文字を同定
する(S12)。この詳細オフライン認識は、64次元
(64個)の特徴データを用いてオフライン認識を行う
ために前記の粗いオフライン認識に比べて4倍の特徴デ
ータによりオフライン認識を行うことができ、認識処理
の時間が粗いオフライン認識より長くなるが、認識精度
が高くなるという特徴がある。
In the detailed offline recognition process (S12), the CPU 2 executes the offline recognition program stored in the offline recognition program storage area 7d of the RAM 7 to obtain the shape of the character stored in the 64-dimensional offline recognition dictionary. The character is identified by comparing this information with the information on the shape of the character composed of the stroke stored in the input stroke data storage area 8a (S12). In this detailed offline recognition, since offline recognition is performed using 64-dimensional (64) feature data, offline recognition can be performed using feature data four times larger than the coarse offline recognition described above. Is longer than coarse offline recognition, but has the characteristic that recognition accuracy is high.

【0050】詳細オフライン認識処理(S12)が終了
すると、その認識結果をオフライン認識結果記憶エリア
8cに記憶し(S13)、オフライン認識結果記憶エリ
ア8cに記憶された認識結果の候補文字が、RAM8の
表示バッファとして機能するワーキングエリア8eに記
憶され(S14)、図3に示すように表示装置6の表示
部6aに表示される(S15)。そして、手書き文字認
識処理は終了する。
When the detailed off-line recognition processing (S12) is completed, the recognition result is stored in the off-line recognition result storage area 8c (S13), and the candidate character of the recognition result stored in the off-line recognition result storage area 8c is stored in the RAM 8 It is stored in the working area 8e functioning as a display buffer (S14), and is displayed on the display unit 6a of the display device 6 as shown in FIG. 3 (S15). Then, the handwritten character recognition processing ends.

【0051】以上説明したように、本発明の第一の実施
の形態である文字認識装置1では、始めに、一次認識と
して、オンライン認識と粗いオフライン認識とを行うの
で、従来のハイブリッド認識のものよりも処理速度を速
めることができる。また、オンライン認識と粗いオフラ
イン認識とを統合した結果の類似度が所定の閾値以上で
有れば、認識精度が高いと判断して、そのまま統合した
認識候補を表示するので、認識処理の速度を高めながら
も認識結果の精度を一定に保つことができる。また、オ
ンライン認識と粗いオフライン認識とを統合した結果の
類似度が所定の閾値未満で有れば、認識精度が低いとし
て、再度、詳細オフライン認識処理を行うので、認識結
果の精度が低下してしまうことがない。
As described above, in the character recognition device 1 according to the first embodiment of the present invention, first, online recognition and coarse offline recognition are performed as primary recognition. Processing speed can be increased. Also, if the similarity of the result of integrating the online recognition and the coarse offline recognition is equal to or greater than a predetermined threshold, it is determined that the recognition accuracy is high, and the integrated recognition candidates are displayed as they are, so that the speed of the recognition processing is reduced. The accuracy of the recognition result can be kept constant while increasing. In addition, if the similarity of the result of integrating the online recognition and the coarse offline recognition is less than a predetermined threshold, the recognition accuracy is determined to be low, and the detailed offline recognition process is performed again. There is no end.

【0052】次に、図5に示すフローチャートを参照し
て、本発明の第二実施の形態について説明する。図5
は、第二実施の形態の文字認識装置の文字認識処理のフ
ローチャートである。この第二実施の形態では、上記の
第一の実施の形態とは、図5に示す文字認識処理が異な
るだけで、他の機械的及び電気構成は全く同じであるの
で、文字認識装置1の各構成の符号を引用して説明す
る。
Next, a second embodiment of the present invention will be described with reference to the flowchart shown in FIG. FIG.
9 is a flowchart of a character recognition process of the character recognition device according to the second embodiment. The second embodiment differs from the first embodiment only in the character recognition process shown in FIG. 5 and is completely the same in other mechanical and electrical configurations. Description will be made with reference to the reference numerals of the respective components.

【0053】この第二実施の形態では、手書き文字入力
用タブレット4の認識モードスイッチ4eがペン5で押
下され、手書き文字入力用タブレット4に入力される手
書き文字の一次認識としては、オンライン認識のみを行
うように認識モードがセットされているものとする。ま
ず、使用者がペン5を用いて、手書き文字入力用タブレ
ット4の第一入力エリア4a乃至第三入力エリア4cの
入力エリアの何れかに「文」の文字を文字を入力すると
(S21)、「文」の字が手書きされた一筆毎のストロ
ークを時系列の情報と共にRAM8の入力ストロークデ
ータ記憶エリア8aに記憶する(S22)。このとき
に、ROM7の文字切出しプログラム記憶エリアに記憶
されている文字切出しプログラムに従って、一文字の入
力が終了したか否かを判断する(S23)。一文字の入
力が終了か否かの判断は、例えば、次のストロークの入
力までの時間が一定時間(一例として、「1秒間」や
「2秒間」)開いた場合や第一入力エリア4aに入力し
ていたものが第二入力エリア4bに入力を始めたり、第
二入力エリア4bに入力していたものが第三入力エリア
4cに入力を始めたりした場合等に、一文字の入力が終
了したと判断する(S23:YES)。一文字の入力が
終了していない場合には(S23:NO)、S21の処
理に戻る。
In the second embodiment, the recognition mode switch 4e of the handwritten character input tablet 4 is depressed with the pen 5, and the primary recognition of the handwritten characters input to the handwritten character input tablet 4 is only online recognition. It is assumed that the recognition mode is set so as to perform First, when the user uses the pen 5 to input a "sentence" character into any of the first to third input areas 4a to 4c of the handwritten character input tablet 4 (S21). The stroke of each one-stroke handwritten with the word "sentence" is stored in the input stroke data storage area 8a of the RAM 8 together with the time-series information (S22). At this time, it is determined whether or not the input of one character has been completed according to the character extraction program stored in the character extraction program storage area of the ROM 7 (S23). The determination as to whether or not the input of one character is completed may be made, for example, when the time until the input of the next stroke is opened for a fixed time (for example, “1 second” or “2 seconds”) or when the input is performed in the first input area 4a. It is assumed that the input of one character is completed, for example, when the input has been started in the second input area 4b, or the input in the second input area 4b has started input in the third input area 4c. A determination is made (S23: YES). If the input of one character has not been completed (S23: NO), the process returns to S21.

【0054】一文字の入力が終了した場合には(S2
3:YES)、次いで、オンライン認識を行う(S2
4)。具体的には、入力ストロークデータ記憶エリア8
aに記憶されたストロークの情報に基づいて、RAM7
のオンライン認識辞書記憶エリア7cに記憶されている
オンライン認識辞書を参照してオンライン認識を行う
(S24)。ここでは、CPU2がROM7のオンライ
ン認識プログラム記憶エリア7bに記憶されたオンライ
ン認識プログラムを実行することにより、オンライン認
識辞書に記憶されているストロークの時系列の情報と入
力ストロークデータ記憶エリア8aに記憶されたストロ
ークの時系列の情報とを比較することにより文字を同定
する(S24)。
When the input of one character is completed (S2
3: YES), and then perform online recognition (S2)
4). Specifically, the input stroke data storage area 8
a based on the stroke information stored in the RAM 7
The online recognition is performed with reference to the online recognition dictionary stored in the online recognition dictionary storage area 7c (S24). Here, the CPU 2 executes the online recognition program stored in the online recognition program storage area 7b of the ROM 7, thereby storing the time-series information of strokes stored in the online recognition dictionary and the input stroke data storage area 8a. Characters are identified by comparing them with the time-series information of the strokes (S24).

【0055】例えば、手書き文字の「文」の入力に対し
て、S24のオンライン認識を行った結果、第一位の候
補として「六」、第二位の候補として「文」、第三位の
候補として「父」と言う候補が生成されれば、この認識
結果をRAM8のオンライン認識結果記憶エリア8bに
記憶する(S25)。
For example, as a result of performing online recognition in S24 for the input of a handwritten character “sentence”, “six” as a first candidate, “sentence” as a second candidate, and a third If the candidate "father" is generated as a candidate, the recognition result is stored in the online recognition result storage area 8b of the RAM 8 (S25).

【0056】次に、オンライン認識結果記憶エリア8b
に記憶されているオンライン認識結果の認識スコアを求
める(S26)。具体的には、認識された候補文字と認
識に用いたデータとの類似度(距離)を0〜100の値
で正規化した値を用いる。例えば、オンライン認識で
は、入力ストロークデータ記憶エリア8aに記憶された
ストロークの時系列の情報と認識候補の文字のストロー
クの時系列の情報が完全に一致していれば、認識スコア
は「100」となり、全く一致していなければ、認識ス
コアは、「0」となる。このようにして、認識スコアを
付けたオンライン認識結果の候補が例えば、「六(6
5)」、「文(60)」、「父(55)」となる(2
6)。
Next, the online recognition result storage area 8b
Then, a recognition score of the online recognition result stored in is stored (S26). Specifically, a value obtained by normalizing the similarity (distance) between the recognized candidate character and the data used for recognition with a value of 0 to 100 is used. For example, in online recognition, if the time-series information of the stroke stored in the input stroke data storage area 8a and the time-series information of the stroke of the recognition candidate character completely match, the recognition score becomes “100”. If they do not match at all, the recognition score is “0”. In this way, the candidate of the online recognition result with the recognition score is, for example, “6 (6
5) "," sentence (60) ", and" father (55) "(2
6).

【0057】次に、類似度が閾値以上か否かを判断する
(S27)。具体的には、S26で求めた認識スコア
が、ROM7の一次認識結果可否判定閾値記憶エリア7
hに記憶されている所定の閾値以上か否かを判断する
(S27)。例えば、認識スコアが、一次認識結果可否
判定閾値記憶エリア7hに記憶されている所定の閾値
「80」以上であれば(S27:YES)、その閾値以
上の統合結果の候補が、RAM8の表示バッファとして
機能するワーキングエリア8eに記憶され(S28)、
表示装置6の表示部6aに表示される(S29)。
Next, it is determined whether or not the similarity is equal to or greater than a threshold (S27). Specifically, the recognition score obtained in S26 is stored in the primary recognition result availability determination threshold storage area 7 in the ROM 7.
It is determined whether the value is equal to or greater than a predetermined threshold value stored in h (S27). For example, if the recognition score is equal to or greater than the predetermined threshold “80” stored in the primary recognition result availability determination threshold storage area 7h (S27: YES), candidates for the integration result equal to or greater than the threshold are displayed in the display buffer of the RAM 8. Is stored in the working area 8e functioning as (S28)
It is displayed on the display section 6a of the display device 6 (S29).

【0058】ここでは、S26の処理で認識スコアを求
めたオンライン認識結果の候補が「六(65)」、「文
(60)」、「父(55)」と、何れも閾値の「80」
未満なので(S27:NO)、認識の精度が悪い、即
ち、信頼性がないと考えられるので、64次元(64
個)の特徴データを用いる詳細オフライン認識を行う
(S30)。
Here, the candidates of the online recognition result for which the recognition score was obtained in the processing of S26 are “six (65)”, “sentence (60)”, and “father (55)”, all of which have the threshold “80”.
(S27: NO), the recognition accuracy is poor, that is, it is considered that there is no reliability.
The detailed off-line recognition is performed using the feature data (S30).

【0059】具体的には、S26の処理で認識スコアを
求めたオンライン認識結果の候補の文字の内、類似度が
高いものから所定の順位までのものを入力ストロークデ
ータ記憶エリア8aに記憶されたストロークの情報に基
づいて、ROM7のオフライン認識辞書記憶エリア7f
に記憶されている64次元のオフライン認識辞書を参照
して詳細オフライン認識を行う(S30)。
More specifically, among the characters of the candidates for the online recognition result for which the recognition score has been obtained in the processing of S26, those having a high similarity to a predetermined order are stored in the input stroke data storage area 8a. Based on the stroke information, the off-line recognition dictionary storage area 7f of the ROM 7
The detailed offline recognition is performed with reference to the 64-dimensional offline recognition dictionary stored in the storage device (S30).

【0060】ここでは、CPU2がRAM7のオフライ
ン認識プログラム記憶エリア7dに記憶されたオフライ
ン認識プログラムを実行することにより、64次元のオ
フライン認識辞書に記憶されている文字の形状の情報と
入力ストロークデータ記憶エリア8aに記憶されたスト
ロークから構成される文字の形状の情報とを比較するこ
とにより文字を同定する(S30)。この詳細オフライ
ン認識は、64次元(64個)の特徴データを用いてオ
フライン認識を行うために前記の粗いオフライン認識に
比べて4倍の特徴データによりオフライン認識を行うこ
とができ、認識処理の時間が粗いオフライン認識より長
くなるが、認識精度が高くなるという特徴がある。
Here, the CPU 2 executes the off-line recognition program stored in the off-line recognition program storage area 7d of the RAM 7 to store the information on the character shape and the input stroke data stored in the 64-dimensional off-line recognition dictionary. The character is identified by comparing it with the information on the shape of the character composed of the strokes stored in the area 8a (S30). In this detailed offline recognition, since offline recognition is performed using 64-dimensional (64) feature data, offline recognition can be performed using feature data four times larger than the coarse offline recognition described above. Is longer than coarse offline recognition, but has the characteristic that recognition accuracy is high.

【0061】詳細オフライン認識処理(S30)が終了
すると、その認識結果をオフライン認識結果記憶エリア
8cに記憶し(S31)、オフライン認識結果記憶エリ
ア8cに記憶された認識結果の候補文字が、RAM8の
表示バッファとして機能するワーキングエリア8eに記
憶され(S32)、図3に示すように表示装置6の表示
部6aに表示される(S29)。そして、手書き文字認
識処理は終了する。
When the detailed off-line recognition processing (S30) is completed, the recognition result is stored in the off-line recognition result storage area 8c (S31), and the candidate character of the recognition result stored in the off-line recognition result storage area 8c is stored in the RAM 8 It is stored in the working area 8e functioning as a display buffer (S32), and is displayed on the display unit 6a of the display device 6 as shown in FIG. 3 (S29). Then, the handwritten character recognition processing ends.

【0062】以上説明したように、本発明の第二の実施
の形態である文字認識装置1では、始めに、オンライン
認識のみ行うので、従来のハイブリッド認識のものより
も処理速度を速めることができる。また、オンライン認
識の認識候補の文字の認識スコア(類似度)が所定の閾
値以上で有れば、認識精度が高いと判断して、そのまま
オンライン認識候補を表示するので、認識処理の速度を
高めながらも認識結果の精度を一定に保つことができ
る。また、また、オンライン認識の認識候補の文字の認
識スコア(類似度)が所定の閾値未満で有れば、認識精
度が低いとして、再度、詳細オフライン認識処理を行う
ので、認識結果の精度が低下してしまうことがない。以
上説明したように、上記の実施の形態の文字認識装置で
は、文字認識を二段階で行う文字認識装置において、一
次認識の処理の結果が十分に信頼できるもので有れば、
二次認識の処理を行わないので、認識速度を高めること
が可能となる。
As described above, in the character recognition apparatus 1 according to the second embodiment of the present invention, only online recognition is performed first, so that the processing speed can be faster than that of the conventional hybrid recognition. . If the recognition score (similarity) of a character of a recognition candidate for online recognition is equal to or greater than a predetermined threshold, the recognition accuracy is determined to be high, and the online recognition candidate is displayed as it is, so that the speed of the recognition process is increased. However, the accuracy of the recognition result can be kept constant. In addition, if the recognition score (similarity) of the character of the recognition candidate for online recognition is less than a predetermined threshold, the recognition accuracy is determined to be low, and the detailed offline recognition process is performed again. I won't. As described above, in the character recognition device according to the above embodiment, in a character recognition device that performs character recognition in two stages, if the result of the primary recognition processing is sufficiently reliable,
Since the secondary recognition processing is not performed, the recognition speed can be increased.

【0063】尚、本発明は前記実施の形態に限定される
ものではなく、本実施の形態の要旨を逸脱しない範囲内
で各種の態様で実施できることは勿論である。例えば、
第一の形態の文字認識装置では、オンライン認識を行っ
た後に、粗いオフライン認識を行っているが、オンライ
ン認識と粗いオフライン認識とを平行して行ってもよ
い。また、粗いオフライン認識を行った後に、オンライ
ン認識を行っても良い。さらに、第二の実施形態では、
一次認識としてオンライン認識を行っているが(S2
4、S26)、手書き文字入力用タブレット4の認識モ
ードスイッチ4fがペン5で押下され他場合には、手書
き文字入力用タブレット4に入力される手書き文字の一
次認識としては、S24の処理で粗いオフライン認識の
みを行いその結果を記憶する(S25)ようにしても良
い。
It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that the present invention can be implemented in various modes without departing from the gist of the present embodiment. For example,
In the character recognition device of the first embodiment, rough offline recognition is performed after online recognition, but online recognition and rough offline recognition may be performed in parallel. Alternatively, online recognition may be performed after coarse offline recognition. Further, in the second embodiment,
Online recognition is performed as primary recognition (S2
4, S26), if the recognition mode switch 4f of the handwritten character input tablet 4 is pressed with the pen 5, otherwise, the primary recognition of the handwritten character input to the handwritten character input tablet 4 is rough in the processing of S24. Only the offline recognition may be performed and the result may be stored (S25).

【0064】また、オンライン認識と、粗いオフライン
認識と、オンライン認識と粗いオフライン認識と組み合
わせの何れで文字認識を行うかを指定する認識手段の指
定手段を設け、その指定手段により指定された認識方法
で、手書き文字入力用タブレット4に入力された手書き
文字の認識を行い、その後図5に示すフローチャートの
S26以降の処理を行うようにしても良い。さらに、上
記の実施の形態では、S10の判断処理やS27の判断
処理における認識精度の判断は、認識スコアと閾値を比
較して行っているが、第一位の認識候補の認識スコアと
第二位の認識候補のスコアとを比較して、所定以上(例
えば、「40」以上)のスコアの差があれば、認識結果
が信頼できるものと判断してもよい。
Further, there is provided a designating means of a recognition means for designating which of the online recognition, the coarse offline recognition, and the combination of the online recognition and the coarse offline recognition is to be used for the character recognition, and the recognition method designated by the designating means. Then, the handwritten character input to the handwritten character input tablet 4 may be recognized, and then the processing from S26 in the flowchart shown in FIG. 5 may be performed. Further, in the above embodiment, the judgment of the recognition accuracy in the judgment processing of S10 and the judgment processing of S27 is performed by comparing the recognition score with the threshold value. By comparing the scores of the ranking recognition candidates with a score difference of a predetermined value or more (for example, “40” or more), it may be determined that the recognition result is reliable.

【0065】[0065]

【発明の効果】以上、詳述したとおり、請求項1に係る
発明の文字認識装置では、第一の文字認識手段により認
識された認識候補を類似度判断手段により類似度を判断
した結果、類似度が所定の値以上の場合には、その認識
候補を認識結果として出力し、類似度が所定の値未満の
場合には、第一の文字認識手段より手書き文字の認識精
度が高い第二の文字認識手段により再度文字認識を行
い、その認識候補を認識結果として出力することができ
る。従って、第一の文字認識手段による一次認識の処理
の結果が十分に信頼できるもので有れば、第二の文字認
識手段により二次認識の処理を行わないので、認識速度
を高速化することが可能となる。
As described in detail above, in the character recognition apparatus according to the first aspect of the present invention, the similarity is determined by the similarity determination means on the recognition candidates recognized by the first character recognition means. If the degree is equal to or greater than a predetermined value, the recognition candidate is output as a recognition result.If the similarity is less than the predetermined value, the second character recognition accuracy of the handwritten character is higher than the first character recognition means. Character recognition is performed again by the character recognition means, and the recognition candidate can be output as a recognition result. Therefore, if the result of the primary recognition processing by the first character recognition means is sufficiently reliable, the secondary character recognition processing is not performed by the second character recognition means. Becomes possible.

【0066】また、請求項2に係る発明の文字認識装置
では、請求項1に記載の文字認識装置の効果に加えて、
第二の文字認識手段は、前記第一の文字認識手段により
認識された認識候補の類似度が所定の値未満の場合に
は、第一の文字認識手段から出力される認識候補のうち
類似度が高いものから所定の順位までのものについて再
度文字認識を行い、その認識候補を認識結果として出力
することができる。従って、手書き文字の認識精度を低
下させることがない。
According to the character recognition device of the second aspect of the present invention, in addition to the effect of the character recognition device of the first aspect,
The second character recognizing means, when the similarity of the recognition candidates recognized by the first character recognizing means is less than a predetermined value, the similarity among the recognition candidates output from the first character recognizing means. Character recognition can be performed again for items having a high rank to a predetermined rank, and the recognition candidate can be output as a recognition result. Therefore, the accuracy of recognition of handwritten characters is not reduced.

【0067】また、請求項3に係る発明の文字認識装置
では、請求項1又は2に記載の文字認識装置の効果に加
えて、前記第二の文字認識手段は、前記第一の文字認識
手段に比べて、文字の特徴データを多く用いて手書き文
字の認識を行うことができる。従って、前記第二の文字
認識手段により再度文字認識を行うことにより、手書き
文字の認識精度を高めることができる。
According to a third aspect of the present invention, in addition to the effects of the character recognition device of the first or second aspect, the second character recognition means includes the first character recognition means. As compared with, handwritten characters can be recognized using more character feature data. Therefore, by performing character recognition again by the second character recognition means, the recognition accuracy of handwritten characters can be improved.

【0068】また、請求項4に係る発明の文字認識装置
では、請求項1乃至3の何れかに記載の文字認識装置の
効果に加えて、前記第一の文字認識手段は、前記第二の
文字認識手段より速い速度で文字認識を行うことができ
る。
According to a fourth aspect of the present invention, in addition to the effects of the character recognition device according to any one of the first to third aspects, the first character recognition means includes the second character recognition unit. Character recognition can be performed at a higher speed than character recognition means.

【0069】また、請求項5に係る発明の文字認識装置
では、請求項1乃至4の何れかに記載の文字認識装置の
効果に加えて、前記第一の文字認識手段は、前記手書き
文字入力手段から入力された手書き文字の構成線の時系
列の情報を用いて手書き文字の認識を行うオンライン認
識を行い、前記第二の文字認識手段は、前記手書き文字
入力手段から入力された手書き文字の全体の形を用いて
手書き文字の認識を行うオフライン認識を行うことがで
きる。従って、一次認識としてオンライン認識を行うこ
とは一文字入力終了後すぐに認識候補の文字が得られる
ので、二次認識のオンライン認識への移行時にタイムロ
スが無く、認識速度の高速化に効果がある。
According to a fifth aspect of the present invention, in addition to the effect of the character recognition device according to any one of the first to fourth aspects, the first character recognition means includes the input of the handwritten character. Performing online recognition for recognizing handwritten characters using time-series information of constituent lines of the handwritten characters input from the means, the second character recognition means, of the handwritten characters input from the handwritten character input means Off-line recognition for recognizing handwritten characters using the entire shape can be performed. Therefore, performing on-line recognition as primary recognition can provide a character as a recognition candidate immediately after the completion of one character input, so that there is no time loss at the time of shifting to secondary recognition on-line recognition, which is effective in increasing the recognition speed.

【0070】また、請求項6に係る発明の文字認識装置
では、請求項1乃至5の何れかに記載の文字認識装置の
効果に加えて、第一の文字認識手段は、前記手書き文字
入力手段から入力された手書き文字の構成線の時系列の
情報を用いて手書き文字の認識を行うオンライン認識に
よる認識結果と、手書き文字入力手段から入力された手
書き文字の全体の形を用いて手書き文字の認識を行うオ
フライン認識の認識結果とに基づいて新たな認識候補を
生成でき、第二の文字認識手段は、前記第一の文字認識
手段が行うオフライン認識に比べて文字の特徴データを
多く用いてオフライン認識を行うことができる。従っ
て、一次認識では、オンライン認識と第二の文字認識手
段に用いているオフライン認識に比べて少ない文字の特
徴データで文字認識を行う粗いオフライン認識とを行う
ので、認識処理速度を高めながら続け字や崩し字、文字
全体の歪みなどに頑健でより信頼できる認識候補文字を
一次認識で得ることができる。
According to a sixth aspect of the present invention, in addition to the effects of the character recognition device according to any one of the first to fifth aspects, the first character recognition means includes the handwritten character input means. The recognition result by online recognition that recognizes handwritten characters using the time-series information of the constituent lines of handwritten characters input from New recognition candidates can be generated based on the recognition result of the offline recognition for performing the recognition, and the second character recognition unit uses a larger amount of character feature data than the offline recognition performed by the first character recognition unit. Offline recognition can be performed. Therefore, in the primary recognition, coarse offline recognition is performed in which character recognition is performed with less character data than in the online recognition and offline recognition used in the second character recognition means. Recognition candidate characters that are robust and more reliable against a broken character, distortion of the entire character, and the like can be obtained by primary recognition.

【0071】また、請求項7に係る発明の文字認識装置
では、第一の文字認識手段は手書き文字入力手段から入
力された手書き文字の構成線の時系列の情報を用いて手
書き文字の認識を行うオンライン認識手段と、手書き文
字入力手段から入力された手書き文字の全体の形を用い
て手書き文字の認識を行うオフライン認識手段と、オン
ライン認識手段とオフライン認識手段の何れかにより手
書き文字入力手段から入力された手書き文字の文字認識
を行うかを指定する認識手段指定手段とを備えているの
で、認識手段指定手段によって指定された認識手段で、
手書き文字入力手段から入力された手書き文字の認識を
行うことができる。
In the character recognition apparatus according to the present invention, the first character recognition means recognizes the handwritten character using the time-series information of the constituent lines of the handwritten character input from the handwritten character input means. Online recognition means for performing, an off-line recognition means for recognizing handwritten characters using the whole shape of the handwritten characters input from the handwritten character input means, and a handwritten character input means by either the online recognition means or the offline recognition means. Since there is provided recognition means designating means for designating whether to perform character recognition of the input handwritten character, the recognition means designated by the recognition means designating means,
The handwritten character input from the handwritten character input means can be recognized.

【0072】また、請求項8に係る発明の文字認識装置
では、請求項7に記載の文字認識装置の効果に加えて、
前記第一の文字認識手段は、前記手書き文字入力手段か
ら入力された手書き文字の構成線の時系列の情報を用い
て手書き文字の認識を行うオンライン認識手段と、前記
手書き文字入力手段から入力された手書き文字の全体の
形を用いて手書き文字の認識を行うオフライン認識手段
と、前記オンライン認識手段と前記オフライン認識手段
の認識結果とに基づいて新たな認識候補を生成する認識
候補生成手段の少なくとも2つの手段を備え、そのうち
の何れにより前記手書き文字入力手段から入力された手
書き文字の文字認識を行うかを指定する認識手段指定手
段とを備えているので、前記認識手段指定手段によって
指定された認識手段で、前記手書き文字入力手段から入
力された手書き文字の認識を行うことができる。
According to the character recognition apparatus of the present invention, in addition to the effect of the character recognition apparatus of the present invention,
The first character recognition means is an online recognition means for recognizing a handwritten character using time-series information of constituent lines of the handwritten character input from the handwritten character input means, and an input from the handwritten character input means. At least an off-line recognition unit for recognizing a handwritten character using the entire shape of the handwritten character, and a recognition candidate generation unit for generating a new recognition candidate based on a recognition result of the on-line recognition unit and the off-line recognition unit. And a recognition means designating means for designating which of the two means performs character recognition of the handwritten character input from the handwritten character input means. The recognition means can recognize the handwritten character input from the handwritten character input means.

【0073】また、請求項9に係る発明の文字認識装置
では、請求項7又は8に記載の文字認識装置の効果に加
えて、前記第一の文字認識手段は、前記手書き文字入力
手段から入力された手書き文字の構成線の時系列の情報
を用いて手書き文字の認識を行うオンライン認識手段
と、前記手書き文字入力手段から入力された手書き文字
の全体の形を用いて手書き文字の認識を行うオフライン
認識手段と、前記オンライン認識手段と前記オフライン
認識手段の認識結果とに基づいて新たな認識候補を生成
する認識候補生成手段と、前記オンライン認識手段ある
いは前記オフライン認識手段あるいは前記オンライン認
識手段及び前記オフライン認識手段の何れにより前記手
書き文字入力手段から入力された手書き文字の文字認識
を行うかを指定する認識手段指定手段とを備えているの
で、前記認識手段指定手段によって指定された認識手段
で、前記手書き文字入力手段から入力された手書き文字
の認識を行うことができる。
In the character recognition device according to the ninth aspect, in addition to the effect of the character recognition device according to the seventh or eighth aspect, the first character recognition means may include an input from the handwritten character input means. Online recognition means for recognizing handwritten characters by using the time-series information of the constituent lines of the handwritten characters, and handwritten character recognition using the entire shape of the handwritten characters input from the handwritten character input means Offline recognition means, recognition candidate generation means for generating new recognition candidates based on the recognition results of the online recognition means and the offline recognition means, the online recognition means or the offline recognition means or the online recognition means and the Designating which of the offline recognition means performs character recognition of the handwritten character input from the handwritten character input means Since a identification means specifying means, the recognition means which is specified by said recognition means specifying means, it is possible to perform the recognition of handwritten characters input from said handwriting input means.

【0074】また、請求項10に係る発明の文字認識装
置では、請求項1乃至9の何れかに記載の文字認識装置
の効果に加えて、表示手段により前記手書き文字入力手
段から入力された手書き文字から認識された認識候補を
表示することができる。
According to the character recognition device of the present invention, in addition to the effect of the character recognition device according to any one of the first to ninth aspects, the handwriting input from the handwritten character input device by the display device can be provided. Recognition candidates recognized from characters can be displayed.

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

【図1】図1は、文字認識装置1の概略構成を示すブロ
ック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a character recognition device 1;

【図2】図2は、手書き文字入力用タブレット4の平面
図である。
FIG. 2 is a plan view of the handwritten character input tablet 4;

【図3】図3は、表示装置6の平面図である。FIG. 3 is a plan view of the display device 6;

【図4】図4は、文字認識装置1が行う文字認識処理の
フローチャートである。
FIG. 4 is a flowchart of a character recognition process performed by the character recognition device 1;

【図5】図5は、第二の実施の形態の文字認識装置1が
行う文字認識処理のフローチャ
FIG. 5 is a flowchart of a character recognition process performed by the character recognition device 1 according to the second embodiment;

【符号の説明】 1 文字認識装置 2 CPU 3 I/Oインターフェース 4 手書き文字入力用タブレット 4a 第一入力エリア 4b 第二入力エリア 4c 第三入力エリア 4d、4e、4f 認識モードスイッチ 5 ペン 6 表示装置 6a 表示部 7 ROM 7a 文字切出しプログラム記憶エリア 7b オンライン認識プログラム記憶エリア 7c オンライン認識辞書記憶エリア 7d オフライン認識プログラム記憶エリア 7e、7f オフライン認識辞書記憶エリア 7g 認識結果統合プログラム記憶エリア 7h 一次認識結果可否判定閾値記憶エリア 8 RAM 8a 入力ストロークデータ記憶エリア 8b オンライン認識結果記憶エリア 8c オフライン認識結果記憶エリア 8d ハイブリッド認識結果記憶エリア 8e ワーキングエリア[Description of Signs] 1 Character recognition device 2 CPU 3 I / O interface 4 Handwriting character input tablet 4a First input area 4b Second input area 4c Third input area 4d, 4e, 4f Recognition mode switch 5 Pen 6 Display device 6a Display unit 7 ROM 7a Character extraction program storage area 7b Online recognition program storage area 7c Online recognition dictionary storage area 7d Offline recognition program storage area 7e, 7f Offline recognition dictionary storage area 7g Recognition result integrated program storage area 7h Primary recognition result availability determination Threshold storage area 8 RAM 8a Input stroke data storage area 8b Online recognition result storage area 8c Offline recognition result storage area 8d Hybrid recognition result storage area 8e Working area

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 入力された手書き文字を認識して、文字
コードに変換する文字認識装置において、 手書きで文字を入力する手書き文字入力手段と、 前記手書き文字入力手段から入力された手書き文字を認
識して、文字コードに変換する第一の文字認識手段と、 前記手書き文字入力手段から入力された手書き文字を認
識して、文字コードに変換し、且つ、前記第一の文字認
識手段より手書き文字の認識精度が高い第二の文字認識
手段と、 前記第一の文字認識手段により認識された認識候補の基
本文字に対する類似度を判断する類似度判断手段とを備
え、 前記第一の文字認識手段により認識された認識候補を前
記類似度判断手段により類似度を判断した結果、類似度
が所定の値以上の場合には、その認識候補を認識結果と
して出力し、類似度が所定の値未満の場合には、前記第
二の文字認識手段により再度文字認識を行い、その認識
候補を認識結果として出力することを特徴とする文字認
識装置。
1. A character recognition device for recognizing an input handwritten character and converting it into a character code, comprising: a handwritten character input means for inputting a character by handwriting; and a handwritten character input from the handwritten character input means. A first character recognizing means for converting the character code into handwritten characters; recognizing a handwritten character input from the handwritten character input means, converting the handwritten character into a character code, and rewriting the handwritten character from the first character recognizing means. A second character recognizing unit having a high recognition accuracy of the first character recognizing unit, and a similarity determining unit for determining a similarity to a basic character of a recognition candidate recognized by the first character recognizing unit. When the similarity is determined by the similarity determination unit as a result of the similarity determination by the similarity determination unit, if the similarity is equal to or greater than a predetermined value, the recognition candidate is output as a recognition result, and the similarity is determined. Constant of the case of less than a value again performs character recognition by the second character recognition means, a character recognition device and outputs the recognition candidates as a recognition result.
【請求項2】 前記第二の文字認識手段は、前記第一の
文字認識手段により認識された認識候補の前記類似度が
所定の値未満の場合には、前記第一の文字認識手段から
出力される認識候補のうち前記類似度が高いものから所
定の順位までのものについて再度文字認識を行い、その
認識候補を認識結果として出力することを特徴とする請
求項1に記載の文字認識装置。
2. The method according to claim 1, wherein the second character recognizing means outputs from the first character recognizing means when the similarity of the recognition candidate recognized by the first character recognizing means is less than a predetermined value. 2. The character recognition apparatus according to claim 1, wherein character recognition is performed again for recognition candidates having a high similarity to a predetermined rank, and the recognition candidates are output as recognition results.
【請求項3】 前記第二の文字認識手段は、前記第一の
文字認識手段に比べて、文字の特徴データを多く用いて
手書き文字の認識を行うことを特徴とする請求項1又は
2に記載の文字認識装置。
3. The method according to claim 1, wherein the second character recognition unit performs handwritten character recognition by using a large amount of character feature data as compared with the first character recognition unit. Character recognition device according to the description.
【請求項4】 前記第一の文字認識手段は、前記第二の
文字認識手段より文字認識の処理速度が速いことを特徴
とする請求項1乃至3の何れかに記載の文字認識装置。
4. The character recognition apparatus according to claim 1, wherein the first character recognition unit has a higher character recognition processing speed than the second character recognition unit.
【請求項5】 前記第一の文字認識手段は、前記手書き
文字入力手段から入力された手書き文字の構成線の時系
列の情報を用いて手書き文字の認識を行うオンライン認
識を行うことを特徴とし、前記第二の文字認識手段は、
前記手書き文字入力手段から入力された手書き文字の全
体の形を用いて手書き文字の認識を行うオフライン認識
を行うことを特徴とする請求項1乃至4の何れかに記載
の文字認識装置。
5. The method according to claim 1, wherein the first character recognition unit performs online recognition for recognizing a handwritten character using time-series information of constituent lines of the handwritten character input from the handwritten character input unit. , The second character recognition means,
The character recognition device according to claim 1, wherein off-line recognition for recognizing a handwritten character is performed using an entire shape of the handwritten character input from the handwritten character input unit.
【請求項6】 前記第一の文字認識手段は、前記手書き
文字入力手段から入力された手書き文字の構成線の時系
列の情報を用いて手書き文字の認識を行うオンライン認
識による認識結果と、前記手書き文字入力手段から入力
された手書き文字の全体の形を用いて手書き文字の認識
を行うオフライン認識の認識結果とに基づいて新たな認
識候補を生成することを特徴とし、前記第二の文字認識
手段は、前記第一の文字認識手段が行うオフライン認識
に比べて、文字の特徴データを多く用いてオフライン認
識を行うことを特徴とする請求項1乃至5の何れかに記
載の文字認識装置。
6. A recognition result by on-line recognition for recognizing a handwritten character using time-series information of constituent lines of a handwritten character input from the handwritten character input means, Generating a new recognition candidate based on a recognition result of off-line recognition for recognizing a handwritten character using the entire shape of the handwritten character input from the handwritten character input means; The character recognition apparatus according to claim 1, wherein the means performs offline recognition using more character feature data than offline recognition performed by the first character recognition means.
【請求項7】 入力された手書き文字を認識して、文字
コードに変換する文字認識装置において、 手書きで文字を入力する手書き文字入力手段と、 前記手書き文字入力手段から入力された手書き文字を認
識して、文字コードに変換する第一の文字認識手段とを
備え、 前記第一の文字認識手段は、 前記手書き文字入力手段から入力された手書き文字の構
成線の時系列の情報を用いて手書き文字の認識を行うオ
ンライン認識手段と、 前記手書き文字入力手段から入力された手書き文字の全
体の形を用いて手書き文字の認識を行うオフライン認識
手段と、 前記オンライン認識手段と前記オフライン認識手段の何
れかにより前記手書き文字入力手段から入力された手書
き文字の文字認識を行うかを指定する認識手段指定手段
とを備え、 前記認識手段指定手段によって指定された認識手段で、
前記手書き文字入力手段から入力された手書き文字の認
識を行うことを特徴とする文字認識装置。
7. A character recognition device for recognizing an input handwritten character and converting it into a character code, comprising: a handwritten character input unit for inputting a character by handwriting; and a handwritten character input from the handwritten character input unit. A first character recognizing unit that converts the character code into a character code, wherein the first character recognizing unit is handwritten using time-series information of constituent lines of the handwritten character input from the handwritten character input unit. Online recognition means for recognizing characters; offline recognition means for recognizing handwritten characters using the entire shape of the handwritten characters input from the handwritten character input means; and any of the online recognition means and the offline recognition means A recognition means designating means for designating whether to perform character recognition of the handwritten character input from the handwritten character input means. In recognition means designated by the designating means,
A character recognition device for recognizing handwritten characters input from the handwritten character input means.
【請求項8】 前記第一の文字認識手段は、 前記手書き文字入力手段から入力された手書き文字の構
成線の時系列の情報を用いて手書き文字の認識を行うオ
ンライン認識手段と、 前記手書き文字入力手段から入力された手書き文字の全
体の形を用いて手書き文字の認識を行うオフライン認識
手段と、 前記オンライン認識手段と前記オフライン認識手段の認
識結果とに基づいて新たな認識候補を生成する認識候補
生成手段の少なくとも2つの手段を備え、そのうちの何
れにより前記手書き文字入力手段から入力された手書き
文字の文字認識を行うかを指定する認識手段指定手段と
を備え、 前記認識手段指定手段によって指定された認識手段で、
前記手書き文字入力手段から入力された手書き文字の認
識を行うことを特徴とする請求項7に記載の文字認識装
置。
8. An on-line recognition unit for recognizing a handwritten character using time-series information of constituent lines of a handwritten character input from the handwritten character input unit, the first character recognition unit comprising: Offline recognition means for recognizing handwritten characters using the entire shape of handwritten characters input from the input means, and recognition for generating new recognition candidates based on the recognition results of the online recognition means and the offline recognition means Recognizing means specifying at least two of the candidate generating means, the recognizing means designating which one of them performs character recognition of the handwritten character input from the handwritten character inputting means; With the recognized recognition means,
8. The character recognition device according to claim 7, wherein the handwritten character input from the handwritten character input unit is recognized.
【請求項9】 前記第一の文字認識手段は、 前記手書き文字入力手段から入力された手書き文字の構
成線の時系列の情報を用いて手書き文字の認識を行うオ
ンライン認識手段と、 前記手書き文字入力手段から入力された手書き文字の全
体の形を用いて手書き文字の認識を行うオフライン認識
手段と、 前記オンライン認識手段と前記オフライン認識手段の認
識結果とに基づいて新たな認識候補を生成する認識候補
生成手段と、 前記オンライン認識手段あるいは前記オフライン認識手
段あるいは前記オンライン認識手段及び前記オフライン
認識手段の何れにより前記手書き文字入力手段から入力
された手書き文字の文字認識を行うかを指定する認識手
段指定手段とを備え、 前記認識手段指定手段によって指定された認識手段で、
前記手書き文字入力手段から入力された手書き文字の認
識を行うことを特徴とする請求項7又は8に記載の文字
認識装置。
9. An on-line recognition unit for recognizing a handwritten character using time-series information of constituent lines of a handwritten character input from the handwritten character input unit, the first character recognition unit comprising: Offline recognition means for recognizing handwritten characters using the entire shape of handwritten characters input from the input means, and recognition for generating new recognition candidates based on the recognition results of the online recognition means and the offline recognition means A candidate generation unit; and a recognition unit designation for specifying which of the online recognition unit or the offline recognition unit or the online recognition unit and the offline recognition unit performs character recognition of the handwritten character input from the handwritten character input unit. Means, the recognition means designated by the recognition means designation means,
The character recognition device according to claim 7, wherein recognition of a handwritten character input from the handwritten character input unit is performed.
【請求項10】 前記手書き文字入力手段から入力され
た手書き文字から認識された認識候補を表示する表示手
段を備えたことを特徴とする請求項1乃至9の何れかに
記載の文字認識装置。
10. The character recognition device according to claim 1, further comprising a display unit that displays a recognition candidate recognized from the handwritten character input from the handwritten character input unit.
JP2000300405A 2000-09-29 2000-09-29 Character recognition device Pending JP2002109474A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000300405A JP2002109474A (en) 2000-09-29 2000-09-29 Character recognition device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000300405A JP2002109474A (en) 2000-09-29 2000-09-29 Character recognition device

Publications (1)

Publication Number Publication Date
JP2002109474A true JP2002109474A (en) 2002-04-12

Family

ID=18782097

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000300405A Pending JP2002109474A (en) 2000-09-29 2000-09-29 Character recognition device

Country Status (1)

Country Link
JP (1) JP2002109474A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013109680A (en) * 2011-11-24 2013-06-06 Fuji Xerox Co Ltd Image processing apparatus and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013109680A (en) * 2011-11-24 2013-06-06 Fuji Xerox Co Ltd Image processing apparatus and image processing program
US9171218B2 (en) 2011-11-24 2015-10-27 Fuji Xerox Co., Ltd. Image processing apparatus, image processing method, and computer readable medium that recognize overlapping elements in handwritten input

Similar Documents

Publication Publication Date Title
US6694056B1 (en) Character input apparatus/method and computer-readable storage medium
US5579408A (en) Character recognition method and apparatus
US5265174A (en) Pattern recognition apparatus
CN101299236A (en) Method for recognizing Chinese hand-written phrase
US5659633A (en) Character recognition method utilizing compass directions and torsion points as features
JP2002109474A (en) Character recognition device
KR100349887B1 (en) Handwriting Recognition System and the Method for Information Unit
JP2002109473A (en) Character recognition device
JPH09288717A (en) Character recognition device
JPH10302025A (en) Handwritten character recognizing device and its program recording medium
JPH0744656A (en) Handwritten character recognizing device
JPH10105650A (en) Character recognition device
JPH07121660A (en) Handwritten character recognizing device
JPH063593B2 (en) Handwriting shorthand character converter
JPH0714000A (en) Table recognizing device
JP2851865B2 (en) Character recognition device
JP2001143019A (en) Recognition device for character string
JPS62281082A (en) Character recognizing device
JPH0887570A (en) Information recognizing method
JPH09185677A (en) Stroke start and end point decision method, and recognition dictionary registration method and device
JPH11134437A (en) Device for recognizing handwritten character
JPH05324919A (en) Online character and pattern recognizing method and online character and pattern recognizing device
JPH10116319A (en) Character recognition device
JP2000331121A (en) Method and device for recognizing handwritten character
JPH08263592A (en) Method and device for handwritten character recognition