JP5520505B2 - Scoring apparatus, scoring method, and program - Google Patents
Scoring apparatus, scoring method, and program Download PDFInfo
- Publication number
- JP5520505B2 JP5520505B2 JP2009078654A JP2009078654A JP5520505B2 JP 5520505 B2 JP5520505 B2 JP 5520505B2 JP 2009078654 A JP2009078654 A JP 2009078654A JP 2009078654 A JP2009078654 A JP 2009078654A JP 5520505 B2 JP5520505 B2 JP 5520505B2
- Authority
- JP
- Japan
- Prior art keywords
- character
- information
- determination
- unit
- feature
- 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
Links
- 238000013077 scoring method Methods 0.000 title claims 3
- 238000009825 accumulation Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 description 179
- 238000012545 processing Methods 0.000 description 51
- 230000006870 function Effects 0.000 description 13
- 238000004088 simulation Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000011156 evaluation Methods 0.000 description 12
- 235000012907 honey Nutrition 0.000 description 10
- 238000005452 bending Methods 0.000 description 8
- 238000007726 management method Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 5
- 238000012805 post-processing Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000010606 normalization Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Electrically Operated Instructional Devices (AREA)
Description
本発明は、手書き入力された文字列の採点を行う採点装置等に関するものである。 The present invention relates to a scoring device for scoring a character string input by handwriting.
従来、入力された文字のストロークを、直線と2次ベジェ曲線とを連ねたパスとして入力実施中にディスプレイに表示する際に、該ストロークの始点・終点・折れ点・曲線の描き方を決める点などの特徴点を図形による印として表示する手書き文字入力システムがあった(例えば、特許文献1参照)。 Conventionally, when the stroke of the input character is displayed on the display during input as a path connecting a straight line and a quadratic Bezier curve, the starting point / end point / folding point / curve of the stroke is determined. There has been a handwritten character input system that displays a feature point such as a graphic mark (see, for example, Patent Document 1).
しかしながら、従来の手書き文字入力システムにおいては、自動的な採点と手動による採点を効果的に組み合わせていなかったので、精度の高い採点ができなかった、 However, in the conventional handwritten character input system, automatic scoring and manual scoring were not effectively combined, so scoring with high accuracy was not possible.
また、従来の手書き文字入力システムにおいては、文字の骨格を構成する端点または分岐点または交点である構造点に着目した処理を行っておらず、文字の正誤判断処理の速度が遅い、という課題があった。 Moreover, in the conventional handwritten character input system, there is a problem that the processing of paying attention to the structural points that are the end points, the branch points, or the intersections constituting the character skeleton is not performed, and the speed of the character correctness determination processing is slow. there were.
また、従来の手書き文字入力システムにおいては、構造点と特徴点を区別して、それぞれを異なるアルゴリズムを適用して、文字の正誤判断処理を行っていないため、文字の正誤判断が適切にできない、という課題があった。 Moreover, in the conventional handwritten character input system, the structure point and the feature point are distinguished, and different algorithms are applied to each to perform the character correctness determination process. There was a problem.
本第一の発明の採点装置は、正解の文字列を示す正解文字情報を、1以上格納し得る正解文字情報格納部と、手書き入力された文字列を含む画像である文字画像を格納し得る文字画像格納部と、前記文字画像と前記正解文字情報とを比較し、前記手書き入力された文字列が正解か不正解かを示す判断結果を取得する判断部と、前記判断結果を出力する判断結果出力部と、前記判断結果出力部が判断結果を出力した後、前記手書き入力された文字列が正解か不正解かを示すユーザの判断結果であるユーザ判断結果を受け付ける受付部と、前記受付部が受け付けたユーザ判断結果を蓄積する判断結果蓄積部とを具備する採点装置である。 The scoring device according to the first aspect of the present invention can store a correct character information storage unit that can store one or more correct character information indicating a correct character string, and a character image that is an image including a character string input by handwriting. A character image storage unit; a determination unit that compares the character image with the correct character information and obtains a determination result indicating whether the handwritten character string is correct or incorrect; and a determination to output the determination result A result output unit; a reception unit that receives a user determination result indicating whether the character string input by handwriting is correct or incorrect after the determination result output unit outputs the determination result; and the reception It is a scoring device comprising a determination result storage unit that stores user determination results received by the unit.
かかる構成により、効率的な文字列の正誤の採点ができる。 With such a configuration, it is possible to efficiently score correct and incorrect character strings.
また、本第二の発明の採点装置は、第一の発明に対して、受付部は、ユーザ判断結果と判断理由を受け付け、判断結果蓄積部は、受付部が受け付けたユーザ判断結果と判断理由を蓄積する採点装置である。 In the scoring device of the second aspect of the invention, in contrast to the first aspect of the invention, the accepting unit accepts the user judgment result and the judgment reason, and the judgment result accumulating unit is the user judgment result and the judgment reason accepted by the accepting unit Is a scoring device that accumulates
かかる構成により、ユーザの判断結果および判断理由を蓄積でき、後に判断理由を利用できる。 With this configuration, it is possible to accumulate the determination results and determination reasons of the user and use the determination reasons later.
また、本第三の発明の採点装置は、第一、第二いずれかの発明に対して、正解文字情報は、正解の文字列と正誤判断のための情報である判断情報とを有し、判断部における判断結果と受付部が受け付けたユーザ判断結果とが異なる場合、判断情報を更新する判断情報更新部をさらに具備する採点装置である。 The scoring device according to the third aspect of the present invention has correct character information including a correct character string and determination information which is information for correct / incorrect determination for either the first or second invention, The scoring device further includes a determination information update unit that updates the determination information when the determination result in the determination unit is different from the user determination result received by the reception unit.
かかる構成により、文字列の正誤判断が精度高くできる。 With this configuration, it is possible to accurately determine whether a character string is correct.
また、本第四の発明の採点装置は、第一から第三の発明に対して、判断情報は、正解の文字を特徴付ける1以上の特徴量を有し、判断部は、1以上の特徴量を含む判断情報を用いて、文字画像に含まれる文字が不正解か否かを判断する採点装置である。 In the scoring device according to the fourth aspect of the present invention, as compared with the first to third aspects, the determination information has one or more feature amounts that characterize the correct character, and the determination unit has one or more feature amounts. This is a scoring device that determines whether or not the character included in the character image is incorrect using the determination information including
かかる構成により、文字列の正誤判断が精度高くできる。 With this configuration, it is possible to accurately determine whether a character string is correct.
また、本第五の発明の採点装置は、第一から第四いずれかの発明に対して、正解文字情報は、文字の骨格を構成する端点または分岐点または交点である構造点の情報である構造点情報を有し、判断部は、文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の構造点を検出し、構造点の情報である構造点情報を、1以上取得する点情報取得手段と、文字画像に含まれる各文字に対応する正解文字情報に含まれる構造点情報と、点情報取得手段が取得した構造点情報とを比較し、文字画像に含まれる各文字が不正解か否かを判断する判断手段とを具備する採点装置である。 In the scoring device according to the fifth aspect of the present invention, the correct character information is information on a structure point that is an end point, a branch point, or an intersection that constitutes the character skeleton. The determination unit has structure point information, and the determination unit detects one or more structure points for each character included in the character image stored in the character image storage unit, and determines the structure point information that is information on the structure point. One or more point information acquisition means to be acquired, the structure point information included in correct character information corresponding to each character included in the character image, and the structure point information acquired by the point information acquisition means are compared, and The scoring device includes a determination unit that determines whether each character included is an incorrect answer.
かかる構成により、文字列の正誤判断が高速にできる。 With this configuration, it is possible to determine whether a character string is correct or incorrect.
また、本第六の発明の採点装置は、第五の発明に対して、正解文字情報は、文字の骨格を構成する端点または分岐点または交点である構造点の情報である構造点情報と、2つの構造点を結ぶ線であるエッジ上の点であり、閾値より曲がりの程度の大きい点である特徴点の情報である特徴点情報とを有し、点情報取得手段は、文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の構造点情報を取得する構造点情報取得手段と、文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の特徴点情報を取得する特徴点情報取得手段とを具備し、判断手段は、構造点情報と特徴点情報を異なる用い方により、構造点情報取得手段が取得した1以上の構造点情報および特徴点情報取得手段が取得した1以上の特徴点情報と、正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字画像に含まれる文字が不正解か否かを判断する採点装置である。 Further, the scoring device of the sixth aspect of the invention is that, with respect to the fifth aspect, the correct character information is structure point information that is information of a structure point that is an end point, a branch point, or an intersection that constitutes the skeleton of the character, A point on the edge that is a line connecting two structural points, and feature point information that is feature point information that is a point having a degree of bending larger than a threshold value. For each character included in the character image stored in the character image, the structure point information acquisition means for acquiring one or more structure point information, and for each character included in the character image stored in the character image storage unit And a feature point information acquisition unit that acquires one or more feature point information, and the determination unit uses one or more structures acquired by the structure point information acquisition unit according to different uses of the structure point information and the feature point information. 1 or more acquired by the point information and feature point information acquisition means And the feature point information is compared with one or more structural point information and one or more feature point information included in the correct character information, the character included in the character image is a scoring device for determining solved fraud.
かかる構成により、文字列の正誤判断が精度高くできる。 With this configuration, it is possible to accurately determine whether a character string is correct.
また、本第七の発明の採点装置は、第六の発明に対して、判断手段は、構造点情報取得手段が取得した1以上の構造点情報と、正解文字情報に含まれる1以上の構造点情報を比較し、文字画像に含まれる文字が不正解か否かを判断する構造判断手段と、構造判断手段が文字画像に含まれる文字が不正解でないと判断した文字に対して、構造点情報取得手段が取得した1以上の構造点情報および特徴点情報取得手段が取得した1以上の特徴点情報と、正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字が不正解か否かを判断する特徴判断手段とを具備する採点装置である。 Further, in the scoring device of the seventh invention, in contrast to the sixth invention, the judging means has one or more structure point information acquired by the structure point information acquiring means and one or more structures included in the correct character information. The structure determination means for comparing the point information and determining whether the character included in the character image is incorrect or not, and the structure point for the character that the structure determination means determines that the character included in the character image is not incorrect. One or more structure point information acquired by the information acquisition means, one or more feature point information acquired by the feature point information acquisition means, and one or more structure point information and one or more feature point information included in the correct character information. It is a scoring device comprising a feature determination means for comparing and determining whether or not a character is an incorrect answer.
かかる構成により、文字列の正誤判断が高速に、かつ精度高くできる。 With this configuration, it is possible to determine whether a character string is correct or not at high speed and with high accuracy.
また、本第八の発明の採点装置は、第七の発明に対して、特徴判断手段は、一文字に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する1以上のグループに分割するグループ分割手段と、各グループごとに、構造点情報取得手段が取得した1以上の構造点情報および特徴点情報取得手段が取得した1以上の特徴点情報と、正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字が不正解か否かを判断するグループ特徴判断手段とを具備する採点装置である。 Further, in the scoring device of the eighth invention, in contrast to the seventh invention, the feature judging means includes at least one structural point or feature point included in one character having a connected structural point or feature point. Included in correct character information, group dividing means for dividing into groups, one or more structure point information obtained by the structure point information obtaining means and one or more feature point information obtained by the feature point information obtaining means for each group And a group feature judging means for comparing one or more structural point information and one or more feature point information to judge whether or not the character is an incorrect answer.
かかる構成により、文字列の正誤判断が、さらに精度高くできる。 With such a configuration, it is possible to determine the correctness of the character string with higher accuracy.
また、本第九の発明の採点装置は、第八の発明に対して、特徴判断手段は、手書き入力された文字のグループ間のバランスを示す1以上の特徴量を取得する特徴量取得手段と、前記特徴量取得手段が取得した1以上の特徴量を用いて、前記文字が不正解か否かを判断するバランス判断手段とをさらに具備する採点装置である。 The scoring device according to the ninth aspect of the invention relates to the eighth aspect of the invention, in which the feature determination means is a feature quantity acquisition means for acquiring one or more feature quantities indicating a balance between groups of handwritten characters. The scoring device further comprises balance determination means for determining whether or not the character is an incorrect answer using one or more feature quantities acquired by the feature quantity acquisition means.
かかる構成により、文字列の正誤判断が、さらに精度高くできる。 With such a configuration, it is possible to determine the correctness of the character string with higher accuracy.
また、本第十の発明の採点装置は、第八または第九の発明に対して、グループ特徴判断手段は、各グループごとに、構造点情報取得手段が取得した1以上の構造点情報および特徴点情報取得手段が取得した1以上の特徴点情報が示す各点に対応する点であり、正解文字情報に含まれる1以上の構造点情報または1以上の特徴点情報のうちのいずれかが示す点の情報である対応点情報を取得し、1以上の構造点情報および1以上の特徴点情報の各々が示す各点と、各対応点情報が示す各点との距離を算出し、距離の絶対値の和を算出し、距離の絶対値の和が閾値以上または閾値より大きい場合に、文字が不正解であると判断する採点装置である。 The scoring device according to the tenth aspect of the invention is the eighth or ninth aspect of the invention, wherein the group feature judging means is one or more pieces of structure point information and features acquired by the structure point information acquiring means for each group. It is a point corresponding to each point indicated by one or more feature point information acquired by the point information acquisition means, and indicates either one or more structure point information or one or more feature point information included in the correct character information. Corresponding point information that is point information is acquired, and the distance between each point indicated by each of the one or more structural point information and one or more feature point information and each point indicated by each corresponding point information is calculated, This is a scoring device that calculates the sum of absolute values and determines that the character is incorrect when the sum of absolute values of distances is greater than or equal to or greater than a threshold value.
かかる構成により、文字列の正誤判断が、さらに精度高くできる。 With such a configuration, it is possible to determine the correctness of the character string with higher accuracy.
また、本第十一の発明の採点装置は、第九または第十の発明に対して、特徴量取得手段は、手書き入力された文字の1以上のグループにより構成される文字の部分が占める面積の比率を特徴量として算出し、バランス判断手段は、正解の文字の1以上のグループにより構成される文字の部分が占める面積の比率を含む判断情報を取得し、特徴量取得手段が算出した特徴量と判断情報とから、文字が不正解か否かを判断する採点装置である。 The scoring device according to the eleventh aspect of the present invention is the ninth or tenth aspect of the present invention, wherein the feature amount acquisition means occupies an area occupied by one or more groups of characters input by handwriting. The ratio is calculated as a feature amount, and the balance determination means acquires determination information including the ratio of the area occupied by a character portion composed of one or more groups of correct characters, and the feature calculated by the feature amount acquisition means It is a scoring device that determines whether or not a character is an incorrect answer from an amount and determination information.
かかる構成により、文字列の正誤判断が、さらに精度高くできる。 With such a configuration, it is possible to determine the correctness of the character string with higher accuracy.
また、本第十二の発明の採点装置は、第九または第十の発明に対して、特徴量取得手段は、手書き入力された文字の各グループ間の距離を特徴量として算出し、バランス判断手段は、正解の文字のグループ間の距離を含む判断情報を取得し、特徴量取得手段が算出した特徴量と判断情報とから、文字が不正解か否かを判断する採点装置である。 The scoring device according to the twelfth aspect of the invention relates to the ninth or tenth invention, wherein the feature amount acquisition means calculates the distance between each group of handwritten characters as a feature amount, and determines the balance. The means is a scoring device that acquires determination information including a distance between groups of correct characters and determines whether or not the character is an incorrect answer from the feature amount calculated by the feature amount acquisition unit and the determination information.
かかる構成により、文字列の正誤判断が、さらに精度高くできる。 With such a configuration, it is possible to determine the correctness of the character string with higher accuracy.
また、本第十三の発明の採点装置は、第一から第十二いずれかの発明に対して、文字は、漢字である採点装置である。 Further, the scoring device of the thirteenth invention is a scoring device in which the character is a Chinese character as compared with any of the first to twelfth inventions.
かかる構成により、漢字の正誤判断が精度高くできる。 With this configuration, the correctness / incorrectness of kanji can be determined with high accuracy.
本発明による採点装置によれば、文字列の正誤の採点が正確にできる。 According to the scoring device according to the present invention, correct and incorrect scoring of character strings can be performed.
以下、採点装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。 Hereinafter, embodiments of a scoring device and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.
(実施の形態1) (Embodiment 1)
本実施の形態において、自動採点と手動採点の両方を用いる文字列の採点装置について説明する。 In the present embodiment, a character string scoring device using both automatic scoring and manual scoring will be described.
また、本実施の形態において、手動採点で不正解の場合、その判断理由を入力することができる文字列の採点装置について説明する。 Further, in this embodiment, a character string scoring device that can input a determination reason when manual scoring is incorrect will be described.
また、本実施の形態において、手動採点の結果を用いて、自動採点のアルゴリズムを改善していける採点装置について説明する。 Further, in the present embodiment, a scoring device that can improve the automatic scoring algorithm using the result of manual scoring will be described.
また、本実施の形態において、入力された手書き文字(画像)から構造点を取得し、構造点を用いて、正解文字と比較し、比較結果を出力する採点装置について説明する。 In the present embodiment, a scoring device that acquires a structure point from an input handwritten character (image), compares it with a correct character using the structure point, and outputs a comparison result will be described.
さらに、本実施の形態において、手書き文字の構造点を用いて構造比較し、次に構造点および特徴点を用いて特徴比較を行う採点装置について説明する。 Further, in the present embodiment, a scoring device that performs structure comparison using structure points of handwritten characters and then performs feature comparison using structure points and feature points will be described.
図1は、本実施の形態における採点装置のブロック図である。 FIG. 1 is a block diagram of a scoring device in the present embodiment.
採点装置1は、文字画像読取部10、正解文字情報格納部11、文字画像格納部12、判断結果格納部13、判断部14、判断結果出力部15、受付部16、判断結果蓄積部17、判断情報更新部18、比較出力部19を具備する。 The scoring device 1 includes a character image reading unit 10, a correct character information storage unit 11, a character image storage unit 12, a determination result storage unit 13, a determination unit 14, a determination result output unit 15, a reception unit 16, a determination result storage unit 17, A judgment information update unit 18 and a comparison output unit 19 are provided.
判断部14は、文字分割手段141、点情報取得手段142、判断手段143を具備する。 The determination unit 14 includes a character division unit 141, a point information acquisition unit 142, and a determination unit 143.
点情報取得手段142は、構造点情報取得手段1421、特徴点情報取得手段1422を具備する。 The point information acquisition unit 142 includes a structure point information acquisition unit 1421 and a feature point information acquisition unit 1422.
判断手段143は、構造判断手段1431、特徴判断手段1432を具備する。 The determination unit 143 includes a structure determination unit 1431 and a feature determination unit 1432.
特徴判断手段1432は、グループ分割手段14321、グループ特徴判断手段14322、特徴量取得手段14323、バランス判断手段14324を具備する。 The feature determination unit 1432 includes a group division unit 14321, a group feature determination unit 14322, a feature amount acquisition unit 14323, and a balance determination unit 14324.
文字画像読取部10は、手書き入力された1以上の文字を読み取る。文字画像読取部10は、紙などの媒体に記載された1以上の文字から、当該文字を含む画像を構成する。文字画像読取部10は、例えば、スキャナやデジタルカメラなどである。 The character image reading unit 10 reads one or more characters input by handwriting. The character image reading unit 10 forms an image including the character from one or more characters written on a medium such as paper. The character image reading unit 10 is, for example, a scanner or a digital camera.
正解文字情報格納部11は、1以上の正解文字情報を格納し得る。正解文字情報とは、正解の文字列を示す情報である。文字列とは、1以上の文字である。文字とは、漢字であることが好適であるが、漢字であるとは問わない。また、本実施の形態において、文字は、一般的な文字(ひらがな、カタカナ、英文字、ハングル、アラビア語文字等)に限らず、絵文字、図柄、記号などでも良い。さらに、本実施の形態において、文字は、構造点または/および特徴点が取り出されることができる図形などでも良い。 The correct character information storage unit 11 can store one or more correct character information. Correct character information is information indicating a correct character string. A character string is one or more characters. The character is preferably a Chinese character, but is not necessarily a Chinese character. In the present embodiment, the characters are not limited to general characters (such as hiragana, katakana, English characters, Korean, Arabic characters, etc.), and may be pictographs, symbols, symbols, and the like. Further, in the present embodiment, the character may be a figure or the like from which a structure point or / and a feature point can be extracted.
正解文字情報が示す文字列を構成する文字(以下、適宜「正解文字」という)の情報は、後述するような構造点情報と特徴点情報と接続情報を有しても良いし、構造点情報と特徴点情報でも良いし、構造点のみでも良いし、文字のコードでも良い。また、正解の文字列とは、手書き入力された文字列と比較される比較対象の文字列である。なお、手書き入力された文字列を構成する文字を、適宜「入力文字」という。 Information of characters (hereinafter referred to as “correct characters” as appropriate) constituting the character string indicated by the correct character information may include structure point information, feature point information, and connection information as described later, or structure point information. It may be feature point information, a structure point only, or a character code. The correct character string is a character string to be compared with a character string input by handwriting. Note that characters constituting the character string input by handwriting are appropriately referred to as “input characters”.
構造点情報とは、文字の骨格を構成する構造点を示す情報である。構造点とは、文字の骨格を構成する端点または分岐点または交点である。構造点情報は、通常、点の位置を示す位置情報(x、y)を有する。正解文字情報に構造点を示すフラグが付与され、構造点を識別できるようにしても良い。正解文字情報は、1以上の特徴点情報を含むことは好適である。特徴点情報とは、特徴点の情報である。特徴点とは、エッジ上の点であり、閾値より曲がりの程度の大きい点である。エッジとは、2つの構造点を結ぶ線である。また、正解文字情報は、文字の特徴を示す1以上の判断情報を有することは好適である。判断情報とは、特徴量または特徴量の範囲を示す情報である。特徴量とは、例えば、後述するグループの占める面積の比率、1以上のグループである文字の部分の占める面積の比率、グループ間の距離、文字のはねの長さ、特定の線(画)の長さなど、文字の特徴を示す値であれば何でも良い。グループとは、文字の骨格を構成する一の連結されている構造点または特徴点の集合である。また、グループとは、文字の骨格を構成する一の連結されている構造点または特徴点の集合から構成される線図でも良い。さらに具体的には、正解文字情報は、例えば、構造点情報または特徴点情報であるノード情報、および構造点や特徴点の接続を示す接続情報を有することは好適である。 The structure point information is information indicating the structure points constituting the character skeleton. A structure point is an end point, a branch point, or an intersection that constitutes the skeleton of a character. The structure point information usually has position information (x, y) indicating the position of the point. A flag indicating a structure point may be added to the correct character information so that the structure point can be identified. The correct character information preferably includes one or more feature point information. The feature point information is feature point information. A feature point is a point on an edge, which is a point having a degree of bending larger than a threshold value. An edge is a line connecting two structural points. The correct character information preferably includes one or more pieces of determination information indicating character characteristics. The determination information is information indicating a feature amount or a feature amount range. The feature amount is, for example, the ratio of the area occupied by a group, which will be described later, the ratio of the area occupied by a character portion that is one or more groups, the distance between groups, the length of character splash, and a specific line (drawing). Any value can be used as long as it indicates the character of the character, such as the length of. A group is a set of connected structure points or feature points that constitute a character skeleton. The group may be a diagram composed of a set of connected structural points or feature points constituting a character skeleton. More specifically, it is preferable that the correct character information includes, for example, node information that is structure point information or feature point information, and connection information that indicates connection of structure points or feature points.
正解文字情報格納部11は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。 The correct character information storage unit 11 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium.
正解文字情報格納部11に正解文字情報が記憶される過程は問わない。例えば、記録媒体を介して正解文字情報が正解文字情報格納部11で記憶されるようになってもよく、通信回線等を介して送信された正解文字情報が正解文字情報格納部11で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された正解文字情報が正解文字情報格納部11で記憶されるようになってもよい。 The process in which correct character information is memorize | stored in the correct character information storage part 11 is not ask | required. For example, correct character information may be stored in the correct character information storage unit 11 via a recording medium, and correct character information transmitted via a communication line or the like is stored in the correct character information storage unit 11. The correct character information input via the input device may be stored in the correct character information storage unit 11.
文字画像格納部12は、手書き入力された文字列を含む画像である文字画像(適宜、「入力文字画像」という)を格納し得る。文字画像格納部12は、通常、文字画像読取部10が取得した文字画像を格納している。文字画像格納部12は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。文字画像格納部12に文字画像が記憶される過程は問わない。例えば、記録媒体を介して文字画像が文字画像格納部12で記憶されるようになってもよく、通信回線等を介して送信された文字画像が文字画像格納部12で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された文字画像が文字画像格納部12で記憶されるようになってもよい。 The character image storage unit 12 can store a character image (referred to as “input character image” as appropriate) that is an image including a character string input by handwriting. The character image storage unit 12 normally stores a character image acquired by the character image reading unit 10. The character image storage unit 12 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium. The process of storing the character image in the character image storage unit 12 does not matter. For example, a character image may be stored in the character image storage unit 12 via a recording medium, and a character image transmitted via a communication line or the like is stored in the character image storage unit 12. Alternatively, the character image input via the input device may be stored in the character image storage unit 12.
判断結果格納部13は、判断結果を格納し得る。判断結果とは、判断部14が行った判断の結果である。判断結果格納部13は、ユーザが入力したユーザ判断結果も格納していても良い。判断結果格納部13は、判断の対象となった文字列を識別する情報(例えば、答案用紙を識別する答案用紙識別子や、被験者を識別する識別子など)も格納していても良い。判断結果格納部13は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。判断結果格納部13に判断結果が記憶される過程は問わない。例えば、記録媒体を介して判断結果が判断結果格納部13で記憶されるようになってもよく、通信回線等を介して送信された判断結果が判断結果格納部13で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された判断結果が判断結果格納部13で記憶されるようになってもよい。 The determination result storage unit 13 can store the determination result. The determination result is a result of determination performed by the determination unit 14. The determination result storage unit 13 may also store a user determination result input by the user. The determination result storage unit 13 may also store information for identifying a character string to be determined (for example, an answer sheet identifier for identifying an answer sheet, an identifier for identifying a subject, etc.). The determination result storage unit 13 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium. The process of storing the determination result in the determination result storage unit 13 does not matter. For example, the determination result may be stored in the determination result storage unit 13 via a recording medium, and the determination result transmitted via a communication line or the like is stored in the determination result storage unit 13. Alternatively, the determination result input via the input device may be stored in the determination result storage unit 13.
判断部14は、文字画像(入力文字画像)と正解文字情報とを比較し、手書き入力された文字列が正解か不正解かを示す判断結果を取得する。判断部14は、例えば、文字画像を文字認識処理し、文字コード列を取得する。そして、判断部14は、取得した文字コード列と正解文字情報(この場合「1以上の文字コード」)とを比較し、両社が一致すれば正解と判断し、両社が一致しなければ不正解と判断する。また、判断部14は、後述する文字分割手段141、点情報取得手段142、および判断手段143を用いて判断処理を行なうことは好適である。判断部14は、例えば、1以上の特徴量を含む判断情報を用いて、文字画像に含まれる文字が不正解か否かを判断することは好適である。 The determination unit 14 compares the character image (input character image) with the correct character information, and acquires a determination result indicating whether the character string input by handwriting is correct or incorrect. For example, the determination unit 14 performs character recognition processing on a character image and acquires a character code string. Then, the determination unit 14 compares the acquired character code string and correct character information (in this case, “one or more character codes”). If both companies match, the determination unit 14 determines that the answer is correct. Judge. Further, it is preferable that the determination unit 14 performs a determination process using a character division unit 141, a point information acquisition unit 142, and a determination unit 143, which will be described later. For example, the determination unit 14 preferably uses the determination information including one or more feature amounts to determine whether or not the character included in the character image is an incorrect answer.
ここで、比較とは、文字画像と正解文字情報とを直接比較する必要はない。例えば、文字画像から抽出した構造点情報と特徴点情報を用いて、正解文字情報と比較しても良い。また、上述したように、判断部14は、文字画像を文字認識処理して取得した文字コードの列と正解文字情報と比較しても良い。 Here, the comparison does not require a direct comparison between the character image and the correct character information. For example, you may compare with correct character information using the structure point information and feature point information extracted from the character image. Further, as described above, the determination unit 14 may compare the character code string obtained by character recognition processing of the character image with the correct character information.
判断部14は、通常、MPUやメモリ等から実現され得る。判断部14の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The determination unit 14 can usually be realized by an MPU, a memory, or the like. The processing procedure of the determination unit 14 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
文字分割手段141は、文字画像格納部12に格納されている文字画像に含まれる2以上の文字から、各文字を切り出す。文字分割手段141は、文字認識処理などで利用されている公知技術であるので詳細な説明を省略する。文字分割手段141は、通常、MPUやメモリ等から実現され得る。文字分割手段141の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The character dividing unit 141 cuts out each character from two or more characters included in the character image stored in the character image storage unit 12. Since the character dividing means 141 is a known technique used in character recognition processing or the like, detailed description thereof is omitted. The character dividing unit 141 can usually be realized by an MPU, a memory, or the like. The processing procedure of the character dividing unit 141 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
点情報取得手段142は、文字画像格納部12に格納されている文字画像に含まれる各文字に対して、1以上の構造点情報、および1以上の特徴点情報を取得する。また、点情報取得手段142は、文字画像格納部12に格納されている文字画像に含まれる各文字に対して、1以上の構造点情報のみを取得しても良い。なお、文字画像格納部12に格納されている文字画像に含まれる各文字とは、文字分割手段141が切り出した各文字である。さらに詳細には、点情報取得手段142は、文字画像に含まれる各文字をグラフ化し、ノードとエッジ(線分)を検出し、特定のノードである端点または分岐点または交点を検出する。この特定のノードは、構造点である。また、点情報取得手段142は、2つの構造点を結ぶ線であるエッジ上の点であり、閾値より曲がりの程度の大きい点である特徴点を検出する。なお、点情報取得手段142は、閾値を予め格納している。また、曲がりの程度とは、例えば、2つの直線により構成される角度である。また、曲がりの程度とは、エッジ上の各点の微分値(傾き)などでも良い。なお、ここで、ノードとは、構造点または特徴点である。 The point information acquisition unit 142 acquires one or more structure point information and one or more feature point information for each character included in the character image stored in the character image storage unit 12. Further, the point information acquisition unit 142 may acquire only one or more structural point information for each character included in the character image stored in the character image storage unit 12. Each character included in the character image stored in the character image storage unit 12 is each character extracted by the character dividing unit 141. More specifically, the point information acquisition unit 142 graphs each character included in the character image, detects a node and an edge (line segment), and detects an end point, a branch point, or an intersection that is a specific node. This particular node is a structure point. Further, the point information acquisition unit 142 detects a feature point that is a point on the edge, which is a line connecting two structural points, and is a point having a degree of bending larger than a threshold value. The point information acquisition unit 142 stores a threshold value in advance. Further, the degree of bending is, for example, an angle formed by two straight lines. Further, the degree of bending may be a differential value (slope) of each point on the edge. Here, the node is a structure point or a feature point.
点情報取得手段142は、通常、MPUやメモリ等から実現され得る。点情報取得手段142の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The point information acquisition unit 142 can be usually realized by an MPU, a memory, or the like. The processing procedure of the point information acquisition unit 142 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
構造点情報取得手段1421は、文字画像格納部12に格納されている文字画像に含まれる各文字に対して、1以上の構造点情報を取得する。さらに具体的には、構造点情報取得手段1421は、例えば、図2に示すように動作する。まず、構造点情報取得手段1421は、手書き文字画像に対して、細線化処理を行う。細線化処理とは、手書きの文字画像(a)から太さを除去して、線画画像に変換後、線画画像(ラスター)から線画データ(ベクター(b))に変換する。かかる変換をラスターベクター変換という。次に、構造点情報取得手段1421は、グラフデータ作成処理を行う。つまり、構造点情報取得手段1421は、線画データ(ベクター)から構造点を抽出する。構造点は、線画データの端点、分岐点、または交点である。 The structure point information acquisition unit 1421 acquires one or more structure point information for each character included in the character image stored in the character image storage unit 12. More specifically, the structure point information acquisition unit 1421 operates as shown in FIG. 2, for example. First, the structure point information acquisition unit 1421 performs thinning processing on the handwritten character image. In the thinning process, the thickness is removed from the handwritten character image (a), converted to a line drawing image, and then converted from the line drawing image (raster) to line drawing data (vector (b)). Such conversion is called raster vector conversion. Next, the structure point information acquisition unit 1421 performs graph data creation processing. That is, the structure point information acquisition unit 1421 extracts a structure point from the line drawing data (vector). The structure point is an end point, branch point, or intersection of line drawing data.
構造点情報取得手段1421は、通常、MPUやメモリ等から実現され得る。構造点情報取得手段1421の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The structure point information acquisition unit 1421 can be usually realized by an MPU, a memory, or the like. The processing procedure of the structure point information acquisition unit 1421 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
特徴点情報取得手段1422は、文字画像格納部12に格納されている文字画像に含まれる各文字に対して、1以上の特徴点情報を取得する。つまり、特徴点情報取得手段1422は、図2の線画データ(ベクター)より特徴点を抽出する。構造点情報取得手段1421の処理と、特徴点情報取得手段1422の処理により、ノード(構造点または特徴点)とエッジを有するグラフデータ(図2(c))が構成される。また、点情報取得手段142は、正規化されていないグラフデータ(図2(c))を正規化し、正規化されたグラフデータ(図2(d))を得る。正規化とは、ここでは、ノードの位置情報を、XY座標系の(0,0)(0,1)(1,1)(1,0)の矩形領域に収める処理である。 The feature point information acquisition unit 1422 acquires one or more feature point information for each character included in the character image stored in the character image storage unit 12. That is, the feature point information acquisition unit 1422 extracts feature points from the line drawing data (vector) in FIG. The process of the structure point information acquisition unit 1421 and the process of the feature point information acquisition unit 1422 constitute graph data (FIG. 2C) having nodes (structure points or feature points) and edges. Further, the point information acquisition unit 142 normalizes the non-normalized graph data (FIG. 2C), and obtains normalized graph data (FIG. 2D). Here, normalization is a process of storing node position information in a rectangular area of (0, 0) (0, 1) (1, 1) (1,0) in the XY coordinate system.
特徴点情報取得手段1422は、通常、MPUやメモリ等から実現され得る。特徴点情報取得手段1422の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The feature point information acquisition unit 1422 can be usually realized by an MPU, a memory, or the like. The processing procedure of the feature point information acquisition unit 1422 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
判断手段143は、文字画像に含まれる各文字に対応する正解文字情報に含まれる構造点情報と、点情報取得手段142が取得した構造点情報とを比較し、文字画像に含まれる各文字が不正解か否かを判断する。判断手段143は、2つの構造点情報から、2つの文字の構造が一致しないと判断した場合、2つの文字が異なる、と判断する。 The determination unit 143 compares the structure point information included in the correct character information corresponding to each character included in the character image with the structure point information acquired by the point information acquisition unit 142, and each character included in the character image is Determine whether the answer is incorrect. If the determination unit 143 determines from the two structure point information that the structures of the two characters do not match, the determination unit 143 determines that the two characters are different.
判断手段143は、構造点情報と特徴点情報を異なる用い方により、構造点情報取得手段1421が取得した1以上の構造点情報および特徴点情報取得手段1422が取得した1以上の特徴点情報と、正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字画像に含まれる文字が不正解か否かを判断する。ここで、「異なる用い方」とは、例えば、構造点情報を用いて構造の一致/不一致を判断し、構造点情報と特徴点情報を用いて形状の一致/不一致を判断することである。また、例えば、「異なる用い方」とは、構造点情報を用いて構造の一致/不一致を判断し、特徴点情報を用いて文字の曲がり度合いの一致/不一致を判断すること等である。 The determination unit 143 uses one or more pieces of structure point information acquired by the structure point information acquisition unit 1421 and one or more pieces of feature point information acquired by the feature point information acquisition unit 1422 according to different uses of the structure point information and the feature point information. The one or more structure point information and the one or more feature point information included in the correct character information are compared, and it is determined whether or not the character included in the character image is an incorrect answer. Here, “different usage” means, for example, determining whether the structure matches or does not match using the structure point information, and determines whether the shape matches or does not match using the structure point information and the feature point information. Further, for example, “different usage” means determining whether the structure matches or does not match using the structure point information, and determines whether the character bending degree matches or does not match using the feature point information.
判断手段143は、受付部16が受け付けた1以上の特徴量を基準にして、文字画像に含まれる文字が不正解か否かを判断することは好適である。ここで、受け付けとは、キーボードやマウス、タッチパネルなどの入力デバイスから入力された情報の受け付け、有線もしくは無線の通信回線を介して送信された情報の受信、光ディスクや磁気ディスク、半導体メモリなどの記録媒体から読み出された情報の受け付けなどを含む概念である。なお、判断手段143は、さらに具体的には、構造判断手段1431、特徴判断手段1432により、文字画像に含まれる各文字が不正解か否かを判断することは好適である。 The determination unit 143 preferably determines whether or not the character included in the character image is an incorrect answer based on one or more feature amounts received by the receiving unit 16. Here, reception means reception of information input from an input device such as a keyboard, mouse, touch panel, reception of information transmitted via a wired or wireless communication line, recording on an optical disk, magnetic disk, semiconductor memory, or the like. It is a concept including reception of information read from a medium. More specifically, the determining unit 143 preferably determines whether each character included in the character image is an incorrect answer by the structure determining unit 1431 and the feature determining unit 1432.
判断手段143は、通常、MPUやメモリ等から実現され得る。判断手段143の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The determination unit 143 can be usually realized by an MPU, a memory, or the like. The processing procedure of the determination unit 143 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
構造判断手段1431は、構造点情報取得手段1421が取得した1以上の構造点情報と、正解文字情報に含まれる1以上の構造点情報を比較し、文字画像に含まれる文字が不正解か否かを判断する。構造判断手段1431は、2つの文字の構造を比較し、異なる文字か否かを判断する。構造判断手段1431は、構造点の接続情報を用いて、2つの文字の構造を比較し、異なる文字か否かを判断することは好適である。構造判断手段1431は、さらに具体的には、図3に示すような方法で、文字画像に含まれる文字が不正解か否かを判断する。つまり、構造判断手段1431は、入力文字の構造点情報(ここでは、各構造点の接続情報)と、正解文字の構造点情報(ここでは、各構造点の接続情報)とを取得する。そして、構造判断手段1431は、2つの構造点情報が有する接続情報(グラフ構造)がすべて一致しない場合に、2つの文字は異なる、と判断する。また、構造判断手段1431は、入力文字の構造点の位置情報と、対応する正解文字の構造点の位置情報とを比較し、その差を算出しても良い。そして、その差の集合(例えば、差の絶対値をすべて加えた値)を用いて、2つの文字の形状の違いを判断しても良い。つまり、例えば、構造判断手段1431は、差の絶対値をすべて加えた値が所定以上の値であれば、両文字は異なると判断しても良い。 The structure determination unit 1431 compares one or more pieces of structure point information acquired by the structure point information acquisition unit 1421 with one or more pieces of structure point information included in the correct character information, and determines whether or not the character included in the character image is an incorrect answer. Determine whether. The structure determining unit 1431 compares the structures of two characters and determines whether or not they are different characters. The structure determining unit 1431 preferably compares the structure of two characters using the connection information of the structure points to determine whether the characters are different. More specifically, the structure determination unit 1431 determines whether or not the character included in the character image is an incorrect answer by a method as shown in FIG. That is, the structure determination unit 1431 acquires the structure point information of the input character (here, connection information of each structure point) and the structure point information of the correct character (here, connection information of each structure point). Then, the structure determining unit 1431 determines that the two characters are different when the connection information (graph structure) included in the two structure point information does not match. Further, the structure determination unit 1431 may compare the position information of the structure point of the input character with the position information of the structure point of the corresponding correct character and calculate the difference. Then, the difference between the shapes of the two characters may be determined using the set of differences (for example, a value obtained by adding all the absolute values of the differences). That is, for example, the structure determination unit 1431 may determine that the two characters are different if the value obtained by adding all the absolute values of the differences is a predetermined value or more.
構造判断手段1431は、通常、MPUやメモリ等から実現され得る。構造判断手段1431の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The structure determination unit 1431 can be usually realized by an MPU, a memory, or the like. The processing procedure of the structure determination unit 1431 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
特徴判断手段1432は、構造判断手段1431が文字画像に含まれる文字が不正解でないと判断した文字に対して、構造点情報取得手段1421が取得した1以上の構造点情報および特徴点情報取得手段1422が取得した1以上の特徴点情報と、正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字が不正解か否かを判断する。なお、特徴判断手段1432は、主として、2つの文字の形を比較し、文字画像に含まれる文字が不正解か否かを判断する。具体的には、特徴判断手段1432は、グループ分割手段14321、グループ特徴判断手段14322、特徴量取得手段14323、およびバランス判断手段14324により、文字が不正解か否かを判断することは好適である。 The feature determination means 1432 has one or more structure point information and feature point information acquisition means acquired by the structure point information acquisition means 1421 for the character that the structure determination means 1431 determines that the character included in the character image is not incorrect. The one or more feature point information acquired by 1422 is compared with one or more structure point information and one or more feature point information included in the correct character information to determine whether or not the character is an incorrect answer. Note that the feature determination unit 1432 mainly compares two character shapes to determine whether or not the character included in the character image is an incorrect answer. Specifically, it is preferable that the feature determination unit 1432 determines whether the character is an incorrect answer by the group division unit 14321, the group feature determination unit 14322, the feature amount acquisition unit 14323, and the balance determination unit 14324. .
特徴判断手段1432は、通常、MPUやメモリ等から実現され得る。特徴判断手段1432の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The feature determination unit 1432 can be realized typically as an MPU, a memory, or the like. The processing procedure of the feature determination unit 1432 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
グループ分割手段14321は、一文字を1以上のグループに分割する。つまり、グループ分割手段14321は、一文字に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する1以上のグループに分割する。つまり、グループ分割手段14321は、例えば、ひらがな「い」は2つのグループに分割する。また、グループ分割手段14321は、例えば、漢字「淳」を6つのグループに分割する。グループ分割手段14321は、図4に示すように、連結しているノード群を一つのグループである、と判断する。文字「ぽ」は、3つのグループに分割される。 The group dividing unit 14321 divides one character into one or more groups. That is, the group dividing unit 14321 divides the structure points and feature points included in one character into one or more groups having connected structure points or feature points. That is, the group dividing unit 14321 divides hiragana “i” into two groups, for example. The group dividing unit 14321 divides the Chinese character “字” into six groups, for example. As shown in FIG. 4, the group dividing unit 14321 determines that the connected node group is one group. The character “Po” is divided into three groups.
グループ分割手段14321は、通常、MPUやメモリ等から実現され得る。グループ分割手段14321の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The group dividing unit 14321 can be usually realized by an MPU, a memory, or the like. The processing procedure of the group dividing unit 14321 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
グループ特徴判断手段14322は、各グループごとに、構造点情報取得手段1421が取得した1以上の構造点情報および特徴点情報取得手段1422が取得した1以上の特徴点情報と、正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字が不正解か否かを判断する。 The group feature determination unit 14322 includes, for each group, one or more pieces of structure point information acquired by the structure point information acquisition unit 1421 and one or more feature point information acquired by the feature point information acquisition unit 1422 and correct character information. The one or more structure point information and one or more feature point information are compared to determine whether the character is incorrect.
グループ特徴判断手段14322は、各グループごとに、構造点情報取得手段1421が取得した1以上の構造点情報および特徴点情報取得手段1422が取得した1以上の特徴点情報が示す各点に対応する点であり、正解文字情報に含まれる1以上の構造点情報または1以上の特徴点情報のうちのいずれかが示す点の情報である対応点情報を取得する。そして、グループ特徴判断手段14322は、構造点情報取得手段1421が取得した1以上の構造点情報および特徴点情報取得手段1422が取得した1以上の特徴点情報が示す各点と対応する点の位置情報を用いて、文字が不正解か否かを判断する。 The group feature determination unit 14322 corresponds to each point indicated by one or more structure point information acquired by the structure point information acquisition unit 1421 and one or more feature point information acquired by the feature point information acquisition unit 1422 for each group. Corresponding point information which is a point and is information of a point indicated by one or more structural point information or one or more feature point information included in the correct character information is acquired. Then, the group feature determination unit 14322 has a position of a point corresponding to each point indicated by the one or more structure point information acquired by the structure point information acquisition unit 1421 and one or more feature point information acquired by the feature point information acquisition unit 1422. The information is used to determine whether the character is incorrect.
グループ特徴判断手段14322は、例えば、図5に示すように、各グループごとに(図5では「ぽ」の1画目のグループ)、対応するノードを決定し、そのノード間の距離を算出する。そして、距離の集合を用いて、2つのグループの評価値を算出する。グループ特徴判断手段14322は、その評価値が所定より大きい場合(以上も含む)、2つの文字は異なると判断する。具体的には、例えば、図5に示すように、入力文字「ぽ」の第1画のグループがP1、P2、P3、P4のノードを有する、とする。また、正解文字「ぽ」の第1画のグループがQ1、Q2、Q3、Q4、Q5のノードを有する、とする。そして、グループ特徴判断手段14322は、2つの文字のグループ間で、他方のノードであり、距離が最も近いノードを、対応するノードでると決定する。図5において、グループ特徴判断手段14322は、Q1、Q2、Q3、Q4、Q5は、それぞれ、P1、P2、P2、P3、P4に対応すると決定する。次に、グループ特徴判断手段14322は、対応する2点「(P1,Q1)(P2,Q2)(P2,Q3)(P3,Q4)(P4,Q5)」のそれぞれの距離を算出する。そして、グループ特徴判断手段14322は、その距離を、数式1に代入し、評価値を算出する。次に、グループ特徴判断手段14322は、その評価値が閾値以上であれば、入力文字が不正解であると判断する。
数式1において、点Piの位置情報が(pxi,pyi)、点Qjの位置情報が(qxj,qyj)である。 In Equation 1, the position information of the point Pi is (pxi, pyi), and the position information of the point Qj is (qxj, qyj).
グループ特徴判断手段14322は、通常、MPUやメモリ等から実現され得る。グループ特徴判断手段14322の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The group feature determination unit 14322 can be usually realized by an MPU, a memory, or the like. The processing procedure of the group feature determination unit 14322 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
特徴量取得手段14323は、手書き入力された文字のバランスを示す1以上の特徴量を取得する。文字のバランスとは、通常、グループ間のバランスである。また、グループ間のバランスとは1以上のグループ(文字の部分)間のバランスも含む趣旨である。 The feature amount acquisition unit 14323 acquires one or more feature amounts indicating the balance of characters input by handwriting. Character balance is usually the balance between groups. In addition, the balance between groups includes the balance between one or more groups (character portions).
特徴量取得手段14323は、例えば、各文字を構成するグループが有するノードの位置情報から、各グループが含まれる最小の矩形の面積を、グループごとに算出する。そして、特徴量取得手段14323は、文字が有するノードの位置情報から、文字が含まれる最小の矩形の面積を算出する。そして、特徴量取得手段14323は、各グループの矩形の面積、文字の矩形の面積を用いて、各グループの、文字全体に占める面積の割合を算出する。かかる場合、特徴量は、各グループの、文字全体に占める面積の割合である。 For example, the feature amount acquisition unit 14323 calculates, for each group, the area of the minimum rectangle including each group from the position information of the nodes included in the group constituting each character. Then, the feature amount acquisition unit 14323 calculates the area of the minimum rectangle including the character from the position information of the node included in the character. Then, the feature amount acquisition unit 14323 calculates the ratio of the area of each group to the entire character by using the rectangular area of each group and the rectangular area of the character. In such a case, the feature amount is the ratio of the area of each group to the entire character.
また、特徴量取得手段14323は、例えば、手書き入力された文字の1以上のグループにより構成される文字の部分が占める面積の比率を特徴量として算出する。かかる場合、特徴量は、1以上のグループにより構成される文字の部分が占める面積の比率である。なお、文字の部分とは、1以上のグループにより構成される。 In addition, the feature amount acquisition unit 14323 calculates, as the feature amount, a ratio of the area occupied by a character portion composed of one or more groups of characters input by handwriting, for example. In such a case, the feature amount is the ratio of the area occupied by the character portion composed of one or more groups. The character portion is composed of one or more groups.
また、特徴量取得手段14323は、例えば、手書き入力された文字の各グループ間の距離を特徴量として算出する。かかる場合、特徴量は各グループ間の距離である。特徴量取得手段14323は、例えば、入力文字の各グループに対して、他のそれぞれのグループとの最短距離を算出する。そして、特徴量取得手段14323は、例えば、得た距離の和を算出する。かかる場合、特徴量は1以上のグループ間の距離の和である。 The feature amount acquisition unit 14323 calculates, for example, the distance between each group of characters input by handwriting as the feature amount. In such a case, the feature amount is a distance between the groups. The feature amount acquisition unit 14323 calculates, for example, the shortest distance between each group of input characters and each other group. Then, the feature quantity acquisition unit 14323 calculates, for example, the sum of the obtained distances. In such a case, the feature amount is the sum of the distances between one or more groups.
特徴量取得手段14323は、例えば、ハネなどの特定の線分の長さを取得する。かかる場合、特徴量は特定の線分の長さである。 The feature amount acquisition unit 14323 acquires the length of a specific line segment such as a honey, for example. In such a case, the feature amount is the length of a specific line segment.
特徴量取得手段14323は、通常、MPUやメモリ等から実現され得る。特徴量取得手段14323の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The feature amount acquisition unit 14323 can be usually realized by an MPU, a memory, or the like. The processing procedure of the feature amount acquisition unit 14323 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
バランス判断手段14324は、特徴量取得手段14323が取得した1以上の特徴量を用いて、文字が不正解か否かを判断する。バランス判断手段14324は、特徴量取得手段14323が取得した1以上の特徴量を、判断情報に適用し、判断情報が示す条件を満たすか否かを判断する。判断情報が示す条件を満たさない場合、バランス判断手段14324は、入力文字が不正解であると判断する。なお、判断情報は、特徴量のみでも良く、特徴量を有する判断のためのルールや式などでも良い。判断情報は、通常、正解文字情報格納部11の正解文字情報が有する。バランス判断手段14324は、例えば、正解の文字の1以上のグループにより構成される文字の部分が占める面積の比率を含む判断情報を取得し、特徴量取得手段14323が算出した特徴量と判断情報とから、文字が不正解か否かを判断する。バランス判断手段14324は、例えば、正解の文字のグループ間の距離を含む判断情報を取得し、特徴量取得手段14323が算出した特徴量と判断情報とから、文字が不正解か否かを判断する。 The balance determination unit 14324 determines whether or not the character is an incorrect answer using one or more feature amounts acquired by the feature amount acquisition unit 14323. The balance determination unit 14324 applies one or more feature amounts acquired by the feature amount acquisition unit 14323 to the determination information, and determines whether or not a condition indicated by the determination information is satisfied. When the condition indicated by the determination information is not satisfied, the balance determination unit 14324 determines that the input character is incorrect. Note that the determination information may be only a feature amount, or may be a rule or expression for determination having a feature amount. The determination information is usually included in the correct character information in the correct character information storage unit 11. The balance determination unit 14324 acquires, for example, determination information including a ratio of the area occupied by a character portion composed of one or more correct character groups, and the feature amount and determination information calculated by the feature amount acquisition unit 14323. From this, it is determined whether or not the character is incorrect. For example, the balance determination unit 14324 acquires determination information including the distance between groups of correct characters, and determines whether the character is an incorrect answer from the feature amount calculated by the feature amount acquisition unit 14323 and the determination information. .
バランス判断手段14324は、通常、MPUやメモリ等から実現され得る。バランス判断手段14324の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The balance determination unit 14324 can be usually realized by an MPU, a memory, or the like. The processing procedure of the balance determination unit 14324 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
判断結果出力部15は、判断結果を出力する。また、判断結果出力部15は、判断部14における判断結果、および正解の文字列、および入力文字画像を出力しても良い。なお、判断結果は、2以上の文字を比較する場合、すべての文字が正解の場合に、正解とされても良い。判断結果とは、正解または不正解を示す情報の他、文字画像を含んでも良い。判断結果出力部15は、判断結果と判断理由を出力することは好適である。また、判断結果出力部15は、不正解と判断したときのみ、判断理由を出力することは好適である。なお、判断理由は、例えば、後述するコメントである。コメントは、判断情報が有する情報である。ここで、出力とは、ディスプレイへの表示、プロジェクターを用いた投影、プリンタへの印字、音出力、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である。出力とは、ディスプレイへの表示および記録媒体への蓄積など、異なる2以上の処理でも良い。 The determination result output unit 15 outputs a determination result. Further, the determination result output unit 15 may output the determination result in the determination unit 14, the correct character string, and the input character image. The determination result may be a correct answer when comparing two or more characters and when all the characters are correct. The determination result may include a character image in addition to information indicating a correct answer or an incorrect answer. It is preferable that the determination result output unit 15 outputs the determination result and the determination reason. Further, it is preferable that the determination result output unit 15 outputs the determination reason only when it is determined that the answer is incorrect. The reason for determination is, for example, a comment to be described later. The comment is information included in the determination information. Here, output refers to display on a display, projection using a projector, printing on a printer, sound output, transmission to an external device, storage in a recording medium, output to another processing device or other program, etc. It is a concept that includes delivery of processing results. The output may be two or more different processes such as display on a display and storage on a recording medium.
判断結果出力部15は、ディスプレイやスピーカー等の出力デバイスを含むと考えても含まないと考えても良い。判断結果出力部15は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。 The determination result output unit 15 may or may not include an output device such as a display or a speaker. The determination result output unit 15 can be implemented by output device driver software, or output device driver software and an output device.
受付部16は、判断結果出力部15が判断結果を出力した後、ユーザ判断結果を受け付ける。ユーザ判断結果とは、手書き入力された文字列が正解か不正解かを示すユーザの判断結果である。また、受付部16は、ユーザ判断結果と判断理由を受け付けても良い。判断理由は、一定の条件を満たす場合のみ受け付けられても良い。一定の条件とは、判断部14における判断結果と受付部16が受け付けたユーザ判断結果とが異なること、または、判断部14における判断結果が○(OK)で、ユーザ判断結果が×(NG)であることなどである。受付部16は、特徴量、または特徴量を含む判断情報などを受け付けても良い。ここで、受け付けとは、キーボードやマウス、タッチパネルなどの入力デバイスから入力された情報の受け付け、有線もしくは無線の通信回線を介して送信された情報の受信、光ディスクや磁気ディスク、半導体メモリなどの記録媒体から読み出された情報の受け付けなどを含む概念である。ユーザ判断結果の入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。受付部16は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。 The receiving unit 16 receives the user determination result after the determination result output unit 15 outputs the determination result. The user determination result is a user determination result indicating whether the character string input by handwriting is correct or incorrect. In addition, the reception unit 16 may receive a user determination result and a determination reason. The determination reason may be accepted only when a certain condition is satisfied. The certain condition is that the determination result in the determination unit 14 is different from the user determination result received by the reception unit 16, or the determination result in the determination unit 14 is ○ (OK) and the user determination result is × (NG). And so on. The receiving unit 16 may receive a feature amount or determination information including the feature amount. Here, reception means reception of information input from an input device such as a keyboard, mouse, touch panel, reception of information transmitted via a wired or wireless communication line, recording on an optical disk, magnetic disk, semiconductor memory, or the like. It is a concept including reception of information read from a medium. The user judgment result input means may be anything such as a numeric keypad, keyboard, mouse or menu screen. The accepting unit 16 can be realized by a device driver for input means such as a numeric keypad and a keyboard, control software for a menu screen, and the like.
判断結果蓄積部17は、受付部16が受け付けたユーザ判断結果を蓄積する。判断結果蓄積部17は、受付部16が受け付けたユーザ判断結果と判断理由を蓄積することは好適である。判断結果蓄積部17は、通常、MPUやメモリ等から実現され得る。判断結果蓄積部17の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The determination result accumulation unit 17 accumulates the user determination result received by the reception unit 16. The determination result storage unit 17 preferably stores the user determination result received by the receiving unit 16 and the determination reason. The determination result accumulation unit 17 can be usually realized by an MPU, a memory, or the like. The processing procedure of the determination result storage unit 17 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
判断情報更新部18は、判断部14における判断結果と受付部16が受け付けたユーザ判断結果とが、予め決められた条件を満たす場合に、判断情報を更新する。判断情報更新部18は、判断結果とユーザ判断結果とが異なる場合に、判断情報を更新しても良い。また、判断情報更新部18は、判断結果が「不正解(NG)」であり、ユーザ判断結果が「正解(OK)」である場合に、判断情報を更新しても良い。また、判断情報更新部18は、判断結果が「正解(OK)」であり、ユーザ判断結果が「不正解(NG)」である場合に、判断情報を更新しても良い。さらに、判断情報更新部18は、受付部16が受け付けた1以上の特徴量を用いて、判断情報を更新しても良い。判断情報とは、入力文字画像に含まれる文字が不正解か否かを判断する基準となる情報である。判断情報は、例えば、特徴量を有する条件を示す情報である。 The determination information update unit 18 updates the determination information when the determination result in the determination unit 14 and the user determination result received by the reception unit 16 satisfy a predetermined condition. The determination information update unit 18 may update the determination information when the determination result is different from the user determination result. In addition, the determination information update unit 18 may update the determination information when the determination result is “incorrect (NG)” and the user determination result is “correct (OK)”. Further, the determination information update unit 18 may update the determination information when the determination result is “correct (OK)” and the user determination result is “incorrect (NG)”. Furthermore, the determination information update unit 18 may update the determination information using one or more feature amounts received by the reception unit 16. The determination information is information serving as a reference for determining whether or not a character included in the input character image is an incorrect answer. The determination information is information indicating a condition having a feature amount, for example.
判断情報更新部18は、通常、MPUやメモリ等から実現され得る。判断情報更新部18の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。 The judgment information update unit 18 can be usually realized by an MPU, a memory, or the like. The processing procedure of the determination information updating unit 18 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).
比較出力部19は、判断結果出力部15が出力した判断結果と、受付部16が受け付けたユーザ判断結果を比較し、両方の結果が異なる場合に、判断理由を出力する。比較出力部19は、判断結果とユーザ判断結果が異なる場合に、判断理由に加えて、判断結果とユーザ判断結果の両方、またはどちらか一方を出力することは好適である。なお、両方の結果が異なる場合とは、判断結果が「正解」でありユーザ判断結果が「不正解」である場合、または判断結果が「不正解」でありユーザ判断結果が「正解」である場合である。 The comparison output unit 19 compares the determination result output from the determination result output unit 15 with the user determination result received by the reception unit 16, and outputs a determination reason when both results are different. When the determination result and the user determination result are different, the comparison output unit 19 preferably outputs both the determination result and the user determination result in addition to the determination reason. Note that when both results are different, the determination result is “correct” and the user determination result is “incorrect”, or the determination result is “incorrect” and the user determination result is “correct”. Is the case.
また、比較出力部19は、判断結果出力部15が出力した判断結果と受付部16が受け付けたユーザ判断結果がともに「不正解」であり、かつ、判断結果出力部15が出力した判断理由(コメント)と、ユーザが入力した判断理由が異なる場合に、判断理由を出力することは好適である。また、かかる場合、比較出力部19は、判断理由に加えて、判断結果とユーザ判断結果の両方、またはどちらか一方を出力することは好適である。比較出力部19は、判断結果出力部15が出力した判断理由(コメント)と、ユーザが入力した判断理由とを比較する処理を行うが、かかる処理は、例えば、文字列である判断理由(コメント)と文字列であるユーザが入力した判断理由とから、1以上の自立語を取得し、両文字列から取得された1以上の自立語が一致する場合に、判断理由が同じであると判断し、1以上の自立語が一致しない場合に、判断理由が異なると判断しても良い。また、判断理由(コメント)とユーザが入力した判断理由とにコードが振られており、両コードが一致する場合に判断理由が同じであると判断し、両コードが一致しない場合に、判断理由が異なると判断しても良い。 In addition, the comparison output unit 19 has both the determination result output by the determination result output unit 15 and the user determination result received by the reception unit 16 being “incorrect”, and the determination reason output by the determination result output unit 15 ( When the comment) and the determination reason input by the user are different, it is preferable to output the determination reason. In such a case, it is preferable that the comparison output unit 19 outputs both the determination result and the user determination result in addition to the determination reason. The comparison output unit 19 performs a process of comparing the determination reason (comment) output from the determination result output unit 15 with the determination reason input by the user. For example, this process includes a determination reason (comment) that is a character string. ) And the determination reason entered by the user as a character string, if one or more independent words are acquired and one or more independent words acquired from both character strings match, it is determined that the determination reasons are the same If one or more independent words do not match, it may be determined that the reason for determination is different. Also, a code is assigned to the judgment reason (comment) and the judgment reason entered by the user. If both codes match, the judgment reason is judged to be the same, and if both codes do not match, the judgment reason May be determined to be different.
ここで、出力とは、ディスプレイへの表示、プロジェクターを用いた投影、プリンタへの印字、音出力、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である。出力とは、ディスプレイへの表示および記録媒体への蓄積など、異なる2以上の処理でも良い。比較出力部19は、ディスプレイやスピーカー等の出力デバイスを含むと考えても含まないと考えても良い。比較出力部19は、MPUと出力デバイスのドライバーソフトまたは、MPUと出力デバイスのドライバーソフトと出力デバイス等で実現され得る。 Here, output refers to display on a display, projection using a projector, printing on a printer, sound output, transmission to an external device, storage in a recording medium, output to another processing device or other program, etc. It is a concept that includes delivery of processing results. The output may be two or more different processes such as display on a display and storage on a recording medium. The comparison output unit 19 may or may not include an output device such as a display or a speaker. The comparison output unit 19 can be realized by MPU and output device driver software, or MPU and output device driver software and output device.
次に、採点装置1の動作について図6のフローチャートを用いて説明する。 Next, operation | movement of the scoring apparatus 1 is demonstrated using the flowchart of FIG.
(ステップS601)採点装置1は、自動採点処理を行う。自動採点処理について、図7のフローチャートを用いて説明する。 (Step S601) The scoring device 1 performs an automatic scoring process. The automatic scoring process will be described using the flowchart of FIG.
(ステップS602)採点装置1は、手動採点処理を行う。手動採点処理について、の動作について図13のフローチャートを用いて説明する。なお、手動採点処理の動作の概要は以下である。まず、ユーザは、判断結果出力部15が出力した判断結果を見る。そして、ここでは、通常、判断結果は被験者(テストを受けた者)の解答(文字画像)を含む。そして、判断結果出力部15は、さらに、正解文字を出力していることが好適である。正解文字とは、正解文字情報により構成される文字列である。次に、ユーザは、被験者の解答(文字画像)が正解か否かを判断する。そして、ユーザは、ユーザ判断結果を入力する。次に、受付部16は、ユーザ判断結果を受け付ける。この場合、受付部16は、判断情報を変更するための特徴量などを受け付けても良い。次に、判断結果蓄積部17は、ユーザ判断結果を判断結果と対応付けて蓄積する。また、ユーザは、判断理由を入力しても良い。かかる場合、受付部16は、判断理由をも受け付ける。そして、判断結果蓄積部17は、ユーザ判断結果を判断結果と判断理由とを対応付けて蓄積する。 (Step S602) The scoring device 1 performs a manual scoring process. The operation of the manual scoring process will be described with reference to the flowchart of FIG. The outline of the manual scoring process is as follows. First, the user looks at the determination result output by the determination result output unit 15. Here, the determination result usually includes the answer (character image) of the subject (the person who took the test). And it is suitable for the judgment result output part 15 to output the correct character further. A correct character is a character string composed of correct character information. Next, the user determines whether or not the test subject's answer (character image) is correct. And a user inputs a user judgment result. Next, the reception unit 16 receives a user determination result. In this case, the reception unit 16 may receive a feature amount or the like for changing the determination information. Next, the determination result storage unit 17 stores the user determination result in association with the determination result. Further, the user may input a reason for determination. In such a case, the reception unit 16 also receives a determination reason. Then, the determination result storage unit 17 stores the user determination result in association with the determination result and the determination reason.
(ステップS603)採点装置1は、後処理を行う。後処理について、図14のフローチャートを用いて説明する。処理を終了する。なお、後処理とは、ユーザの判断を自動採点処理に反映させるための処理である。 (Step S603) The scoring device 1 performs post-processing. Post-processing will be described with reference to the flowchart of FIG. The process ends. The post-process is a process for reflecting the user's judgment in the automatic scoring process.
なお、図6のフローチャートにおいて、一問ずつ、自動採点と手動採点を順次行っても良い。 In the flowchart of FIG. 6, automatic scoring and manual scoring may be performed sequentially for each question.
次に、ステップS601の自動採点処理の動作について図7のフローチャートを用いて説明する。 Next, the operation of the automatic scoring process in step S601 will be described using the flowchart of FIG.
(ステップS701)文字画像読取部10は、カウンタiに1を代入する。 (Step S701) The character image reading unit 10 substitutes 1 for the counter i.
(ステップS702)文字画像読取部10は、i番目の答案が存在するか否かを判断する。i番目の答案が存在すればステップS703に行き、i番目の答案が存在しなければ上位処理にリターンする。 (Step S702) The character image reading unit 10 determines whether or not the i-th answer exists. If the i-th answer exists, the process proceeds to step S703, and if the i-th answer does not exist, the process returns to the upper process.
(ステップS703)文字画像読取部10は、手書き入力された1以上の文字を読み取ったか否かを判断する。文字を読み取ればステップS705に行き、文字を読み取らなければステップS703に戻る。なお、ここで読み取られた文字画像は、文字画像格納部12に格納されている。 (Step S703) The character image reading unit 10 determines whether one or more characters input by handwriting have been read. If the character is read, the process goes to step S705, and if the character is not read, the process returns to step S703. The character image read here is stored in the character image storage unit 12.
(ステップS704)文字分割手段141は、ステップS703で読み取られた文字から文字画像を取得する。 (Step S704) The character dividing unit 141 acquires a character image from the character read in step S703.
(ステップS705)文字分割手段141は、ステップS704で取得した文字画像を、各文字の画像に分割する。 (Step S705) The character dividing unit 141 divides the character image acquired in step S704 into an image of each character.
(ステップS706)点情報取得手段142は、カウンタiに1を代入する。 (Step S706) The point information acquisition means 142 substitutes 1 for the counter i.
(ステップS707)点情報取得手段142は、ステップS705で分割された文字の画像の中に、i番目の文字の画像が存在するか否かを判断する。i番目の文字の画像が存在すればステップS708に行き、i番目の文字の画像が存在しなければステップS712に行く。 (Step S707) The point information acquisition unit 142 determines whether or not the i-th character image exists in the character image divided in step S705. If the i-th character image exists, the process goes to step S708. If the i-th character image does not exist, the process goes to step S712.
(ステップS708)点情報取得手段142は、点情報取得処理を行う。点情報取得処理について、図8のフローチャートを用いて説明する。 (Step S708) The point information acquisition unit 142 performs point information acquisition processing. A point information acquisition process is demonstrated using the flowchart of FIG.
(ステップS709)判断手段143は、判断処理を行う。判断処理について、図9のフローチャートを用いて説明する。 (Step S709) The determination unit 143 performs determination processing. The determination process will be described with reference to the flowchart of FIG.
(ステップS710)点情報取得手段142は、ステップS709における判断処理の結果が「OK」か「NG」であるかを判断する。「OK」であればステップS711に行き、「NG」であればステップS712に行く。 (Step S710) The point information acquisition unit 142 determines whether the result of the determination process in step S709 is “OK” or “NG”. If “OK”, go to step S711, and if “NG”, go to step S712.
(ステップS711)点情報取得手段142は、カウンタiを1、インクリメントする。ステップS707に戻る。 (Step S711) The point information acquisition unit 142 increments the counter i by 1. The process returns to step S707.
(ステップS712)判断結果出力部15は、判断結果を出力する。なお、判断結果出力部15は、入力文字画像と判断結果を出力することは好適である。また、判断結果出力部15は、判断結果に加えて、正解文字情報により構成される正解文字を出力することは好適である。 (Step S712) The determination result output unit 15 outputs a determination result. Note that the determination result output unit 15 preferably outputs the input character image and the determination result. In addition to the determination result, it is preferable that the determination result output unit 15 outputs a correct character composed of correct character information.
(ステップS713)文字画像読取部10は、カウンタiを1、インクリメントする。ステップS702に戻る。 (Step S713) The character image reading unit 10 increments the counter i by one. The process returns to step S702.
次に、ステップS706の点情報取得処理について、図7のフローチャートを用いて説明する。 Next, the point information acquisition processing in step S706 will be described using the flowchart in FIG.
(ステップS801)点情報取得手段142は、手書きの文字画像から太さを除去して、線画画像に変換する。かかる処理は公知技術である。 (Step S801) The point information acquisition unit 142 removes the thickness from the handwritten character image and converts it to a line drawing image. Such processing is a known technique.
(ステップS802)点情報取得手段142は、ステップS801で得られた線画画像から線画データ(ベクター)に変換し、ベクターデータを得る。かかる処理は公知技術である。 (Step S802) The point information acquisition unit 142 converts the line drawing image obtained in step S801 into line drawing data (vector) to obtain vector data. Such processing is a known technique.
(ステップS803)構造点情報取得手段1421は、ステップS802で得られたベクターデータから、構造点を抽出する。また、特徴点情報取得手段1422は、ステップS802で得られたベクターデータから、特徴点を抽出する。なお、構造点、特徴点の抽出方法は、上述した通りである。 (Step S803) The structure point information acquisition unit 1421 extracts a structure point from the vector data obtained in step S802. Further, the feature point information acquisition unit 1422 extracts feature points from the vector data obtained in step S802. The method for extracting structure points and feature points is as described above.
(ステップS804)構造点情報取得手段1421または特徴点情報取得手段1422は、構造点または特徴点の位置情報(ここでは、座標情報(x,y))を取得し、記憶媒体に蓄積する。 (Step S804) The structure point information acquisition unit 1421 or the feature point information acquisition unit 1422 acquires the position information (here, coordinate information (x, y)) of the structure point or the feature point and accumulates it in the storage medium.
(ステップS805)構造点情報取得手段1421または特徴点情報取得手段1422は、構造点および特徴点の接続情報を取得し、記憶媒体に蓄積する。上位処理にリターンする。 (Step S805) The structure point information acquisition unit 1421 or the feature point information acquisition unit 1422 acquires the connection information of the structure point and the feature point and accumulates them in the storage medium. Return to upper process.
なお、図8のフローチャートにおいて、構造点と特徴点の抽出、位置情報の取得、および接続情報の取得をシーケンシャルに行わず、並行して行っても良い。 In the flowchart of FIG. 8, the extraction of structure points and feature points, acquisition of position information, and acquisition of connection information may not be performed sequentially but may be performed in parallel.
次に、ステップS707の判断処理について、図9のフローチャートを用いて説明する。 Next, the determination process in step S707 will be described with reference to the flowchart of FIG.
(ステップS901)判断手段143は、判断対象の入力文字に対応する正解文字の正解文字情報を、正解文字情報格納部11から読み出す。 (Step S <b> 901) The determination unit 143 reads the correct character information of the correct character corresponding to the input character to be determined from the correct character information storage unit 11.
(ステップS902)構造判断手段1431は、構造比較処理を行う。構造比較処理について、図10のフローチャートを用いて説明する。 (Step S902) The structure determining unit 1431 performs a structure comparison process. The structure comparison process will be described with reference to the flowchart of FIG.
(ステップS903)特徴判断手段1432は、ステップS902における判断結果が「OK」であったか否かを判断する。「OK」であればステップS904に行き、「OK」でなければ上位処理にリターンする。 (Step S903) The feature determination unit 1432 determines whether or not the determination result in step S902 is “OK”. If it is “OK”, the process goes to step S904, and if it is not “OK”, the process returns to the upper process.
(ステップS904)特徴判断手段1432は、形状比較処理を行う。形状比較処理について、図11のフローチャートを用いて説明する。 (Step S904) The feature determination unit 1432 performs a shape comparison process. The shape comparison process will be described with reference to the flowchart of FIG.
(ステップS905)特徴判断手段1432は、ステップS904における判断結果が「OK」であったか否かを判断する。「OK」であればステップS906に行き、「OK」でなければ上位処理にリターンする。 (Step S905) The feature determination unit 1432 determines whether or not the determination result in step S904 is “OK”. If it is “OK”, the process goes to step S906, and if it is not “OK”, the process returns to the upper process.
(ステップS906)特徴判断手段1432は、特徴量比較処理を行う。特徴量比較処理について、図12のフローチャートを用いて説明する。 (Step S906) The feature determination unit 1432 performs a feature amount comparison process. The feature amount comparison process will be described with reference to the flowchart of FIG.
なお、図9のフローチャートにおいて、構造比較処理を最初に行うことは好ましいが、構造比較処理と形状比較処理と特徴量比較処理の順序は問わない。 In the flowchart of FIG. 9, it is preferable to perform the structure comparison process first, but the order of the structure comparison process, the shape comparison process, and the feature amount comparison process does not matter.
次に、ステップS902の構造比較処理について、図10のフローチャートを用いて説明する。 Next, the structure comparison process in step S902 will be described with reference to the flowchart of FIG.
(ステップS1001)構造判断手段1431は、一文字に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する1以上のグループに分割する。なお、かかるグループに分割する処理は、グループ分割手段14321が行っても良い。 (Step S1001) The structure determination means 1431 divides the structure points and feature points included in one character into one or more groups having connected structure points or feature points. The process of dividing into groups may be performed by the group dividing unit 14321.
(ステップS1002)構造判断手段1431は、初期化処理を行う。初期化処理とは、カウンタiに1を代入し、変数の判断結果に「OK」を代入する処理である。 (Step S1002) The structure determining unit 1431 performs an initialization process. The initialization process is a process of substituting 1 for the counter i and substituting “OK” for the variable determination result.
(ステップS1003)構造判断手段1431は、i番目のグループが存在するか否かを判断する。i番目のグループが存在すればステップS1003に行き、i番目のグループが存在しなければ上位処理にリターンする。 (Step S1003) The structure determining unit 1431 determines whether or not the i-th group exists. If the i-th group exists, the process goes to step S1003, and if the i-th group does not exist, the process returns to the upper process.
(ステップS1004)構造判断手段1431は、入力文字のi番目のグループの構造点情報を取得する。 (Step S1004) The structure determination means 1431 acquires the structure point information of the i-th group of input characters.
(ステップS1005)構造判断手段1431は、正解文字のi番目のグループの構造点情報を取得する。 (Step S1005) The structure determination means 1431 acquires the structure point information of the i-th group of correct characters.
(ステップS1006)構造判断手段1431は、カウンタjに1を代入する。 (Step S1006) Structure determination means 1431 substitutes 1 for counter j.
(ステップS1007)構造判断手段1431は、入力文字のi番目のグループにj番目の構造点が存在するか否かを判断する。j番目の構造点が存在すればステップS1008に行き、j番目の構造点が存在しなければステップS1010に行く。 (Step S1007) The structure determining unit 1431 determines whether or not the j-th structure point exists in the i-th group of input characters. If the jth structural point exists, the process proceeds to step S1008, and if the jth structural point does not exist, the process proceeds to step S1010.
(ステップS1008)構造判断手段1431は、j番目の構造点に対応する構造点が、正解文字情報のi番目のグループの中に存在するか否かを判断する。存在すればステップS1009に行き、存在しなければステップS1011に行く。なお、「対応する」か否かは、例えば、i番目のグループの接続情報から構造点のノードのみを残し、当該残ったノードを検査することにより判断され得る。検査とは、入力文字の構造点の接続の順に、正解文字に対応する構造点が存在するか否かを判断することである。対応するか否かは、構造点の接続情報のみで判断を行うことが好適であるが、構造点の位置情報のみで判断を行っても良いし、構造点の接続情報と位置情報の両方を用いて判断を行っても良い。 (Step S1008) The structure determination means 1431 determines whether or not the structure point corresponding to the j-th structure point exists in the i-th group of correct character information. If it exists, go to step S1009, otherwise go to step S1011. Whether or not it is “corresponding” can be determined by, for example, leaving only the node of the structure point from the connection information of the i-th group and inspecting the remaining node. The inspection is to determine whether or not there is a structure point corresponding to the correct character in the order of connection of the structure points of the input character. It is preferable to determine whether or not it is compatible only with the connection information of the structure point, but it may be determined only with the position information of the structure point, or both the connection information and the position information of the structure point may be determined. Judgment may be made by using.
(ステップS1009)構造判断手段1431は、カウンタjを1、インクリメントする。ステップS1007に戻る。 (Step S1009) Structure determination means 1431 increments counter j by 1. The process returns to step S1007.
(ステップS1010)構造判断手段1431は、ステップS1008における対応するか否かの判断において、判断の対象にならなかった構造点(余った構造点)が存在するか否かを判断する。余った構造点が存在すればステップS1011に行き、余った構造点が存在しなければステップS1012に行く。 (Step S1010) The structure determining unit 1431 determines whether or not there is a structure point (remaining structure point) that is not the object of determination in determining whether or not to correspond in step S1008. If there is a surplus structure point, the process goes to step S1011. If there is no surplus structure point, the process goes to step S1012.
(ステップS1011)構造判断手段1431は、判断結果に「NG」を代入する。上位処理にリターンする。 (Step S1011) Structure determination means 1431 substitutes “NG” for the determination result. Return to upper process.
(ステップS1012)構造判断手段1431は、カウンタiを1、インクリメントする。ステップS1003に戻る。 (Step S1012) Structure determination means 1431 increments counter i by one. The process returns to step S1003.
次に、ステップS904の形状比較処理について、図11のフローチャートを用いて説明する。 Next, the shape comparison process of step S904 will be described using the flowchart of FIG.
(ステップS1101)グループ分割手段14321は、一文字に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する1以上のグループに分割する。 (Step S1101) The group dividing means 14321 divides the structure points and feature points included in one character into one or more groups having connected structure points or feature points.
(ステップS1102)グループ特徴判断手段14322は、初期化処理を行う。初期化処理とは、カウンタiに1を代入し、変数の判断結果に「OK」を代入する処理である。 (Step S1102) The group feature determination unit 14322 performs an initialization process. The initialization process is a process of substituting 1 for the counter i and substituting “OK” for the variable determination result.
(ステップS1103)グループ特徴判断手段14322は、i番目のグループが存在するか否かを判断する。i番目のグループが存在すればステップS1104に行き、i番目のグループが存在しなければ上位処理にリターンする。 (Step S1103) The group feature determination unit 14322 determines whether or not the i-th group exists. If the i-th group exists, the process goes to step S1104, and if the i-th group does not exist, the process returns to the upper process.
(ステップS1104)グループ特徴判断手段14322は、入力文字のi番目のグループの構造点情報、および特徴点情報を取得する。 (Step S1104) The group feature determination unit 14322 acquires the structure point information and the feature point information of the i-th group of the input character.
(ステップS1105)グループ特徴判断手段14322は、正解文字のi番目のグループの構造点情報、および特徴点情報を取得する。 (Step S1105) The group feature determination means 14322 acquires the structure point information and feature point information of the i-th group of correct characters.
(ステップS1106)グループ特徴判断手段14322は、入力文字のi番目のグループと、正解文字のi番目のグループのノード数を比較し、ノード数の多い方の文字のグループを決定する。ノード数の多い方の文字のグループを基準に、以下、チェックを行う。 (Step S1106) The group feature determination means 14322 compares the number of nodes of the i-th group of input characters and the i-th group of correct characters, and determines the group of characters having the larger number of nodes. The following check is performed based on the group of characters with the larger number of nodes.
(ステップS1107)グループ特徴判断手段14322は、初期化処理を行う。初期化処理とは、カウンタjに1を代入し、変数の評価値に「0」を代入する処理である。 (Step S1107) The group feature determination unit 14322 performs an initialization process. The initialization process is a process of substituting 1 for the counter j and substituting “0” for the evaluation value of the variable.
(ステップS1108)グループ特徴判断手段14322は、基準のグループのj番目のノードが存在するか否かを判断する。ノードが存在すればステップS1109に行き、ノードが存在しなければステップS1113に行く。 (Step S1108) The group feature judging means 14322 judges whether or not the jth node of the reference group exists. If there is a node, the process goes to step S1109, and if there is no node, the process goes to step S1113.
(ステップS1109)グループ特徴判断手段14322は、基準とならない他方の文字のグループのノードのうち、j番目のノード(基準となる文字のノード)に対応するノードを決定し、2つのノードの組の情報を、少なくとも一時蓄積する。なお、j番目のノードに対応するノードとは、例えば、j番目のノードに最も距離が近いノードである。また、2つのノードの組とは、2つの文字の対応する2つのノードである。 (Step S1109) The group feature determining unit 14322 determines a node corresponding to the j-th node (reference character node) among the nodes of the other character group that is not the reference, and sets a pair of two nodes. Information is stored at least temporarily. Note that the node corresponding to the j-th node is, for example, the node closest to the j-th node. A pair of two nodes is two nodes corresponding to two characters.
(ステップS1110)グループ特徴判断手段14322は、ステップS1109で組とした2つのノード間の距離を算出する。グループ特徴判断手段14322は、2つのノードの情報が有する2つの位置情報から距離を算出する。 (Step S1110) The group feature determination unit 14322 calculates the distance between the two nodes that were paired in step S1109. The group feature determination unit 14322 calculates a distance from two pieces of position information included in information of two nodes.
(ステップS1111)グループ特徴判断手段14322は、評価値に距離を加える。なお、評価値は、最終的に、2つのノード間の距離の和となる。 (Step S1111) The group feature determination unit 14322 adds a distance to the evaluation value. The evaluation value is finally the sum of the distances between the two nodes.
(ステップS1112)グループ特徴判断手段14322は、カウンタjを1、インクリメントする。ステップS1108に戻る。 (Step S1112) The group feature judging means 14322 increments the counter j by 1. The process returns to step S1108.
(ステップS1113)グループ特徴判断手段14322は、評価値が閾値より大きいか否か(「以上であるか否か」を含む)を判断する。大きければステップS1114に行き、大きくなければステップS1115に行く。 (Step S1113) The group feature determination unit 14322 determines whether or not the evaluation value is greater than a threshold value (including whether or not the evaluation value is greater than or equal to). If so, go to step S1114, otherwise go to step S1115.
(ステップS1114)グループ特徴判断手段14322は、判断結果に「NG」を代入する。上位処理にリターンする。 (Step S1114) The group feature determination means 14322 substitutes “NG” for the determination result. Return to upper process.
(ステップS1115)グループ特徴判断手段14322は、カウンタiを1、インクリメントする。ステップS1103に戻る。 (Step S1115) The group feature judging means 14322 increments the counter i by 1. The process returns to step S1103.
次に、ステップS906の特徴量比較処理について、図12のフローチャートを用いて説明する。なお、特徴量比較処理は、バランス比較処理を含む。 Next, the feature amount comparison processing in step S906 will be described using the flowchart in FIG. The feature amount comparison process includes a balance comparison process.
(ステップS1201)特徴量取得手段14323は、入力文字の矩形の面積を取得する。入力文字の矩形の面積は、例えば、入力文字のノードがすべて含まれる矩形の面積である。 (Step S1201) The feature quantity acquisition unit 14323 acquires the rectangular area of the input character. The area of the rectangle of the input character is, for example, the area of the rectangle including all the nodes of the input character.
(ステップS1202)特徴量取得手段14323は、初期化処理を行う。初期化処理とは、カウンタiに1を代入し、判断結果に「OK」を代入する処理である。 (Step S1202) The feature amount acquisition unit 14323 performs initialization processing. The initialization process is a process of substituting 1 for the counter i and substituting “OK” for the determination result.
(ステップS1203)特徴量取得手段14323は、入力文字の中に、i番目のグループが存在するか否かを判断する。i番目のグループが存在すればステップS1204に行き、i番目のグループが存在しなければステップS1211に行く。 (Step S1203) The feature quantity acquisition unit 14323 determines whether or not the i-th group exists in the input character. If the i-th group exists, the process goes to step S1204. If the i-th group does not exist, the process goes to step S1211.
(ステップS1204)特徴量取得手段14323は、i番目のグループの矩形の面積を算出する。 (Step S1204) The feature amount acquisition unit 14323 calculates the rectangular area of the i-th group.
(ステップS1205)特徴量取得手段14323は、文字全体の面積に対する、i番目のグループの面積の比率を算出する。 (Step S1205) The feature quantity acquisition unit 14323 calculates the ratio of the area of the i-th group to the area of the entire character.
(ステップS1206)バランス判断手段14324は、ステップS1205で取得された比率が許容範囲か否かを判断する。許容範囲は、判断情報であり、例えば、正解文字情報格納部11に格納されている。許容範囲であればステップS1207に行き、許容範囲でなければステップS1210に行く。なお、許容範囲に関する情報は、例えば、正解文字情報が有する判断情報である。 (Step S1206) The balance determination unit 14324 determines whether or not the ratio acquired in step S1205 is within an allowable range. The allowable range is determination information, and is stored in the correct character information storage unit 11, for example. If it is within the allowable range, the process goes to step S1207, and if it is not within the allowable range, the process goes to step S1210. Note that the information regarding the allowable range is, for example, determination information included in the correct character information.
(ステップS1207)特徴量取得手段14323は、i番目のグループと他のグループとの距離を算出する。距離とは、i番目のグループの矩形の重心と、他のグループの矩形の重心との距離でも良いし、i番目のグループのノードと他のグループのノードとの距離のうち、最も近い2ノード間の距離でも良い。ここで、グループが3以上存在する場合、特徴量取得手段14323は、2以上の距離を算出しても良い。他のグループとは、隣接する一のグループでも良いし、隣接する1以上のグループでも良いし、他のすべてのグループでも良い。 (Step S1207) The feature quantity acquisition unit 14323 calculates the distance between the i-th group and another group. The distance may be the distance between the center of gravity of the rectangle of the i-th group and the center of gravity of the rectangle of the other group, or the closest two nodes among the distances between the nodes of the i-th group and the nodes of the other group It may be the distance between. Here, when there are three or more groups, the feature amount acquisition unit 14323 may calculate two or more distances. The other group may be one adjacent group, one or more adjacent groups, or all other groups.
(ステップS1208)バランス判断手段14324は、ステップS1207で取得された1以上の距離を用いて算出される値が許容範囲か否かを判断する。許容範囲であればステップS1209に行き、許容範囲でなければステップS1210に行く。1以上の距離を用いて算出される値とは、例えば、1以上の距離の和などである。なお、許容範囲に関する情報は、例えば、正解文字情報が有する判断情報である。 (Step S1208) The balance determination unit 14324 determines whether or not the value calculated using the one or more distances acquired in Step S1207 is within an allowable range. If it is within the allowable range, go to step S1209, and if it is not within the allowable range, go to step S1210. The value calculated using one or more distances is, for example, the sum of one or more distances. Note that the information regarding the allowable range is, for example, determination information included in the correct character information.
(ステップS1209)特徴量取得手段14323は、カウンタiを1、インクリメントする。ステップS1203に戻る。 (Step S1209) The feature quantity acquisition unit 14323 increments the counter i by 1. The process returns to step S1203.
(ステップS1210)バランス判断手段14324は、判断結果に「NG」を代入する。上位処理にリターンする。 (Step S1210) The balance determination means 14324 substitutes “NG” for the determination result. Return to upper process.
(ステップS1211)特徴量取得手段14323は、他の特徴量が存在するか否かを判断する。他の特徴量が存在すればステップS1212に行き、他の特徴量が存在しなければ上位処理にリターンする。なお、他の特徴量が存在するか否かは、例えば、正文字情報の中をチェックすることにより判断され得る。なお、他の特徴量に対応する値とは、例えば、はねの長さである。はねの長さは、通常、特定の2つの構造点間の距離である。 (Step S1211) The feature quantity acquisition unit 14323 determines whether there is another feature quantity. If another feature quantity exists, the process proceeds to step S1212, and if another feature quantity does not exist, the process returns to the upper process. Note that whether or not another feature amount exists can be determined by checking the correct character information, for example. In addition, the value corresponding to the other feature amount is, for example, the length of splash. The length of the splash is usually the distance between two specific structural points.
(ステップS1212)特徴量取得手段14323は、他の特徴量に対応する値を、入力文字の構造点情報、または特徴点情報、または構造点情報と特徴点情報から取得する。 (Step S1212) The feature amount acquisition unit 14323 acquires a value corresponding to another feature amount from the structure point information of the input character, the feature point information, or the structure point information and the feature point information.
(ステップS1213)バランス判断手段14324は、ステップS1212で取得した他の特徴量に対応する値が、許容範囲であるか否かを判断する。許容範囲であればステップS1211に行き、許容範囲でなければステップS1210に行く。なお、許容範囲に関する情報は、例えば、正解文字情報が有する判断情報である。 (Step S1213) The balance determining unit 14324 determines whether or not the value corresponding to the other feature amount acquired in Step S1212 is within an allowable range. If it is within the allowable range, the process goes to step S1211, and if it is not within the allowable range, the process goes to step S1210. Note that the information regarding the allowable range is, for example, determination information included in the correct character information.
次に、ステップS602の手動採点処理の動作について図13のフローチャートを用いて説明する。 Next, the operation of the manual scoring process in step S602 will be described using the flowchart of FIG.
(ステップS1301)判断結果出力部15は、カウンタiに1を代入する。 (Step S1301) The determination result output unit 15 substitutes 1 for the counter i.
(ステップS1302)判断結果出力部15は、i番目の答案(文字画像)が存在するか否かを判断する。i番目の答案が存在すればステップS1303に行き、存在しなければ上位処理にリターンする。 (Step S1302) The determination result output unit 15 determines whether or not the i-th answer (character image) exists. If the i-th answer exists, the process goes to step S1303, and if it does not exist, the process returns to the upper process.
(ステップS1303)判断結果出力部15は、i番目の答案に対応する文字画像と、判断結果をディスプレイに表示する。 (Step S1303) The determination result output unit 15 displays the character image corresponding to the i-th answer and the determination result on the display.
(ステップS1304)受付部16は、ユーザ判断結果を受け付けたか否かを判断する。ユーザ判断結果を受け付ければステップS1305に行き、受け付けなければステップS1304に戻る。 (Step S1304) The reception unit 16 determines whether a user determination result has been received. If a user determination result is accepted, the process goes to step S1305, and if not, the process returns to step S1304.
(ステップS1305)判断結果蓄積部17は、ステップS1304で受け付けられたユーザ判断結果を、判断結果と対応付けて蓄積する。 (Step S1305) The determination result storage unit 17 stores the user determination result received in step S1304 in association with the determination result.
(ステップS1306)受付部16は、ユーザ判断結果が、予め決められた一定の条件を満たすか否かを判断する。一定の条件を満たす場合はステップS1307に行き、一定の条件を満たさない場合はステップS1310に行く。 (Step S1306) The receiving unit 16 determines whether or not the user determination result satisfies a predetermined condition. If the predetermined condition is satisfied, the process goes to step S1307. If the predetermined condition is not satisfied, the process goes to step S1310.
(ステップS1307)判断結果出力部15は、判断理由の入力を促す出力を行う。判断結果出力部15は、例えば、「今の判断の理由を入力してください。」と表示する。なお、判断理由の入力を促すための情報は、判断結果出力部15が予め保持している。 (Step S1307) The determination result output unit 15 performs an output prompting the input of the determination reason. The determination result output unit 15 displays, for example, “Please input the reason for the current determination”. Information for prompting the input of the determination reason is held in advance by the determination result output unit 15.
(ステップS1308)受付部16は、判断理由を受け付けたか否かを判断する。判断理由を受け付ければステップS1309に行き、受け付けなければステップS1308に戻る。 (Step S1308) The reception unit 16 determines whether a determination reason has been received. If the determination reason is accepted, the process goes to step S1309, and if not accepted, the process returns to step S1308.
(ステップS1309)判断結果蓄積部17は、ステップS1308で受け付けられた判断理由を、ユーザ判断結果と対応付けて蓄積する。 (Step S1309) The determination result storage unit 17 stores the determination reason received in step S1308 in association with the user determination result.
(ステップS1310)判断結果出力部15は、カウンタiを1、インクリメントする。ステップS1302に戻る。 (Step S1310) The judgment result output unit 15 increments the counter i by one. The process returns to step S1302.
次に、ステップS603の後処理の動作について図14のフローチャートを用いて説明する。 Next, the post-processing operation of step S603 will be described using the flowchart of FIG.
(ステップS1401)比較出力部19は、カウンタiに1を代入する。 (Step S1401) The comparison output unit 19 substitutes 1 for the counter i.
(ステップS1402)比較出力部19は、i番目の答案(文字画像)が存在するか否かを判断する。i番目の答案が存在すればステップS1403に行き、存在しなければステップS1408に行く。 (Step S1402) The comparison output unit 19 determines whether or not the i-th answer (character image) exists. If the i-th answer exists, the process goes to step S1403, and if not, the process goes to step S1408.
(ステップS1403)比較出力部19は、i番目の答案に対応するi番目の判断結果と、i番目のユーザ判断結果とを取得する。なお、i番目の判断結果は自動採点処理により取得された情報である。また、i番目のユーザ判断結果は、ユーザが入力した判断結果である。 (Step S1403) The comparison output unit 19 acquires the i-th determination result corresponding to the i-th answer and the i-th user determination result. The i-th determination result is information acquired by the automatic scoring process. The i-th user determination result is a determination result input by the user.
(ステップS1404)比較出力部19は、i番目の判断結果と、i番目のユーザ判断結果とが一致するか否かを判断する。一致すればステップS1407に行き、一致しなければステップS1405に行く。 (Step S1404) The comparison output unit 19 determines whether or not the i-th determination result matches the i-th user determination result. If they match, go to step S1407, otherwise go to step S1405.
(ステップS1405)比較出力部19は、i番目の答案に対応するi番目の入力文字画像を取得する。 (Step S1405) The comparison output unit 19 acquires the i-th input character image corresponding to the i-th answer.
(ステップS1406)比較出力部19は、i番目のユーザ判断結果に対応する判断理由を取得する。 (Step S1406) The comparison output unit 19 acquires a determination reason corresponding to the i-th user determination result.
(ステップS1407)比較出力部19は、カウンタiを1、インクリメントする。ステップS1402に戻る。 (Step S1407) The comparison output unit 19 increments the counter i by one. The process returns to step S1402.
(ステップS1408)比較出力部19は、正解文字情報を読み出す。 (Step S1408) The comparison output unit 19 reads correct character information.
(ステップS1409)比較出力部19は、正解文字情報(正解の文字列)、入力文字画像、判断理由、および判断情報を表示する。なお、判断情報は、ステップS1408で読み出した正解文字情報に含まれている、とする。 (Step S1409) The comparison output unit 19 displays correct character information (correct character string), input character image, determination reason, and determination information. It is assumed that the determination information is included in the correct character information read in step S1408.
(ステップS1410)受付部16は、特徴量の更新の受け付けをしたか否か判断する。特徴量の更新の受け付けした場合はステップS1411に行き、受け付けしなかった場合はステップS1414に行く。 (Step S1410) The reception unit 16 determines whether or not the update of the feature amount has been received. If the update of the feature amount is accepted, the process goes to step S1411. If the update is not accepted, the process goes to step S1414.
(ステップS1411)判断情報更新部18は、受付部16が受け付けた特徴量を用いて、正解文字情報が有する判断情報を更新する。 (Step S1411) The determination information update unit 18 updates the determination information included in the correct character information using the feature amount received by the reception unit 16.
(ステップS1412)受付部16は、シミュレーションを行う指示を受け付けたか否かを判断する。シミュレーションを行う指示を受け付ければステップS1413に行き、受け付けなければステップS1414に行く。 (Step S1412) The reception unit 16 determines whether an instruction to perform a simulation has been received. If an instruction to perform simulation is accepted, the process goes to step S1413. If not accepted, the process goes to step S1414.
(ステップS1413)自動採点処理が行われる。自動採点処理については、図7のフローチャートを用いて説明した。ただし、ここでの自動採点処理の対象は、ステップS1409で表示された入力文字画像のみである。かかる入力文字画像は、判断結果とユーザ判断結果が一致しなかった入力文字画像である。また、ここでの自動採点処理は、ステップS704以降の処理だけでも良い。そして、この自動採点処理により、判断の条件が変わった状態で、自動採点され、判断情報が適切か否か、ユーザは検査できる。 (Step S1413) An automatic scoring process is performed. The automatic scoring process has been described using the flowchart of FIG. However, the target of the automatic scoring process here is only the input character image displayed in step S1409. Such an input character image is an input character image in which the determination result does not match the user determination result. Further, the automatic scoring process here may be only the process after step S704. Then, by this automatic scoring process, the user can inspect whether or not the judgment information is appropriate by automatically scoring with the judgment condition changed.
(ステップS1414)受付部16は、処理を終了する旨の指示を受け付けたか否かを判断する。処理を終了する旨の指示を受け付けた場合は上位処理にリターンし、受け付けない場合はステップS1410に戻る。 (Step S1414) The reception unit 16 determines whether an instruction to end the process has been received. If an instruction to end the process is accepted, the process returns to the upper process, and if not accepted, the process returns to step S1410.
以下、本実施の形態における採点装置の具体的な動作について説明する。 Hereinafter, a specific operation of the scoring device in the present embodiment will be described.
今、正解文字情報格納部11は、図15、図16に示す正解文字情報管理表を保持している。正解文字情報管理表は、1以上の正解文字の正解文字情報を保持している。正解文字情報は、構造点情報と特徴点情報を有する。なお、図15において、構造点情報と特徴点情報とは、ノード位置情報および接続情報であり、区別されていない。ただし、図15において、接続情報から、端点、分岐点、交点は判断可能であるので、構造点と特徴点は区別され得る。図15において、正解文字情報は、文字コードと、ノード位置情報と接続情報を有する。図15の右側の文字と丸と丸の中の数字とにより構成される絵文字は、ノード位置情報と接続情報により構成される文字のイメージを示す絵文字である。図15の右側の文字の丸は、構造点または特徴点を示す。構造点は白抜きの丸である。特徴点は網掛けの丸である。文字「か」において、ノード位置情報のP1は、右側の絵文字の丸1の構造点を示す。文字「か」において、ノード位置情報のP3は、右側の絵文字の丸3の特徴点を示す。文字は、正規化された大きさであるので、ノード位置情報は(0,1)の範囲に収まる。なお、ノード位置情報は、ノードの位置情報である。また、接続情報は、点の接続を示す情報であり、図15のデータは一例である。また、図15において、ノード位置情報に対応して、ノードの種類(構造点または特徴点)を示すフラグを有しても良い。 Now, the correct character information storage unit 11 holds the correct character information management table shown in FIGS. 15 and 16. The correct character information management table holds correct character information of one or more correct characters. The correct character information includes structure point information and feature point information. In FIG. 15, the structure point information and the feature point information are node position information and connection information, and are not distinguished. However, in FIG. 15, since end points, branch points, and intersections can be determined from the connection information, structure points and feature points can be distinguished. In FIG. 15, correct character information includes a character code, node position information, and connection information. The pictograph composed of the characters on the right side of FIG. 15 and the numbers in the circles is a pictograph showing the image of the character composed of the node position information and the connection information. The circle on the right side of FIG. 15 indicates a structure point or a feature point. The structure point is a white circle. The feature points are shaded circles. In the character “ka”, P1 of the node position information indicates the structure point of the circle 1 of the right pictogram. In the character “ka”, the node position information P3 indicates the feature point of the circle 3 of the pictogram on the right side. Since the character has a normalized size, the node position information falls within the range of (0, 1). The node position information is node position information. The connection information is information indicating connection of points, and the data in FIG. 15 is an example. Further, in FIG. 15, a flag indicating the type of node (structure point or feature point) may be provided corresponding to the node position information.
また、図16において、正解文字情報管理表は、1以上の正解文字の正解文字情報を保持している。正解文字情報は、文字コードと、ノード位置情報と接続情報と特徴量を有する。ここでは、文字は「奈」であり、正解文字情報は、2つの特徴量とコメントを有する。図16において、正解文字情報管理表は、特徴量とコメントを有する以外、図15と同じ構造である。 In FIG. 16, the correct character information management table holds correct character information of one or more correct characters. The correct character information includes a character code, node position information, connection information, and a feature amount. Here, the character is “NA”, and the correct character information has two feature amounts and a comment. In FIG. 16, the correct character information management table has the same structure as that of FIG.
図16において、特徴量(1)「5<=P15−P16」は、漢字「奈」の下側のハネが5ピクセル以上であることを示す。図16の特徴量(1)に対応するコメント「ハネが不十分」は、特徴量(1)が適用されて、文字が不正解であると判断された場合に出力されるコメントである。 In FIG. 16, the feature quantity (1) “5 <= P15−P16” indicates that the lower part of the Chinese character “NA” is 5 pixels or more. The comment “insufficiency of honey” corresponding to the feature value (1) in FIG. 16 is a comment that is output when it is determined that the feature value (1) is applied and the character is incorrect.
図16の特徴量(2)「0.8<=A/B<=1.2」は、漢字「奈」の上部「大」と、下部「示」の比率が0.8以上、1.2以下であることを示す。なお、図14の特徴量(2)の「A(P1−P4−・・・)」は、漢字「奈」の上部「大」を示す。図14の特徴量(2)の「B(P10−P11,P12−・・・)」は、漢字「奈」の下部「示」を示す。図14の特徴量(2)に対応するコメント「バランスが悪い」は、特徴量(2)が適用されて、文字が不正解であると判断された場合に出力されるコメントである。 In the feature quantity (2) “0.8 <= A / B <= 1.2” in FIG. 2 or less. Note that “A (P1-P4-...)” Of the feature quantity (2) in FIG. 14 indicates the upper part “large” of the Chinese character “na”. “B (P10-P11, P12-...)” Of the feature quantity (2) in FIG. 14 indicates the lower part “indication” of the Chinese character “NA”. The comment “Bad balance” corresponding to the feature value (2) in FIG. 14 is a comment that is output when it is determined that the feature value (2) is applied and the character is incorrect.
なお、特徴量の定義方法は、上記に限られないことは言うまでもない。 Needless to say, the method of defining feature quantities is not limited to the above.
かかる状況において、多数の被験者に対して漢字テストを実施する、とする。そして、多数の被験者が記載した答案用紙であり、正解の場合は漢字「奈」が記載された多数の答案用紙を、採点装置1を用いて採点する、とする。 In such a situation, it is assumed that a kanji test is performed on a large number of subjects. It is assumed that a number of answer sheets written by a large number of subjects are scored by using the scoring device 1 in the case of a correct answer.
つまり、採点装置1は、まず、以下のように自動採点を行う。まず、文字画像読取部10は、かかる答案用紙を順読み取って、文字画像を取得する。ここで、文字画像読取部10は、例えば、オートフィーダー付きのスキャナである。 That is, the scoring device 1 first performs automatic scoring as follows. First, the character image reading unit 10 sequentially reads such answer sheets to obtain a character image. Here, the character image reading unit 10 is, for example, a scanner with an auto feeder.
次に、文字分割手段141は、読み取られた文字から文字画像を取得する。ここでは、入力画像の文字列は一字であるので、文字分割手段141は、分割処理は行わず、漢字「奈」の文字画像を取得する。 Next, the character dividing unit 141 acquires a character image from the read character. Here, since the character string of the input image is one character, the character dividing unit 141 does not perform the dividing process, and acquires the character image of the Chinese character “NA”.
まず、点情報取得手段142は、各答案用紙の漢字「奈」に対して、上記で説明した点情報取得処理を行う。そして、点情報取得手段142は、構造点情報、および特徴点情報を取得する。 First, the point information acquisition unit 142 performs the point information acquisition process described above for the Chinese character “NA” of each answer sheet. And the point information acquisition means 142 acquires structure point information and feature point information.
次に、判断手段143は、点情報取得手段142が取得した構造点情報および特徴点情報を用いて、上述した判断処理を行う。つまり、まず、判断手段143は、判断対象の入力文字に対応する正解文字の正解文字情報(図16)を、正解文字情報格納部11から読み出す。次に、構造判断手段1431は、上記で説明した構造比較処理を行う。 Next, the determination unit 143 performs the above-described determination process using the structure point information and feature point information acquired by the point information acquisition unit 142. That is, first, the determination unit 143 reads the correct character information (FIG. 16) of the correct character corresponding to the input character to be determined from the correct character information storage unit 11. Next, the structure determination unit 1431 performs the structure comparison process described above.
次に、構造比較処理の結果である判断結果が「OK」であれば、特徴判断手段1432は、形状比較処理を行う。 Next, if the determination result that is the result of the structure comparison process is “OK”, the feature determination unit 1432 performs a shape comparison process.
そして、形状比較処理の結果である判断結果も「OK」であれば、以下のような特徴量を用いたバランス比較処理を行う。つまり、バランス判断手段14324は、正解文字情報格納部11から、漢字「奈」の特徴量(1)、および特徴量(2)を読み出す。 If the determination result, which is the result of the shape comparison process, is also “OK”, the balance comparison process using the following feature amount is performed. That is, the balance determination unit 14324 reads the feature value (1) and the feature value (2) of the Chinese character “NA” from the correct character information storage unit 11.
次に、特徴量取得手段14323は、特徴量(1)の「P15−P16」から、入力文字のハネの長さ(「P15−P16」の距離)を取得する。そして、バランス判断手段14324は、特徴量取得手段14323が取得したハネの長さが5ピクセル以上であるか否かを判断する。5ピクセル未満であれば、バランス判断手段14324は、入力文字を不正解とする。 Next, the feature amount acquisition unit 14323 acquires the length of the input character (the distance of “P15-P16”) from “P15-P16” of the feature amount (1). Then, the balance determination unit 14324 determines whether the length of the honey acquired by the feature amount acquisition unit 14323 is 5 pixels or more. If it is less than 5 pixels, the balance determination means 14324 will make the input character an incorrect answer.
次に、特徴量取得手段14323が取得したハネの長さが5ピクセル以上である場合、特徴量取得手段14323は、特徴量(2)の「A=(P1−P4・・・)」から、「奈」の上部の「大」の矩形の面積(A)を取得する。次に、特徴量取得手段14323は、特徴量(2)の「B=(P10−P11,P12―・・・)」から、「奈」の下部の「示」の矩形の面積(B)を取得する。そして、特徴量取得手段14323は、比率(A/B)を算出する。 Next, when the honey length acquired by the feature amount acquisition unit 14323 is 5 pixels or more, the feature amount acquisition unit 14323 determines from “A = (P1-P4...)” Of the feature amount (2). The area (A) of the “large” rectangle above “N” is acquired. Next, the feature amount acquisition unit 14323 obtains the rectangular area (B) of “shown” below “NA” from “B = (P10−P11, P12−...)” Of the feature amount (2). get. Then, the feature quantity acquisition unit 14323 calculates the ratio (A / B).
そして、バランス判断手段14324は、比率(A/B)が「0.8<=A/B<=1.2」を満たすか否かを判断する。満たさない場合、バランス判断手段14324は、入力文字を不正解とする。 Then, the balance determination unit 14324 determines whether or not the ratio (A / B) satisfies “0.8 <= A / B <= 1.2”. If not satisfied, the balance determination unit 14324 makes the input character an incorrect answer.
そして、判断結果出力部15は、自動判断の結果である判断結果を判断結果格納部13に蓄積する。判断結果は、通常、答案用紙を識別する答案用紙識別子(被験者識別子と同意義)と対応付けて蓄積される。また、判断結果出力部15は、判断結果と対にコメント(判断理由)を蓄積することは好適である。判断理由とは、判断情報が有する情報である。 Then, the determination result output unit 15 accumulates the determination result that is the result of the automatic determination in the determination result storage unit 13. The determination result is usually stored in association with an answer sheet identifier (same meaning as the subject identifier) for identifying the answer sheet. Further, it is preferable that the determination result output unit 15 accumulates comments (reasons for determination) in pairs with the determination results. The determination reason is information included in the determination information.
次に、ユーザは、被験者の答案用紙(文字画像)と自動判断された結果である判断結果をディスプレイに表示させる指示を入力する。そして、判断結果出力部15は、順に、被験者の答案用紙(文字画像)と判断結果(図17参照)をディスプレイに表示する。なお、図17において、判断結果が「×(不正解)」の場合、コメントが出力されている。 Next, the user inputs an instruction for causing the display to display a determination result that is a result of automatic determination of the test subject's answer sheet (character image). And the judgment result output part 15 displays a test subject's answer sheet (character image) and a judgment result (refer FIG. 17) in order on a display. In FIG. 17, when the determination result is “× (incorrect answer)”, a comment is output.
次に、ユーザ(採点者)は、「ユーザ判断結果」のフィールド(属性値)に「○」または「×」を入力する、とする。そして、ユーザ(採点者)は、図18に示すようなユーザ判断結果を入力した、とする。 Next, it is assumed that the user (scorer) inputs “◯” or “x” in the field (attribute value) of “user judgment result”. Then, it is assumed that the user (scorer) has input a user determination result as shown in FIG.
そして、受付部16は、図18に示すユーザ判断結果を受け付ける。次に、判断結果蓄積部17は、受け付けられたユーザ判断結果(図18)を、判断結果と対応付けて蓄積する。 And the reception part 16 receives the user judgment result shown in FIG. Next, the determination result storage unit 17 stores the received user determination result (FIG. 18) in association with the determination result.
ここで、受付部16は、ユーザ判断結果が、予め決められた一定の条件(ここでは、「判断結果とユーザ判断結果が異なる」)を満たすか否かを判断する。そして、答案用紙識別子「002」について、一定の条件を満たすと判断する。 Here, the reception unit 16 determines whether or not the user determination result satisfies a predetermined condition (here, “the determination result is different from the user determination result”). Then, it is determined that a certain condition is satisfied for the answer sheet identifier “002”.
次に、判断結果出力部15は、判断理由の入力を促す出力を行う。つまり、例えば、判断結果出力部15は、「答案用紙識別子「002」について、「×」と判断された理由を入力してください」をディスプレイ上に出力する。 Next, the determination result output unit 15 performs an output that prompts input of a determination reason. That is, for example, the determination result output unit 15 outputs “Please input the reason for determining“ × ”for the answer sheet identifier“ 002 ”” on the display ”.
次に、ユーザは、「この程度のバランスの悪さは、許容範囲です」と入力した、とする。そして、受付部16は、判断理由「この程度のバランスの悪さは、許容範囲です」を受け付ける。 Next, it is assumed that the user inputs “this level of imbalance is an allowable range”. Then, the reception unit 16 receives a determination reason “this level of imbalance is an allowable range”.
次に、判断結果蓄積部17は、受け付けられた判断理由「この程度のバランスの悪さは、許容範囲です」を、答案用紙識別子「002」に対応付けて蓄積する。 Next, the determination result storage unit 17 stores the received determination reason “this level of imbalance is an allowable range” in association with the answer sheet identifier “002”.
以上、手動採点処理の具体例について説明した。 The specific example of the manual scoring process has been described above.
次に、後処理の具体例について説明する。 Next, a specific example of post-processing will be described.
まず、判断結果出力部15は、各答案用紙に対応する判断結果とユーザ判断結果とを取得する。そして、判断結果出力部15は、判断結果とユーザ判断結果とが一致するか否かを判断する。そして、判断結果とユーザ判断結果とが一致しない場合、その正解文字情報と、一致しなかった入力文字画像、判断理由、および判断情報を取得し、出力する。かかる出力例が、図19および図20である。 First, the determination result output unit 15 acquires a determination result corresponding to each answer sheet and a user determination result. Then, the determination result output unit 15 determines whether the determination result matches the user determination result. If the determination result does not match the user determination result, the correct character information, the input character image that does not match, the determination reason, and the determination information are acquired and output. Examples of such output are shown in FIGS. 19 and 20.
図19は、特徴量(1)を含む判断情報が適用されたことにより、ハネが不十分であるか否かに関して、自動判定処理の判断結果と手動採点処理でのユーザ判断結果が異なる文字(採点対象)が表示されている。 FIG. 19 shows that the judgment result of the automatic judgment process and the user judgment result in the manual scoring process are different from each other regarding whether or not the reflection is insufficient due to the application of the judgment information including the feature quantity (1). (Scoring target) is displayed.
そして、図19(a)のハネの部分の丸は、判断結果出力部15が「P15−P16」から、構造点P15、P16が中に含まれる丸を描画したもの、とする。 Then, it is assumed that the circle of the honey portion in FIG. 19A is drawn by the determination result output unit 15 from “P15-P16”, and the circles including the structural points P15 and P16 are drawn.
そして、判断結果出力部15は、図19(b)のような、判断情報更新画面を表示する。判断情報更新画面は、ここでは、ハネの長さの条件(判断情報)を変更するための画面である。そして、ユーザは、図19(b)の判断情報更新画面に対して、キーボード等の入力手段を用いて、「5ピクセル以上」を「3ピクセル以上」に変更し、「更新」ボタンを押下した、とする。すると、受付部16は、正誤情報「3」を受け付ける。そして、判断情報更新部18は、受付部16が受け付けた正誤情報「3」から、判断情報「3<=P15−P16」を構成し、図16の判断情報(特徴量(1)の判断情報)を変更する。 Then, the determination result output unit 15 displays a determination information update screen as shown in FIG. Here, the determination information update screen is a screen for changing the condition (determination information) of the length of the honey. Then, the user changes “5 pixels or more” to “3 pixels or more” on the determination information update screen in FIG. 19B using an input means such as a keyboard, and presses the “update” button. , And. Then, the reception unit 16 receives the correct / incorrect information “3”. Then, the determination information update unit 18 configures the determination information “3 <= P15−P16” from the correct / incorrect information “3” received by the reception unit 16, and the determination information (determination information of the feature (1)) of FIG. ).
次に、ユーザは、図19(b)の「シミュレーション」ボタンを押下した、とする。すると、特徴量取得手段14323、およびバランス判断手段14324は、上述したアルゴリズムにより、採点対象の各文字が、特徴量(1)の判断情報「3<=P15−P16」を満たすか否かを判断する。そして、判断結果出力部15は、図20に示すような判断結果(シミュレーション画面)を出力する。図20の判断結果において、○は、判断情報を「3<=P15−P16」に変更したことによって、正解となった文字を示す。図20の判断結果において、×は、判断情報を「3<=P15−P16」に変更した場合でも、不正解である文字を示す。図20に示すように、シミュレーションを行うことにより、ユーザは、適正な判断情報を得ることができる。 Next, it is assumed that the user presses the “simulation” button in FIG. Then, the feature amount acquisition unit 14323 and the balance determination unit 14324 determine whether each character to be scored satisfies the determination information “3 <= P15−P16” of the feature amount (1) by the above-described algorithm. To do. Then, the determination result output unit 15 outputs a determination result (simulation screen) as shown in FIG. In the determination result of FIG. 20, ◯ indicates a character that is correct by changing the determination information to “3 <= P15−P16”. In the determination result of FIG. 20, × indicates a character that is an incorrect answer even when the determination information is changed to “3 <= P15−P16”. As shown in FIG. 20, the user can obtain appropriate judgment information by performing a simulation.
図20は、特徴量(2)を含む判断情報が適用されたことにより、バランスの良否に関して、自動判定処理の判断結果と手動採点処理でのユーザ判断結果が異なる文字(採点対象)が表示されている。 FIG. 20 shows that characters (scoring targets) with different judgment results in the automatic judgment processing and user judgment results in the manual scoring processing are displayed regarding the quality of the balance by applying the judgment information including the feature amount (2). ing.
かかる表示を得るために、以下の処理が行われる。つまり、特徴量取得手段14323は、特徴量(2)の「A=(P1−P4・・・)」から、「奈」の上部の「大」の矩形の面積(A)を取得する。次に、特徴量取得手段14323は、特徴量(2)の「B=(P10−P11,P12―・・・)」から、「奈」の下部の「示」の矩形の面積(B)を取得する。そして、特徴量取得手段14323は、比率(A/B)を算出する。 In order to obtain such a display, the following processing is performed. That is, the feature amount acquisition unit 14323 acquires the area (A) of the “large” rectangle above “N” from “A = (P1-P4...)” Of the feature amount (2). Next, the feature amount acquisition unit 14323 obtains the rectangular area (B) of “shown” below “NA” from “B = (P10−P11, P12−...)” Of the feature amount (2). get. Then, the feature quantity acquisition unit 14323 calculates the ratio (A / B).
そして、バランス判断手段14324は、比率(A/B)が「0.8<=A/B<=1.2」を満たすか否かを判断する。満たさない場合、バランス判断手段14324は、入力文字を不正解とする。 Then, the balance determination unit 14324 determines whether or not the ratio (A / B) satisfies “0.8 <= A / B <= 1.2”. If not satisfied, the balance determination unit 14324 makes the input character an incorrect answer.
そして、判断結果出力部15は、図21(a)のような判断結果を出力する。図21(a)は、特徴量(2)の判断情報に関して、判断結果とユーザ判断結果が異なる文字を出力している。 Then, the determination result output unit 15 outputs a determination result as shown in FIG. FIG. 21 (a) outputs characters with different judgment results and user judgment results regarding the judgment information of the feature quantity (2).
そして、判断結果出力部15は、図21(b)のような、判断情報更新画面を出力する。判断情報更新画面は、ここでは、比率(A/B)に関する判断情報を変更するための画面である。そして、ユーザは、図21(b)の判断情報更新画面に対して、キーボード等の入力手段を用いて、「比率 0.8以上1.2以下」を「比率 0.7以上1.4以下」に変更し、「更新」ボタンを押下した、とする。すると、受付部16は、正誤情報「0.7以上1.4以下」を受け付ける。そして、判断情報更新部18は、受付部16が受け付けた正誤情報「0.7以上1.4以下」から、判断情報「0.7<=A/B<=1.4」を構成し、図16の判断情報(特徴量(2)の判断情報)を変更する。 Then, the determination result output unit 15 outputs a determination information update screen as shown in FIG. Here, the determination information update screen is a screen for changing the determination information regarding the ratio (A / B). Then, the user changes “ratio 0.8 to 1.2” to “ratio 0.7 to 1.4” on the determination information update screen in FIG. ”And press the“ Update ”button. Then, the reception unit 16 receives the correct / incorrect information “0.7 or more and 1.4 or less”. Then, the determination information update unit 18 configures the determination information “0.7 <= A / B <= 1.4” from the correct / incorrect information “0.7 to 1.4” received by the receiving unit 16, The judgment information (judgment information of feature quantity (2)) in FIG. 16 is changed.
次に、ユーザは、図21(b)の「シミュレーション」ボタンを押下した、とする。すると、特徴量取得手段14323、およびバランス判断手段14324は、上述したアルゴリズムにより、採点対象の各文字が、特徴量(2)の判断情報「0.7<=A/B<=1.4」を満たすか否かを判断する。そして、判断結果出力部15は、図22に示すような判断結果(シミュレーション画面)を出力する。図22の判断結果において、○は、判断情報を「0.7<=A/B<=1.4」に変更したことによって、正解となった文字を示す。図22の判断結果において、×は、判断情報を「0.7<=A/B<=1.4」に変更した場合でも、不正解である文字を示す。図22に示すように、シミュレーションを行うことにより、ユーザは、適正な判断情報を得ることができる。 Next, it is assumed that the user presses the “simulation” button in FIG. Then, the feature amount acquisition unit 14323 and the balance determination unit 14324 determine that each character to be scored has the determination information “0.7 <= A / B <= 1.4” of the feature amount (2) according to the algorithm described above. It is determined whether or not the above is satisfied. Then, the determination result output unit 15 outputs a determination result (simulation screen) as shown in FIG. In the determination result of FIG. 22, ◯ indicates a character that is correct by changing the determination information to “0.7 <= A / B <= 1.4”. In the determination result of FIG. 22, × indicates a character that is an incorrect answer even when the determination information is changed to “0.7 <= A / B <= 1.4”. As shown in FIG. 22, the user can obtain appropriate determination information by performing a simulation.
以上、判断結果とユーザ判断結果が異なる文字(答案)に対して、特徴量を変換させ、シミュレーションが行われた。しかし、例えば、採点装置1は、自動採点処理により不正解であると判断された文字に対して、シミュレーションを行っても良い。また、採点装置1は、すべての文字(答案)に対して、シミュレーションを行っても良い。 As described above, the simulation is performed by converting the feature amount for characters (answers) having different judgment results and user judgment results. However, for example, the scoring device 1 may perform a simulation on characters that are determined to be incorrect by the automatic scoring process. Moreover, the scoring device 1 may perform a simulation for all characters (answers).
次に、自動採点処理の別の具体例について説明する。まず、文字画像読取部10は、ユーザが手書き入力した文字「ぽすと」を読み取った、とする。 Next, another specific example of the automatic scoring process will be described. First, it is assumed that the character image reading unit 10 has read a character “POSTO” inputted by handwriting by the user.
次に、文字分割手段141は、読み取られた文字「ぽすと」から文字画像を取得する。文字画像は、図2(a)に示したように、太さを有するビットマップである。 Next, the character dividing unit 141 acquires a character image from the read character “POSTO”. The character image is a bitmap having a thickness as shown in FIG.
そして、文字分割手段141は、取得した文字画像「ぽすと」を、「ぽ」「す」「と」の3つの文字の画像に分割する。 The character dividing unit 141 divides the acquired character image “POSTO” into three character images “PO”, “SU”, and “TO”.
次に、点情報取得手段142は、1番目の文字の画像「ぽ」に対して、以下のように点情報取得処理を行う。つまり、点情報取得手段142は、手書きの文字画像から太さを除去して、線画画像に変換する(図2(b)参照)。そして、点情報取得手段142は、線画画像から線画データ(ベクター)に変換し、ベクターデータを得る。 Next, the point information acquisition unit 142 performs a point information acquisition process on the first character image “PO” as follows. That is, the point information acquisition unit 142 removes the thickness from the handwritten character image and converts it to a line drawing image (see FIG. 2B). Then, the point information acquisition unit 142 converts the line drawing image into line drawing data (vector) to obtain vector data.
次に、構造点情報取得手段1421は、ベクターデータの端点、分岐点、および交点を構造点と決定し、構造点の位置情報を蓄積する。 Next, the structure point information acquisition unit 1421 determines the end points, branch points, and intersections of the vector data as structure points, and accumulates the position information of the structure points.
次に、特徴点情報取得手段1422は、ベクターデータの特徴点情報を取得する。つまり、特徴点情報取得手段1422は、ベクターデータが構成するエッジ間の角度を取得し、当該角度が示す曲がりの程度が、閾値より大きい場合、エッジの交点を特徴点として検出し、当該特徴点の位置情報を蓄積する。 Next, the feature point information acquisition unit 1422 acquires feature point information of vector data. That is, the feature point information acquisition unit 1422 acquires an angle between edges included in the vector data, and detects an intersection of edges as a feature point when the degree of bending indicated by the angle is larger than a threshold, and the feature point Is stored.
次に、点情報取得手段142は、構造点および特徴点の接続情報を取得し、蓄積する。以上の処理により、正規化されていないグラフデータが取得できた(図2(c)参照)。 Next, the point information acquisition unit 142 acquires and accumulates connection information of structure points and feature points. Through the above processing, unnormalized graph data can be acquired (see FIG. 2C).
次に、点情報取得手段142は、正規化し、グラフデータが(0,0)(0,1)(1,1)(1,0)の矩形に収まるように、構造点および特徴点の位置情報を変換する。かかる正規化の処理は公知技術であるので、詳細な説明は省略する。以上の処理により、正規化されたグラフデータが取得できた(図2(d)参照)。 Next, the point information acquisition unit 142 normalizes the position of the structure point and the feature point so that the graph data fits in the rectangle of (0,0) (0,1) (1,1) (1,0). Transform information. Since the normalization process is a known technique, a detailed description thereof is omitted. Through the above processing, normalized graph data can be acquired (see FIG. 2D).
次に、判断手段143は、以下のような判断処理を行う。つまり、判断手段143は、判断対象の入力文字「ぽ」に対応する正解文字の正解文字情報(図15の「ぽ」の情報)を、正解文字情報格納部11から読み出す。 Next, the determination unit 143 performs the following determination process. That is, the determination unit 143 reads from the correct character information storage unit 11 the correct character information of the correct character (information of “Po” in FIG. 15) corresponding to the input character “Po” to be determined.
次に、構造判断手段1431は、以下のように構造比較処理を行う。つまり、構造判断手段1431は、文字「ぽ」に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する3つのグループに分割する。そして、構造判断手段1431は、図10のフローチャートにしたがって、グループごとに、入力文字の「ぽ」の各ノードに対応するノードが、正解文字の「ぽ」のノード中に存在するか否かを判断する。 Next, the structure determination unit 1431 performs a structure comparison process as follows. That is, the structure determination unit 1431 divides the structure points and feature points included in the character “Po” into three groups having connected structure points or feature points. Then, according to the flowchart of FIG. 10, the structure determining unit 1431 determines whether or not a node corresponding to each node of the input character “Po” exists in the node of the correct character “Po” for each group. to decide.
そして、図10のフローチャートにしたがって、構造判断手段1431は、入力文字の「ぽ」のすべてのノードについて、対応するノードが正解文字の「ぽ」のノード中に存在し、かつ、正解文字の「ぽ」のノード中に余ったノードが存在しない場合に、入力文字の「ぽ」が不正解でない、と判断する(図3参照)。なお、余ったノードとは、対応するノードが存在しないノードである。 Then, according to the flowchart of FIG. 10, the structure determination unit 1431 has, for all nodes of the input character “Po”, corresponding nodes exist in the node of the correct character “Po”, and the correct character “Po”. If there is no extra node among the “po” nodes, it is determined that the input character “po” is not incorrect (see FIG. 3). A surplus node is a node for which no corresponding node exists.
次に、特徴判断手段1432は、以下のような形状比較処理を行う(図11のフローチャートを参照のこと)。つまり、グループ分割手段14321は、文字「ぽ」のグループ毎に、入力文字の形状が正解文字と同じか否かを判断する。具体的には、図5に示したように、特徴判断手段1432は、グループ毎に、入力文字を構成するノードと、正解文字を構成するノードの対応をとる。そして、特徴判断手段1432は、入力文字のノードと正解文字のノード(対応がとれたノード)との距離を算出する。そして、特徴判断手段1432は、1以上の距離の値を用いて、評価値を算出する。この評価値の算出式の例が上述した数式1である。 Next, the feature determination unit 1432 performs the following shape comparison process (see the flowchart of FIG. 11). That is, the group dividing unit 14321 determines whether or not the shape of the input character is the same as the correct character for each group of the characters “PO”. Specifically, as shown in FIG. 5, the feature determination unit 1432 associates a node constituting the input character and a node constituting the correct character for each group. The feature determining unit 1432 calculates the distance between the input character node and the correct character node (corresponding node). Then, the feature determination unit 1432 calculates an evaluation value using a value of one or more distances. An example of the evaluation value calculation formula is the above-described formula 1.
そして、特徴判断手段1432は、予め格納している閾値を読み出す。そして、特徴判断手段1432は、評価値と閾値を比較し、入力文字の形状が、正解文字の形状と比較して、予め決められた以上の近似度を有するか否かを判断する。予め決められた以上の近似度を有しなければ入力文字を不正解である、と判断する。 Then, the feature determination unit 1432 reads a threshold value stored in advance. Then, the feature determination unit 1432 compares the evaluation value with the threshold value, and determines whether or not the shape of the input character has a degree of approximation higher than a predetermined value compared with the shape of the correct character. If the degree of approximation exceeds a predetermined value, the input character is determined to be incorrect.
以上の処理を全グループに対して行い、一つのグループでも、予め決められた以上の近似度を有しなければ、入力文字を不正解である、と判断する。 The above processing is performed for all groups, and if even one group does not have a degree of approximation higher than a predetermined value, it is determined that the input character is incorrect.
次に、特徴量取得手段14323、およびバランス判断手段14324は、特徴量比較処理を行う。 Next, the feature amount acquisition unit 14323 and the balance determination unit 14324 perform feature amount comparison processing.
以上の処理を2番目の文字「す」、3番目の文字「と」に対しても行い、3つの文字、すべてが不正解でない場合に、入力文字は正解である、と判断される。 The above processing is also performed on the second character “SU” and the third character “TO”, and when all of the three characters are not incorrect, it is determined that the input character is correct.
そして、判断結果出力部15は、判断結果を出力する。判断結果の出力態様は問わない。 Then, the determination result output unit 15 outputs the determination result. The output mode of the determination result is not limited.
以上、本実施の形態によれば、手書き文字列の正解/不正解の判断において、自動判断を行って、自動判断の判断結果を出力した後、採点者(ユーザ)が手動で判断する。つまり、採点者(ユーザ)は、自動判断結果を見ながら、採点できるので、非常に効率的で正確な文字列の正誤判断ができる。例えば、何十万通もの答案の漢字テストを採点するような場合、1通あたり1秒でも、採点時間が短縮できれば、非常に効果は大きいものとなる。 As described above, according to the present embodiment, the automatic determination is performed in the determination of the correct / incorrect answer of the handwritten character string, and after the determination result of the automatic determination is output, the grader (user) manually determines. In other words, the grader (user) can score while looking at the automatic determination result, so that it is possible to determine the correctness of the character string very efficiently and accurately. For example, in the case of scoring hundreds of thousands of Kanji tests, if the scoring time can be shortened even by 1 second per mail, the effect will be very great.
また、本実施の形態によれば、文字の正誤判断が適切にできる。特に、本実施の形態によれば、入力文字から構造点および特徴点を抽出し、構造点の情報と特徴点の情報とを、異なる用い方をする(異なるアルゴリズムを適用する)ことにより、文字の正誤判断が適切にできる。 Further, according to the present embodiment, it is possible to appropriately determine whether a character is correct or incorrect. In particular, according to the present embodiment, a structure point and a feature point are extracted from an input character, and the structure point information and the feature point information are used differently (a different algorithm is applied). The right / wrong judgment can be made appropriately.
また、本実施の形態によれば、まず、採点装置1は、構造点を用いて構造比較し、次に、構造点および特徴点を用いて特徴比較を行った。そのため、異なる文字の判断が高速に、かつ、精度高くできた。 Further, according to the present embodiment, first, the scoring device 1 performs the structure comparison using the structure points, and then performs the feature comparison using the structure points and the feature points. Therefore, it was possible to judge different characters at high speed and with high accuracy.
また、本実施の形態によれば、採点装置1は、構造点および特徴点を用いて、各グループの形状、および特徴をチェックした。そのため、精度高く、文字の正誤判断が可能となった。 Moreover, according to this Embodiment, the scoring apparatus 1 checked the shape and characteristic of each group using the structure point and the feature point. For this reason, it is possible to judge the correctness of characters with high accuracy.
また、本実施の形態によれば、採点装置1は、さらに、特徴量をも用いて、文字の特徴的なポイント(ハネやバランスなど)をチェックした。そのため、非常に精度高く、文字の正誤判断が可能となった。 Further, according to the present embodiment, the scoring device 1 further checks the characteristic points of characters (such as honey and balance) using the feature amount. For this reason, it is possible to judge the correctness of characters with extremely high accuracy.
さらに、本実施の形態によれば、採点装置1は、採点された1以上の入力文字を見ながら、特徴量(または判断情報)を変更し、シミュレーションできた。そのため、ユーザは、実際に入力された文字を見ながら、適切な特徴量(または判断情報)を設定できる。 Furthermore, according to the present embodiment, the scoring device 1 can change the feature amount (or judgment information) while observing one or more scored input characters, and can simulate. Therefore, the user can set an appropriate feature amount (or determination information) while viewing the actually input characters.
なお、本実施の形態において、判断情報更新部18は、ユーザが入力した特徴量を用いて、判断情報を更新した。しかし、判断情報更新部18は、ユーザが入力したユーザ判断結果を用いて、判断情報を更新しても良い。つまり、判断情報更新部18は、判断結果とユーザ判断結果とが異なる場合、ユーザ判断結果を尊重し、ユーザ判断結果の対象となった文字の対応する特徴量(ハネの長さや、バランスなど)を取得し、当該特徴量を用いて、判断情報を更新しても良い。さらに具体的には、判断情報が「5<=P15−P16」でり、ハネの長さ「4」である文字に対して、ユーザ判断結果が「OK(正解)」である場合、判断情報更新部18は、判断情報を「4<=P15−P16」に修正しても良い。一方、判断情報が「5<=P15−P16」でり、ハネの長さ「6」である文字に対して、ユーザ判断結果が「NG(不正解)」である場合、判断情報更新部18は、判断情報を「6<P15−P16」に修正しても良い。 In the present embodiment, the determination information update unit 18 updates the determination information using the feature amount input by the user. However, the determination information update unit 18 may update the determination information using the user determination result input by the user. That is, when the determination result is different from the user determination result, the determination information update unit 18 respects the user determination result, and the corresponding feature amount of the character that is the target of the user determination result (such as the length of the honey or the balance). And the determination information may be updated using the feature amount. More specifically, when the determination information is “5 <= P15−P16”, and the user determination result is “OK (correct answer)” for the character having the honey length “4”, the determination information The update unit 18 may correct the determination information to “4 <= P15−P16”. On the other hand, when the determination information is “5 <= P15−P16” and the user determination result is “NG (incorrect answer)” for the character having the length “6”, the determination information update unit 18 May correct the determination information to “6 <P15−P16”.
また、判断情報が「0.8<=A/B<=1.2」でり、「A/B=0.7」である文字に対して、ユーザ判断結果が「OK(正解)」である場合、判断情報更新部18は、判断情報を「0.7<=A/B<=1.2」に修正しても良い。一方、判断情報が「0.8<=A/B<=1.2」でり、「A/B=0.85」である文字に対して、ユーザ判断結果が「NG(不正解)」である場合、判断情報更新部18は、判断情報を「0.85<A/B<=1.2」に修正しても良い。 In addition, the determination information is “0.8 <= A / B <= 1.2”, and the user determination result is “OK (correct answer)” for the character with “A / B = 0.7”. In some cases, the determination information update unit 18 may correct the determination information to “0.7 <= A / B <= 1.2”. On the other hand, the determination information is “0.8 <= A / B <= 1.2”, and the user determination result is “NG (incorrect answer)” for the character with “A / B = 0.85”. In this case, the determination information update unit 18 may correct the determination information to “0.85 <A / B <= 1.2”.
また、判断情報更新部18は、判断結果が「NG」であり、ユーザ判断結果が「OK」である場合のみ、ユーザ判断結果を尊重するように、上記のように、自動的に判断情報を更新しても良い。 In addition, the determination information update unit 18 automatically determines the determination information as described above so as to respect the user determination result only when the determination result is “NG” and the user determination result is “OK”. It may be updated.
また、判断情報更新部18は、判断結果が「OK」であり、ユーザ判断結果が「NG」である場合のみ、ユーザ判断結果を尊重するように、上記のように、自動的に判断情報を更新しても良い。 In addition, the determination information update unit 18 automatically determines the determination information as described above so that the user determination result is respected only when the determination result is “OK” and the user determination result is “NG”. It may be updated.
以上の処理により、自動採点の判断結果と手動採点の判断結果が異なった場合に、採点装置1の自動採点の判断ロジックを調整することができる。 By the above processing, when the automatic scoring judgment result and the manual scoring judgment result are different, the automatic scoring judgment logic of the scoring device 1 can be adjusted.
また、本実施の形態において、採点装置1は、文字の正誤判断の際に、構造点のみを抽出して、構造点のみを用いて、正誤判断を行っても良い。かかる場合、非常に高速に正誤判断が可能である。 Moreover, in this Embodiment, the scoring apparatus 1 may extract only a structure point, and may perform a right / wrong determination using only a structure point at the time of character correct / incorrect determination. In such a case, it is possible to make a correct / incorrect determination at a very high speed.
また、本実施の形態によれば、特徴量(または判断情報)は、主として、ハネまたは文字の部分間の比率であった。しかし、他の特徴量(または判断情報)を適用しても良いことは言うまでもない。他の特徴量(または判断情報)とは、例えば、文字の部分間の距離である。なお、文字の部分とは、1以上のグループである。また、比率は、面積の比でなくとも良い。比率は、文字の部分の矩形の対角線の長さの比でも良い。 Further, according to the present embodiment, the feature amount (or determination information) is mainly a ratio between the portions of the honey or the character. However, it goes without saying that other feature amounts (or determination information) may be applied. The other feature amount (or determination information) is, for example, a distance between character portions. The character part is one or more groups. The ratio may not be an area ratio. The ratio may be the ratio of the diagonal lengths of the rectangles in the character portion.
さらに、本実施の形態における処理は、ソフトウェアで実現しても良い。そして、このソフトウェアをソフトウェアダウンロード等により配布しても良い。また、このソフトウェアをCD−ROMなどの記録媒体に記録して流布しても良い。なお、このことは、本明細書における他の実施の形態においても該当する。なお、本実施の形態における情報処理装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、記録媒体に、正解の文字を示す正解文字情報であり、文字の骨格を構成する端点または分岐点または交点である構造点の情報である構造点情報を含む1以上の正解文字情報と、手書き入力された1以上の文字を含む画像である文字画像とを格納しており、コンピュータを、前記文字画像と前記正解文字情報とを比較し、前記手書き入力された文字列が正解か不正解かを示す判断結果を取得する判断部と、前記判断結果を出力する判断結果出力部と、前記判断結果出力部が判断結果を出力した後、前記手書き入力された文字列が正解か不正解かを示すユーザの判断結果であるユーザ判断結果を受け付ける受付部と、前記受付部が受け付けたユーザ判断結果を蓄積する判断結果蓄積部として機能させるためのプログラム、である。 Furthermore, the processing in the present embodiment may be realized by software. Then, this software may be distributed by software download or the like. Further, this software may be recorded and distributed on a recording medium such as a CD-ROM. This also applies to other embodiments in this specification. Note that the software that implements the information processing apparatus according to the present embodiment is the following program. In other words, this program includes one or more correct answers including correct character information indicating correct characters on a recording medium, and structure point information that is information of structure points that are end points, branch points, or intersections constituting the skeleton of the character. Character information and a character image that is an image including one or more characters input by handwriting are stored, the computer compares the character image with the correct character information, and the character string input by handwriting is A determination unit that acquires a determination result indicating whether the answer is correct or incorrect, a determination result output unit that outputs the determination result, and the determination result output unit that outputs the determination result, and then the handwritten input character string is correct A reception unit that receives a user determination result, which is a user determination result indicating whether the answer is incorrect, or a program for functioning as a determination result storage unit that stores the user determination result received by the reception unit , It is.
また、上記プログラムにおいて、前記受付部は、ユーザ判断結果と判断理由を受け付け、前記判断結果蓄積部は、前記受付部が受け付けたユーザ判断結果と判断理由を蓄積するものとして、コンピュータを機能させることは好適である。 In the above program, the reception unit receives a user determination result and a determination reason, and the determination result storage unit causes the computer to function as a storage of the user determination result and the determination reason received by the reception unit. Is preferred.
また、上記プログラムにおいて、前記正解文字情報は、正解の文字列と正誤判断のための情報である判断情報とを有し、前記判断部における判断結果と前記受付部が受け付けたユーザ判断結果とが異なる場合、前記判断情報を更新する判断情報更新部をさらに具備するものとして、コンピュータを機能させることは好適である。 In the above program, the correct character information includes a correct character string and determination information that is information for correct / incorrect determination, and the determination result in the determination unit and the user determination result received by the reception unit are When they are different from each other, it is preferable to make the computer function as further including a determination information update unit that updates the determination information.
また、上記プログラムにおいて、前記判断情報は、正解の文字を特徴付ける1以上の特徴量を有し、前記判断部は、1以上の特徴量を含む判断情報を用いて、文字画像に含まれる文字が不正解か否かを判断するものとして、コンピュータを機能させることは好適である。 In the above program, the determination information includes one or more feature amounts characterizing a correct character, and the determination unit uses the determination information including one or more feature amounts to determine whether a character included in the character image is a character string. It is preferable to make a computer function as a means of determining whether or not the answer is incorrect.
また、上記プログラムにおいて、前記判断部は、前記文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の構造点を検出し、当該構造点の情報である構造点情報を、1以上取得する点情報取得手段と、前記文字画像に含まれる各文字に対応する正解文字情報に含まれる構造点情報と、前記点情報取得手段が取得した構造点情報とを比較し、文字画像に含まれる各文字が不正解か否かを判断する判断手段とを具備するものとして、コンピュータを機能させることは好適である。 Further, in the above program, the determination unit detects one or more structure points for each character included in the character image stored in the character image storage unit, and a structure point that is information on the structure point Point information acquisition means for acquiring one or more information, structure point information included in correct character information corresponding to each character included in the character image, and structure point information acquired by the point information acquisition means are compared. It is preferable to cause the computer to function as a judgment means for judging whether or not each character included in the character image is an incorrect answer.
また、上記プログラムにおいて、前記正解文字情報は、文字の骨格を構成する端点または分岐点または交点である構造点の情報である構造点情報と、2つの構造点を結ぶ線であるエッジ上の点であり、閾値より曲がりの程度の大きい点である特徴点の情報である特徴点情報とを有し、前記点情報取得手段は、前記文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の構造点情報を取得する構造点情報取得手段と、前記文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の特徴点情報を取得する特徴点情報取得手段とを具備し、前記判断手段は、構造点情報と特徴点情報を異なる用い方により、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報と、前記正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字画像に含まれる文字が不正解か否かを判断するものとして、コンピュータを機能させることは好適である。 In the above program, the correct character information is a point on an edge that is a line connecting two structure points and structure point information that is information of a structure point that is an end point, a branch point, or an intersection that constitutes a character skeleton. And feature point information that is feature point information that is a point having a degree of bending larger than a threshold value, and the point information acquisition means includes each of the character images stored in the character image storage unit. Structure point information acquisition means for acquiring one or more structure point information for a character, and one or more feature point information for each character included in the character image stored in the character image storage unit Characteristic point information acquisition means, and the determination means obtains one or more pieces of structure point information acquired by the structure point information acquisition means and the feature point information acquisition by using the structure point information and the feature point information differently. Means acquired The above feature point information is compared with one or more structure point information and one or more feature point information included in the correct character information to determine whether or not the character included in the character image is an incorrect answer. It is preferable to make a computer function.
また、上記プログラムにおいて、前記判断手段は、前記構造点情報取得手段が取得した1以上の構造点情報と、前記正解文字情報に含まれる1以上の構造点情報を比較し、文字画像に含まれる文字が不正解か否かを判断する構造判断手段と、前記構造判断手段が文字画像に含まれる文字が不正解でないと判断した文字に対して、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報と、前記正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、前記文字が不正解か否かを判断する特徴判断手段とを具備するものとして、コンピュータを機能させることは好適である。 In the above program, the determination unit compares the one or more structure point information acquired by the structure point information acquisition unit with one or more structure point information included in the correct character information, and is included in the character image. Structure determination means for determining whether or not a character is an incorrect answer, and one or more acquired by the structure point information acquisition means for a character that the structure determination means determines that a character included in a character image is not an incorrect answer The structure point information and the one or more feature point information acquired by the feature point information acquisition means are compared with one or more structure point information and one or more feature point information included in the correct character information. It is preferable to make a computer function as what comprises the characteristic judgment means which judges whether it is a correct answer.
また、上記プログラムにおいて、前記特徴判断手段は、一文字に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する1以上のグループに分割するグループ分割手段と、各グループごとに、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報と、前記正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、前記文字が不正解か否かを判断するグループ特徴判断手段と、手書き入力された文字のグループ間のバランスを示す1以上の特徴量を取得する特徴量取得手段と、前記特徴量取得手段が取得した1以上の特徴量を用いて、前記文字が不正解か否かを判断するバランス判断手段とを具備するものとして、コンピュータを機能させることは好適である。 Further, in the above program, the feature determining means includes a group dividing means for dividing the structure points and feature points included in one character into one or more groups having connected structure points or feature points, and for each group. One or more structure point information acquired by the structure point information acquisition means, one or more feature point information acquired by the feature point information acquisition means, one or more structure point information included in the correct character information, and one or more Group feature determining means for comparing the feature point information of the character and determining whether the character is incorrect or not, and feature amount acquiring means for acquiring one or more feature amounts indicating a balance between groups of handwritten characters. And a balance judging means for judging whether or not the character is an incorrect answer using one or more feature quantities acquired by the feature quantity acquiring means. It is preferable to ability.
また、上記プログラムにおいて、前記グループ特徴判断手段は、各グループごとに、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報が示す各点に対応する点であり、前記正解文字情報に含まれる1以上の構造点情報または1以上の特徴点情報のうちのいずれかが示す点の情報である対応点情報を取得し、前記1以上の構造点情報および前記1以上の特徴点情報の各々が示す各点と、各対応点情報が示す各点との距離を算出し、前記距離の絶対値の和を算出し、当該距離の絶対値の和が閾値以上または閾値より大きい場合に、前記文字が不正解であると判断するものとして、コンピュータを機能させることは好適である。 Further, in the above program, the group feature determination means includes, for each group, one or more structure point information acquired by the structure point information acquisition means and one or more feature point information acquired by the feature point information acquisition means. Corresponding point information corresponding to each point to be indicated, and corresponding point information that is information of a point indicated by either one or more structural point information or one or more feature point information included in the correct character information, The distance between each point indicated by each of the one or more structural point information and the one or more feature point information and each point indicated by the corresponding point information is calculated, and the sum of the absolute values of the distances is calculated. When the sum of the absolute values of is greater than or equal to a threshold value or greater than the threshold value, it is preferable to cause the computer to function as determining that the character is incorrect.
また、上記プログラムにおいて、前記特徴量取得手段は、手書き入力された文字の1以上のグループにより構成される文字の部分が占める面積の比率を特徴量として算出し、前記バランス判断手段は、正解の文字の1以上のグループにより構成される文字の部分が占める面積の比率を含む判断情報を取得し、前記特徴量取得手段が算出した特徴量と前記判断情報とから、前記文字が不正解か否かを判断するものとして、コンピュータを機能させることは好適である。 Further, in the above program, the feature amount acquisition unit calculates a ratio of an area occupied by a character part composed of one or more groups of characters input by handwriting as a feature amount, and the balance determination unit includes a correct answer Judgment information including a ratio of the area occupied by a character part composed of one or more groups of characters is acquired, and whether or not the character is an incorrect answer from the feature amount calculated by the feature amount acquisition unit and the determination information It is preferable to make a computer function as a means for determining whether or not.
また、上記プログラムにおいて、前記特徴量取得手段は、手書き入力された文字の各グループ間の距離を特徴量として算出し、前記バランス判断手段は、正解の文字のグループ間の距離を含む判断情報を取得し、前記特徴量取得手段が算出した特徴量と前記判断情報とから、前記文字が不正解か否かを判断するものとして、コンピュータを機能させることは好適である。 In the above program, the feature amount acquisition unit calculates a distance between each group of handwritten characters as a feature amount, and the balance determination unit includes determination information including a distance between correct character groups. It is preferable to cause the computer to function as what is obtained and judged from the feature quantity calculated by the feature quantity obtaining means and the judgment information whether or not the character is incorrect.
また、図23は、本明細書で述べたプログラムを実行して、上述した実施の形態の採点装置等を実現するコンピュータの外観を示す。上述の実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムで実現され得る。図23は、このコンピュータシステム340の概観図であり、図24は、コンピュータシステム340のブロック図である。 FIG. 23 shows the external appearance of a computer that executes the program described in this specification and realizes the scoring device of the above-described embodiment. The above-described embodiments can be realized by computer hardware and a computer program executed thereon. FIG. 23 is an overview diagram of the computer system 340, and FIG. 24 is a block diagram of the computer system 340.
図23において、コンピュータシステム340は、FDドライブ、CD−ROMドライブを含むコンピュータ341と、キーボード342と、マウス343と、モニタ344とを含む。 23, a computer system 340 includes a computer 341 including an FD drive and a CD-ROM drive, a keyboard 342, a mouse 343, and a monitor 344.
図24において、コンピュータ341は、FDドライブ3411、CD−ROMドライブ3412に加えて、MPU3413と、CD−ROMドライブ3412及びFDドライブ3411に接続されたバス3414と、ブートアッププログラム等のプログラムを記憶するためのROM3415とに接続され、アプリケーションプログラムの命令を一時的に記憶するとともに一時記憶空間を提供するためのRAM3416と、アプリケーションプログラム、システムプログラム、及びデータを記憶するためのハードディスク3417とを含む。ここでは、図示しないが、コンピュータ341は、さらに、LANへの接続を提供するネットワークカードを含んでも良い。 24, in addition to the FD drive 3411 and the CD-ROM drive 3412, the computer 341 stores an MPU 3413, a bus 3414 connected to the CD-ROM drive 3412 and the FD drive 3411, and a program such as a bootup program. A RAM 3416 for temporarily storing application program instructions and providing a temporary storage space; and a hard disk 3417 for storing application programs, system programs, and data. Although not shown here, the computer 341 may further include a network card that provides connection to the LAN.
コンピュータシステム340に、上述した実施の形態の採点装置等の機能を実行させるプログラムは、CD−ROM3501、またはFD3502に記憶されて、CD−ROMドライブ3412またはFDドライブ3411に挿入され、さらにハードディスク3417に転送されても良い。これに代えて、プログラムは、図示しないネットワークを介してコンピュータ341に送信され、ハードディスク3417に記憶されても良い。プログラムは実行の際にRAM3416にロードされる。プログラムは、CD−ROM3501、FD3502またはネットワークから直接、ロードされても良い。 A program that causes the computer system 340 to execute the functions of the scoring device and the like of the above-described embodiment is stored in the CD-ROM 3501 or FD 3502, inserted into the CD-ROM drive 3412 or FD drive 3411, and further stored in the hard disk 3417. May be forwarded. Alternatively, the program may be transmitted to the computer 341 via a network (not shown) and stored in the hard disk 3417. The program is loaded into the RAM 3416 at the time of execution. The program may be loaded directly from the CD-ROM 3501, the FD 3502, or the network.
プログラムは、コンピュータ341に、上述した実施の形態の採点装置等の機能を実行させるオペレーティングシステム(OS)、またはサードパーティープログラム等は、必ずしも含まなくても良い。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいれば良い。コンピュータシステム340がどのように動作するかは周知であり、詳細な説明は省略する。 The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 341 to execute the functions of the scoring device according to the above-described embodiment. The program only needs to include an instruction portion that calls an appropriate function (module) in a controlled manner and obtains a desired result. How the computer system 340 operates is well known and will not be described in detail.
なお、上記プログラムにおいて、ハードウェアによって行われる処理、例えば、モデムやインターフェースカードなどで行われる処理(ハードウェアでしか行われない処理)は含まれない。 The program does not include processing performed by hardware, for example, processing performed by a modem or an interface card (processing performed only by hardware).
また、上記プログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。 Further, the computer that executes the program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.
また、上記各実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。 In each of the above embodiments, each process (each function) may be realized by centralized processing by a single device (system), or by distributed processing by a plurality of devices. May be.
本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 The present invention is not limited to the above-described embodiments, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.
以上のように、本発明にかかる採点装置は、文字の正誤判断が適切にできる、という効果を有し、例えば、漢字の正誤の採点装置等として有用である。 As described above, the scoring device according to the present invention has an effect that the correctness / incorrectness of characters can be appropriately determined, and is useful as, for example, a scoring device for correctness / incorrectness of Chinese characters.
1 採点装置
10 文字画像読取部
11 正解文字情報格納部
12 文字画像格納部
13 判断結果格納部
14 判断部
15 判断結果出力部
16 受付部
17 判断結果蓄積部
18 判断情報更新部
19 比較出力部
141 文字分割手段
142 点情報取得手段
143 判断手段
1421 構造点情報取得手段
1422 特徴点情報取得手段
1431 構造判断手段
1432 特徴判断手段
14321 グループ分割手段
14322 グループ特徴判断手段
14323 特徴量取得手段
14324 バランス判断手段
DESCRIPTION OF SYMBOLS 1 Scoring apparatus 10 Character image reading part 11 Correct character information storage part 12 Character image storage part 13 Judgment result storage part 14 Judgment part 15 Judgment result output part 16 Acceptance part 17 Judgment result storage part 18 Judgment information update part 19 Comparison output part 141 Character division means 142 Point information acquisition means 143 Determination means 1421 Structure point information acquisition means 1422 Feature point information acquisition means 1431 Structure determination means 1432 Feature determination means 14321 Group division means 14322 Group feature determination means 14323 Feature quantity acquisition means 14324 Balance determination means
Claims (12)
手書き入力された文字列を含む画像である文字画像を格納し得る文字画像格納部と、
前記文字画像と前記正解文字情報とを比較し、前記手書き入力された文字列が正解か不正解かを示す判断結果を取得する判断部と、
前記判断結果を出力する判断結果出力部と、
前記判断結果出力部が判断結果を出力した後、前記手書き入力された文字列が正解か不正解かを示すユーザの判断結果であるユーザ判断結果を受け付ける受付部と、
前記受付部が受け付けたユーザ判断結果を蓄積する判断結果蓄積部と、
前記判断部における判断結果と前記受付部が受け付けたユーザ判断結果とが異なる場合、前記判断情報を更新する判断情報更新部とを具備する採点装置。 A correct character information storage unit capable of storing one or more correct character information having a correct character string and determination information that is information for correct / incorrect determination ;
A character image storage unit capable of storing a character image which is an image including a character string input by handwriting;
A determination unit that compares the character image with the correct character information and obtains a determination result indicating whether the handwritten input character string is correct or incorrect;
A judgment result output unit for outputting the judgment result;
A reception unit that receives a user determination result that is a user determination result indicating whether the character string input by handwriting is correct or incorrect after the determination result output unit outputs the determination result;
A determination result storage unit that stores the user determination result received by the reception unit ;
A scoring apparatus comprising: a determination information update unit configured to update the determination information when a determination result in the determination unit is different from a user determination result received by the reception unit .
ユーザ判断結果と判断理由を受け付け、
前記判断結果蓄積部は、
前記受付部が受け付けたユーザ判断結果と判断理由を蓄積する請求項1記載の採点装置。 The reception unit
Accept user judgment results and reasons for judgment,
The determination result accumulation unit
The scoring device according to claim 1, wherein a user determination result and a determination reason received by the reception unit are accumulated.
正解の文字を特徴付ける1以上の特徴量を有し、
前記判断部は、
1以上の特徴量を含む判断情報を用いて、文字画像に含まれる文字が不正解か否かを判断する請求項1または請求項2記載の採点装置。 The judgment information is
Having one or more features that characterize the correct character;
The determination unit
Using the determined information comprising one or more feature quantities, grading apparatus of claim 1 or claim 2, wherein characters contained in the character image is determined whether solved fraud.
前記1以上の特徴量のうちの一部の特徴量であり、文字の骨格を構成する端点または分岐点または交点である構造点の情報である構造点情報を有し、
前記判断部は、
前記文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の構造点を検出し、当該構造点の情報である構造点情報を、1以上取得する点情報取得手段と、
前記文字画像に含まれる各文字に対応する正解文字情報に含まれる構造点情報と、前記点情報取得手段が取得した構造点情報とを比較し、文字画像に含まれる各文字が不正解か否かを判断する判断手段とを具備する請求項1から請求項3いずれか記載の採点装置。 The correct character information is
A part of the one or more feature quantities, having structure point information that is information of a structure point that is an end point, a branch point, or an intersection that constitutes the skeleton of the character;
The determination unit
Point information acquisition means for detecting one or more structure points for each character included in the character image stored in the character image storage unit and acquiring one or more structure point information as information of the structure points When,
The structure point information included in the correct character information corresponding to each character included in the character image is compared with the structure point information acquired by the point information acquisition unit, and whether each character included in the character image is an incorrect answer The scoring device according to any one of claims 1 to 3 , further comprising determination means for determining whether or not.
文字の骨格を構成する端点または分岐点または交点である構造点の情報である構造点情報と、2つの構造点を結ぶ線であるエッジ上の点であり、閾値より曲がりの程度の大きい点である特徴点の情報である特徴点情報とを有し、
前記点情報取得手段は、
前記文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の構造点情報を取得する構造点情報取得手段と、
前記文字画像格納部に格納されている文字画像に含まれる各文字に対して、1以上の特徴点情報を取得する特徴点情報取得手段とを具備し、
前記判断手段は、
構造点情報と特徴点情報を異なる用い方により、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報と、前記正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、文字画像に含まれる文字が不正解か否かを判断する請求項4記載の採点装置。 The correct character information is
A point on the edge that is the information of the structure point that is the end point, the branch point, or the intersection of the character skeleton and the line that connects the two structure points. And feature point information which is information of a certain feature point,
The point information acquisition means includes
Structure point information acquisition means for acquiring one or more structure point information for each character included in the character image stored in the character image storage unit;
Feature point information acquisition means for acquiring one or more feature point information for each character included in the character image stored in the character image storage unit;
The determination means includes
Depending on how the structure point information and feature point information are used differently, the one or more structure point information acquired by the structure point information acquisition unit, the one or more feature point information acquired by the feature point information acquisition unit, and the correct character information The scoring device according to claim 4, wherein one or more structure point information and one or more feature point information included in the character image are compared to determine whether or not the character included in the character image is an incorrect answer.
前記構造点情報取得手段が取得した1以上の構造点情報と、前記正解文字情報に含まれる1以上の構造点情報を比較し、文字画像に含まれる文字が不正解か否かを判断する構造判断手段と、
前記構造判断手段が文字画像に含まれる文字が不正解でないと判断した文字に対して、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報と、前記正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、前記文字が不正解か否かを判断する特徴判断手段とを具備する請求項5記載の採点装置。 The determination means includes
A structure that compares one or more pieces of structure point information acquired by the structure point information acquisition unit with one or more pieces of structure point information included in the correct character information to determine whether or not a character included in the character image is an incorrect answer. Judgment means,
One or more structure point information acquired by the structure point information acquisition unit and one or more acquired by the feature point information acquisition unit for the character that the structure determination unit determines that the character included in the character image is not incorrect claims of comparing the feature point information, one or more of a structural point information and one or more feature point information included in the correct character information, the character includes the feature determining means for determining solved fraud Item 5. The scoring device according to item 5 .
一文字に含まれる構造点および特徴点を、連結されている構造点または特徴点を有する1以上のグループに分割するグループ分割手段と、
各グループごとに、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報と、前記正解文字情報に含まれる1以上の構造点情報および1以上の特徴点情報とを比較し、前記文字が不正解か否かを判断するグループ特徴判断手段とを具備する請求項6記載の採点装置。 The feature judging means includes
Group dividing means for dividing structure points and feature points included in one character into one or more groups having connected structure points or feature points;
For each group, one or more structure point information acquired by the structure point information acquisition unit, one or more feature point information acquired by the feature point information acquisition unit, and one or more structure points included in the correct character information The scoring device according to claim 6 , further comprising group feature judging means for comparing the information with one or more feature point information and judging whether or not the character is an incorrect answer.
手書き入力された文字のグループ間のバランスを示す1以上の特徴量を取得する特徴量取得手段と、
前記特徴量取得手段が取得した1以上の特徴量を用いて、前記文字が不正解か否かを判断するバランス判断手段とをさらに具備する請求項7記載の採点装置。 The feature judging means includes
Feature quantity acquisition means for acquiring one or more feature quantities indicating a balance between groups of handwritten characters;
The scoring device according to claim 7 , further comprising a balance determination unit that determines whether or not the character is an incorrect answer by using one or more feature amounts acquired by the feature amount acquisition unit.
各グループごとに、前記構造点情報取得手段が取得した1以上の構造点情報および前記特徴点情報取得手段が取得した1以上の特徴点情報が示す各点に対応する点であり、前記正解文字情報に含まれる1以上の構造点情報または1以上の特徴点情報のうちのいずれかが示す点の情報である対応点情報を取得し、
前記1以上の構造点情報および前記1以上の特徴点情報の各々が示す各点と、各対応点情報が示す各点との距離を算出し、
前記距離の絶対値の和を算出し、
当該距離の絶対値の和が閾値以上または閾値より大きい場合に、前記文字が不正解であると判断する請求項7または請求項8記載の採点装置。 The group feature judging means includes
The correct character is a point corresponding to each point indicated by one or more structure point information acquired by the structure point information acquisition unit and one or more feature point information acquired by the feature point information acquisition unit for each group. Obtaining corresponding point information that is information of a point indicated by one of one or more structure point information or one or more feature point information included in the information;
Calculating a distance between each point indicated by each of the one or more structure point information and the one or more feature point information and each point indicated by each corresponding point information;
Calculate the sum of the absolute values of the distances,
The scoring device according to claim 7 or 8 , wherein when the sum of absolute values of the distances is equal to or greater than a threshold value or greater than the threshold value, the character is determined to be incorrect.
正解の文字列と正誤判断のための情報である判断情報とを有する1以上の正解文字情報と、手書き入力された文字列を含む画像である文字画像とを格納しており、Storing one or more correct character information having a correct character string and determination information that is information for correct / incorrect determination, and a character image that is an image including a handwritten character string;
判断部、判断結果出力部、受付部、判断結果蓄積部、および判断情報更新部により実現される採点方法であって、A scoring method realized by a determination unit, a determination result output unit, a reception unit, a determination result storage unit, and a determination information update unit,
前記判断部が、前記文字画像と前記正解文字情報とを比較し、前記手書き入力された文字列が正解か不正解かを示す判断結果を取得する判断ステップと、A determination step in which the determination unit compares the character image with the correct character information and obtains a determination result indicating whether the handwritten input character string is correct or incorrect;
前記判断結果出力部が、前記判断結果を出力する判断結果出力ステップと、A determination result output step in which the determination result output unit outputs the determination result; and
前記受付部が、前記判断結果出力ステップで判断結果が出力された後、前記手書き入力された文字列が正解か不正解かを示すユーザの判断結果であるユーザ判断結果を受け付ける受付ステップと、An accepting step for accepting a user judgment result which is a judgment result of a user indicating whether the handwritten input character string is a correct answer or an incorrect answer after the accepting unit outputs a judgment result in the judgment result output step;
前記判断結果蓄積部が、前記受付ステップで受け付けられたユーザ判断結果を蓄積する判断結果蓄積ステップと、A determination result storage step in which the determination result storage unit stores the user determination result received in the reception step;
前記判断情報更新部が、前記判断ステップにおける判断結果と前記受付ステップで受け付けられたユーザ判断結果とが異なる場合、前記判断情報を更新する判断情報更新ステップとを具備する採点方法。A scoring method comprising: a determination information update step in which the determination information update unit updates the determination information when the determination result in the determination step is different from the user determination result received in the reception step.
正解の文字列と正誤判断のための情報である判断情報とを有する1以上の正解文字情報と、手書き入力された文字列を含む画像である文字画像とを格納しており、
前記記録媒体にアクセス可能なコンピュータを、
前記文字画像と前記正解文字情報とを比較し、前記手書き入力された文字列が正解か不正解かを示す判断結果を取得する判断部と、
前記判断結果を出力する判断結果出力部と、
前記判断結果出力部が判断結果を出力した後、前記手書き入力された文字列が正解か不正解かを示すユーザの判断結果であるユーザ判断結果を受け付ける受付部と、
前記受付部が受け付けたユーザ判断結果を蓄積する判断結果蓄積部と、
前記判断部における判断結果と前記受付部が受け付けたユーザ判断結果とが異なる場合、前記判断情報を更新する判断情報更新部として機能させるためのプログラム。 On the recording medium,
Storing one or more correct character information having a correct character string and determination information that is information for correct / incorrect determination, and a character image that is an image including a handwritten character string ;
A computer capable of accessing the recording medium;
A determination unit that compares the character image with the correct character information and obtains a determination result indicating whether the handwritten input character string is correct or incorrect;
A judgment result output unit for outputting the judgment result;
A reception unit that receives a user determination result that is a user determination result indicating whether the character string input by handwriting is correct or incorrect after the determination result output unit outputs the determination result;
A determination result storage unit that stores the user determination result received by the reception unit ;
If the user determination result the receiving unit and the determination result in the determining unit accepts different programs for functioning as a determination information updating unit that updates the determination information.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009078654A JP5520505B2 (en) | 2009-03-27 | 2009-03-27 | Scoring apparatus, scoring method, and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009078654A JP5520505B2 (en) | 2009-03-27 | 2009-03-27 | Scoring apparatus, scoring method, and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2010230988A JP2010230988A (en) | 2010-10-14 |
| JP5520505B2 true JP5520505B2 (en) | 2014-06-11 |
Family
ID=43046857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009078654A Expired - Fee Related JP5520505B2 (en) | 2009-03-27 | 2009-03-27 | Scoring apparatus, scoring method, and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5520505B2 (en) |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6053112B2 (en) * | 2012-07-19 | 2016-12-27 | 公益財団法人日本漢字能力検定協会 | Scoring support device, scoring support program, and data structure |
| WO2014033848A1 (en) * | 2012-08-29 | 2014-03-06 | 株式会社日立製作所 | Calibration device and calibration method |
| JP6390501B2 (en) * | 2015-04-15 | 2018-09-19 | 京セラドキュメントソリューションズ株式会社 | Learning support apparatus and learning support method |
| JP6532346B2 (en) * | 2015-08-07 | 2019-06-19 | 伸彦 井戸 | Automatic scoring system that applies conversion to standard patterns and input patterns for handwritten input characters that have differences in stroke configuration and performs matching and judgment |
| JP6684141B2 (en) * | 2016-04-18 | 2020-04-22 | シャープ株式会社 | Scoring support device, scoring support method, scoring support program, and recording medium |
| JP6984447B2 (en) * | 2018-01-30 | 2021-12-22 | 富士通株式会社 | Image processing program, image processing method and image processing device |
| CN108766103A (en) * | 2018-05-29 | 2018-11-06 | 广东小天才科技有限公司 | Method and device for determining standard degree of copy handwriting, electronic drawing board and storage medium |
| JP7168032B1 (en) * | 2021-05-21 | 2022-11-09 | カシオ計算機株式会社 | Information processing device, information processing system, program and information processing method |
| JP7678351B2 (en) * | 2023-04-12 | 2025-05-16 | 東芝情報システム株式会社 | Display wording inspection device and display wording inspection program |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61295588A (en) * | 1985-06-25 | 1986-12-26 | 株式会社東芝 | Kanji practicing apparatus |
| JP3913712B2 (en) * | 2003-06-09 | 2007-05-09 | 秀明 山根 | Character, symbol and figure recognition method, program thereof, computer-readable recording medium storing the program, character, symbol and figure recognition system |
| JP2008108177A (en) * | 2006-10-27 | 2008-05-08 | Nobuhiko Ido | Handwritten character input system for displaying point such as start point, endpoint, break point and control point as featured point of stroke |
-
2009
- 2009-03-27 JP JP2009078654A patent/JP5520505B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010230988A (en) | 2010-10-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5520505B2 (en) | Scoring apparatus, scoring method, and program | |
| CN114641753A (en) | Composite data generation and Building Information Model (BIM) element extraction from floor plan drawings using machine learning | |
| US9286526B1 (en) | Cohort-based learning from user edits | |
| CN109740515B (en) | Evaluation method and device | |
| US20140067631A1 (en) | Systems and Methods for Processing Structured Data from a Document Image | |
| US8418050B2 (en) | Computer readable recording medium on which form data extracting program is recorded, form data extracting apparatus, and form data extracting method | |
| CN109086203A (en) | The detection method and device of the page | |
| RU2619712C1 (en) | Optical character recognition of image series | |
| CN109978872B (en) | White matter microstructure characteristic screening system and method based on white matter fiber tracts | |
| CN112509661B (en) | Methods, computing devices, and media for identifying physical examination reports | |
| RU2613849C1 (en) | Optical character recognition of image series | |
| EP3937026A2 (en) | Data processing method and apparatus, electronic device and storage medium | |
| JP5466418B2 (en) | Determination device, determination method, and program | |
| WO2022247823A1 (en) | Image detection method, and device and storage medium | |
| US20150278619A1 (en) | Method and system for verification by reading | |
| JP2022109313A (en) | Information processing system, information processing method and program | |
| CN110135413B (en) | Method for generating character recognition image, electronic device and readable storage medium | |
| CN110070533A (en) | A kind of evaluating method of object detection results, device, equipment and storage medium | |
| JP2023522360A (en) | OCR-based document analysis system and method | |
| CN114429637A (en) | A document classification method, device, equipment and storage medium | |
| CN114780773B (en) | Document picture classification method and device, storage medium and electronic equipment | |
| CN106648571A (en) | Application interface correction method and apparatus | |
| JP5009256B2 (en) | Document data creation apparatus, document data creation method, and document data creation program | |
| CN117133012B (en) | Method for detecting sub-frame in building drawing and electronic equipment | |
| CN115481671A (en) | Image recognition support device, image recognition support method, and recording medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120323 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20120808 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20120808 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121207 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121212 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130115 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131001 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131022 |
|
| 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: 20140326 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140407 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5520505 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313117 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |