JP4738777B2 - Character recognition device, character recognition method, and character recognition program - Google Patents

Character recognition device, character recognition method, and character recognition program Download PDF

Info

Publication number
JP4738777B2
JP4738777B2 JP2004255725A JP2004255725A JP4738777B2 JP 4738777 B2 JP4738777 B2 JP 4738777B2 JP 2004255725 A JP2004255725 A JP 2004255725A JP 2004255725 A JP2004255725 A JP 2004255725A JP 4738777 B2 JP4738777 B2 JP 4738777B2
Authority
JP
Japan
Prior art keywords
character
handwritten
recognized
recognition
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004255725A
Other languages
Japanese (ja)
Other versions
JP2006072730A (en
Inventor
正 本田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2004255725A priority Critical patent/JP4738777B2/en
Publication of JP2006072730A publication Critical patent/JP2006072730A/en
Application granted granted Critical
Publication of JP4738777B2 publication Critical patent/JP4738777B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Discrimination (AREA)

Description

操作者が座標入力装置に描いた手書き文字を認識する手書き文字認識装置、文字認識方法および文字認識プログラムに関するものである。   The present invention relates to a handwritten character recognition device, a character recognition method, and a character recognition program for recognizing a handwritten character drawn by an operator on a coordinate input device.

手書き文字認識の方法としては、固定の枠を設け、ユーザに一文字単位でその枠内に文字を記入させる方法が知られている(例えば「特許文献1」参照)。この方法は、一文字単位の切り出しを行う処理が不要であり、切り出しミスによる誤認識がないというメリットがある。一方で、ユーザは、1文字ずつ入力、認識の操作を行う必要があり、操作者の負担が大きく、利便性が低いというデメリットがある。   As a method for recognizing handwritten characters, a method is known in which a fixed frame is provided and a user is allowed to enter characters in the frame in units of one character (see, for example, “Patent Document 1”). This method is advantageous in that it does not require a process of cutting out one character unit and there is no erroneous recognition due to a cutting error. On the other hand, the user needs to perform input and recognition operations one character at a time, which is disadvantageous in that the burden on the operator is large and convenience is low.

また、入力枠を設けず、手書き領域内に自由に複数の文字を書く方法も知られている(例えば、「特許文献2」参照)。この方法においては、操作者は手書き領域内に複数の手書き文字を続けて入力することができる。したがって、利便性は向上する。しかし、この方法においては、複数の手書き文字から各文字を自動的に抽出しなければならない。このため一文字切り出し処理が行われる。   There is also known a method of freely writing a plurality of characters in a handwriting area without providing an input frame (see, for example, “Patent Document 2”). In this method, the operator can continuously input a plurality of handwritten characters in the handwriting area. Therefore, convenience is improved. However, in this method, each character must be automatically extracted from a plurality of handwritten characters. For this reason, a single character cut-out process is performed.

特開2001−014103号公報JP 2001-014103 A 特開2000−076380号公報JP 2000-076380 A

入力枠をなくし、自由に複数の文字を書く方法においては、上述のように一文字単位の切り出し処理を行う必要がある。この切り出し処理においては、1文字の認識を誤る場合があるという問題があった。その一方で、操作者の利便性をより向上したいという要望がある。   In the method of eliminating the input frame and freely writing a plurality of characters, it is necessary to perform the cut-out processing for each character as described above. In this cut-out process, there is a problem that recognition of one character may be wrong. On the other hand, there is a desire to further improve the convenience for the operator.

本発明は、上記に鑑みてなされたものであって、複数の手書き文字の文字認識を行うことができ、かつ利便性のよい手書き文字認識装置、文字認識方法および文字認識プログラムを提供することを目的とする。   The present invention has been made in view of the above, and provides a handwritten character recognition device, a character recognition method, and a character recognition program that can perform character recognition of a plurality of handwritten characters and are convenient. Objective.

上述した課題を解決し、目的を達成するために、請求項1にかかる発明は、操作者が座標入力装置に入力した手書き文字を認識する手書き文字認識装置であって、前記操作者が前記座標入力装置に入力した複数の手書き文字に関する手書き文字情報を行単位で取得する手書き文字取得手段と、前記座標入力装置での手書き文字の入力に対して、前記操作者のマウス操作に基づいて得られるストローク単位の画像の座標値を記憶する記憶手段であって、異なるストロークに各々対応する座標値をページ毎に記憶する座標記憶手段と、前記文字取得手段が取得した前記手書き文字情報を行単位で記憶する行単位記憶手段と、前記行単位記憶手段に記憶された行単位の手書き文字情報及び前記座標記憶手段に記憶された前記座標値に基づいて、前記複数の手書き文字を文字単位に分割する文字分割手段と、前記文字分割手段が分割した各文字に対して文字認識を行う文字認識手段と、前記文字認識手段が文字認識を行った各文字について、前記文字に対応する認識文字及び認識文字である可能性がある認識文字候補と、前記文字に対応する前記座標記憶手段における開始ページ及び終了ページと、前記文字を含む行の左上座標及び右下座標とを記憶する結果記憶手段と、前記行単位記憶手段及び前記結果記憶手段を参照して、行単位の前記複数の手書き文字と、当該複数の手書き文字それぞれに対応する認識文字及び認識文字である可能性がある認識文字候補とを表示手段に表示させる認識文字表示制御手段と、前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字表示制御手段により表示された認識文字候補を選択する文字選択手段と、選択された前記認識文字候補に対応する認識文字を、選択された前記認識文字候補に変更して前記表示手段に表示させる文字変更手段と、前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字候補の表示を非表示にして文字認識結果を確定する確定手段と、前記文字認識手段が誤認識して得られた誤認識文字を、前記操作者の指示により選択する誤認識文字選択手段と、前記誤認識文字選択手段が選択した前記誤認識文字を前記表示手段における書き直し領域に表示させる修正対象文字表示制御手段と、前記書き直し領域に表示された前記誤認識文字に対する前記操作者のマウス操作、タイマによる時間到達又は前記操作者による操作ボタンの押下に基づいて、前記誤認識文字を他の文字に修正する文字修正手段とを備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the invention according to claim 1 is a handwritten character recognition device for recognizing a handwritten character input by an operator to a coordinate input device, wherein the operator Handwritten character acquisition means for acquiring handwritten character information related to a plurality of handwritten characters input to the input device in units of lines, and input of handwritten characters in the coordinate input device are obtained based on the mouse operation of the operator. Storage means for storing coordinate values of images in stroke units, coordinate storage means for storing coordinate values corresponding to different strokes for each page, and the handwritten character information acquired by the character acquisition means in line units a row storage means for storing, based on said stored coordinate values in handwriting data and the coordinate storage unit row stored in the row storage unit, the Character dividing means for dividing the number of handwritten characters for each character, a character recognition means for performing character recognition on each character the character dividing means is divided, for each character that said character recognition means makes a character recognition, A recognized character corresponding to the character and a recognized character candidate that may be a recognized character, a start page and an end page in the coordinate storage unit corresponding to the character, and an upper left coordinate and a lower right coordinate of a line including the character Are a recognition character and a recognition character corresponding to each of the plurality of handwritten characters and the plurality of handwritten characters , with reference to the result storage means, the line unit storage means, and the result storage means. a recognized character display control means for displaying the recognized character candidates on the display unit which may, depending on the position in which the operator has entered into the coordinate input device, wherein the recognized character display A character selection means for selecting a recognition character candidates displayed by control means, the recognized character corresponding to the recognized character candidate selected, character modification to be displayed on the display means is changed to the recognized character candidates selected and means, in response to a position where the operator has entered into the coordinate input device, and determining means for determining the character recognition result to hide the display of the recognition character candidates, recognition to obtain the character recognition means erroneously A misrecognized character selection means for selecting the misrecognized character selected by the operator's instruction, and a correction target character display control for displaying the misrecognized character selected by the misrecognized character selection means in the rewriting area of the display means And the operator's mouse operation on the misrecognized character displayed in the rewriting area, the time reached by the timer, or the operation button pressed by the operator And character correcting means for correcting the misrecognized character to another character .

また、請求項にかかる発明は、請求項に記載の文字認識装置であって、前記誤認識文字選択手段は、前記操作者の指示により、前記手書き文字取得手段が取得した前記複数の手書き文字から複数の前記誤認識文字を選択し、前記修正対象文字表示制御手段は、前記誤認識文字選択手段が選択した複数の前記誤認識文字をそれぞれ前記書き直し領域に表示させ、前記文字修正手段は、前記書き直し領域に表示された複数の前記誤認識文字それぞれに対する前記操作者のマウス操作、タイマによる時間到達又は前記操作者による操作ボタンの押下に基づいて、複数の前記誤認識文字をそれぞれ他の文字に修正することを特徴とする。 The invention according to claim 2 is the character recognition device according to claim 1 , wherein the misrecognized character selection means is the plurality of handwritten characters acquired by the handwritten character acquisition means in accordance with an instruction from the operator. The plurality of erroneously recognized characters are selected from characters, and the correction target character display control means displays the plurality of erroneously recognized characters selected by the erroneously recognized character selection means in the rewritten area, respectively, The plurality of misrecognized characters are respectively changed to the other based on the mouse operation of the operator, the time reached by the timer, or the operation button pressed by the operator for each of the plurality of misrecognized characters displayed in the rewrite area . Characterized by correction to characters.

また、請求項にかかる発明は、請求項に記載の文字認識装置であって、前記座標入力装置に設けられた手書き文字表示手段は、前記操作者が入力した手書き文字を表示し、前記誤認識文字選択手段は、前記手書き文字表示手段に表示された複数の手書き文字のうち所定の手書き文字を、前記操作者が前記座標入力装置において指定した場合に、前記操作者が指定した文字を前記誤認識文字として選択することを特徴とする。 The invention according to claim 3 is the character recognition device according to claim 2 , wherein the handwritten character display means provided in the coordinate input device displays the handwritten character input by the operator, The misrecognized character selection means, when the operator designates a predetermined handwritten character among the plurality of handwritten characters displayed on the handwritten character display means on the coordinate input device, the character designated by the operator The erroneously recognized character is selected.

また、請求項にかかる発明は、請求項に記載の文字認識装置であって、前記誤認識文字選択手段は、前記手書き文字表示手段に表示された複数の手書き文字のうち所定の手書き文字を囲む囲み線を、前記操作者が前記座標入力装置において入力した場合に、当該囲み線によって囲まれた文字を前記誤認識文字として選択することを特徴とする。
The invention according to claim 4 is the character recognition device according to claim 3 , wherein the erroneously recognized character selection means is a predetermined handwritten character among a plurality of handwritten characters displayed on the handwritten character display means. When the operator inputs the enclosing line with the coordinate input device, the character surrounded by the encircling line is selected as the misrecognized character.

また、請求項にかかる発明は、請求項又はに記載の文字認識装置であって、前記誤認識文字選択手段は、前記手書き文字表示手段に表示された複数の手書き文字のうち所定の文字に対する下線を、前記操作者が前記座標入力装置において入力した場合に、当該下線に対応する文字を前記誤認識文字として選択することを特徴とする。 The invention according to claim 5 is the character recognition device according to claim 3 or 4 , wherein the erroneously recognized character selection means is a predetermined handwritten character among a plurality of handwritten characters displayed on the handwritten character display means. When the operator inputs an underline for a character using the coordinate input device, the character corresponding to the underline is selected as the misrecognized character.

また、請求項にかかる発明は、請求項からのいずれか一項に記載の文字認識装置であって、前記手書き文字表示手段は、前記手書き文字取得手段が取得した前記複数の手書き文字を行単位で表示し、前記誤認識文字選択手段は、前記手書き文字表示手段に表示された所定の手書き文字に対応して設けられている行領域内を、前記操作者が前記座標入力装置において指定した場合に、当該行領域に対応する複数の文字を前記誤認識文字として選択することを特徴とする。 The invention according to claim 6 is the character recognition device according to any one of claims 3 to 5 , wherein the handwritten character display means is the plurality of handwritten characters acquired by the handwritten character acquisition means. Are displayed in units of lines, and the erroneously recognized character selection means allows the operator to use the coordinate input device in a line area provided corresponding to a predetermined handwritten character displayed on the handwritten character display means. When designated, a plurality of characters corresponding to the row area are selected as the erroneously recognized characters.

また、請求項にかかる発明は、請求項からのいずれか一項に記載の文字認識装置であって、前記書き直し領域に表示された前記誤認識文字に対する修正手書き文字を取得する修正文字取得手段をさらに備え、前記文字認識手段は、前記修正文字取得手段によって取得された前記修正手書き文字を文字認識し、前記文字修正手段は、前記書き直し領域に表示された前記誤認識文字を、前記修正手書き文字に対して得られた認識文字に修正することを特徴とする。 The invention according to claim 7 is the character recognition device according to any one of claims 1 to 6 , wherein the corrected character for acquiring the corrected handwritten character for the erroneously recognized character displayed in the rewriting area The character recognition means further recognizes the corrected handwritten character acquired by the corrected character acquisition means, and the character correction means converts the misrecognized character displayed in the rewritten area to the character recognition means. It corrects to the recognition character obtained with respect to the correction handwritten character, It is characterized by the above-mentioned.

また、請求項にかかる発明は、請求項に記載の文字認識装置であって、前記誤認識文字選択手段は、前記操作者からの指示により、前記複数の手書き文字から複数の誤認識文字を選択し、前記修正対象文字表示制御手段は、前記誤認識文字選択手段が選択した複数の前記誤認識文字をそれぞれ前記書き直し領域に表示させ、前記修正文字取得手段は、前記書き直し領域に表示された複数の前記誤認識文字それぞれに対応する修正手書き文字を取得し、前記文字認識手段は、前記修正文字取得手段によって取得された複数の修正手書き文字を文字認識し、前記文字修正手段は、前記書き直し領域に表示された複数の前記誤認識文字それぞれを、前記修正手書き文字に対して得られた認識文字に修正することを特徴とする。 The invention according to claim 8 is the character recognition device according to claim 7 , wherein the erroneously recognized character selection unit is configured to detect a plurality of erroneously recognized characters from the plurality of handwritten characters according to an instruction from the operator. The correction target character display control means causes each of the plurality of erroneous recognition characters selected by the erroneous recognition character selection means to be displayed in the rewriting area, and the correction character acquisition means is displayed in the rewriting area. obtaining a plurality of the misrecognized character modification handwritten character corresponding to respectively said character recognition means, a plurality of modifications handwriting obtained by the correction character obtaining means to character recognition, the character correcting means, wherein Each of the plurality of erroneously recognized characters displayed in the rewriting area is corrected to a recognized character obtained with respect to the corrected handwritten character.

また、請求項にかかる発明は、操作者が座標入力装置に入力した手書き文字を認識する手書き文字認識装置で実行される手書き文字認識方法であって、前記文字認識装置は、文字取得手段と、記憶制御手段と、文字分割手段と、文字認識手段と、認識文字表示制御手段と、文字変更手段と、文字選択手段と、文字変更手段と、確定手段と、誤認識文字選択手段と、修正対象文字表示制御手段と、文字修正手段とを備え、前記文字取得手段が、前記操作者が前記座標入力装置に入力した複数の手書き文字に関する手書き文字情報を行単位で取得する手書き文字取得ステップと、前記記憶制御手段が、前記座標入力装置での手書き文字の入力に対して、前記操作者のマウス操作に基づいて得られるストローク単位の画像の座標値であって、異なるストロークに各々対応する座標値をページ毎に座標記憶手段に記憶させる第1記憶制御ステップと、前記記憶制御手段が、前記文字取得ステップで取得された前記手書き文字情報を行単位で行単位記憶手段に記憶させる第2記憶制御ステップと、前記文字分割手段が、前記手書き文字取得ステップが取得した行単位の手書き文字情報に基づいて、前記複数の手書き文字を文字単位に分割する文字分割ステップと、前記文字認識手段が、前記文字分割ステップで分割された各文字に対して文字認識を行う文字認識ステップと、前記記憶制御手段が、前記文字認識ステップで文字認識が行われた各文字について、前記文字に対応する認識文字及び認識文字である可能性がある認識文字候補と、前記文字に対応する前記座標記憶手段における開始ページ及び終了ページと、前記文字を含む行の左上座標及び右下座標とを結果記憶手段に記憶させる第3記憶制御ステップと、前記認識文字表示制御手段が、行単位の前記複数の手書き文字と、当該複数の手書き文字それぞれに対応する認識文字及び認識文字である可能性がある認識文字候補とを表示手段に表示させる認識文字表示制御ステップと、前記文字選択手段が、前記行単位記憶手段及び前記結果記憶手段を参照して、前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字表示手段により表示された認識文字候補を選択する文字選択ステップと、前記文字変更手段が、前記文字選択ステップで選択された前記認識文字候補に対応する認識文字を、選択された前記認識文字候補に変更して前記表示手段に表示させる文字変更ステップと、前記確定手段が、前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字候補の表示を非表示にして文字認識結果を確定する確定ステップと、前記誤認識文字選択手段が、前記文字認識ステップで誤認識して得られた誤認識文字を、前記操作者の指示により選択する誤認識文字選択ステップと、前記修正対象文字表示制御手段が、前記誤認識文字選択ステップで選択された前記誤認識文字を前記表示手段における書き直し領域に表示させる修正対象文字表示制御ステップと、前記文字修正手段が、前記書き直し領域に表示された前記誤認識文字に対する前記操作者のマウス操作、タイマによる時間到達又は前記操作者による操作ボタンの押下に基づいて、前記誤認識文字を他の文字に修正する文字修正ステップとを有することを特徴とする。 The invention according to claim 9 is a handwritten character recognition method executed by a handwritten character recognition device that recognizes a handwritten character input by an operator to the coordinate input device, the character recognition device comprising: a character acquisition unit; Storage control means, character dividing means, character recognition means, recognized character display control means, character change means, character selection means, character change means, confirmation means , erroneous recognition character selection means, correction A handwritten character acquisition step, comprising: a target character display control unit; and a character correction unit , wherein the character acquisition unit acquires, in line units, handwritten character information related to a plurality of handwritten characters input to the coordinate input device by the operator. the storage control means, to the input of handwritten characters in the coordinate input device, a coordinate value of the image of the stroke unit obtained on the basis of the mouse operation of the operator, different A first storage control step for storing coordinate values respectively corresponding to strokes in a coordinate storage unit for each page; and the storage control unit stores the handwritten character information acquired in the character acquisition step in units of lines. A second storage control step for storing the character , and the character dividing means for dividing the plurality of handwritten characters into character units based on the line-by-line handwritten character information acquired by the handwritten character acquiring step; The character recognition unit performs character recognition for each character divided in the character division step, and the storage control unit performs the character recognition for each character subjected to character recognition in the character recognition step. A recognized character corresponding to the character and a recognized character candidate that may be a recognized character, and a start in the coordinate storage means corresponding to the character Over the di and end page, and a third storage control step of storing the result storage means and the upper left coordinates and lower right coordinates of the lines containing the character, said recognized character display control means, said plurality of handwriting row A recognized character display control step for causing the display means to display a recognized character corresponding to each of the plurality of handwritten characters and a recognized character candidate that may be a recognized character; and the character selection means includes the line unit storage means And a character selection step of selecting a recognized character candidate displayed by the recognized character display unit according to a position input by the operator to the coordinate input device with reference to the result storage unit, and the character change unit Is a character to be displayed on the display means by changing the recognized character corresponding to the recognized character candidate selected in the character selection step to the selected recognized character candidate. A change step; a confirmation step in which the confirmation means confirms a character recognition result by hiding the display of the recognized character candidates according to a position input by the operator to the coordinate input device; and the erroneously recognized character A selection means for selecting an erroneously recognized character obtained by erroneous recognition in the character recognition step according to an instruction from the operator; and a correction target character display control means for selecting the erroneously recognized character. A correction target character display control step for displaying the erroneously recognized character selected in step in the rewriting area of the display means; and the operator's mouse for the erroneously recognized character displayed in the rewritten area by the character correcting means A character correction step for correcting the misrecognized character to another character based on an operation, time reached by a timer, or pressing of an operation button by the operator. Characterized in that it has and.

また、請求項1にかかる発明は、文字認識プログラムであって、請求項に記載の文字認識方法をコンピュータに実行させることを特徴とする。 The invention according to claim 1 0, a character recognition program, characterized in that to execute the character recognition method according to claim 9 to the computer.

請求項1にかかる発明によれば、複数の手書き文字に対して、誤った文字認識がされた文字認識結果の修正を行単位で一括して行うことができ、操作者による操作を簡便化させることができるという効果を奏する。また手書き文字を一括して認識する際に、誤認識した文字の修正を、1文字単位だけでなく、複数文字単位でも行うことができるので、文字認識装置の利便性を向上させることができるという効果を奏する。 According to the first aspect of the present invention, correction of character recognition results in which erroneous character recognition has been performed on a plurality of handwritten characters can be collectively performed in units of lines, and the operation by the operator is simplified. There is an effect that can be. In addition , when recognizing handwritten characters in a batch, correction of misrecognized characters can be performed not only in units of one character but also in units of a plurality of characters, so that the convenience of the character recognition device can be improved. There is an effect.

また、請求項にかかる発明によれば、操作者は、自由に誤認識文字を選択することができ、文字認識装置の利便性が向上するという効果を奏する。 Further, according to the invention of claim 2 , the operator can freely select the erroneously recognized character, and the convenience of the character recognition device is improved.

また、請求項にかかる発明によれば、操作者は、手書き文字表示手段に表示された手書き文字を見ながら所望の手書き文字を選択することができ、文字認識装置の利便性を向上させることができるという効果を奏する。 According to the invention of claim 3 , the operator can select a desired handwritten character while looking at the handwritten character displayed on the handwritten character display means, thereby improving the convenience of the character recognition device. There is an effect that can be.

また、請求項にかかる発明によれば、ジェスチャ処理を用いることによって、操作者による操作を簡便化することができるという効果を奏する。 Moreover, according to the invention concerning Claim 4 , there exists an effect that operation by an operator can be simplified by using gesture processing.

また、請求項にかかる発明によれば、ジェスチャ処理を用いることによって、操作者による操作を簡便化することができるという効果を奏する。 Moreover, according to the invention concerning Claim 5 , there exists an effect that operation by an operator can be simplified by using gesture processing.

また、請求項にかかる発明によれば、ジェスチャ処理を用いることによって、操作者による操作を簡便化することができるという効果を奏する。 Moreover, according to the invention concerning Claim 6 , there exists an effect that operation by an operator can be simplified by using gesture processing.

また、請求項にかかる発明によれば、操作者による操作を簡便化させることができるという効果を奏する。 Moreover, according to the invention concerning Claim 7 , there exists an effect that operation by an operator can be simplified.

また、請求項にかかる発明によれば、操作者による操作を簡便化させることができるという効果を奏する。 Moreover, according to the invention concerning Claim 8 , there exists an effect that operation by an operator can be simplified.

また、請求項にかかる発明によれば、複数の手書き文字に対して、誤った文字認識がされた文字認識結果の修正を行単位で一括して行うことができ、操作者による操作を簡便化させることができるという効果を奏する。 According to the ninth aspect of the present invention, correction of character recognition results in which erroneous character recognition has been performed on a plurality of handwritten characters can be performed collectively in units of lines, and the operation by the operator is simplified. There is an effect that can be made.

また、請求項1にかかる発明によれば、複数の手書き文字に対して、誤った文字認識がされた文字認識結果の修正を行単位で一括して行うことができ、操作者による操作を簡便化させることができるという効果を奏する。また、手書き文字を一括して認識する際に、誤認識した文字の修正を、1文字単位だけでなく、複数文字単位でも行うことができるので、文字認識装置の利便性を向上させることができるという効果を奏する。 Further, according to the invention according to claim 1 0, for a plurality of handwritten characters, wrong correction of the character recognition character recognition result can be a performed collectively in units of rows, the operation by the operator There is an effect that it can be simplified. In addition, when recognizing handwritten characters in a batch, correction of misrecognized characters can be performed not only in units of one character but also in units of a plurality of characters, so that the convenience of the character recognition device can be improved. There is an effect.

以下に添付図面を参照して、この発明にかかる文字認識装置、文字認識方法および文字認識プログラムの最良な実施の形態を詳細に説明する。   Exemplary embodiments of a character recognition device, a character recognition method, and a character recognition program according to the present invention will be explained below in detail with reference to the accompanying drawings.

(第1の実施の形態)
図1は、実施の形態1にかかる文字認識装置を含む文字認識システム1の全体構成を示す図である。
(First embodiment)
FIG. 1 is a diagram illustrating an overall configuration of a character recognition system 1 including a character recognition device according to a first embodiment.

文字認識システム1は、文字認識装置100と、手書き文字入力装置200とを備えている。本実施の形態にかかる文字認識装置100は、パーソナルコンピュータである。手書き文字入力装置200は、具体的には、大画面表示装置である。手書き文字入力装置200は、手書き文字等を入力する手書き文字入力画面210と、手書き文字入力画面210に入力された手書き文字等を表示する表示部220とを有している。手書き文字入力画面210は、具体的には、ユーザからの入力を座標値として取得する座標入力装置である。手書き文字入力画面210と表示部220とは一体に設けられている。   The character recognition system 1 includes a character recognition device 100 and a handwritten character input device 200. The character recognition device 100 according to the present embodiment is a personal computer. Specifically, the handwritten character input device 200 is a large screen display device. The handwritten character input device 200 includes a handwritten character input screen 210 for inputting handwritten characters and the like, and a display unit 220 for displaying the handwritten characters input on the handwritten character input screen 210. Specifically, the handwritten character input screen 210 is a coordinate input device that acquires input from the user as coordinate values. The handwritten character input screen 210 and the display unit 220 are provided integrally.

なお、ユーザが手書き文字入力画面210に文字等を入力するための入力手段として、マウスやタブレットを利用してもよい。   Note that a mouse or a tablet may be used as input means for the user to input characters or the like on the handwritten character input screen 210.

また、表示部220は、CRTやプロジェクタなどであってもよい。また、表示部220の他の例としては、すでに市販されている装置であって、座標入力装置とプロジェクタを組み合わせたものであってもよい。   The display unit 220 may be a CRT or a projector. Another example of the display unit 220 may be a device that is already on the market and that combines a coordinate input device and a projector.

手書き文字入力装置200の手書き文字入力画面210は、図1に示すように、操作者が指またはペンなどの入力手段を利用して入力した信号を座標値として検出する。そして、文字認識装置100に送る。文字認識装置100は、手書き文字入力画面210から取得した座標値の集合(以下、ストローク)に対して処理を行なう。そして、得られた処理内容を表示部220に表示する。   As shown in FIG. 1, the handwritten character input screen 210 of the handwritten character input device 200 detects a signal input by an operator using an input means such as a finger or a pen as a coordinate value. Then, it is sent to the character recognition device 100. The character recognition device 100 performs processing on a set of coordinate values (hereinafter referred to as a stroke) acquired from the handwritten character input screen 210. Then, the obtained processing content is displayed on the display unit 220.

本実施の形態においては、ユーザが手書き文字入力画面210に対して行う行為は、マウスの左ボタンに対応付けられている。例えば、ユーザが手書き文字入力画面210に触れる行為は、マウス左ボタンのDOWNイベントに対応付けられている。また、操作者が入力手段を利用して座標入力部に触れた状態のまま移動する行為は、マウス左ボタンのMOVEイベントに対応付けられている。また、操作者が入力手段を座標入力部から離す行為は、マウス左ボタンのUPイベントに対応付けられている。   In the present embodiment, the action that the user performs on the handwritten character input screen 210 is associated with the left button of the mouse. For example, the action of the user touching the handwritten character input screen 210 is associated with the DOWN event of the left mouse button. The action of the operator moving while using the input means while touching the coordinate input unit is associated with the move event of the left mouse button. The action of the operator separating the input means from the coordinate input unit is associated with the UP event of the left mouse button.

手書き文字入力装置200には、手書き文字入力画面210を制御するドライバが設けられている。手書き文字入力画面210の制御ドライバは、操作者の行為により得られた座標値とマウスイベントの情報を文字認識装置100に対して出力する。   The handwritten character input device 200 is provided with a driver for controlling the handwritten character input screen 210. The control driver of the handwritten character input screen 210 outputs the coordinate value obtained by the operator's action and mouse event information to the character recognition device 100.

図2は、文字認識装置100の機能構成を示すブロック図である。文字認識装置100は、座標取得部102と、コマンド処理部104と、手書き文字一括認識部106と、文字編集部108と、表示処理部110と、座標値メモリ120と、行単位メモリ122と、結果メモリ124と、修正メモリ126と、書き直しメモリ128とを有している。   FIG. 2 is a block diagram illustrating a functional configuration of the character recognition device 100. The character recognition device 100 includes a coordinate acquisition unit 102, a command processing unit 104, a handwritten character batch recognition unit 106, a character editing unit 108, a display processing unit 110, a coordinate value memory 120, a line unit memory 122, A result memory 124, a correction memory 126, and a rewrite memory 128 are included.

座標取得部102は、手書き文字入力画面210に入力された座標値を、手書き文字入力画面210を制御するドライバから取得する。そして、座標値を座標値メモリ120および行単位メモリ122に格納する。   The coordinate acquisition unit 102 acquires coordinate values input to the handwritten character input screen 210 from a driver that controls the handwritten character input screen 210. Then, the coordinate value is stored in the coordinate value memory 120 and the row unit memory 122.

図3は、座標値メモリ120のデータ構成を示している。座標値メモリ120は、複数の座標値をストローク画像単位で格納している。ストローク画像とは、マウスのDOWNからMOVEを経てUPまでの間のイベントによって得られる画像である。   FIG. 3 shows the data structure of the coordinate value memory 120. The coordinate value memory 120 stores a plurality of coordinate values in units of stroke images. The stroke image is an image obtained by an event from the mouse DOWN to MOVE to UP.

行単位メモリ122は、複数のページを有している。各ページは、1ストローク画像に対応する複数の座標値を格納している。すなわち、1ページには、ストロークの間、すなわちマウスのDOWNからUPまでの間に得られた座標値がすべて格納されている。   The row unit memory 122 has a plurality of pages. Each page stores a plurality of coordinate values corresponding to one stroke image. That is, one page stores all the coordinate values obtained during the stroke, that is, between the DOWN and UP of the mouse.

さらに、座標値メモリ120は複数のページを有し、複数のストローク画像に対応する座標値を格納している。各ページには、異なるストロークに対応する座標値が格納されている。   Furthermore, the coordinate value memory 120 has a plurality of pages and stores coordinate values corresponding to a plurality of stroke images. Each page stores coordinate values corresponding to different strokes.

図4は、行単位メモリ122のデータ構成を示している。行単位メモリ122は、複数行に渡って記載された手書き文字を行単位で格納している。行単位メモリ122は、複数のページを有している。各ページは、1行分の手書き文字に対応する情報を格納している。   FIG. 4 shows the data structure of the row unit memory 122. The line unit memory 122 stores handwritten characters written over a plurality of lines in units of lines. The row unit memory 122 has a plurality of pages. Each page stores information corresponding to one line of handwritten characters.

ここで、1行とは、手書き文字入力画面210の垂直方向における所定の範囲のことである。この所定の範囲、すなわち高さを示す高さ情報を予め保持している。そして、高さ情報に所定の余白を設けた垂直方向の範囲内に、新たなストロークが一部でも入った場合は、当該ストロークは同一行に対するストロークとして認識する。   Here, one line is a predetermined range in the vertical direction of the handwritten character input screen 210. This predetermined range, that is, height information indicating the height is held in advance. If even a part of a new stroke enters the vertical range in which a predetermined margin is provided in the height information, the stroke is recognized as a stroke for the same line.

各ページは、各ページに含まれ1行分のストローク画像の座標値メモリ120における開始ページと終了ページを示す情報を格納している。各ページはまた、対応する行の外接四角形を示す情報を格納している。具体的には、行の左上座標と右下座標とが外接四角形を示す情報を格納している。   Each page stores information indicating a start page and an end page in the coordinate value memory 120 of the stroke image for one line included in each page. Each page also stores information indicating the bounding rectangle of the corresponding row. Specifically, the upper left coordinate and lower right coordinate of the row store information indicating a circumscribed rectangle.

各ページはさらに、対応する行に含まれる文字に対する認識結果を格納する、結果メモリ124の開始ページと終了ページを示す情報を格納している。   Each page further stores information indicating a start page and an end page of the result memory 124 that stores a recognition result for characters included in the corresponding line.

再び、説明を図2に戻す。コマンド処理部104は、座標取得部102が取得した座標値に基づいて、ユーザからの命令を特定する。ユーザからの命令としては、手書き文字一括認識処理命令および文字編集処理命令がある。ここで、手書き文字一括認識処理とは、ユーザによって手書き文字入力画面210に入力された手書き文字を認識する処理である。複数の手書き文字が入力されている場合には、複数の手書き文字全てに対し、一括して文字認識処理を行う。また、文字編集処理とは、既に文字認識され、特定された文字を他の文字に変更する処理である。すなわち、誤った文字を認識した場合に、正しい文字に修正する処理を行う。   Again, the description returns to FIG. The command processing unit 104 specifies a command from the user based on the coordinate value acquired by the coordinate acquisition unit 102. As commands from the user, there are a handwritten character batch recognition processing command and a character editing processing command. Here, the handwritten character batch recognition processing is processing for recognizing handwritten characters input on the handwritten character input screen 210 by the user. When a plurality of handwritten characters are input, a character recognition process is performed on all the plurality of handwritten characters. The character editing process is a process for changing a character already recognized and identified to another character. That is, when an erroneous character is recognized, a process for correcting it to a correct character is performed.

手書き文字一括認識部106は、手書き文字入力画面210に入力された手書き文字に対して文字認識処理を行う。手書き文字入力画面210に複数の文字が入力されている場合には、複数の文字すべてに対し、一括して文字認識処理を行う。具体的には、まず手書き文字を文字単位に分割する。そして、分割によって得られた各文字に対して文字認識処理を行う。そして、各手書き文字に対する文字認識により得られた認識文字を結果メモリ124に格納する。   The handwritten character batch recognition unit 106 performs character recognition processing on the handwritten characters input on the handwritten character input screen 210. When a plurality of characters are input on the handwritten character input screen 210, character recognition processing is performed on all the plurality of characters at once. Specifically, the handwritten character is first divided into character units. Then, character recognition processing is performed on each character obtained by the division. The recognized characters obtained by character recognition for each handwritten character are stored in the result memory 124.

手書き文字一括認識部106はさらに、文字認識処理によって認識文字である可能性が高い認識文字候補も併せて結果メモリ124に格納する。例えば、認識文字が「う」である場合に、認識文字「う」に似た「ラ」認識文字候補として格納される。   The handwritten character batch recognition unit 106 further stores, in the result memory 124, recognized character candidates that are highly likely to be recognized characters by the character recognition process. For example, when the recognized character is “u”, it is stored as a “ra” recognized character candidate similar to the recognized character “u”.

図5は、結果メモリ124のデータ構成を示している。結果メモリ124は、手書き文字一括認識部106による文字認識の結果を格納している。結果メモリ124は、複数のページを有している。各ページは、1文字に対応する認識文字および認識文字候補を格納している。各ページはさらに、格納している1文字に対応する座標値メモリ120の開始ページおよび終了ページ、格納している1文字を含む行の左上座標および右下座標を格納している。   FIG. 5 shows the data structure of the result memory 124. The result memory 124 stores the result of character recognition by the handwritten character batch recognition unit 106. The result memory 124 has a plurality of pages. Each page stores a recognized character and a recognized character candidate corresponding to one character. Each page further stores a start page and an end page of the coordinate value memory 120 corresponding to one stored character, and an upper left coordinate and a lower right coordinate of a line including the stored one character.

文字編集部108は、手書き文字一括認識部106による文字認識処理により得られた認識文字をユーザからの指示により編集する。修正メモリ126は、このときユーザにより選択された認識文字および認識文字候補を一時的に格納する。文字編集部108はまた、手書き文字一括認識部106による認識処理により得られた認識文字に対し、ユーザから再度取得した手書き文字に基づいて、認識文字を修正する。この書き直し処理において得られた認識文字および認識文字候補は、書き直しメモリ128に格納される。   The character editing unit 108 edits the recognized character obtained by the character recognition process by the handwritten character batch recognition unit 106 according to an instruction from the user. The correction memory 126 temporarily stores the recognized character and the recognized character candidate selected by the user at this time. The character editing unit 108 also corrects the recognized character based on the handwritten character acquired again from the user with respect to the recognized character obtained by the recognition processing by the handwritten character batch recognition unit 106. The recognized character and the recognized character candidate obtained in this rewriting process are stored in the rewriting memory 128.

表示処理部110は、座標値メモリ120、行単位メモリ122、結果メモリ124、修正メモリ126および書き直しメモリ128に格納されている情報を表示部220に表示する。   The display processing unit 110 displays information stored in the coordinate value memory 120, the row unit memory 122, the result memory 124, the correction memory 126, and the rewrite memory 128 on the display unit 220.

なお、本実施の形態にかかる座標取得部102は、特許請求の範囲に記載の手書き文字取得手段、誤認識文字選択手段、修正文字選択手段、修正文字取得手段に相当する。また、本実施の形態にかかる手書き文字一括認識部106は、特許請求の範囲に記載の文字切出手段と文字認識手段とに相当する。また、本実施の形態にかかる文字編集部108は、特許請求の範囲に記載の文字修正手段に相当する。   The coordinate acquisition unit 102 according to the present embodiment corresponds to the handwritten character acquisition unit, the misrecognized character selection unit, the corrected character selection unit, and the corrected character acquisition unit described in the claims. Moreover, the handwritten character collective recognition unit 106 according to the present embodiment corresponds to a character cutout unit and a character recognition unit described in the claims. In addition, the character editing unit 108 according to the present embodiment corresponds to the character correction means described in the claims.

図6は、文字認識装置100による文字認識処理を示すフローチャートである。文字認識装置100の座標取得部102は、まず手書き文字入力画面210から座標値を取得する(ステップS102)。次に、取得した座標値を順次座標値メモリ120に格納する(ステップS104)。   FIG. 6 is a flowchart showing character recognition processing by the character recognition device 100. The coordinate acquisition unit 102 of the character recognition device 100 first acquires coordinate values from the handwritten character input screen 210 (step S102). Next, the acquired coordinate values are sequentially stored in the coordinate value memory 120 (step S104).

次に、コマンド処理部104は、座標取得部102が取得した座標値に基づいて、コマンド処理を行う。コマンド処理では、ユーザからの命令が手書き文字一括認識処理命令および文字編集処理命令のいずれであるかを判別する。そして、手書き文字一括認識部106または文字編集部108に対して、判別した命令を出す。   Next, the command processing unit 104 performs command processing based on the coordinate values acquired by the coordinate acquisition unit 102. In the command processing, it is determined whether the command from the user is a handwritten character batch recognition processing command or a character editing processing command. Then, the determined command is issued to the handwritten character batch recognition unit 106 or the character editing unit 108.

なお、座標取得部102は、1ストローク分の座標値を取得すると、当該ストローク画像が、手書き文字の入力であるか、命令であるかを判別する。そして、命令である場合にコマンド処理を行う。手書き文字の入力である場合など、いずれの命令にも該当しない場合には、ステップS102に戻り、座標情報取得処理を繰り返す。   When the coordinate acquisition unit 102 acquires a coordinate value for one stroke, the coordinate acquisition unit 102 determines whether the stroke image is an input of a handwritten character or a command. If it is an instruction, command processing is performed. If none of the commands corresponds to input of handwritten characters or the like, the process returns to step S102 and the coordinate information acquisition process is repeated.

コマンド処理(ステップS106)において、コマンド処理部104がユーザからの命令が手書き文字一括認識処理命令であると判別した場合には、手書き文字一括認識部106に対して処理を命令する。そして、手書き文字一括認識部106は、手書き文字入力画面210に入力された手書き文字に対して、手書き文字一括認識を行う(ステップS110)。   In the command processing (step S106), when the command processing unit 104 determines that the command from the user is a handwritten character batch recognition processing command, the command processing unit 104 commands the handwritten character batch recognition unit 106 to perform processing. Then, the handwritten character batch recognition unit 106 performs handwritten character batch recognition on the handwritten characters input on the handwritten character input screen 210 (step S110).

手書き文字一括認識処理においては、行単位で一括して手書き文字を認識する。そして、各文字に対する文字認識結果を結果メモリ124に格納する。具体的には、文字認識の結果得られた認識文字および認識文字候補と結果メモリ124に格納する。さらに、表示処理部110は、認識文字および認識文字候補を表示部220に表示させる。   In the handwritten character batch recognition process, handwritten characters are recognized in batches in units of lines. The character recognition result for each character is stored in the result memory 124. Specifically, the recognized character and the recognized character candidate obtained as a result of character recognition and the result memory 124 are stored. Further, the display processing unit 110 causes the display unit 220 to display the recognized character and the recognized character candidate.

一方、コマンド処理(ステップS106)において、コマンド処理部104がユーザからの命令が文字編集処理命令であると判別した場合には、文字編集部108に対して処理を命令する。そして、文字編集部108は、ユーザによって指定された手書き文字に対する文字編集処理を行う(ステップS112)。文字編集処理においては、手書き文字一括認識部106による文字認識によって得られた文字認識の結果を修正する。文字編集処理(ステップS112)については後述する。   On the other hand, in the command processing (step S106), when the command processing unit 104 determines that the command from the user is a character editing processing command, the command processing unit 104 commands the character editing unit 108 to perform processing. Then, the character editing unit 108 performs character editing processing on the handwritten character designated by the user (step S112). In the character editing process, the character recognition result obtained by the character recognition by the handwritten character batch recognition unit 106 is corrected. The character editing process (step S112) will be described later.

表示処理(ステップS120)においては、手書き文字一括認識処理(ステップS110)または文字編集処理(ステップS112)において得られた結果を各メモリから取得し、表示部220に表示させる。同時に、座標入力処理へ処理を返す。ユーザからの入力を待ち、以上の処理を繰り返す。   In the display process (step S120), the result obtained in the handwritten character batch recognition process (step S110) or the character editing process (step S112) is acquired from each memory and displayed on the display unit 220. At the same time, the process is returned to the coordinate input process. Waiting for input from the user, the above processing is repeated.

図7は、図6において説明したステップS104における座標取得部102の詳細な処理を示すフローチャートである。   FIG. 7 is a flowchart showing detailed processing of the coordinate acquisition unit 102 in step S104 described in FIG.

座標取得部102は、マウスイベントを常に監視している(ステップS140)。マウスイベントがない場合は、マウスイベントの監視でループし続ける。   The coordinate acquisition unit 102 constantly monitors mouse events (step S140). If there are no mouse events, the loop continues to monitor for mouse events.

手書き文字入力画面210におけるマウスイベントが検出された場合は(ステップS140,Yes)、座標取得部102は、座標値を結果メモリ124に格納する(ステップS142)。次に、UPイベントかどうかを調べる(ステップS144)。UPイベントがない場合は(ステップS144,No)、マウスイベントの監視へ処理を返す。UPイベントであれば(ステップS144,Yes)、座標値メモリ120のページを次のページにする(ステップS146)。具体的には、ページ番号を1大きくする。そして、以降の座標値を次のページに格納する。   When a mouse event is detected in the handwritten character input screen 210 (step S140, Yes), the coordinate acquisition unit 102 stores the coordinate value in the result memory 124 (step S142). Next, it is checked whether the event is an UP event (step S144). If there is no UP event (step S144, No), the process is returned to the mouse event monitoring. If it is an UP event (step S144, Yes), the page of the coordinate value memory 120 is changed to the next page (step S146). Specifically, the page number is increased by one. The subsequent coordinate values are stored in the next page.

以上の処理により、マウスのDOWNからUPまでの間に得られた座標値群をストロークとして座標値メモリ120に格納することができる。図8は、手書き文字入力画面210に対するストローク画像を示している。   Through the above processing, the coordinate value group obtained between the DOWN and UP of the mouse can be stored in the coordinate value memory 120 as a stroke. FIG. 8 shows a stroke image for the handwritten character input screen 210.

同時に、ストローク単位を操作者に明示するために図8に示すように各座標点間を直線で結んだストローク画像を表示部220に表示すべく表示処理部110に対し、表示処理を指示する。表示処理部110は、ストローク画像としての線分を表示部220に表示する。   At the same time, in order to clearly indicate the stroke unit to the operator, the display processing unit 110 is instructed to display the stroke image in which the coordinate points are connected with straight lines as shown in FIG. The display processing unit 110 displays a line segment as a stroke image on the display unit 220.

次に、座標取得部102は、行の判別を行う(ステップS148)。具体的には、行単位で高さ情報を保持している。そして、高さ情報に所定の余白を設けた垂直方向の範囲内に、新たなストロークが一部でも入った場合は同じ行における手書き文字と認識する。この場合、行単位メモリ122に座標値メモリ120のページ番号を追加する(ステップS150)。   Next, the coordinate acquisition unit 102 determines a row (step S148). Specifically, height information is held in units of lines. And even if some new strokes enter in the range of the vertical direction which provided the predetermined margin in height information, it recognizes as the handwritten character in the same line. In this case, the page number of the coordinate value memory 120 is added to the line unit memory 122 (step S150).

同時に、新たな行を含めた一行分のストローク群の外接四角形(行の左上座標と右下座標)を求める。そして、求めた座標値を行単位メモリ122に格納する。新たなストロークが一部も入っていない場合は、新たな行と認識する。そして、行単位メモリ122のページをめくる。すなわち、ページ番号を1大きくする。行判別が完了すると、コマンド処理に移行する。   At the same time, a circumscribed rectangle (upper left coordinates and lower right coordinates of the line) of the stroke group for one line including the new line is obtained. Then, the obtained coordinate value is stored in the row unit memory 122. If there is no new stroke, it is recognized as a new line. Then, the page of the line unit memory 122 is turned. That is, the page number is increased by one. When the line determination is completed, the process proceeds to command processing.

図9は、コマンド処理(ステップS106)におけるコマンド処理部104の詳細な処理を示すフローチャートである。まず、ユーザから手書き文字一括認識処理命令があった場合には(ステップS162,Yes)手書き文字一括認識部106は、文字認識を行う。   FIG. 9 is a flowchart showing detailed processing of the command processing unit 104 in the command processing (step S106). First, when there is a handwritten character batch recognition processing command from the user (step S162, Yes), the handwritten character batch recognition unit 106 performs character recognition.

手書き文字一括認識処理命令は、以下の2つの方法により発行される。すなわち1つめは、手書き文字入力画面210の任意の場所に認識開始用のボタンを配置しておく。そして、ユーザが当該ボタンを押下した場合に、手書き文字一括認識処理命令を発行する。   The handwritten character batch recognition processing command is issued by the following two methods. That is, first, a button for starting recognition is arranged at an arbitrary place on the handwritten character input screen 210. Then, when the user presses the button, a handwritten character batch recognition processing command is issued.

もう一つは、マウスUPイベント後、所定の時間内にさらなる入力があるかどうかを調査する。そして、入力がない場合に手書き文字一括認識処理命令を発行する。   The other is to investigate whether there is further input within a predetermined time after the mouse UP event. When there is no input, a handwritten character batch recognition processing command is issued.

以上のうちいずれかの方法により手書き文字一括認識処理命令が発行された場合に、手書き文字一括認識部106は、手書き文字一括認識処理を行う。   When a handwritten character batch recognition processing command is issued by any of the above methods, the handwritten character batch recognition unit 106 performs a handwritten character batch recognition process.

手書き文字一括認識処理命令が発行されない場合は(ステップS162,No)、文字編集処理命令の有無を確認する。   When the handwritten character batch recognition processing command is not issued (step S162, No), the presence / absence of the character editing processing command is confirmed.

文字編集処理命令は以下の方法により指定される。すなわち、手書き文字入力画面210の任意の場所に編集用のON/OFFボタンを配置しておく。そして、ユーザが当該ボタンを押下した場合に、ON/OFFを切り替える。ボタンの状態がONの場合、文字編集処理命令があったと判断し(ステップS164,Yes)文字編集処理に移行する。OFFの場合は、文字編集処理命令がないと判断し(ステップS164,No)、ステップS102に戻る。   The character editing processing command is specified by the following method. That is, an ON / OFF button for editing is arranged at an arbitrary location on the handwritten character input screen 210. When the user presses the button, ON / OFF is switched. If the button state is ON, it is determined that there has been a character editing process command (step S164, Yes), and the process proceeds to character editing process. If it is OFF, it is determined that there is no character editing processing command (step S164, No), and the process returns to step S102.

図10は、図6に示す手書き文字一括認識処理(ステップS110)における手書き文字一括認識部106の詳細な処理を示すフローチャートである。手書き文字一括認識部106は、まず座標値メモリ120および行単位メモリ122を参照し、一行分のストローク群を呼び出す(ステップS200)。次に、一文字切り出しによって、ストローク群を一文字単位のストロークに分割する(ステップS202)。このストロークに分割する処理により、座標メモリの何ページから何ページまでが一文字かを特定することができる。   FIG. 10 is a flowchart showing detailed processing of the handwritten character batch recognition unit 106 in the handwritten character batch recognition processing (step S110) shown in FIG. The handwritten character batch recognition unit 106 first refers to the coordinate value memory 120 and the line unit memory 122 and calls a stroke group for one line (step S200). Next, the stroke group is divided into strokes in units of one character by cutting out one character (step S202). By the process of dividing into strokes, it is possible to specify how many pages to how many pages in the coordinate memory are one character.

次に、分割した一文字単位のストローク群それぞれについて、認識エンジンを用いて文字認識を行う(ステップS204,Yes、ステップS206)。そして、結果メモリ124に認識文字および認識文字候補を格納する。同時に行単位メモリ122の結果メモリページに結果メモリのページ番号を追加する。   Next, character recognition is performed using the recognition engine for each divided stroke group of one character unit (step S204, Yes, step S206). Then, the recognized character and the recognized character candidate are stored in the result memory 124. At the same time, the page number of the result memory is added to the result memory page of the row unit memory 122.

なお、1文字を切り出す手法としては、様々な手法がすでに提案されており、そのいずれの手法を利用してもよい。また、認識エンジンについても同様に、認識の方法は、限定されるものではない。   Various methods have already been proposed as a method for cutting out one character, and any of these methods may be used. Similarly, the recognition method for the recognition engine is not limited.

次に、1文字単位の文字領域、つまり外接四角形を算出する(ステップS208)。一文字切り出しによって1文字分のストロークは分かっているので、座標メモリを参照し、1文字分のストローク群の存在する領域の左上座標と右下座標を算出し、結果メモリに記憶する。   Next, a character area in units of one character, that is, a circumscribed rectangle is calculated (step S208). Since the stroke for one character is known by cutting out one character, the upper left coordinate and the lower right coordinate of the region where the stroke group for one character exists are calculated with reference to the coordinate memory, and stored in the result memory.

全文字について認識が終了したら(ステップS204,No)、次の行が存在するかどうかを調べる(ステップS210)。次の行が存在する場合(ステップS210,Yes)はステップS200に戻る。   When the recognition has been completed for all characters (step S204, No), it is checked whether or not the next line exists (step S210). If the next line exists (step S210, Yes), the process returns to step S200.

一方、次の行が存在しない場合には(ステップS210,No)、表示処理(ステップS120)に移行する。以上により、(ステップS110)における手書き文字一括認識処理が完了する。これにより、結果メモリ124に認識結果を格納することができる。   On the other hand, when the next line does not exist (step S210, No), the process proceeds to the display process (step S120). Thus, the handwritten character batch recognition process in (Step S110) is completed. As a result, the recognition result can be stored in the result memory 124.

図11は、図6に示す文字編集処理(ステップS112)における文字編集部108の詳細な処理を示すフローチャートである。まず、行単位メモリ122または結果メモリ124を参照し、文字編集処理を実行する対象文字を決定する(ステップS220)。   FIG. 11 is a flowchart showing detailed processing of the character editing unit 108 in the character editing processing (step S112) shown in FIG. First, referring to the line unit memory 122 or the result memory 124, a target character to be subjected to character editing processing is determined (step S220).

対象文字の選択には、ジェスチャ処理を用いる。ジェスチャ処理とは、所定の単位で文字を選択する処理である。ジェスチャ処理には、行単位の選択、複数文字単位の選択、単一文字の選択の3つの選択方法がある。図12から図16を参照しつつジェスチャ処理について詳述する。   Gesture processing is used to select the target character. The gesture process is a process for selecting a character in a predetermined unit. There are three types of gesture processing: line-by-line selection, multi-character unit selection, and single-character selection. The gesture processing will be described in detail with reference to FIGS.

図12は、表示部220に表示された手書き文字一括認識処理の結果を示している。ユーザが手書き文字を入力し、手書き文字一括認識処理が実行されると、手書き文字1文字ごとに対応する認識文字が表示される。   FIG. 12 shows the result of the handwritten character batch recognition process displayed on the display unit 220. When the user inputs a handwritten character and the handwritten character batch recognition process is executed, a recognized character corresponding to each handwritten character is displayed.

図12に示すように、手書き文字が表示され、各手書き文字の下に手書き文字一括認識部106による文字認識により得られた認識文字が表示される。   As shown in FIG. 12, handwritten characters are displayed, and recognized characters obtained by character recognition by the handwritten character collective recognition unit 106 are displayed under each handwritten character.

ここで、1行分の手書き文字を含む矩形領域が行領域300である。また、各手書き文字を含む矩形領域が文字領域310a〜eである。   Here, a rectangular area including one line of handwritten characters is the line area 300. Moreover, the rectangular area | region containing each handwritten character is character area 310a-e.

図12に示す表示内容に対し、図13に示すように行領域300であって、いずれの手書き文字に対する文字領域310a〜eにも該当しない領域がクリックされた場合、行単位の選択として認識される。すなわち、"いずれの文字領域にも含まれない行領域内をクリックした"という判別条件に該当する。   When the display area shown in FIG. 12 is clicked on the line area 300 as shown in FIG. 13 and does not correspond to the character areas 310a to 310e for any handwritten character, it is recognized as a selection in line units. The That is, the determination condition is “clicked in a line area not included in any character area”.

この場合、文字編集部108は、行単位メモリ122を参照してクリック座標を含む行領域を特定する。そして、特定した行領域に対応する結果メモリ124における結果メモリ開始ページおよび結果メモリ終了ページから対象文字を決定する。   In this case, the character editing unit 108 refers to the line unit memory 122 and specifies a line area including the click coordinates. Then, the target character is determined from the result memory start page and the result memory end page in the result memory 124 corresponding to the specified row area.

また、図12に示す表示内容に対し、図14に示すように行領域300のうち所定の文字を囲む囲み線がユーザによって描かれた場合には、複数文字単位の選択として認識される。すなわち、"いずれかの文字領域を内包する囲み線"という判別条件に該当する。   Further, when the user draws a surrounding line surrounding a predetermined character in the row area 300 as shown in FIG. 14 with respect to the display content shown in FIG. 12, it is recognized as a selection of a plurality of characters. That is, it corresponds to the discrimination condition “enclosing line including any character area”.

この場合、文字編集部108は、まず対象文字を決定する。具体的には、囲み線の外接四角形を算出する。そして、結果メモリ124の左上座標および右下座標に基づいて、算出した外接四角形の内部に存在する結果メモリ124のページを対象文字として決定する。   In this case, the character editing unit 108 first determines a target character. Specifically, a circumscribed rectangle of the encircling line is calculated. Then, based on the upper left coordinates and lower right coordinates of the result memory 124, the page of the result memory 124 existing inside the calculated circumscribed rectangle is determined as the target character.

また、図15に示すようにユーザによって行領域300のうち所定の文字に対応する下線が描かれた場合にも、図14に示す囲み線の場合と同様に、複数文字単位の選択として認識される。この場合も、"文字領域近傍に存在する線分"という判別条件に該当する。   Also, as shown in FIG. 15, when the user draws an underline corresponding to a predetermined character in the row area 300, it is recognized as a selection of a plurality of characters as in the case of the encircled line shown in FIG. The This case also corresponds to the discrimination condition “line segment existing near the character area”.

この場合、文字編集部108は、線分を構成する座標群からy座標方向に所定距離内に文字領域310a〜eが存在するかどうかを結果メモリ124を参照して判定する。文字領域310が存在する場合には、その結果メモリ124のページを対象文字として決定する。   In this case, the character editing unit 108 determines whether or not the character regions 310a to 310e exist within a predetermined distance in the y coordinate direction from the coordinate group constituting the line segment with reference to the result memory 124. If the character area 310 exists, the page of the memory 124 is determined as the target character as a result.

また、図12に示す表示内容に対し、図16に示すように文字領域310a〜eのいずれかがクリックされた場合には、単一文字の選択として認識される。すなわち、"いずれかの文字領域内をクリックした"という判別条件に該当する。   In addition, when any of the character areas 310a to 310e is clicked on the display content shown in FIG. 12 as shown in FIG. 16, it is recognized as a single character selection. That is, the determination condition is “clicked in any character area”.

この場合、文字編集部108は、クリック座標がいずれの文字領域310a〜eに存在するかを結果メモリ124を参照して特定する。そして、その結果メモリページを対象文字と決定する。   In this case, the character editing unit 108 refers to the result memory 124 to specify in which character region 310a to 310e the click coordinate exists. As a result, the memory page is determined as the target character.

文字編集処理(ステップS112)においては、まず以上の方法で決定した対象文字に対する認識文字および認識文字候補を結果メモリ124から取得する。そして、取得した認識文字および認識候補を修正メモリ126に格納する。そして、文字列編集処理の間は修正メモリ126に記憶した認識文字および認識候補に対して処理を反映させる。   In the character editing process (step S112), first, a recognized character and a recognized character candidate for the target character determined by the above method are acquired from the result memory 124. The acquired recognized characters and recognition candidates are stored in the correction memory 126. During the character string editing process, the process is reflected on the recognized character and the recognition candidate stored in the correction memory 126.

再び説明を図11に戻す。ステップS220において決定した対象文字が単一文字である場合には(ステップS222,Yes)、単一文字用認識文字候補ダイアログを表示する(ステップS224)。一方、単一文字でない場合には(ステップS222,No)、複数文字用の認識文字候補ダイアログを表示する(ステップS226)。   The description returns to FIG. 11 again. If the target character determined in step S220 is a single character (step S222, Yes), a single character recognized character candidate dialog is displayed (step S224). On the other hand, if the character is not a single character (step S222, No), a recognized character candidate dialog for a plurality of characters is displayed (step S226).

このように、単一文字か複数文字かにより、異なる認識文字候補ダイアログを表示する。これにより、ユーザの視認性を高めることができる。   In this manner, different recognition character candidate dialogs are displayed depending on whether the character is a single character or a plurality of characters. Thereby, a user's visibility can be improved.

なお、他の例としては、対象文字が単一文字である場合にも複数文字用の認識文字候補ダイアログを表示してもよい。   As another example, a recognition character candidate dialog for a plurality of characters may be displayed even when the target character is a single character.

図17は、複数文字用の認識文字候補ダイアログ400の一例を示している。複数文字用の認識文字候補ダイアログ400には、確定ボタン402と、認識文字表示領域404と、文字候補表示領域406と、書き直しボタン408とが含まれている。   FIG. 17 shows an example of a recognized character candidate dialog 400 for a plurality of characters. The recognized character candidate dialog 400 for multiple characters includes a confirmation button 402, a recognized character display area 404, a character candidate display area 406, and a rewrite button 408.

認識文字候補ダイアログ400は、図12に示した手書き文字"あいうえお"の認識結果に対し、行単位または複数文字単位で選択された場合に、その結果として表示される。認識文字候補ダイアログ400の認識文字表示領域404には、1行に描かれた複数の手書き文字に対応する認識文字“あいラ之お”が表示される。また、文字候補表示領域406には、各手書き文字に対応する認識文字候補が縦方向に認識候補順に並んで表示されている。また、各認識文字候補はボタンとして表示されており、ユーザは、この中から正しい文字を選択することができる。   The recognized character candidate dialog 400 is displayed as a result when the recognition result of the handwritten character “Aiueo” shown in FIG. 12 is selected in units of lines or a plurality of characters. In the recognized character display area 404 of the recognized character candidate dialog 400, a recognized character “Aira no O” corresponding to a plurality of handwritten characters drawn in one line is displayed. In the character candidate display area 406, recognized character candidates corresponding to each handwritten character are displayed in the vertical direction in the order of recognition candidates. Each recognized character candidate is displayed as a button, and the user can select a correct character from these.

なお、各認識候補ボタンは、各認識文字候補を識別する認識文字候補IDに対応付けられている。ユーザによって文字候補表示領域406中の所定の認識文字候補ボタンが選択されると、文字編集部108は、選択された認識文字候補ボタンに対応する認識文字候補を認識文字として決定することができる。   Each recognition candidate button is associated with a recognized character candidate ID for identifying each recognized character candidate. When the user selects a predetermined recognized character candidate button in the character candidate display area 406, the character editing unit 108 can determine a recognized character candidate corresponding to the selected recognized character candidate button as a recognized character.

再び説明を図11に戻す。認識文字候補ダイアログ400が表示されると(ステップS226)、複数文字用の認識文字候補ダイアログ400においてユーザから入力された内容を判定する(ステップS230)。ユーザからの入力としては、"認識候補のボタン群のいずれかを押下した"、"確定ボタンを押下した"、"書き直しボタンを押下した"の3つがある。以下にそれぞれの場合について述べる。   The description returns to FIG. 11 again. When the recognized character candidate dialog 400 is displayed (step S226), the contents input by the user in the recognized character candidate dialog 400 for a plurality of characters are determined (step S230). There are three types of input from the user: “press one of the recognition candidate buttons”, “press the confirmation button”, and “press the rewrite button”. Each case is described below.

入力が“認識候補のボタン群のいずれかを押下した”の場合(ステップS230,認識候補ボタン押下)、各認識候補ボタンのIDを調べる。そして、修正メモリ126中の複数の認識文字候補のうちから、ユーザによって選択された認識文字候補を特定する。ユーザによって選択された認識文字候補を修正メモリ126に認識文字として格納する(ステップS232)。   If the input is “press any of the recognition candidate buttons” (step S230, press the recognition candidate button), the ID of each recognition candidate button is checked. Then, the recognized character candidate selected by the user from among the plurality of recognized character candidates in the correction memory 126 is specified. The recognized character candidate selected by the user is stored as a recognized character in the correction memory 126 (step S232).

次に、認識文字候補を認識文字候補ダイアログ400の認識文字表示領域404に反映させる。すなわち、選択した認識文字候補を、認識文字として認識文字表示領域404に表示させる(ステップS234)。そして、再度ステップS230に戻り、ユーザからの入力を待つ。   Next, the recognized character candidate is reflected in the recognized character display area 404 of the recognized character candidate dialog 400. That is, the selected recognized character candidate is displayed as a recognized character in the recognized character display area 404 (step S234). And it returns to step S230 again and waits for the input from a user.

図18−1から図18−3を参照しつつ、ステップS230からステップS234の処理についてより具体的に説明する。図18−1に示す認識文字表示領域404においては、認識文字"ラ"と"之"は誤認識により得られた誤認識文字である。そこで、ユーザは、図18−1に示す文字候補表示領域406中の認識文字"ラ"の認識候補から"う"のボタンを押下する。これにより、修正メモリ126においては、認識文字"ラ"にかえて、"う"が認識文字として格納される。さらに、図18−2に示すように認識文字表示領域404における認識文字"ラ"が"う"に変更される。   The process from step S230 to step S234 will be described more specifically with reference to FIGS. 18-1 to 18-3. In the recognized character display area 404 shown in FIG. 18A, the recognized characters “La” and “No” are misrecognized characters obtained by misrecognition. Therefore, the user presses the “U” button from the recognition candidates of the recognized character “La” in the character candidate display area 406 shown in FIG. Thereby, in the correction memory 126, “U” is stored as the recognized character instead of the recognized character “La”. Further, as shown in FIG. 18B, the recognized character “La” in the recognized character display area 404 is changed to “U”.

次に、図18−2に示す認識文字表示領域404中の認識文字"之"を修正する。すなわち、図18−2に示す文字候補表示領域406中の認識文字"之"の認識候補から"え"のボタンを押下する。これにより、修正メモリ126においては、認識文字"之"にかえて、"え"が認識文字として格納される。さらに、図18−3に示すように認識文字表示領域404における認識文字 "之"が"え"に変更される。   Next, the recognized character “NO” in the recognized character display area 404 shown in FIG. In other words, the “e” button is pressed from the recognition candidates for the recognized character “NO” in the character candidate display area 406 shown in FIG. Thereby, in the correction memory 126, “e” is stored as the recognized character instead of the recognized character “no”. Further, as shown in FIG. 18C, the recognized character “NO” in the recognized character display area 404 is changed to “E”.

再び、説明を図11に戻す。ステップS230において、ユーザからの入力が“確定ボタンを押下した”の場合(ステップS230,確定ボタン押下)、修正メモリ126内のデータを結果メモリ124の対象文字のページに格納する(ステップS240)。そして、認識文字候補ダイアログ400を非表示にする(ステップS242)。以上で、文字編集処理(ステップS112)が完了し、図6を参照しつつ説明した表示処理(ステップS120)に移行する。   The description returns to FIG. 11 again. In step S230, when the input from the user is “pressing the confirmation button” (step S230, pressing the confirmation button), the data in the correction memory 126 is stored in the page of the target character in the result memory 124 (step S240). Then, the recognized character candidate dialog 400 is hidden (step S242). Thus, the character editing process (step S112) is completed, and the process proceeds to the display process (step S120) described with reference to FIG.

図18−1から図18−3を参照しつつ説明した例のような修正処理が行われた後に、ユーザが確定ボタン402を押下すると、図12に示した手書き文字に対する認識文字が、図19に示すように、修正後の認識文字に変更される。   When the user presses the confirm button 402 after the correction process as described with reference to FIGS. 18A to 18C is performed, the recognized characters for the handwritten characters shown in FIG. As shown in Fig. 5, the character is changed to a corrected recognition character.

また、ステップS230において、ユーザからの入力が“書き直しボタンを押下した”の場合(ステップS230,書き直しボタン押下)、書き直し処理を実行する(ステップS236)。次に、修正メモリ126の内容を複数文字用の認識文字候補ダイアログ400に反映する(ステップS234)。そして、再びステップS230に戻る。   In step S230, when the input from the user is “pressed the rewrite button” (step S230, press the rewrite button), the rewrite process is executed (step S236). Next, the contents of the correction memory 126 are reflected in the recognized character candidate dialog 400 for a plurality of characters (step S234). And it returns to step S230 again.

ここで、図20−1および図20−2を参照しつつ書き直し処理について説明する。書き直し処理は、複数文字用の認識文字候補ダイアログ400中に正しい認識文字が存在しない場合の処理である。図20−1に示すように認識文字"之"は、正しい認識文字が認識文字候補として文字候補表示領域406に表示されている。そこで、ユーザが認識文字候補"え"のボタンを押下することにより、図20−2に示すように認識文字"之"を"え"に修正することができる。   Here, the rewriting process will be described with reference to FIGS. 20-1 and 20-2. The rewriting process is a process when there is no correct recognized character in the recognized character candidate dialog 400 for a plurality of characters. As shown in FIG. 20A, the recognized character “NO” is displayed in the character candidate display area 406 as a correct recognized character as a recognized character candidate. Therefore, when the user presses the button for the recognized character candidate “E”, the recognized character “NO” can be corrected to “E” as shown in FIG.

一方、認識文字"ラ"においては、図20−1に示すように、認識文字候補として"う"のボタンが存在しない。したがって、正しい認識文字が"う"である場合には認識文字候補ボタンを選択する方法では正しい認識文字に修正することができない。   On the other hand, in the recognized character “La”, as shown in FIG. 20A, there is no “U” button as a recognized character candidate. Therefore, when the correct recognized character is “U”, it cannot be corrected to the correct recognized character by the method of selecting the recognized character candidate button.

このように、正しい認識文字が文字候補表示領域406に存在しない場合に、書き直し処理を行う。具体的には、ユーザが図20−2に示す書き直しボタン408を押下した場合に、書き直し処理が開始する。   As described above, when the correct recognized character does not exist in the character candidate display area 406, the rewriting process is performed. Specifically, the rewriting process starts when the user presses the rewriting button 408 shown in FIG.

図21は、図11に示す書き直し処理(ステップS236)における詳細な処理を示すフローチャートである。まず、修正メモリ126を参照し、書き直しダイアログを表示する(ステップS250)。   FIG. 21 is a flowchart showing detailed processing in the rewriting processing (step S236) shown in FIG. First, the rewriting dialog is displayed with reference to the correction memory 126 (step S250).

図22−1から図22−3は、書き直しダイアログ420の一例を示している。図22−1から図22−3に示すように、書き直しダイアログ420は、認識文字422と、認識文字に対応する書き直し領域424と、確定ボタン426とを有している。書き直し領域424は、認識文字422の数だけ設けられている。図22−1においては、認識文字"ラ"および"え"が表示され、これらに対応する2つの書き直し領域424が表示されている。   22-1 to 22-3 show an example of the rewrite dialog 420. FIG. As illustrated in FIGS. 22-1 to 22-3, the rewrite dialog 420 includes a recognized character 422, a rewrite area 424 corresponding to the recognized character, and a confirm button 426. Rewrite areas 424 are provided as many as the number of recognized characters 422. In FIG. 22-1, the recognized characters “La” and “E” are displayed, and two rewrite areas 424 corresponding to these are displayed.

図22−1に示す書き直しダイアログ420の書き直し領域424に対し、図22−2に示すように、ユーザによって、再度手書き文字が入力される。書き直し領域424に入力された手書き文字が正しく認識されると、図22−3に示すように、認識文字422として正しい認識文字"う"が表示される。   As shown in FIG. 22-2, handwritten characters are input again by the user in the rewriting area 424 of the rewriting dialog 420 shown in FIG. 22-1. When the handwritten character input to the rewriting area 424 is correctly recognized, the correct recognized character “U” is displayed as the recognized character 422 as shown in FIG.

再び説明を図21に戻す。書き直しダイアログ420を表示した後、入力の判定を行(ステップS252)。入力としては、"書き直し領域でマウスDOWN"、"書き直し領域でマウスMOVE"、"書き直し領域でマウスUP"、"タイマ時間到達"および"確定ボタン押下"の5つがある。以下にそれぞれの場合について説明する。   The description returns to FIG. 21 again. After displaying the rewrite dialog 420, the input is determined (step S252). There are five inputs: “mouse DOWN in rewrite area”, “mouse move in rewrite area”, “mouse UP in rewrite area”, “timer time reached”, and “determine button pressed”. Each case will be described below.

入力が“書き直し領域でマウスDOWN"の場合、認識タイマをストップさせる(ステップS254)。そして、入力判定処理(ステップS252)に戻る。ここで、認識タイマとは、マウスUPイベント後にスタートするタイマである。認識タイマが開始すると、所定の時間ユーザからの入力を待つ。入力がない場合には、手書き文字一括認識命令が発行される。   If the input is “mouse DOWN in rewrite area”, the recognition timer is stopped (step S254). Then, the process returns to the input determination process (step S252). Here, the recognition timer is a timer that starts after a mouse UP event. When the recognition timer starts, an input from the user is waited for a predetermined time. If there is no input, a handwritten character batch recognition command is issued.

また、書き直し領域でマウスDOWNがあった場合には、ユーザが手書き文字を書き始めたということである。そこで、ユーザが入力を終えるまでは認識タイマをスタートしない。   If there is a mouse DOWN in the rewriting area, the user has started to write handwritten characters. Therefore, the recognition timer is not started until the user finishes input.

また、ステップS252におけるユーザからの入力が“書き直し領域でマウスMOVE"の場合、一時的に用意した書き直しメモリ128にマウスMOVE中の座標値を格納していく(ステップS260)。書き直しメモリ128は座標値メモリ120と同等のメモリである。座標値の格納が完了したら、修正メモリ126および書き直しメモリ128の内容を書き直しダイアログ420に反映させる(ステップS262)。すなわち、ユーザの手書き文字入力の経過を表示するため、書き直しメモリ内の座標値を図5のように線分で結び表示する。そして、入力判定処理(ステップS252)に戻る。   If the input from the user in step S252 is “mouse move in rewrite area”, the coordinate values in the mouse move are stored in the rewrite memory 128 temporarily prepared (step S260). The rewrite memory 128 is a memory equivalent to the coordinate value memory 120. When the storage of the coordinate values is completed, the contents of the correction memory 126 and the rewrite memory 128 are reflected in the rewrite dialog 420 (step S262). That is, in order to display the progress of the user's input of handwritten characters, the coordinate values in the rewriting memory are connected and displayed by line segments as shown in FIG. Then, the process returns to the input determination process (step S252).

入力が“書き直し領域でマウスUP"の場合、認識タイマをスタートする(ステップS256)。そして、入力判定処理(ステップS252)に戻る。書き直し領域でマウスUPがあったということは、ユーザが手書き文字を書き終えた可能性があるということである。この場合、さらにユーザから追加して入力がある可能性がある。そこで、認識タイマをスタートする。そして、所定時間待った後に、認識を開始する(ステップS270)。この場合の待ち時間は1〜2秒が好ましい。   If the input is “mouse UP in rewrite area”, the recognition timer is started (step S256). Then, the process returns to the input determination process (step S252). The fact that there was a mouse UP in the rewriting area means that the user may have finished writing handwritten characters. In this case, there is a possibility that there is an additional input from the user. Therefore, the recognition timer is started. Then, after waiting for a predetermined time, recognition is started (step S270). In this case, the waiting time is preferably 1 to 2 seconds.

このように、入力が“タイマ時間到達”の場合、ユーザの以前の入力完了(書き直し領域でマウスUP)から所定時間が経過したと判断し、認識を開始する。このとき、認識タイマはストップしておく。   Thus, when the input is “timer time reached”, it is determined that a predetermined time has elapsed since the user's previous input completion (mouse UP in the rewriting area), and recognition is started. At this time, the recognition timer is stopped.

書き直しメモリ128に記憶したストローク群を1文字として認識エンジンで認識を実行する(ステップS272)。認識結果を修正メモリ126に格納する。具体的には、認識文字および認識文字候補を格納する(ステップS274)。認識結果が修正メモリ126のいずれの認識文字および認識文字候補に該当するかは、いずれの書き直し領域に入力があったかに基づいて、書き直し領域のIDから特定する。さらに、書き直しメモリ128に格納されているデータを初期化(消去)し(ステップS276)、次の入力に備える。次に、修正メモリ126および書き直しメモリ128の内容を書き直しダイアログ420に反映し(ステップS262)、入力判定処理(ステップS252)へ戻る。   The recognition engine executes recognition with the stroke group stored in the rewriting memory 128 as one character (step S272). The recognition result is stored in the correction memory 126. Specifically, the recognized character and the recognized character candidate are stored (step S274). Which recognition character and recognition character candidate in the correction memory 126 corresponds to the recognition result is specified from the ID of the rewriting area based on which rewriting area is input. Further, the data stored in the rewrite memory 128 is initialized (erased) (step S276) and prepared for the next input. Next, the contents of the correction memory 126 and the rewrite memory 128 are reflected in the rewrite dialog 420 (step S262), and the process returns to the input determination process (step S252).

入力が“確定ボタン押下”の場合、書き直し処理は完了したと判断し、書き直しダイアログ420を非表示にする(ステップS280)。そして、図11を参照しつつ説明したステップS236に進む。   If the input is “depress the confirmation button”, it is determined that the rewriting process is completed, and the rewriting dialog 420 is hidden (step S280). Then, the process proceeds to step S236 described with reference to FIG.

図23は、書き直し処理が完了した後に表示される認識文字候補ダイアログ400を示している。図22−1から図22−3に示す確定ボタン426が押下されると、再び認識文字候補ダイアログ400が表示される。   FIG. 23 shows a recognized character candidate dialog 400 displayed after the rewriting process is completed. When the confirm button 426 shown in FIGS. 22-1 to 22-3 is pressed, the recognized character candidate dialog 400 is displayed again.

書き直し処理が行われる前に表示されていた複数文字用の認識文字候補ダイアログ400においては、図20−2に示すように、認識文字表示領域404に認識文字として"ラ"が表示されていたが、図23に示す複数文字用の認識文字候補ダイアログ400においては、認識文字表示領域404において認識文字"ラ"が"う"に変更されている。さらに、図23においては、文字候補表示領域406には、書き直し処理で再認識した結果である認識文字候補が表示されている。ここで確定ボタン402を押すと、文字認識の処理の結果が表示される。   In the recognized character candidate dialog 400 for a plurality of characters displayed before the rewriting process is performed, “ra” is displayed as a recognized character in the recognized character display area 404 as shown in FIG. In the recognized character candidate dialog 400 for a plurality of characters shown in FIG. 23, the recognized character “La” is changed to “U” in the recognized character display area 404. Further, in FIG. 23, a recognized character candidate that is a result of re-recognition by the rewriting process is displayed in the character candidate display area 406. When the confirm button 402 is pressed here, the result of the character recognition process is displayed.

図24−1および図24−2は、単一文字用の認識文字候補ダイアログ430を示している。図16を参照しつつ説明したように、図11のステップS222において単一文字が選択された場合に、図24−1に示す単一文字用の認識文字候補ダイアログ430が表示される。   FIGS. 24-1 and 24-2 illustrate a recognized character candidate dialog 430 for a single character. As described with reference to FIG. 16, when a single character is selected in step S222 of FIG. 11, a recognized character candidate dialog 430 for a single character shown in FIG. 24-1 is displayed.

複数文字用の認識文字候補ダイアログ400は表示面積が大きく、単一文字に対しては不向きである。そこで、図24−1および図24−2に示すように、複数文字用の認識文字候補ダイアログ400よりも表示面積が小さい単一文字用の認識文字候補ダイアログ430を表示することにより、ユーザによる利便性を向上させることができる。   The recognized character candidate dialog 400 for multiple characters has a large display area and is not suitable for a single character. Therefore, as shown in FIGS. 24-1 and 24-2, by displaying a recognized character candidate dialog 430 for a single character having a smaller display area than the recognized character candidate dialog 400 for a plurality of characters, convenience for the user is displayed. Can be improved.

なお、単一文字用の認識文字候補ダイアログは表示方法が異なるだけで、処理内容は、図11から図23を参照しつつ説明したステップS230以降の処理と同様である。   Note that the recognized character candidate dialog for a single character is different only in the display method, and the processing content is the same as the processing after step S230 described with reference to FIGS.

図24−1に示す単一文字用の認識文字候補ダイアログ430において、認識文字"ラ"の認識候補"う"のボタンを押下すると、編集メモリの認識文字“ラ”が“う”に置き換わる。そして、単一文字用の認識文字候補ダイアログ430に反映されて、図24−2に示すように、認識文字として、“う”が表示される。確定ボタンを押下すると、結果メモリ124に修正メモリ126の内容を格納し直し、表示処理で図25のように認識文字として“ラ”を“う”に変更して表示する。   In the recognized character candidate dialog 430 for a single character shown in FIG. 24A, when the recognized character “La” recognition candidate “U” button is pressed, the recognized character “La” in the editing memory is replaced with “U”. Then, “U” is displayed as a recognized character as reflected in the recognized character candidate dialog 430 for a single character, as shown in FIG. When the confirm button is pressed, the contents of the correction memory 126 are stored again in the result memory 124, and “ra” is changed to “u” as a recognized character and displayed as shown in FIG.

図26は、表示処理(ステップS120)における表示処理部110の詳細な処理を示すフローチャートである。表示処理は、座標入力処理、手書き文字一括認識処理および文字編集処理から処理を受け取る。   FIG. 26 is a flowchart showing detailed processing of the display processing unit 110 in the display processing (step S120). The display processing receives processing from coordinate input processing, handwritten character batch recognition processing, and character editing processing.

座標入力処理から処理を受け取った場合は、座標値メモリ120内の座標点を線分で結び、表示装置へ表示する(ステップS320)。   When the process is received from the coordinate input process, the coordinate points in the coordinate value memory 120 are connected by line segments and displayed on the display device (step S320).

手書き文字認識処理および文字編集処理から処理を受け取った場合は、結果メモリ124内の認識文字を文字列にして表示装置にText表示するとともに(ステップS300)、結果メモリ124から左上座標および右下座標を読み出し文字領域を表示し(ステップS310)、行単位メモリ122から行左上座標および行右下座標を読み出し行領域を表示し(ステップS312)、座標値メモリ120内の座標点を線分で結んで表示する(ステップS320)。   When the processing is received from the handwritten character recognition processing and the character editing processing, the recognized characters in the result memory 124 are displayed as text on the display device (step S300), and the upper left coordinates and lower right coordinates are obtained from the result memory 124. The character area is read (step S310), the upper left and lower right coordinates are read from the line unit memory 122, and the line area is displayed (step S312), and the coordinate points in the coordinate value memory 120 are connected by line segments. Is displayed (step S320).

以上の各処理は全ストローク、全認識文字および全行に対して行う。Text表示の方法は、VisualBasicに代表されるようなTextBoxにて行なう。そして、座標入力処理へ処理を返す。   Each process described above is performed for all strokes, all recognized characters, and all lines. The Text display method is performed using a TextBox such as Visual Basic. Then, the process returns to the coordinate input process.

図27は、実施の形態1に係る文字認識装置100のハードウェア構成を示す図である。文字認識装置100は、ハードウェア構成として、文字認識装置100における文字認識処理を実行する文字認識プログラムなどが格納されているROM52と、ROM52内のプログラムに従って文字認識装置100の各部を制御するCPU51と、文字認識装置100の制御に必要な種々のデータを記憶するRAM53と、ネットワークに接続して通信を行う通信I/F57と、各部を接続するバス62とを備えている。   FIG. 27 is a diagram illustrating a hardware configuration of the character recognition device 100 according to the first embodiment. The character recognition device 100 has, as a hardware configuration, a ROM 52 that stores a character recognition program that executes character recognition processing in the character recognition device 100, and a CPU 51 that controls each unit of the character recognition device 100 according to a program in the ROM 52. The RAM 53 stores various data necessary for controlling the character recognition device 100, the communication I / F 57 is connected to the network and communicates, and the bus 62 connects each unit.

先に述べた文字認識装置100における文字認識プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フロッピー(R)ディスク(FD)、DVD等のコンピュータで読み取り可能な記録媒体に記録されて提供されてもよい。   The character recognition program in the character recognition device 100 described above is a file in an installable or executable format on a computer-readable recording medium such as a CD-ROM, floppy (R) disk (FD), or DVD. It may be recorded and provided.

この場合には、文字認識プログラムは、文字認識装置100において上記記録媒体から読み出して実行することにより主記憶装置上にロードされ、上記ソフトウェア構成で説明した各部が主記憶装置上に生成されるようになっている。   In this case, the character recognition program is loaded onto the main storage device by being read from the recording medium and executed by the character recognition device 100, and each unit described in the software configuration is generated on the main storage device. It has become.

また、本実施の形態の文字認識プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。   Further, the character recognition program of the present embodiment may be provided by being stored on a computer connected to a network such as the Internet and downloaded via the network.

以上、本発明を実施の形態を用いて説明したが、上記実施の形態に多様な変更または改良を加えることができる。   As described above, the present invention has been described using the embodiment, but various changes or improvements can be added to the above embodiment.

実施の形態1にかかる文字認識装置を含む文字認識システム1の全体構成を示す図である。It is a figure which shows the whole structure of the character recognition system 1 containing the character recognition apparatus concerning Embodiment 1. FIG. 文字認識装置100の機能構成を示すブロック図である。2 is a block diagram showing a functional configuration of a character recognition device 100. FIG. 座標値メモリ120のデータ構成を示す図である。3 is a diagram illustrating a data configuration of a coordinate value memory 120. FIG. 行単位メモリ122のデータ構成を示す図である。3 is a diagram showing a data configuration of a row unit memory 122. FIG. 結果メモリ124のデータ構成を示す図である。It is a figure which shows the data structure of the result memory. 文字認識装置100による文字認識処理を示すフローチャートである。5 is a flowchart illustrating character recognition processing by the character recognition device 100. 図6において説明したステップS104における座標取得部102の詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process of the coordinate acquisition part 102 in step S104 demonstrated in FIG. 手書き文字入力画面210に対するストローク画像を示す図である。It is a figure which shows the stroke image with respect to the handwritten character input screen. コマンド処理(ステップS106)におけるコマンド処理部104の詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process of the command process part 104 in a command process (step S106). 図6に示す手書き文字一括認識処理(ステップS110)における手書き文字一括認識部106の詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process of the handwritten character batch recognition part 106 in the handwritten character batch recognition process (step S110) shown in FIG. 図6に示す文字編集処理(ステップS112)における文字編集部108の詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process of the character edit part 108 in the character edit process (step S112) shown in FIG. 表示部220に表示された手書き文字一括認識処理の結果を示す図である。It is a figure which shows the result of the handwritten character batch recognition process displayed on the display part. いずれの文字領域にも含まれない行領域内をクリックしたという判別条件を説明するための図である。It is a figure for demonstrating the discrimination conditions that it clicked in the line area | region which is not contained in any character area. いずれかの文字領域を内包する囲み線という判別条件を説明するための図である。It is a figure for demonstrating the discrimination conditions called the surrounding line which includes any one of character areas. 文字領域近傍に存在する線分という判別条件を説明するための図である。It is a figure for demonstrating the discrimination conditions called the line segment which exists in the character area vicinity. いずれかの文字領域内をクリックしたという判別条件を説明するための図である。It is a figure for demonstrating the discrimination conditions that it clicked in one of the character areas. 複数文字用の認識文字候補ダイアログ400の一例を示す図である。It is a figure which shows an example of the recognition character candidate dialog 400 for multiple characters. ステップS230からステップS234の処理についてより具体的に説明するための図である。It is a figure for demonstrating more concretely about processing of Step S230 to Step S234. ステップS230からステップS234の処理についてより具体的に説明するための図である。It is a figure for demonstrating more concretely about processing of Step S230 to Step S234. ステップS230からステップS234の処理についてより具体的に説明するための図である。It is a figure for demonstrating more concretely about processing of Step S230 to Step S234. 修正処理が行われた後に、確定ボタン402が押下された場合に表示される認識文字を示す図である。It is a figure which shows the recognition character displayed when the confirmation button 402 is pressed after correction processing is performed. 書き直し処理について説明するための図である。It is a figure for demonstrating a rewriting process. 書き直し処理について説明するための図である。It is a figure for demonstrating a rewriting process. 図11に示す書き直し処理(ステップS236)における詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process in the rewriting process (step S236) shown in FIG. 書き直しダイアログ420の一例を示す図である。5 is a diagram illustrating an example of a rewrite dialog 420. FIG. 書き直しダイアログ420の一例を示す図である。5 is a diagram illustrating an example of a rewrite dialog 420. FIG. 書き直しダイアログ420の一例を示す図である。5 is a diagram illustrating an example of a rewrite dialog 420. FIG. 書き直し処理が完了した後に表示される認識文字候補ダイアログ400を示す図である。It is a figure which shows the recognition character candidate dialog 400 displayed after the rewriting process is completed. 単一文字用の認識文字候補ダイアログ430の一例を示す図である。It is a figure which shows an example of the recognition character candidate dialog 430 for single characters. 単一文字用の認識文字候補ダイアログ430の一例を示す図である。It is a figure which shows an example of the recognition character candidate dialog 430 for single characters. 変更後の認識文字を示す図である。It is a figure which shows the recognition character after a change. 表示処理(ステップS120)における表示処理部110の詳細な処理を示すフローチャートである。It is a flowchart which shows the detailed process of the display process part 110 in a display process (step S120). 実施の形態1に係る文字認識装置100のハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the character recognition apparatus 100 which concerns on Embodiment 1. FIG.

符号の説明Explanation of symbols

1 文字認識システム
51 CPU
52 ROM
53 RAM
57 通信I/F
62 バス
100 文字認識装置
102 座標取得部
104 コマンド処理部
106 手書き文字一括認識部
108 文字編集部
110 表示処理部
120 座標値メモリ
122 行単位メモリ
124 結果メモリ
126 修正メモリ
128 書き直しメモリ
200 手書き文字入力装置
210 手書き文字入力画面
220 表示部
300 行領域
310a〜e 文字領域
400 複数文字用の認識文字候補ダイアログ
402 確認ボタン
404 認識文字表示領域
406 文字候補表示領域
408 書き直しボタン
420 書き直しダイアログ
422 認識文字
424 書き直し領域
426 確定ボタン
430 単一文字用の認識文字候補ダイアログ
1 Character recognition system 51 CPU
52 ROM
53 RAM
57 Communication I / F
62 Bus 100 Character recognition device 102 Coordinate acquisition unit 104 Command processing unit 106 Handwritten character batch recognition unit 108 Character editing unit 110 Display processing unit 120 Coordinate value memory 122 Line unit memory 124 Result memory 126 Correction memory 128 Rewrite memory 200 Handwritten character input device 210 handwritten character input screen 220 display unit 300 line area 310a-e character area 400 recognized character candidate dialog for multiple characters 402 confirmation button 404 recognized character display area 406 character candidate display area 408 rewrite button 420 rewrite dialog 422 recognized character 424 rewrite area 426 Confirm button 430 Recognized character candidate dialog for single character

Claims (10)

操作者が座標入力装置に入力した手書き文字を認識する手書き文字認識装置であって、 前記操作者が前記座標入力装置に入力した複数の手書き文字に関する手書き文字情報を行単位で取得する手書き文字取得手段と、
前記座標入力装置での手書き文字の入力に対して、前記操作者のマウス操作に基づいて得られるストローク単位の座標値を記憶する記憶手段であって、異なるストロークに各々対応する座標値をページ毎に記憶する座標記憶手段と、
前記文字取得手段が取得した前記手書き文字情報を行単位で記憶する行単位記憶手段と、
前記行単位記憶手段に記憶された行単位の手書き文字情報及び前記座標記憶手段に記憶された前記座標値に基づいて、前記複数の手書き文字を文字単位に分割する文字分割手段と、
前記文字分割手段が分割した各文字に対して文字認識を行う文字認識手段と、
前記文字認識手段が文字認識を行った各文字について、前記文字に対応する認識文字及び認識文字である可能性がある認識文字候補と、前記文字に対応する前記座標記憶手段における開始ページ及び終了ページと、前記文字を含む行の左上座標及び右下座標とを記憶する結果記憶手段と、
前記行単位記憶手段及び前記結果記憶手段を参照して、行単位の前記複数の手書き文字と、当該複数の手書き文字それぞれに対応する認識文字及び認識文字である可能性がある認識文字候補とを表示手段に表示させる認識文字表示制御手段と、
前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字表示制御手段により表示された認識文字候補を選択する文字選択手段と、
選択された前記認識文字候補に対応する認識文字を、選択された前記認識文字候補に変更して前記表示手段に表示させる文字変更手段と、
前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字候補の表示を非表示にして文字認識結果を確定する確定手段と、
前記文字認識手段が誤認識して得られた誤認識文字を、前記操作者の指示により選択する誤認識文字選択手段と、
前記誤認識文字選択手段が選択した前記誤認識文字を前記表示手段における書き直し領域に表示させる修正対象文字表示制御手段と、
前記書き直し領域に表示された前記誤認識文字に対する前記操作者のマウス操作、タイマによる時間到達又は前記操作者による操作ボタンの押下に基づいて、前記誤認識文字を他の文字に修正する文字修正手段とを備える
ことを特徴とする文字認識装置。
A handwritten character recognition device for recognizing a handwritten character input by an operator to a coordinate input device, wherein the operator acquires handwritten character information related to a plurality of handwritten characters input to the coordinate input device by a line unit Means,
Storage means for storing coordinate values in units of strokes obtained based on mouse operations performed by the operator for input of handwritten characters in the coordinate input device, and for each page, coordinate values corresponding to different strokes are stored. Coordinate storage means for storing
A line unit storage means for storing the handwritten character information acquired by the character acquisition means in line units;
Character dividing means for dividing the plurality of handwritten characters into character units based on handwritten character information in line units stored in the line unit storage means and the coordinate values stored in the coordinate storage means ;
Character recognition means for performing character recognition for each character divided by the character dividing means ;
For each character recognized by the character recognition means, a recognized character corresponding to the character and a recognized character candidate that may be a recognized character, and a start page and an end page in the coordinate storage means corresponding to the character And result storage means for storing the upper left and lower right coordinates of the line including the character;
With reference to the line unit storage unit and the result storage unit, the plurality of handwritten characters in units of lines, the recognized characters corresponding to each of the plurality of handwritten characters, and recognized character candidates that may be recognized characters. Recognized character display control means to be displayed on the display means;
Character selection means for selecting a recognized character candidate displayed by the recognized character display control means according to the position input by the operator to the coordinate input device;
Character changing means for changing the recognized character corresponding to the selected recognized character candidate to the selected recognized character candidate and displaying the character on the display means;
Confirming means for hiding the display of the recognized character candidates and confirming the character recognition result according to the position input by the operator to the coordinate input device;
A misrecognized character selection unit that selects a misrecognized character obtained by misrecognition by the character recognizing unit according to an instruction of the operator;
Correction target character display control means for displaying the erroneously recognized character selected by the erroneously recognized character selection means in a rewrite area in the display means;
Character correcting means for correcting the misrecognized character to another character based on the mouse operation of the operator with respect to the misrecognized character displayed in the rewriting area, time reaching by a timer, or pressing of the operation button by the operator And a character recognition device.
前記誤認識文字選択手段は、前記操作者の指示により、前記手書き文字取得手段が取得した前記複数の手書き文字から複数の前記誤認識文字を選択し、
前記修正対象文字表示制御手段は、前記誤認識文字選択手段が選択した複数の前記誤認識文字をそれぞれ前記書き直し領域に表示させ、
前記文字修正手段は、前記書き直し領域に表示された複数の前記誤認識文字それぞれに対する前記操作者のマウス操作、タイマによる時間到達又は前記操作者による操作ボタンの押下に基づいて、複数の前記誤認識文字をそれぞれ他の文字に修正することを特徴とする請求項に記載の文字認識装置。
The misrecognized character selection means selects a plurality of the misrecognized characters from the plurality of handwritten characters acquired by the handwritten character acquisition means according to an instruction from the operator,
The correction target character display control means displays each of the plurality of erroneously recognized characters selected by the erroneously recognized character selection means in the rewriting area,
The character correcting means may perform a plurality of the erroneous recognitions based on a mouse operation of the operator, a time reached by a timer, or a press of an operation button by the operator for each of the plurality of erroneously recognized characters displayed in the rewriting area. The character recognition device according to claim 1 , wherein each character is corrected to another character.
前記座標入力装置に設けられた手書き文字表示手段は、前記操作者が入力した手書き文字を表示し、
前記誤認識文字選択手段は、前記手書き文字表示手段に表示された複数の手書き文字のうち所定の手書き文字を、前記操作者が前記座標入力装置において指定した場合に、前記操作者が指定した文字を前記誤認識文字として選択することを特徴とする請求項に記載の文字認識装置。
The handwritten character display means provided in the coordinate input device displays the handwritten character input by the operator,
The misrecognized character selection means is a character designated by the operator when the operator designates a predetermined handwritten character among the plurality of handwritten characters displayed on the handwritten character display means on the coordinate input device. The character recognition device according to claim 2 , wherein the character recognition character is selected as the erroneous recognition character.
前記誤認識文字選択手段は、前記手書き文字表示手段に表示された複数の手書き文字のうち所定の手書き文字を囲む囲み線を、前記操作者が前記座標入力装置において入力した場合に、当該囲み線によって囲まれた文字を前記誤認識文字として選択することを特徴とする請求項に記載の文字認識装置。 When the operator inputs a surrounding line surrounding a predetermined handwritten character among the plurality of handwritten characters displayed on the handwritten character display unit, the erroneously recognized character selecting unit selects the surrounding line. The character recognition device according to claim 3 , wherein a character surrounded by is selected as the erroneously recognized character. 前記誤認識文字選択手段は、前記手書き文字表示手段に表示された複数の手書き文字のうち所定の文字に対する下線を、前記操作者が前記座標入力装置において入力した場合に、当該下線に対応する文字を前記誤認識文字として選択することを特徴とする請求項又はに記載の文字認識装置。 When the operator inputs an underline for a predetermined character among the plurality of handwritten characters displayed on the handwritten character display unit, the character corresponding to the underline is selected by the operator. The character recognition device according to claim 3 or 4 , wherein the character recognition character is selected as the erroneous recognition character. 前記手書き文字表示手段は、前記手書き文字取得手段が取得した前記複数の手書き文字を行単位で表示し、
前記誤認識文字選択手段は、前記手書き文字表示手段に表示された所定の手書き文字に対応して設けられている行領域内を、前記操作者が前記座標入力装置において指定した場合に、当該行領域に対応する複数の文字を前記誤認識文字として選択することを特徴とする請求項からのいずれか一項に記載の文字認識装置。
The handwritten character display means displays the plurality of handwritten characters acquired by the handwritten character acquisition means in line units,
The misrecognized character selection means, when the operator designates the line area provided corresponding to the predetermined handwritten character displayed on the handwritten character display means on the coordinate input device, character recognition apparatus according to any one of claims 3 to 5, characterized in that selecting a plurality of characters corresponding to the region as the misrecognition character.
前記書き直し領域に表示された前記誤認識文字に対する修正手書き文字を取得する修正文字取得手段をさらに備え、
前記文字認識手段は、前記修正文字取得手段によって取得された前記修正手書き文字を文字認識し、
前記文字修正手段は、前記書き直し領域に表示された前記誤認識文字を、前記修正手書き文字に対して得られた認識文字に修正することを特徴とする請求項からのいずれか一項に記載の文字認識装置。
A correction character acquisition means for acquiring a correction handwritten character for the misrecognized character displayed in the rewrite area ;
The character recognition means recognizes the corrected handwritten character acquired by the corrected character acquisition means,
The said character correction means corrects the said misrecognized character displayed on the said rewriting area | region to the recognized character obtained with respect to the said corrected handwritten character, The any one of Claim 1 to 6 characterized by the above-mentioned. The character recognition device described.
前記誤認識文字選択手段は、前記操作者からの指示により、前記複数の手書き文字から複数の誤認識文字を選択し、
前記修正対象文字表示制御手段は、前記誤認識文字選択手段が選択した複数の前記誤認識文字をそれぞれ前記書き直し領域に表示させ、
前記修正文字取得手段は、前記書き直し領域に表示された複数の前記誤認識文字それぞれに対応する修正手書き文字を取得し、
前記文字認識手段は、前記修正文字取得手段によって取得された複数の修正手書き文字を文字認識し、
前記文字修正手段は、前記書き直し領域に表示された複数の前記誤認識文字それぞれを、前記修正手書き文字に対して得られた認識文字に修正することを特徴とする請求項に記載の文字認識装置。
The misrecognized character selection means selects a plurality of misrecognized characters from the plurality of handwritten characters according to an instruction from the operator,
The correction target character display control means displays each of the plurality of erroneously recognized characters selected by the erroneously recognized character selection means in the rewriting area,
The corrected character acquisition means acquires corrected handwritten characters corresponding to each of the plurality of misrecognized characters displayed in the rewrite area ,
The character recognition means recognizes a plurality of corrected handwritten characters acquired by the corrected character acquisition means,
It said character modification means is character recognition according to claim 7, wherein each rewrite area displayed plurality of the misrecognized character, characterized by modifying the recognition character obtained for the modification handwriting apparatus.
操作者が座標入力装置に入力した手書き文字を認識する手書き文字認識装置で実行される手書き文字認識方法であって、
前記文字認識装置は、文字取得手段と、記憶制御手段と、文字分割手段と、文字認識手段と、認識文字表示制御手段と、文字変更手段と、文字選択手段と、文字変更手段と、確定手段と、誤認識文字選択手段と、修正対象文字表示制御手段と、文字修正手段とを備え、
前記文字取得手段が、前記操作者が前記座標入力装置に入力した複数の手書き文字に関する手書き文字情報を行単位で取得する手書き文字取得ステップと、
前記記憶制御手段が、前記座標入力装置での手書き文字の入力に対して、前記操作者のマウス操作に基づいて得られるストローク単位の画像の座標値であって、異なるストロークに各々対応する座標値をページ毎に座標記憶手段に記憶させる第1記憶制御ステップと、
前記記憶制御手段が、前記文字取得ステップで取得された前記手書き文字に関する手書き文字情報を行単位で行単位記憶手段に記憶させる第2記憶制御ステップと、
前記文字分割手段が、前記手書き文字取得ステップが取得した行単位の手書き文字情報に基づいて、前記複数の手書き文字を文字単位に分割する文字分割ステップと、
前記文字認識手段が、前記文字分割ステップで分割された各文字に対して文字認識を行う文字認識ステップと、
前記記憶制御手段が、前記文字認識ステップで文字認識が行われた各文字について、前記文字に対応する認識文字及び認識文字である可能性がある認識文字候補と、前記文字に対応する前記座標記憶手段における開始ページ及び終了ページと、前記文字を含む行の左上座標及び右下座標とを結果記憶手段に記憶させる第3記憶制御ステップと、
前記認識文字表示制御手段が、行単位の前記複数の手書き文字と、当該複数の手書き文字それぞれに対応する認識文字及び認識文字である可能性がある認識文字候補とを表示手段に表示させる認識文字表示制御ステップと、
前記文字選択手段が、前記行単位記憶手段及び前記結果記憶手段を参照して、前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字表示手段により表示された認識文字候補を選択する文字選択ステップと、
前記文字変更手段が、前記文字選択ステップで選択された前記認識文字候補に対応する認識文字を、選択された前記認識文字候補に変更して前記表示手段に表示させる文字変更ステップと、
前記確定手段が、前記操作者が前記座標入力装置に入力した位置に応じて、前記認識文字候補の表示を非表示にして文字認識結果を確定する確定ステップと、
前記誤認識文字選択手段が、前記文字認識ステップで誤認識して得られた誤認識文字を、前記操作者の指示により選択する誤認識文字選択ステップと、
前記修正対象文字表示制御手段が、前記誤認識文字選択ステップで選択された前記誤認識文字を前記表示手段における書き直し領域に表示させる修正対象文字表示制御ステップと、
前記文字修正手段が、前記書き直し領域に表示された前記誤認識文字に対する前記操作者のマウス操作、タイマによる時間到達又は前記操作者による操作ボタンの押下に基づいて、前記誤認識文字を他の文字に修正する文字修正ステップと
を有することを特徴とする文字認識方法。
A handwritten character recognition method executed by a handwritten character recognition device that recognizes a handwritten character input by an operator to a coordinate input device,
The character recognition device includes a character acquisition unit, a storage control unit, a character division unit, a character recognition unit, a recognized character display control unit, a character change unit, a character selection unit, a character change unit, and a determination unit. And a misrecognized character selection means, a correction target character display control means, and a character correction means ,
The character acquisition unit acquires, in line units, handwritten character information regarding a plurality of handwritten characters input by the operator to the coordinate input device;
The storage control means is a coordinate value of an image in units of strokes obtained based on the mouse operation of the operator for input of handwritten characters in the coordinate input device, and each coordinate value corresponding to a different stroke A first storage control step for storing in the coordinate storage means for each page;
A second storage control step in which the storage control means stores the handwritten character information relating to the handwritten character acquired in the character acquisition step in a line unit storage means in units of lines;
The character dividing unit divides the plurality of handwritten characters into character units based on the line-by-line handwritten character information acquired by the handwritten character acquiring step;
A character recognition step in which the character recognition means performs character recognition for each character divided in the character division step;
For each character that has undergone character recognition in the character recognition step, the storage control means recognizes a character corresponding to the character and a recognized character candidate that may be a recognized character, and the coordinate storage corresponding to the character A third storage control step of storing in the result storage means the start page and end page in the means, and the upper left and lower right coordinates of the line containing the character;
The recognized character display control means causes the display means to display the plurality of handwritten characters in line units, the recognized characters corresponding to each of the plurality of handwritten characters, and the recognized character candidates that may be recognized characters. A display control step;
The character selection means refers to the line unit storage means and the result storage means, and determines the recognized character candidates displayed by the recognized character display means according to the position input by the operator to the coordinate input device. A character selection step to select;
A character changing step in which the character changing means changes the recognized character corresponding to the recognized character candidate selected in the character selecting step to the selected recognized character candidate and causes the display means to display the character change step;
A step of confirming the character recognition result by hiding the display of the recognized character candidate according to the position input by the operator to the coordinate input device;
The erroneously recognized character selection step, wherein the erroneously recognized character selection means selects an erroneously recognized character obtained by erroneous recognition in the character recognition step, according to an instruction from the operator;
The correction target character display control unit displays the erroneous recognition character selected in the erroneous recognition character selection step in a rewrite area in the display unit;
The character correcting means converts the misrecognized character to another character based on the mouse operation of the operator with respect to the misrecognized character displayed in the rewritten area, the time reached by the timer, or the operation button pressed by the operator. And a character correcting step for correcting the character .
請求項に記載の文字認識方法をコンピュータに実行させることを特徴とする文字認識プログラム。 A character recognition program for causing a computer to execute the character recognition method according to claim 9 .
JP2004255725A 2004-09-02 2004-09-02 Character recognition device, character recognition method, and character recognition program Expired - Fee Related JP4738777B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004255725A JP4738777B2 (en) 2004-09-02 2004-09-02 Character recognition device, character recognition method, and character recognition program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004255725A JP4738777B2 (en) 2004-09-02 2004-09-02 Character recognition device, character recognition method, and character recognition program

Publications (2)

Publication Number Publication Date
JP2006072730A JP2006072730A (en) 2006-03-16
JP4738777B2 true JP4738777B2 (en) 2011-08-03

Family

ID=36153290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004255725A Expired - Fee Related JP4738777B2 (en) 2004-09-02 2004-09-02 Character recognition device, character recognition method, and character recognition program

Country Status (1)

Country Link
JP (1) JP4738777B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4967820B2 (en) * 2007-05-29 2012-07-04 カシオ計算機株式会社 Handwritten character input device and control program thereof

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3217084B2 (en) * 1991-05-14 2001-10-09 シャープ株式会社 Handwritten character recognition device
JP3442548B2 (en) * 1995-10-06 2003-09-02 松下電器産業株式会社 Character recognition method and device
JPH1063775A (en) * 1996-08-21 1998-03-06 Toshiba Corp Document preparing device, and method for displaying recognition candidate
JP2000099223A (en) * 1998-09-17 2000-04-07 Fujitsu Ltd Data processor with handwritten character input interface and storage medium
JP3986708B2 (en) * 1999-06-28 2007-10-03 シャープ株式会社 Character recognition error correction device and computer-readable recording medium recording character recognition error correction program
JP2001243422A (en) * 2000-02-28 2001-09-07 Mitsubishi Electric Corp Character recognition device and method
JP4050055B2 (en) * 2002-01-10 2008-02-20 株式会社リコー Handwritten character batch conversion apparatus, handwritten character batch conversion method, and program

Also Published As

Publication number Publication date
JP2006072730A (en) 2006-03-16

Similar Documents

Publication Publication Date Title
JP4742132B2 (en) Input device, image processing program, and computer-readable recording medium
JP4762070B2 (en) Handwriting input device, handwriting input method, and computer program
US8970886B2 (en) Method and apparatus for supporting user's operation of image reading apparatus
US7904837B2 (en) Information processing apparatus and GUI component display method for performing display operation on document data
JPH08212197A (en) Document editing device
US9153234B2 (en) Speech recognition apparatus, method of recognizing speech, and computer readable medium for the same
JP2016224599A (en) Guide file creation program
JP5550598B2 (en) Handwritten character input device
US10684772B2 (en) Document viewing apparatus and program
JP2009140223A (en) Image display apparatus, control method thereof, and program
KR101158679B1 (en) Method for directly inputting figure on electronic document, and computer-readable recording medium storing program of directly inputting figure on electronic document
JPH06131110A (en) Information processor
JP3075882B2 (en) Document creation and editing device
JPH06149466A (en) Information processor
EP3125089B1 (en) Terminal device, display control method, and program
JP4738777B2 (en) Character recognition device, character recognition method, and character recognition program
JPH087796B2 (en) Character and graphics processor
JP3217084B2 (en) Handwritten character recognition device
JP2001351065A (en) Method for recognizing character, computer readable recording medium recording character recognition program and character recognition device
JP4441966B2 (en) Handwritten character input device and recording medium recording program for realizing the same
JP4357226B2 (en) Form definition device, form definition method, and form definition program
JP2005108032A (en) Handwriting processing device
JPH0728801A (en) Image data processing method and device therefor
JPH11345072A (en) Gesture processor and gesture processing method
JPH08202856A (en) Picture processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070528

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100803

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100929

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110426

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110427

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140513

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees