JPH05189604A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH05189604A
JPH05189604A JP4004479A JP447992A JPH05189604A JP H05189604 A JPH05189604 A JP H05189604A JP 4004479 A JP4004479 A JP 4004479A JP 447992 A JP447992 A JP 447992A JP H05189604 A JPH05189604 A JP H05189604A
Authority
JP
Japan
Prior art keywords
character
character data
handwritten
dictionary
printed
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.)
Withdrawn
Application number
JP4004479A
Other languages
Japanese (ja)
Inventor
Kenji Mishima
健司 三縞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP4004479A priority Critical patent/JPH05189604A/en
Publication of JPH05189604A publication Critical patent/JPH05189604A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

(57)【要約】 【目的】 本発明は被読み取り文字が手書き文字である
か或いは活字であるかを迅速に判断して、手書き文字と
活字が混在して記載されている帳票の読み取り速度を向
上させることができる光学的文字読取装置を提供するこ
とを目的としている。 【構成】 本発明において、フィールド切出部3はシー
トバッファ2内のスキャナ1で読み取られた文字データ
からフィールド単位で文字データを切り出して、これを
フィールドバッファ4に格納する。文字種判定部5はフ
ィールドバッファ4内の文字データの文字種を判定し
て、この判定結果を認識部6に知らせる。認識部6は前
記判定結果に従って手書き辞書7又は活字辞書8のいず
れか一方を使用してフィールドバッファ4内の文字デー
タの文字認識を行う。
(57) [Summary] [Object] The present invention quickly determines whether a character to be read is a handwritten character or a printed character, and determines the reading speed of a form in which handwritten characters and printed characters are mixed. An object of the present invention is to provide an optical character reading device that can be improved. According to the present invention, the field cutout unit 3 cuts out character data in units of fields from the character data read by the scanner 1 in the sheet buffer 2 and stores the character data in the field buffer 4. The character type determination unit 5 determines the character type of the character data in the field buffer 4 and notifies the recognition unit 6 of the determination result. The recognition unit 6 performs character recognition of the character data in the field buffer 4 using either the handwriting dictionary 7 or the type dictionary 8 according to the determination result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は光学的文字読取装置に係
わり、特に読み取る文字が手書き文字であるか、或いは
活字であるかを判別する方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical character reader, and more particularly, to a method for determining whether a character to be read is a handwritten character or a printed character.

【0002】[0002]

【従来の技術】従来、光学的文字読取装置の中には、1
枚の帳票に手書き部分と活字部分が混在して記載されて
いる帳票を読み取ることができるものがある。このよう
な光学的文字読取装置は1つのフィ−ルド内の文字を読
み取ると、この文字を手書き辞書と活字辞書の両方を使
用して認識し、その後、手書き辞書で認識した場合の前
記フィ−ルド内の各文字の類似度値の平均値S1 と活字
辞書で認識した場合の前記各文字の類似度値の平均値S
2 とを求める。次に前記光学的文字読取装置は前記平均
値S1 とS2 とを比較し、S1 ≧S2 ならば、手書き辞
書で認識した認識結果を最終結果として採用し、S1
2 ならば活字辞書で認識した認識結果を最終結果とし
て採用する。従来の光学的文字読取装置はこのような動
作を読取フィ−ルド単位で行うことにより、手書き文字
は手書き辞書を使用して、活字は活字辞書を使用して認
識している。
2. Description of the Related Art Conventionally, some optical character readers have
Some forms can read a form in which a handwritten part and a printed part are mixed in a form. When such an optical character reader reads a character in one field, the character is recognized by using both a handwriting dictionary and a type dictionary, and then the field is recognized when the character is recognized by the handwriting dictionary. The average value S 1 of the similarity values of the characters in the text and the average value S 1 of the similarity values of the characters when recognized by the type dictionary.
2 and ask. Next, the optical character reader compares the average values S 1 and S 2, and if S 1 ≧ S 2 , adopts the recognition result recognized by the handwriting dictionary as the final result, and S 1 <
If S 2 , the recognition result recognized by the print dictionary is adopted as the final result. A conventional optical character reader recognizes handwritten characters using a handwriting dictionary and printed characters using a type dictionary by performing such an operation in units of reading fields.

【0003】ところが、上記のような方式で手書き文字
と活字文字の判別を結果的に行う方式では、手書き辞書
で認識した場合の各文字の類似度値と活字辞書で認識し
た場合の各文字の類似度値のそれぞれの平均値を求めな
ければならず、これに時間がかかって結局文字を認識す
る時間が遅くなってしまうという欠点があった。
However, in the method for discriminating between a handwritten character and a printed character as a result by the above method, the similarity value of each character when recognized by the handwritten dictionary and each character when recognized by the printed dictionary. The average value of the similarity values has to be calculated, which takes time, and eventually the time for recognizing characters is delayed.

【0004】[0004]

【発明が解決しようとする課題】上記の如く従来の光学
的文字読取装置では、手書き辞書で認識した各文字の類
似度値の平均値と、活字辞書で認識した場合の前記各文
字の類似度値の平均値を求めて両者を比較することによ
り、認識対象の文字が手書き文字であるか、活字である
かを結果的に判別する方式を採用しているが、これでは
前記類似度値の平均値を求めるのに時間がかかってしま
うため、文字認識の速度が遅くなってしまい、ひいては
帳票の読み取りに速度が遅くなってしまうという欠点が
あった。
As described above, in the conventional optical character reading device, the average value of the similarity values of the respective characters recognized by the handwriting dictionary and the similarity of the respective characters when recognized by the type dictionary. By adopting a method of determining whether the character to be recognized is a handwritten character or a printed character by finding the average value of the values and comparing the two, this method uses the similarity value Since it takes a long time to obtain the average value, the character recognition speed becomes slower, which in turn slows down the reading of the form.

【0005】そこで本発明は上記の欠点を除去するもの
で、被読み取り文字が手書き文字であるか或いは活字で
あるかを迅速に判断して、手書き文字と活字が混在して
記載されている帳票の読み取り速度を向上させることが
できる光学的文字読取装置を提供することを目的として
いる。
In view of the above, the present invention eliminates the above-mentioned drawbacks by rapidly determining whether a character to be read is a handwritten character or a printed character, and describing a form in which the handwritten character and the printed character are mixed. It is an object of the present invention to provide an optical character reading device capable of improving the reading speed of the.

【0006】[0006]

【課題を解決するための手段】本発明は、手書き文字と
活字とが混在して記載されている帳票をスキャナによっ
て読み取って得た文字データを、手書き辞書又は活字辞
書のいずれかを用いて文字認識するにおいて、前記文字
データからフィールド単位で各文字データを切り出す切
出手段と、この切出手段によって切出された各文字デー
タの高さに基づいて、これら各文字データが手書き文字
であるか或いは活字であるかを判定する判定手段と、こ
の判定手段によって前記各文字データが手書きであると
判定された場合はこれら文字データを前記手書き辞書を
用いて文字認識を行い、活字であると判定された場合は
これら文字データを前記活字辞書を用いて文字認識を行
う認識手段とを具備した構成を有する。
SUMMARY OF THE INVENTION According to the present invention, character data obtained by reading a form in which handwritten characters and printed characters are mixed and described with a scanner is used to print characters using either a handwritten dictionary or a printed dictionary. In recognizing, whether each character data is a handwritten character based on the cutting-out means for cutting out each character data from the character data in units of fields and the height of each character data cut out by this cutting-out means. Alternatively, when it is determined by the determination means that each of the character data is handwritten, the character data is recognized using the handwriting dictionary, and it is determined that the character is a print type. In the case of being performed, the character data is recognized by using the character dictionary for recognizing the character data.

【0007】[0007]

【作用】本発明の光学的文字認識装置において、切出手
段は前記文字データからフィールド単位で各文字データ
を切り出す。判定手段は前記切出手段によって切出され
た各文字データの高さに基づいて、これら各文字データ
が手書き文字であるか或いは活字であるかを判定する。
認識手段は前記判定手段によって前記各文字データが手
書きであると判定された場合はこれら文字データを前記
手書き辞書を用いて文字認識を行い、活字であると判定
された場合はこれら文字データを前記活字辞書を用いて
文字認識を行う。
In the optical character recognition device of the present invention, the cutting means cuts out each character data from the character data in units of fields. The determination means determines whether each character data is a handwritten character or a printed character based on the height of each character data cut out by the cutting means.
The recognizing means performs character recognition on the character data using the handwriting dictionary when the determining means determines that each of the character data is handwritten, and determines the character data when determining that the character data is in print type. Character recognition is performed using a print dictionary.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面を参照して説
明する。図1は本発明の光学的文字読取装置の一実施例
を示したブロック図である。1は原稿上の文字や画像を
光電変換してイメージデータとするスキャナ、2はスキ
ャナ1で一枚の帳票を読み取った際に得られるイメージ
データ(文字データ)を格納するシートバッファ、3は
シートバッファ2に格納されたイメージデータからフィ
ールド単位でイメージデータを切り出し、切り出したイ
メージデータをフィールドバッファ4に格納するフィー
ルド切出部、4はフィールド単位でイメージデータを格
納するフィールドバッファ、5はフィールドバッファ4
に格納されている文字の種類が手書き文字であるか、活
字であるかを判定する文字種判定部、6はフィールドバ
ッファ4内の文字データを認識する認識部、7は手書き
文字を認識する場合に認識部6により使用される手書き
辞書、8は活字を認識する場合に認識部6により使用さ
れる活字辞書、9は認識部6により文字認識された結果
などを表示するディスプレイ、10は装置への各種動作
指示やデータの入力或いは修正文字等の入力を行うキー
ボード、11は装置全体を制御すると共に装置を構成す
る各機能ブロックを制御する制御部である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the optical character reading device of the present invention. Reference numeral 1 is a scanner for photoelectrically converting characters and images on a document into image data, 2 is a sheet buffer for storing image data (character data) obtained when one sheet is read by the scanner 1, and 3 is a sheet A field cutout unit that cuts out image data from the image data stored in the buffer 2 in field units and stores the cut out image data in the field buffer 4, 4 is a field buffer that stores image data in field units, and 5 is a field buffer Four
The character type determination unit that determines whether the type of the character stored in is a handwritten character or a printed character, 6 is a recognition unit that recognizes the character data in the field buffer 4, and 7 is a character recognition unit that recognizes the handwritten character. A handwritten dictionary used by the recognition unit 6, 8 is a type dictionary used by the recognition unit 6 when recognizing a type, 9 is a display for displaying the result of character recognition by the recognition unit 6, and 10 is a device A keyboard 11 is used for inputting various operation instructions, data input, correction characters, and the like. Reference numeral 11 is a control unit for controlling the entire apparatus and each functional block constituting the apparatus.

【0009】次に本実施例の動作について説明する。手
書き文字と活字が混在して記載されている帳票をスキャ
ナ1が読み取ると、読み取られたイメージデータ(文字
データ)はシートバッファ2に格納される。その後、フ
ィールド切出部3はシートバッファ2に格納されたイメ
ージデータの中の最初のフィールド内のイメージデータ
を切り出して、切り出したイメージデータをフィールド
バッファ4に格納する。文字種判定部5はフィールドバ
ッファ4内に格納された文字データを一つずつ切り出
し、切り出した各文字データの高さhi (i=1、…、
N)を求める。ここで、Nは前記フィールド内の文字の
数である。
Next, the operation of this embodiment will be described. When the scanner 1 reads a form in which handwritten characters and printed characters are mixed, the read image data (character data) is stored in the sheet buffer 2. After that, the field cutout unit 3 cuts out the image data in the first field of the image data stored in the sheet buffer 2 and stores the cut out image data in the field buffer 4. The character type determination unit 5 cuts out the character data stored in the field buffer 4 one by one, and the height h i (i = 1, ...
N) is calculated. Where N is the number of characters in the field.

【0010】次に文字種判定部5は上記のようにして求
めたフィールド内の図2に示すような各文字データの高
さhi のばらつきdを求める。このばらつきdは、例え
ば、前記文字の中で最大の高さと最小の高さの差として
定義することができる。この場合、d=maxhi −m
inhi となる。この式に基づいて、前記文字種判定部
5はばらつきdを求め、更に予め定められている閾値D
と前記dを比較する。この結果、d≧Dであればフィー
ルドバッファ4内の文字データは手書き文字であると判
定して、これを認識部6に知らせる。又、d<Dであれ
ば、フィールドバッファ4内の文字データは活字である
と判断して、これを認識部6に知らせる。認識部6はフ
ィールドバッファ4内の文字データを認識する際に、文
字種判定部5から手書き文字であることを知らされる
と、手書き辞書7を用いて前記文字データを文字認識
し、活字であることを知らされると、活字辞書8を用い
て前記文字データを文字認識して、その結果をディスプ
レイ9に表示する。フィールド切出部5は一つのフィー
ルド内の文字データの認識が終了すると、シートバッフ
ァ2から次のフィールドを切り出して、このフィールド
内の文字データをフィールドバッファ4に格納する。以
降は上記した文字種判定部5の文字種の判定結果に従っ
た認識部6の文字認識動作が行われる。こうして、前記
シートバッファ2内に格納されている全てのフィールド
内の文字データの認識が行われ、1枚の帳票の読み取り
が終了する。
Next, the character type determination unit 5 obtains the variation d of the height h i of each character data in the field obtained as described above as shown in FIG. This variation d can be defined as, for example, the difference between the maximum height and the minimum height of the characters. In this case, d = maxh i -m
the inh i. Based on this equation, the character type determination unit 5 obtains the variation d, and further determines a predetermined threshold value D.
And d are compared. As a result, if d ≧ D, it is determined that the character data in the field buffer 4 is a handwritten character, and the recognition unit 6 is notified of this. If d <D, it is determined that the character data in the field buffer 4 is a printed character, and the recognition unit 6 is notified of this. When the recognition unit 6 recognizes the handwritten character from the character type determination unit 5 when recognizing the character data in the field buffer 4, the recognition unit 6 character-recognizes the character data by using the handwriting dictionary 7 and forms a character. When this is notified, the character data is recognized using the type dictionary 8 and the result is displayed on the display 9. When the recognition of the character data in one field is completed, the field cutout unit 5 cuts out the next field from the sheet buffer 2 and stores the character data in this field in the field buffer 4. After that, the character recognition operation of the recognition unit 6 is performed according to the character type determination result of the character type determination unit 5 described above. In this way, the character data in all the fields stored in the sheet buffer 2 are recognized, and the reading of one sheet is completed.

【0011】本実施例によれば、手書き文字と活字とが
混在して記載されている帳票の読み取りの際に、フィー
ルド単位でフィールド内の文字が手書か、或いは活字か
を文字種判定部5によって行っているため、認識部6は
文字種判定部5の判定結果に従って手書辞書7か、或る
いは活字辞書8かのいずれかを用いて前記文字を一回だ
け認識する処理を行えばよく、且つ、従来必要であった
認識結果の類似度値の平均値の計算を必要としないの
で、前記認識部6の認識処理にかかる時間を大幅に短く
することができ、これにより、手書き文字と活字とが混
在して記載されている帳票の読み取り速度を向上させる
ことができる。尚、フィールドバッファ4内の文字数が
所定値(例えば2)に満たない場合は、前記文字種の判
別を従来の方法で行うものとする。
According to the present embodiment, when reading a form in which handwritten characters and printed characters are mixed and written, it is determined by the character type determination unit 5 whether the characters in the field are handwritten or printed by the unit of field. Therefore, the recognition unit 6 may perform the process of recognizing the character only once using either the handwriting dictionary 7 or the type dictionary 8 according to the determination result of the character type determination unit 5, In addition, since it is not necessary to calculate the average value of the similarity values of the recognition result, which is conventionally required, the time required for the recognition processing of the recognition unit 6 can be significantly shortened, which allows handwritten characters and printed characters to be printed. It is possible to improve the reading speed of the form in which and are mixed. When the number of characters in the field buffer 4 is less than a predetermined value (for example, 2), the character type is discriminated by the conventional method.

【0012】[0012]

【発明の効果】以上記述した如く本発明の光学的文字読
取装置によれば、被読み取り文字が手書き文字であるか
或いは活字であるかを迅速に判断して、手書き文字と活
字が混在して記載されている帳票の読み取り速度を向上
させることができる。
As described above, according to the optical character reading apparatus of the present invention, it is possible to quickly judge whether the read character is a handwritten character or a printed character, and the handwritten character and the printed character are mixed. It is possible to improve the reading speed of the written form.

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

【図1】本発明の光学的文字読取装置の一実施例を示し
たブロック図。
FIG. 1 is a block diagram showing an embodiment of an optical character reading device of the present invention.

【図2】図1に示したフィールドバッファ内の文字デー
タ例とその高さを示した図。
FIG. 2 is a view showing an example of character data in the field buffer shown in FIG. 1 and its height.

【符号の説明】[Explanation of symbols]

1…スキャナ 2…シートバッフ
ァ 3…フィールド切出部 4…フィールドバ
ッファ 5…文字種判定部 6…認識部 7…手書き辞書 8…活字辞書 9…ディスプレイ 10…キーボード 11…制御部
DESCRIPTION OF SYMBOLS 1 ... Scanner 2 ... Sheet buffer 3 ... Field cutout section 4 ... Field buffer 5 ... Character type determination section 6 ... Recognition section 7 ... Handwritten dictionary 8 ... Type dictionary 9 ... Display 10 ... Keyboard 11 ... Control section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 手書き文字と活字とが混在して記載され
ている帳票をスキャナによって読み取って得た文字デー
タを、手書き辞書又は活字辞書のいずれかを用いて文字
認識する光学的文字認識装置において、前記文字データ
からフィールド単位で各文字データを切り出す切出手段
と、この切出手段によって切出された各文字データの高
さに基づいて、これら各文字データが手書き文字である
か或いは活字であるかを判定する判定手段と、この判定
手段によって前記各文字データが手書きであると判定さ
れた場合はこれら文字データを前記手書き辞書を用いて
文字認識を行い、活字であると判定された場合はこれら
文字データを前記活字辞書を用いて文字認識を行う認識
手段とを具備したことを特徴とする光学的文字読取装
置。
1. An optical character recognition device for recognizing character data obtained by scanning a form in which handwritten characters and printed characters are mixed by a scanner with a handwritten dictionary or a printed dictionary. Based on the cutting means for cutting out each character data from the character data in units of fields and the height of each character data cut out by this cutting means, each of these character data is a handwritten character or a printed character. When it is determined that the character data is handwritten by the determination unit that determines whether or not there is a character, the character data is subjected to character recognition using the handwriting dictionary, and when it is determined that the character data is in print. An optical character reader comprising a recognition means for recognizing these character data using the type dictionary.
JP4004479A 1992-01-14 1992-01-14 Optical character reader Withdrawn JPH05189604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4004479A JPH05189604A (en) 1992-01-14 1992-01-14 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4004479A JPH05189604A (en) 1992-01-14 1992-01-14 Optical character reader

Publications (1)

Publication Number Publication Date
JPH05189604A true JPH05189604A (en) 1993-07-30

Family

ID=11585248

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4004479A Withdrawn JPH05189604A (en) 1992-01-14 1992-01-14 Optical character reader

Country Status (1)

Country Link
JP (1) JPH05189604A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100658119B1 (en) * 1998-12-16 2006-12-15 후지쯔 가부시끼가이샤 Apparatus and Method for Recognizing Character
CN100428271C (en) * 2005-09-22 2008-10-22 夏普株式会社 Image judging method, image processing device, and image output device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100658119B1 (en) * 1998-12-16 2006-12-15 후지쯔 가부시끼가이샤 Apparatus and Method for Recognizing Character
CN100428271C (en) * 2005-09-22 2008-10-22 夏普株式会社 Image judging method, image processing device, and image output device

Similar Documents

Publication Publication Date Title
US6970601B1 (en) Form search apparatus and method
US4933979A (en) Data reading apparatus for reading data from form sheet
US20110280481A1 (en) User correction of errors arising in a textual document undergoing optical character recognition (ocr) process
JPH1139428A (en) How to correct the orientation of document video
EP0381773B1 (en) Character recognition apparatus
EP0741487A2 (en) Method and apparatus for performing text/image segmentation
US5625710A (en) Character recognition apparatus using modification of a characteristic quantity
EP2545498B1 (en) Resolution adjustment of an image that includes text undergoing an ocr process
JPH11203411A (en) Document reader
JP2894111B2 (en) Comprehensive judgment method of recognition result in optical type character recognition device
JP2963474B2 (en) Similar character identification method
JP2747136B2 (en) Character recognition device
JPH03217993A (en) Character size recognizer
JP3277977B2 (en) Character recognition method
JPH08249421A (en) Reversed character recognition method
JP2000048191A (en) Image processing method and medium recording image processing program
JP4270767B2 (en) Ruled line information processing method, ruled line information processing program, image processing apparatus, and storage medium
JP3045086B2 (en) Optical character reading method and apparatus
JP2001344567A (en) CHARACTER RECOGNITION DEVICE, METHOD THEREOF, AND RECORDING MEDIUM CONTAINING PROGRAM FOR IMPLEMENTING THE METHOD
JPH05128305A (en) Area division method
JPH0432985A (en) Character recognition device
JPH03290773A (en) Character type deciding device and character recognizing device
JPH06337960A (en) Table recognizing device
JPH05182025A (en) Character recognition device
JPH07296101A (en) Character reader

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990408