JPH0844821A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPH0844821A
JPH0844821A JP6197382A JP19738294A JPH0844821A JP H0844821 A JPH0844821 A JP H0844821A JP 6197382 A JP6197382 A JP 6197382A JP 19738294 A JP19738294 A JP 19738294A JP H0844821 A JPH0844821 A JP H0844821A
Authority
JP
Japan
Prior art keywords
color
image
character
unit
same
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6197382A
Other languages
Japanese (ja)
Inventor
Isao Sugano
功 菅野
Koji Ito
晃治 伊東
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6197382A priority Critical patent/JPH0844821A/en
Publication of JPH0844821A publication Critical patent/JPH0844821A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Character Input (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To remove unwanted parts even when there are plural kinds of dropout colors by extracting a character image at the previously decided position of a form while using the color component of a mark entered by using a writing tool used for the entering of the form. CONSTITUTION:A scanning part 11 optically scans the surface of a entered form 4, adds a common value to the same color and outputs it to a same color deciding part 12. At the same color deciding part 12, the table value of a part corresponding to the image of a mark entering part 2 is outputted to a character recognizing part 14, the table value of the mark entering part 2 is compared with the table value of a color picture image, and the result is stored in an image storage part 13. At the character recognizing part 14, the table value corresponding to the character color of the entered form 4 provided from the same color deciding part 12 is outputted, character recognizing processing is performed to the image for each from the binarized image of a reading object character 5 stored in the image storage part 13, and the result is outputted.

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 for reading out only characters by erasing the character entry frame from a form in which the character entry frame is recorded using various colors.

【0002】[0002]

【従来の技術】従来、この種の光学的文字読取装置で
は、所定の光学的フィルタを用いて、例えば文字記入枠
の色等、文字以外の不必要な部分の色(以下、これを
「ドロップアウトカラー」と呼ぶ)を取り除いたイメー
ジを取り込んだ後、文字認識を行っていた。しかしなが
ら、上述した方法では、光学的特性を利用してドロップ
アウトカラーを消去するため、ドロップアウトカラーは
予め決められた単色しか用いることができず、帳票作成
上の自由度が少ないと言う欠点があった。そこで、この
欠点を解決するため、例えば特開平2−287892号
公報に示される光学的文字認識装置が提案されている。
2. Description of the Related Art Conventionally, in this type of optical character reader, a predetermined optical filter is used to color unnecessary portions other than characters (hereinafter, referred to as "drop"). The character recognition was performed after the image without the "out color" was captured. However, in the above-described method, since the dropout color is erased by utilizing the optical characteristics, it is possible to use only a predetermined single color as the dropout color, and there is a drawback that the degree of freedom in creating a form is small. there were. Therefore, in order to solve this drawback, for example, an optical character recognition device disclosed in Japanese Patent Application Laid-Open No. 2-287892 has been proposed.

【0003】この特開平2−287892号公報に示さ
れる光学的文字認識装置では、まずカラースキャナで帳
票のイメージを取り込み、この取り込まれたイメージを
R(赤),G(緑),B(青)毎にイメージメモリに格
納する。次に、読み取った帳票のイメージを表示し、ま
たこの表示結果に対してオペレータから不要部分と背景
部を指示して、R,G,B各部の論理積により不要部分
除去のフィルタを得る。このとき帳票番号、帳票内の読
み取り領域もオペレータより得、その不要部分除去のフ
ィルタと関連づけて格納される。最後に認識動作時に帳
票イメージに対し上記フィルタをかけて2値化すること
により文字部分のみのイメージを取り出し認識を行う。
In the optical character recognition apparatus disclosed in Japanese Unexamined Patent Publication No. 2-287892, a color scanner first captures an image of a form, and the captured image is R (red), G (green), B (blue). Each) in the image memory. Next, the image of the read form is displayed, and the operator designates the unnecessary portion and the background portion with respect to the display result, and the filter for removing the unnecessary portion is obtained by the logical product of the R, G, and B portions. At this time, the form number and the reading area in the form are also obtained from the operator and stored in association with the filter for removing the unnecessary portion. Finally, at the time of recognition operation, the above-mentioned filter is applied to the form image and binarized to extract the image of only the character portion for recognition.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た従来の光学的文字認識装置では、フィルタを決定する
のにオペレータが事前に不要部分の指示を行わなければ
ならないため、オペレータの作業効率が悪いと言う問題
点があった。また、最終的には、読み取り対象文字の認
識結果のみが得られる形になっているため、読み取り対
象文字の色に関する情報を有効に用いることができなか
った。
However, in the above-described conventional optical character recognition device, the operator has to give an instruction of an unnecessary portion in advance in order to determine the filter, so that the working efficiency of the operator is poor. There was a problem to say. Further, since only the recognition result of the read target character is finally obtained, the information regarding the color of the read target character cannot be effectively used.

【0005】本発明は、上記問題点に鑑みてなされたも
のであり、その目的はドロップアウトカラーが複数種類
あっても、オペレータから指示を行わなくても不要部分
の除去を行うことができ、さらに読み取り対象文字の色
に関する情報を有効に活用できる光学的文字読取装置を
提供することにある。
The present invention has been made in view of the above problems, and an object of the present invention is to remove unnecessary portions even if there are plural kinds of dropout colors and no instruction is given from an operator. Another object of the present invention is to provide an optical character reading device that can effectively utilize the information about the color of the character to be read.

【0006】[0006]

【課題を解決するための手段】この目的は、本発明にあ
っては、請求項1に記載されるように、帳票からカラー
画像イメージを取り込む走査手段と、前記帳票に予め一
箇所に設けられたマーク記入領域の文字・図形を、前記
走査手段により読み取り対象文字の読み取り以前に取り
込むことによって得られる色成分と同色の色成分を、前
記走査手段で取り込まれる前記帳票のカラー画像イメー
ジの色成分から、前記カラー画像イメージの取り込みと
同時に順次抽出する同色抽出手段と、前記同色抽出手段
により抽出されたイメージに基づいて前記帳票の文字を
認識する文字認識手段とを備え、前記文字認識手段によ
り認識された文字に対応する色成分を前記帳票毎に出力
する構成とすることによって達成される。
According to the present invention, the object is to provide a scanning means for capturing a color image image from a form, and the form provided in advance in one place on the form. The color components of the color image image of the form captured by the scanning unit are color components obtained by capturing the characters / graphics in the mark writing area by the scanning unit before reading the target character. From the above, the same color extracting means for sequentially extracting the color image images at the same time as the capturing and the character recognizing means for recognizing the characters of the form based on the image extracted by the same color extracting means are provided, and are recognized by the character recognizing means. This is achieved by the configuration in which the color component corresponding to the generated character is output for each form.

【0007】また、この目的は、本発明にあっては、請
求項2に記載されるように、帳票からカラー画像イメー
ジを取り込む走査手段と、前記帳票に予め一箇所に設け
られたマーク記入領域の文字・図形を、前記走査手段に
より読み取り対象文字の読み取り以前に取り込むことに
よって得られる色成分と同色の色成分を、前記走査手段
で取り込まれる前記帳票のカラー画像イメージの色成分
から、前記カラー画像イメージの取り込みと同時に順次
抽出する同色抽出手段と、前記同色抽出手段により抽出
されたイメージに基づいて前記帳票の文字を認識する文
字認識手段とを備え、前記文字認識手段により認識され
た文字に対応する色成分を文字単位で出力する構成とす
ることによって達成される。
Further, according to the present invention, the object is to provide a scanning means for capturing a color image image from a form and a mark writing area provided in advance at one place on the form. From the color components of the color image image of the form captured by the scanning unit, the color component having the same color as the color component obtained by capturing the character / figure of FIG. The same color extraction means for sequentially extracting simultaneously with the capturing of the image image and the character recognition means for recognizing the characters of the form based on the image extracted by the same color extraction means are provided, and the characters recognized by the character recognition means are recognized. This is achieved by making the corresponding color components output character by character.

【0008】また、この目的は、本発明にあっては、請
求項3に記載されるように、帳票からカラー画像イメー
ジを取り込む走査手段と、前記カラー画像イメージの色
成分を記憶する記憶手段と、前記帳票に予め一箇所に設
けられたマーク記入領域の色成分と同色の色成分を、前
記記憶手段で取り込まれる前記帳票のカラー画像イメー
ジの色成分から抽出する同色抽出手段と、前記同色抽出
手段により抽出されたイメージに基づいて前記帳票の文
字を認識する文字認識手段とを備え、前記文字認識手段
により認識された文字に対応する色成分を前記帳票毎に
出力する構成とすることによって達成される。
Further, according to the present invention, there is provided a scanning means for taking in a color image image from a form and a storage means for storing color components of the color image image. A same-color extracting unit that extracts a color component having the same color as the color component of the mark writing area provided in advance in one place on the form from the color component of the color image image of the form captured by the storage unit; Achieved by providing a character recognition means for recognizing the characters of the form based on the image extracted by the means, and outputting a color component corresponding to the character recognized by the character recognition means for each of the forms. To be done.

【0009】また、この目的は、本発明にあっては、請
求項4に記載されるように、帳票からカラー画像イメー
ジを取り込む走査手段と、前記カラー画像イメージの色
成分を記憶する記憶手段と、前記帳票に予め一箇所に設
けられたマーク記入領域の色成分と同色の色成分を、前
記記憶手段で取り込まれる前記帳票のカラー画像イメー
ジの色成分から抽出する同色抽出手段と、前記同色抽出
手段により抽出されたイメージに基づいて前記帳票の文
字を認識する文字認識手段とを備え、前記文字認識手段
により認識された文字に対応する色成分を前記文字単位
で出力する構成とすることによって達成される。
Further, according to the present invention, there is provided a scanning means for taking in a color image image from a form, and a storage means for storing color components of the color image image. A same-color extracting unit that extracts a color component having the same color as the color component of the mark writing area provided in advance in one place on the form from the color component of the color image image of the form captured by the storage unit; Achieved by providing a character recognition means for recognizing the characters of the form based on the image extracted by the means, and outputting a color component corresponding to the character recognized by the character recognition means in the character unit. To be done.

【0010】また、この目的は、本発明にあっては、請
求項5に記載されるように、帳票からカラー画像イメー
ジを取り込む走査手段と、前記帳票に予め複数箇所に設
けられたマーク記入領域の複数の文字・図形を、前記走
査手段により読み取り対象文字の取り込み以前に取り込
むことによって得られる複数の色成分を記憶し、この記
憶された複数の色成分と、前記走査手段で取り込まれる
前記帳票のカラー画像イメージの色成分とを比較し、同
色の色成分を前記カラー画像イメージの取り込みと同時
に順次抽出する同色抽出手段と、前記同色抽出手段によ
り抽出されたイメージに基づいて前記帳票の文字を認識
する文字認識手段とを備え、前記文字認識手段により認
識された文字に対応する色成分を前記文字単位で出力す
る構成とすることによって達成される。
Further, according to the present invention, as described in claim 5, there is provided a scanning means for taking in a color image image from a form and a mark writing area provided in advance at a plurality of positions on the form. A plurality of color components obtained by capturing the plurality of characters / figures before the capture of the character to be read by the scanning means, and the stored plurality of color components and the form captured by the scanning means. Comparing the color components of the color image image of, the same color extraction means for sequentially extracting the color components of the same color at the same time as capturing the color image image, and the characters of the form based on the image extracted by the same color extraction means. Character recognition means for recognizing, and a color component corresponding to the character recognized by the character recognition means is output in units of the characters. Thus it is achieved.

【0011】また、この目的は、本発明にあっては、請
求項6に記載されるように、帳票からカラー画像イメー
ジを取り込む走査手段と、前記カラー画像イメージの色
成分を記憶する記憶手段と、前記帳票に予め複数箇所に
設けられたマーク記入領域の複数の色成分を記憶し、こ
の記憶された複数の色成分と、前記記憶手段で取り込ま
れる前記帳票のカラー画像イメージの色成分とを比較
し、同色の色成分を順次抽出する同色抽出手段と、前記
同色抽出手段により抽出されたイメージに基づいて前記
帳票の文字を認識する文字認識手段とを備え、前記文字
認識手段により認識された文字に対応する色成分を前記
文字単位で出力する構成とすることによって達成され
る。
Further, according to the present invention, as described in claim 6, there is provided a scanning means for taking in a color image image from a form, and a storage means for storing color components of the color image image. , Storing a plurality of color components of a mark writing area provided at a plurality of locations in advance on the form, and storing the plurality of stored color components and the color components of the color image image of the form captured by the storage means. The same color extraction means for comparing and sequentially extracting color components of the same color, and a character recognition means for recognizing the characters of the form based on the image extracted by the same color extraction means are provided, and are recognized by the character recognition means. This is achieved by the configuration in which the color component corresponding to the character is output in the character unit.

【0012】[0012]

【作用】この各構成によれば、予め帳票上の決められた
位置に、帳票記入者が帳票記入時に使用した筆記具を用
いて記入したマークあるいは印刷する文字の色で印刷し
たマークの色成分を用いて文字イメージを抽出するた
め、高精度に文字イメージの抽出ができると同時に、文
字記入枠の色以外の色であればあらゆる色の文字の認識
も可能となる。また、文字以外の不要部分をオペレータ
が指示するといった作業も全く行う必要がないため、作
業効率の面でも有利となる。さらに、読み取り対象文字
の色に関するデータを文字毎あるいは帳票毎に文字認識
結果と同時に出力するため、各帳票内の文字単位に文字
色に対応した分類・集計を行ったり、帳票毎に帳票の種
類により文字色を設定しておくことにより、各帳票の文
字色別に分類・集計を行うといった、文字の色情報を有
効に用いたシステム等を構築することも可能になる。
According to each of the above constructions, the color component of the mark filled in with the writing tool used by the person who filled out the form or the mark printed in the color of the character to be printed is set at a predetermined position on the form. Since the character image is extracted by using the character image, the character image can be extracted with high accuracy, and at the same time, the character of any color other than the color of the character entry frame can be recognized. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. In addition, since the data related to the color of the characters to be read is output at the same time as the character recognition results for each character or each form, classification and aggregation corresponding to the character color is performed for each character in each form, and the form type for each form By setting the character color according to, it is possible to construct a system or the like that effectively uses the color information of the character, such as classifying and totaling according to the character color of each form.

【0013】[0013]

【実施例】以下、本発明の実施例について図面を用いて
詳細に説明する。図1は、本発明の第1の実施例として
示す光学的文字読取装置の構成を示すブロック図であ
る。図1において、この光学的文字読取装置は、走査部
11と、同色判定部12と、イメージ記憶部13と、文
字認識部14で構成されている。
Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the optical character reading device shown as the first embodiment of the present invention. In FIG. 1, this optical character reading device includes a scanning unit 11, a same-color determination unit 12, an image storage unit 13, and a character recognition unit 14.

【0014】さらに詳述すると、走査部11は、帳票上
を走査し、この帳票から各画素のR(赤),G(緑),
B(青)3色のカラー画像イメージを取り込み、同一色
系に対し共通の値(以下、これを「テーブル値」と呼
ぶ)を付与する。同色判定部12は、帳票に予め設けら
れた後述するマーク記入部2(図2及び図3参照)に、
帳票記入時に記入された使用筆記具によるマークの部分
を取り込むことにより得られるテーブル値と、走査部1
1で取り込まれるカラー画像イメージのテーブル値とを
比較し、同一の場合は“1”を、また相違している場合
は“0”を出力し、同時にマーク記入部2のテーブル値
を出力する。イメージ記憶部13は、上記同色判定部1
2からのマーク記入部2のテーブル値以外の出力を格納
する。文字認識部14は、イメージ記憶部13に格納さ
れている文字の2値化イメージから1文字単位に文字の
イメージを切り出し、この切り出された1文字単位の文
字のイメージを認識し、この文字認識結果と同色判定部
12から得られるマーク記入部2のテーブル値を出力す
る。
More specifically, the scanning unit 11 scans the form, and from this form, R (red), G (green),
A color image of three colors of B (blue) is taken in, and common values (hereinafter, referred to as “table values”) are given to the same color system. The same-color determination unit 12 uses a mark writing unit 2 (see FIGS. 2 and 3), which will be described later, provided on the form,
The table value obtained by capturing the part of the mark by the writing instrument used when filling the form, and the scanning unit 1
The table values of the color image image captured in 1 are compared, and if they are the same, "1" is output, and if they are different, "0" is output, and at the same time, the table value of the mark writing section 2 is output. The image storage unit 13 includes the same-color determination unit 1 described above.
The output other than the table value of the mark writing unit 2 from 2 is stored. The character recognition unit 14 cuts out a character image for each character from the binarized image of the character stored in the image storage unit 13, recognizes the cut out character image for each character, and recognizes this character. The table value of the mark writing unit 2 obtained from the same color determination unit 12 as the result is output.

【0015】図2及び図3は本発明に係る第1の実施例
で使用する帳票の一例を示すものであり、図2は何も記
入していない状態である未記入帳票1を示す図で、図3
は未記入帳票1に対し、帳票記入者が必要項目を記入し
た記入済み帳票4を示す図である。そして、未記入帳票
1には、帳票記入筆記具にて塗りつぶす、あるいは印刷
する文字の色にて塗りつぶすマーク記入部2及び任意の
ドロップアウトカラーによる文字の記入領域を示す文字
記入枠3が予め印刷されている。一方、記入済み帳票4
は、マーク記入部2が筆記者により使用筆記具にて塗り
つぶされており、また文字記入枠3内には読み取り対象
文字5が記入されている。そして、本実施例では、文字
記入枠3は黒色、帳票用紙の地色は白色、読み取り対象
文字5は青色の筆記具でそれぞれ記入されており、マー
ク記入部2は読み取り対象文字5と同一の筆記具にて青
色に塗りつぶされている。
2 and 3 show an example of a form used in the first embodiment according to the present invention, and FIG. 2 is a diagram showing an unfilled form 1 in a state in which nothing is entered. , Fig. 3
FIG. 3 is a diagram showing a filled-in form 4 in which a person who fills out the form fills in necessary items for the unfilled form 1. The blank form 1 is preliminarily printed with a mark writing area 2 to be filled with a form writing tool or to be filled with a color of a character to be printed and a character entry frame 3 showing an entry area of a character with an arbitrary dropout color. ing. On the other hand, completed form 4
The mark entry portion 2 is filled with a writing tool used by the writer, and the reading target character 5 is entered in the character entry frame 3. In the present embodiment, the character entry frame 3 is black, the background color of the form sheet is white, and the reading target character 5 is blue. The mark writing section 2 is the same writing tool as the reading target character 5. Is painted in blue.

【0016】図4は、記入済み帳票4のカラー画像イメ
ージを取り込む際の主走査方向X及び副走査方向Yを示
す図である。
FIG. 4 is a diagram showing the main scanning direction X and the sub scanning direction Y when the color image image of the completed form 4 is captured.

【0017】そこで、図1乃至図4を用いて本発明の第
1の実施例の動作を次に説明すると、まず走査部11
は、記入済み帳票4上を図4に示す主走査方向X及び副
走査方向Yに光学的に走査して、R,G,B3色のイメ
ージを順次取り込み、同一色系に対し共通の値を付与
し、同色判定部12に出力する。具体的には、黒系の色
の画素には“0”、赤系の色の画素には“1”、緑系の
色の画素には“2”、青系の色の画素には“3”、白系
の色の画素には“4”といった数値が付与される。ま
た、この際、マーク記入部2は文字記入枠3より上方に
位置しているため、先にイメージが取り込まれ、テーブ
ル値が付与される。
The operation of the first embodiment of the present invention will be described below with reference to FIGS. 1 to 4. First, the scanning section 11 will be described.
Automatically scans the completed form 4 in the main scanning direction X and the sub-scanning direction Y shown in FIG. 4 to sequentially capture R, G, and B three-color images, and set common values for the same color system. It is given and output to the same color determination unit 12. Specifically, "0" is assigned to black-colored pixels, "1" is assigned to red-colored pixels, "2" is assigned to green-colored pixels, and "2" is assigned to blue-colored pixels. Numerical values such as "3" and "4" are assigned to pixels of white color. Further, at this time, since the mark writing portion 2 is located above the character writing frame 3, the image is first captured and the table value is given.

【0018】走査部11により記入済み帳票4のマーク
記入部2の部分のイメージに該当する部分のテーブル値
が出力されると、それ以降、同色判定部12ではマーク
記入部2のイメージに該当する部分のテーブル値を、文
字認識部14に出力するとともに、マーク記入部2のテ
ーブル値と、マーク記入部2の取り込み以降に取り込ま
れるカラー画像イメージのテーブル値とを比較し、同一
のテーブル値である場合は“1”を同一ではない場合は
“0”をイメージ記憶部13に格納する。すなわち、本
実施例では、マーク記入部2に該当する部分のテーブル
値は青色に対応する“3”であるので、文字認識部14
にテーブル値として“3”を出力するとともに、イメー
ジ記憶部13には、マーク記入部2の取り込み以降に取
り込まれるカラー画像イメージのテーブル値のうち、マ
ーク記入部2のテーブル値と同じ“3”である部分に
“1”を格納し、それ以外の部分には“0”を格納す
る。
When the scanning unit 11 outputs the table value of the portion corresponding to the image of the mark writing unit 2 of the completed form 4, the same color determination unit 12 thereafter corresponds to the image of the mark writing unit 2. The table value of the portion is output to the character recognition unit 14, and the table value of the mark writing unit 2 is compared with the table value of the color image image taken after the mark writing unit 2 is loaded, and the same table value is used. If there is one, "1" is stored in the image storage unit 13, and if not "0". That is, in the present embodiment, the table value of the portion corresponding to the mark writing section 2 is "3" corresponding to blue, so the character recognition section 14
"3" is output as a table value to the image storage unit 13, and the image storage unit 13 stores the same "3" as the table value of the mark writing unit 2 among the table values of the color image images fetched after the mark writing unit 2 is loaded. "1" is stored in the part that is, and "0" is stored in the other parts.

【0019】図5は、同色判定部12による処理が、全
てのマーク記入部2の取り込み以降に取り込まれるカラ
ー画像イメージのテーブル値について終了した時の、最
終的にイメージ記憶部13に格納される結果をイメージ
的に示したものである。図5に示すように、イメージ記
憶部13には、読み取り対象文字5の2値化イメージが
格納されることになる。
FIG. 5 is finally stored in the image storage unit 13 when the processing by the same color determination unit 12 is completed for the table values of the color image images that have been captured after all the mark writing units 2 have been captured. The result is shown as an image. As shown in FIG. 5, the image storage unit 13 stores the binarized image of the read target character 5.

【0020】文字認識部14では、同色判定部12から
得られた記入済み帳票4の文字色に対応するテーブル値
“3”を出力するとともに、周知の方法によりイメージ
記憶部13に格納されている読み取り対象文字5の2値
化イメージから1文字毎のイメージを切り出し、この切
り出された1文字毎のイメージに対し周知の方法により
文字認識処理を行い、結果を出力する。
The character recognition unit 14 outputs the table value "3" corresponding to the character color of the completed form 4 obtained from the same color determination unit 12 and is stored in the image storage unit 13 by a well-known method. An image of each character is cut out from the binarized image of the read target character 5, the cut-out image of each character is subjected to character recognition processing by a known method, and the result is output.

【0021】したがって、この第1の実施例の光学的文
字読取装置によれば、予め帳票上の決められた位置に、
帳票記入者が帳票記入時に使用した筆記具を用いて記入
したマークのテーブル値を用いて文字イメージを抽出す
るため、高精度に文字イメージの抽出ができると同時
に、文字記入枠3の色以外の色であればあらゆる色の文
字の認識も可能となる。また、文字以外の不要部分をオ
ペレータが指示するといった作業も全く行う必要がない
ため、作業効率の面でも有利となる。さらに、マーク記
入部2のテーブル値を、読み取り対象文字5のテーブル
値の取り込みに先行して取り込むことにより、2値化の
条件を事前に決定することができるため、帳票のイメー
ジを取り込むと同時に2値化することが可能となり、高
速な文字認識が可能となる。また、さらに読み取り対象
文字5の色に関するデータを帳票単位に文字認識結果と
同時に出力するため、帳票毎に帳票の種類により文字色
を設定しておくことにより、各帳票の文字色別に分類・
集計を行うといった、文字の色情報を有効に用いたシス
テム等を構築することも可能である。
Therefore, according to the optical character reading device of the first embodiment, the optical character reading device is provided at a predetermined position on the form.
Since the character image is extracted using the table values of the marks entered by the person who filled out the form using the writing instrument used when filling out the form, the character image can be extracted with high accuracy, and at the same time, the color other than the color of the character entry frame 3 can be extracted. If so, it is possible to recognize characters of all colors. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. Furthermore, since the binarization condition can be determined in advance by loading the table value of the mark writing unit 2 prior to loading the table value of the read target character 5, at the same time when the image of the form is loaded. Binarization is possible, and high-speed character recognition is possible. In addition, since the data related to the color of the read target character 5 is output at the same time as the character recognition result for each form, by setting the character color for each form according to the type of form, it is possible to sort by the character color of each form.
It is also possible to construct a system or the like that effectively uses the color information of characters, such as totaling.

【0022】なお、この第1の実施例では、この構造に
限定されることなく、次の(1)〜(3)に記述するよ
うな変形が可能となる。 (1)走査部11において、記入済み帳票4のカラー画
像イメージを各色毎に所定のテーブル値に変換する場合
について説明したが、本発明はこれに限定されるもので
はなく、例えば記入済み帳票4のマーク記入部2に該当
する部分のR,G,B値をそのまま出力するとともに、
この値を用いて読み取り対象文字5を抽出するといった
方法を用いても良い。(2)また、本実施例では、文字
記入枠3として1種類の色を用いた場合を示したが、複
数種類の色の文字記入枠を同一帳票上で用いても良い。 (3)さらに、本実施例では、帳票毎に文字色に対応す
るテーブル値を出力する場合について説明したが、文字
毎に文字色に対応するテーブル値を出力しても良いもの
である。
The first embodiment is not limited to this structure and can be modified as described in the following (1) to (3). (1) The case where the scanning unit 11 converts the color image image of the filled-in form 4 into a predetermined table value for each color has been described, but the present invention is not limited to this. While outputting the R, G, B values of the part corresponding to the mark entry part 2 of
A method of extracting the read target character 5 using this value may be used. (2) Further, in the present embodiment, the case where one kind of color is used as the character entry frame 3 is shown, but character entry frames of a plurality of kinds of colors may be used on the same form. (3) Further, in the present embodiment, the case has been described in which the table value corresponding to the character color is output for each form, but the table value corresponding to the character color may be output for each character.

【0023】図6は、本発明の第2の実施例として示す
光学的文字読取装置の構成を示すブロック図である。図
6において、この光学的文字読取装置は、走査部21
と、テーブル値記憶部22と、同色判定部23と、イメ
ージ記憶部24と、文字認識部25で構成されている。
FIG. 6 is a block diagram showing the configuration of the optical character reading device shown as the second embodiment of the present invention. In FIG. 6, the optical character reading device includes a scanning unit 21.
The table value storage unit 22, the same color determination unit 23, the image storage unit 24, and the character recognition unit 25.

【0024】さらに詳述すると、走査部21は、帳票上
を走査し、この帳票から各画素のR(赤),G(緑),
B(青)3色のカラー画像イメージを取り込み、同一色
系に対し共通の値(以下、これを「テーブル値」と呼
ぶ)を付与する。テーブル値記憶部22は、走査部21
により付与された各画素のテーブル値を記憶する。同色
判定部23は、テーブル値記憶部22から、帳票に予め
設けられたマーク記入部2(図2及び図3参照)に、帳
票記入時に記入された使用筆記具によるマークの部分を
取り込むことにより得られるテーブル値と、テーブル値
記憶部22に取り込まれているカラー画像イメージの全
画素のテーブル値とを比較し、同一の場合は“1”を、
また相違している場合は“0”を出力し、同時にマーク
記入部2のテーブル値を出力する。イメージ記憶部24
は、上記同色判定部23からのマーク記入部2のテーブ
ル値以外の出力を格納する。文字認識部25は、イメー
ジ記憶部24に格納されている文字の2値化イメージか
ら1文字単位に文字のイメージを切り出し、この切り出
された1文字単位の文字のイメージを認識し、この文字
認識結果と同色判定部23から得られるマーク記入部2
のテーブル値を出力する。
More specifically, the scanning unit 21 scans the form, and from this form, R (red), G (green) of each pixel,
A color image of three colors of B (blue) is taken in, and common values (hereinafter, referred to as “table values”) are given to the same color system. The table value storage unit 22 includes a scanning unit 21.
The table value of each pixel given by is stored. The same-color determination unit 23 is obtained by taking in from the table value storage unit 22 into the mark writing unit 2 (see FIG. 2 and FIG. 3) provided in advance on the form, the mark portion written by the writing instrument used when writing the form. The table value stored in the table value storage unit 22 is compared with the table values of all the pixels of the color image image stored in the table value storage unit 22.
If they are different, "0" is output, and at the same time, the table value of the mark writing section 2 is output. Image storage unit 24
Stores the output from the same color determination unit 23 other than the table value of the mark writing unit 2. The character recognition unit 25 cuts out a character image for each character from the binary image of the character stored in the image storage unit 24, recognizes the cut out character image for each character, and recognizes this character. Mark writing section 2 obtained from the same color determination section 23 as the result
Output the table value of.

【0025】次に、本発明の第2の実施例の動作を、第
1の実施例の場合と同じ図2乃至図4に示した帳票を使
用した場合として説明する。まず、走査部21は、記入
済み帳票4を図4に示す主走査方向X及び副走査方向Y
に光学的に走査して、R,G,B3色のイメージを順次
取り込み、同一色系に対し共通の値を付与し、テーブル
値記憶部22に格納する。具体的には、黒系の色の画素
には“0”、赤系の色の画素には“1”、緑系の色の画
素には“2”、青系の色の画素には“3”、白系の色の
画素には“4”といった数値が付与され、これがテーブ
ル値記憶部22に格納される。
Next, the operation of the second embodiment of the present invention will be described assuming that the forms shown in FIGS. 2 to 4 which are the same as those in the first embodiment are used. First, the scanning unit 21 scans the completed form 4 in the main scanning direction X and the sub scanning direction Y shown in FIG.
The R, G, and B three-color images are sequentially captured by sequentially scanning, and common values are given to the same color system, and stored in the table value storage unit 22. Specifically, "0" is assigned to black-colored pixels, "1" is assigned to red-colored pixels, "2" is assigned to green-colored pixels, and "2" is assigned to blue-colored pixels. Numerical values such as “3” and white-colored pixels are given to the pixels of “4” and are stored in the table value storage unit 22.

【0026】図7は、記入済み帳票4のカラー画像イメ
ージに対するテーブル値が、テーブル記憶部22に格納
されたときの状態を示したものである。なお、図7で
は、簡略化して、テーブル値記憶部22の内容はイメー
ジ的に表現して、記入済み帳票4のままの状態で表現し
ているが、実際には各画素の色に対応したテーブル値が
格納されている。したがって、実際には、青色で記入さ
れているマーク記入部2及び読み取り対象文字5に該当
する部分には“3”が格納され、黒色である文字記入枠
3に該当する部分には“0”が、白色である帳票の地に
該当する部分には“4”が、それぞれ格納されている。
FIG. 7 shows a state in which the table values for the color image image of the completed form 4 are stored in the table storage unit 22. Note that, in FIG. 7, the contents of the table value storage unit 22 are expressed in an image form and are expressed in the state of the completed form 4, but in reality, it corresponds to the color of each pixel. Stores the table value. Therefore, actually, "3" is stored in the portion corresponding to the mark writing portion 2 and the reading target character 5 written in blue, and "0" is stored in the portion corresponding to the black character writing frame 3. However, "4" is stored in each portion corresponding to the background of the white form.

【0027】走査部21により記入済み帳票4のカラー
画像イメージに対するテーブル値がテーブル値記憶部2
2に格納されると、同色判定部23ではマーク記入部2
のイメージに該当する部分のテーブル値を取り出し、文
字認識部25に出力するとともに、マーク記入部2のテ
ーブル値と、テーブル値記憶部22に格納されている各
画素毎の全テーブル値とを比較し、同一のテーブル値で
ある場合は“1”を、同一ではない場合は“0”を、そ
れぞれイメージ記憶部24に格納する。すなわち、本実
施例では、マーク記入部2に該当する部分のテーブル値
は青色に対応する“3”であるので、文字認識部25に
テーブル値として“3”を出力するとともに、イメージ
記憶部24には、テーブル値記憶部22に格納されてい
る記入済み帳票4の全てのテーブル値のうち、マーク記
入部2のテーブル値と同じ“3”である部分に“1”を
格納し、それ以外の部分には“0”を格納する。
The table values for the color image of the form 4 completed by the scanning unit 21 are stored in the table value storage unit 2.
2 is stored in the mark writing unit 2 in the same color determination unit 23.
The table value of the portion corresponding to the image of is extracted and output to the character recognition unit 25, and the table value of the mark writing unit 2 is compared with all the table values for each pixel stored in the table value storage unit 22. However, if the table values are the same, “1” is stored in the image storage unit 24, and if they are not the same, “0” is stored in the image storage unit 24. That is, in the present embodiment, the table value of the portion corresponding to the mark writing section 2 is “3” corresponding to blue, so that “3” is output as the table value to the character recognition section 25 and the image storage section 24 is also output. In all the table values of the filled-in form 4 stored in the table value storage unit 22, “1” is stored in the same “3” as the table value of the mark writing unit 2, and the other values are stored. "0" is stored in the portion of.

【0028】図8は、同色判定部23による処理が、テ
ーブル値記憶部22に格納されている全てのテーブル値
について終了した時の、最終的にイメージ記憶部24に
格納されるイメージを示したものである。図8に示すよ
うに、イメージ記憶部24には、マーク記入部2の部分
と読み取り対象文字5の2値化イメージが格納されるこ
とになる。
FIG. 8 shows an image finally stored in the image storage unit 24 when the processing by the same color determination unit 23 is completed for all the table values stored in the table value storage unit 22. It is a thing. As shown in FIG. 8, the image storage unit 24 stores the binarized image of the mark writing unit 2 and the read target character 5.

【0029】文字認識部25では、同色判定部23から
得られた記入済み帳票4の文字色に対応するテーブル値
“3”を出力するとともに、周知の方法によりイメージ
記憶部24に格納されている読み取り対象文字5の2値
化イメージから1文字毎のイメージを切り出し、この切
り出された1文字毎のイメージに対して周知の方法によ
り文字認識処理を行い、結果を出力する。
The character recognition section 25 outputs the table value "3" corresponding to the character color of the completed form 4 obtained from the same color determination section 23 and stored in the image storage section 24 by a known method. An image for each character is cut out from the binarized image of the read target character 5, character recognition processing is performed on the cut out image for each character by a known method, and the result is output.

【0030】したがって、この第2の実施例の光学的文
字読取装置によれば、予め帳票上の決められた位置に、
帳票記入者が帳票記入時に使用した筆記具を用いて記入
したマークのテーブル値を用いて文字イメージを抽出す
るため、高精度に文字イメージの抽出ができると同時
に、文字記入枠3の色以外の色であればあらゆる色の文
字の認識も可能となる。また、文字以外の不要部分をオ
ペレータが指示するといった作業も全く行う必要がない
ため、作業効率の面でも有利となる。さらに、読み取り
対象文字5の色に関するデータを帳票単位に文字認識結
果と同時に出力するため、帳票毎に帳票の種類により文
字色を設定しておくことにより、各帳票の文字色別に分
類・集計を行うといった、文字の情報を有効に用いたシ
ステム等を構築することも可能である。
Therefore, according to the optical character reader of the second embodiment, the optical character reading device can be set at a predetermined position on the form.
Since the character image is extracted using the table values of the marks entered by the person who filled out the form using the writing instrument used when filling out the form, the character image can be extracted with high accuracy, and at the same time, the color other than the color of the character entry frame 3 can be extracted. If so, it is possible to recognize characters of all colors. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. Furthermore, since the data related to the color of the read target character 5 is output at the same time as the character recognition result for each form, by setting the character color for each form according to the type of form, classification and aggregation can be performed by the character color of each form. It is also possible to construct a system or the like that effectively uses character information, such as "do".

【0031】なお、この第2の実施例では、この構造に
限定されることなく、次の(1)〜(3)に記述するよ
うな変形が可能となる。 (1)走査部21において、記入済み帳票4のカラー画
像イメージを各色毎に所定のテーブル値に変換する場合
について説明したが、本発明はこれに限定されるもので
はなく、例えば記入済み帳票4のマーク記入部2に該当
する部分のR,G,B値をそのまま記憶し、この記憶さ
れたカラー画像イメージからマーク記入部2に該当する
部分のR,G,B値を取り出し出力するとともに、この
値を用いて読み取り対象文字5を抽出するといった方法
を用いても良い。 (2)また、本実施例では、マーク記入部2が読み取り
対象文字5の上方に配置した例で図示したが、テーブル
値記憶部22を具備していることにより、帳票のどの部
分にマーク記入部2を配置しても良い。 (3)さらに、本実施例では、帳票毎に文字色に対応す
るテーブル値を出力する場合について説明したが、文字
毎に文字色に対応するテーブル値を出力しても良いもの
である。
The second embodiment is not limited to this structure and can be modified as described in the following (1) to (3). (1) The case where the scanning unit 21 converts the color image image of the filled-in form 4 into a predetermined table value for each color has been described, but the present invention is not limited to this. The R, G, B values of the portion corresponding to the mark writing section 2 are stored as they are, and the R, G, B values of the portion corresponding to the mark writing section 2 are extracted from the stored color image image and output. A method of extracting the read target character 5 using this value may be used. (2) In addition, in the present embodiment, the mark writing unit 2 is arranged above the read target character 5, but the table value storage unit 22 is provided. The part 2 may be arranged. (3) Further, in the present embodiment, the case has been described in which the table value corresponding to the character color is output for each form, but the table value corresponding to the character color may be output for each character.

【0032】図9は、本発明の第3の実施例として示す
光学的文字読取装置の構成を示すブロック図である。図
9において、この光学的文字読取装置は、走査部31
と、同色判定部32と、イメージ記憶部33と、文字認
識部34で構成されている。
FIG. 9 is a block diagram showing the configuration of the optical character reading device shown as the third embodiment of the present invention. In FIG. 9, the optical character reading device includes a scanning unit 31.
The same color determination unit 32, the image storage unit 33, and the character recognition unit 34.

【0033】さらに詳述すると、走査部31は、帳票上
を走査し、この帳票から各画素のR(赤),G(緑),
B(青)3色のカラー画像イメージを取り込み、同一色
系に対し共通の値(以下、これを「テーブル値」と呼
ぶ)を付与する。同色判定部32は、帳票に予め設けら
れた後述するマーク記入部102A〜102C(図10
及び図11参照)に、帳票記入時に記入された使用筆記
具によるマークの部分を取り込むことにより得られるテ
ーブル値と、走査部31で取り込まれるカラー画像イメ
ージのテーブル値とを比較し、同一の場合は同一のテー
ブル値を、また相違している場合は“0”を出力する。
イメージ記憶部33は、上記同色判定部32の出力を格
納する。文字認識部34は、イメージ記憶部33に格納
されている文字のテーブル値から1文字単位に文字のテ
ーブル値を切り出し、この切り出された1文字単位の文
字のテーブル値を文字のイメージとして文字認識を行
い、この文字認識結果と文字認識した文字に対応するテ
ーブル値とを出力する。
More specifically, the scanning unit 31 scans the form, and from the form, R (red), G (green),
A color image of three colors of B (blue) is taken in, and common values (hereinafter, referred to as “table values”) are given to the same color system. The same-color determination unit 32 includes mark writing units 102A to 102C (FIG.
11 and FIG. 11), the table value obtained by capturing the mark portion by the writing instrument used when filling the form is compared with the table value of the color image image captured by the scanning unit 31, and if they are the same, The same table value is output, and if they are different, "0" is output.
The image storage unit 33 stores the output of the same color determination unit 32. The character recognition unit 34 extracts a character table value for each character from the character table value stored in the image storage unit 33, and recognizes the cut out character table value for each character as a character image. The character recognition result and the table value corresponding to the character recognized are output.

【0034】図10及び図11は本発明に係る第3の実
施例で使用する帳票の一例を示すもので、図10は何も
記入していない状態である未記入帳票101を示す図、
図11は未記入帳票101に対し、帳票記入者が必要項
目を記入した記入済み帳票104を示す図である。そし
て、未記入帳票101には、帳票記入筆記具にて塗りつ
ぶす、あるいは印刷する文字の色にて塗りつぶすマーク
記入部102A,102B,102C及び任意のドロッ
プアウトカラーによる文字の記入領域を示す文字記入枠
103が予め印刷されている。一方、記入済み帳票10
4は、マーク記入部102A,102B,102Cが筆
記者により使用筆記具にて塗りつぶされており、また文
字記入枠103内には読み取り対象文字105A,10
5B,105Cが記入されている。そして、本実施例で
は、読み取り対象文字105Aは赤色の筆記具で、読み
取り対象文字105Bは緑色の筆記具で、読み取り対象
文字105Cは青色の筆記具で、それぞれ記入されてい
るものとする。したがって、マーク記入部102A〜1
02Cも、読み取り対象文字105A〜105Cと同一
の筆記具にて塗りつぶすため、それぞれ赤色、緑色、青
色に塗りつぶされている。また、文字記入枠103は黒
色であり、帳票用紙101,104の地色は白色である
とする。
FIGS. 10 and 11 show an example of a form used in the third embodiment of the present invention. FIG. 10 is a diagram showing an unfilled form 101 in which nothing is entered.
FIG. 11 is a diagram showing a completed form 104 in which the person who filled out the form has filled in necessary items for the blank form 101. The blank form 101 is filled with a form writing tool, or is filled with the color of the characters to be printed. Is printed in advance. On the other hand, completed form 10
4, the mark writing portions 102A, 102B, 102C are filled with writing tools used by the writer, and the reading target characters 105A, 10
5B and 105C are entered. In the present embodiment, it is assumed that the read target character 105A is a red writing tool, the read target character 105B is a green writing tool, and the read target character 105C is a blue writing tool. Therefore, the mark writing portions 102A-1
02C is also painted in red, green, and blue because it is painted with the same writing tool as the reading target characters 105A to 105C. Further, it is assumed that the character entry frame 103 is black and the background color of the form sheets 101 and 104 is white.

【0035】図12は、記入済み帳票104のカラー画
像イメージを取り込む際の主走査方向X及び副走査方向
Yを示す図である。
FIG. 12 is a diagram showing the main scanning direction X and the sub-scanning direction Y when the color image image of the completed form 104 is captured.

【0036】そこで、図9乃至図12を用いて本発明の
第3の実施例の動作を次に説明すると、まず走査部31
は、記入済み帳票104上を図12に示す主走査方向X
及び副走査方向Yに光学的に走査して、R,G,B3色
のイメージを順次取り込み、同一色系に対し共通の値を
付与し、同色判定部32に出力する。具体的には、黒系
の色の画素には“0”、赤系の色の画素には“1”、緑
系の色の画素には“2”、青系の色の画素には“3”、
白系の色の画素には“4”といった数値が付与される。
また、この際、マーク記入部102A〜102Cは、文
字記入枠103より上方に位置しているため、先にイメ
ージが取り込まれ、テーブル値が付与される。
The operation of the third embodiment of the present invention will be described below with reference to FIGS. 9 to 12. First, the scanning section 31 will be described.
Shows the completed form 104 in the main scanning direction X shown in FIG.
And, it optically scans in the sub-scanning direction Y, sequentially takes in R, G, and B three-color images, gives common values to the same color system, and outputs them to the same color determination unit 32. Specifically, "0" is assigned to black-colored pixels, "1" is assigned to red-colored pixels, "2" is assigned to green-colored pixels, and "2" is assigned to blue-colored pixels. 3 ",
A numerical value such as “4” is given to the pixels of white color.
Further, at this time, since the mark writing portions 102A to 102C are located above the character writing frame 103, the image is first captured and the table value is given.

【0037】走査部31により記入済み帳票104のマ
ーク記入部102A〜102Cの部分のイメージに該当
する部分のテーブル値が出力されると、それ以降、同色
判定部32ではマーク記入部102A〜102Cのイメ
ージに該当する部分の3種類のテーブル値と、マーク記
入部102A〜102Cの取り込み以降に取り込まれる
カラー画像イメージのテーブル値とを比較し、上記3種
類のテーブル値の何れかと同一のテーブル値である場合
はこのテーブル値を、同一ではない場合は“0”をイメ
ージ記憶部33に格納する。すなわち、本実施例では、
マーク記入部102A〜102Cに該当する部分のテー
ブル値はそれぞれ“1”、“2”、“3”であるので、
イメージ記憶部33にはマーク記入部102A〜102
Cの取り込み以降に取り込まれるカラー画像イメージの
テーブル値のうち、マーク記入部102A〜102Cの
テーブル値と同じ“1”、“2”、“3”である部分に
それぞれ“1”、“2”、“3”を格納し、それ以外の
部分には“0”を格納する。
When the scanning unit 31 outputs the table value of the portion corresponding to the image of the mark writing portions 102A to 102C of the filled-out form 104, the same color determination unit 32 subsequently outputs the mark writing portions 102A to 102C. The table values of the three types corresponding to the image are compared with the table values of the color image image captured after the mark writing portions 102A to 102C are captured, and the table values are the same as any of the above three types of table values. If there is, the table value is stored in the image storage unit 33, and if not, “0” is stored in the image storage unit 33. That is, in this embodiment,
Since the table values of the portions corresponding to the mark writing portions 102A to 102C are "1", "2", and "3", respectively,
The image storage unit 33 includes mark writing units 102A to 102A.
Of the table values of the color image image captured after the capture of C, "1", "2", and "3" are the same as the table values of the mark writing portions 102A to 102C, respectively. , "3" are stored, and "0" is stored in the other parts.

【0038】図13は、同色判定部32による処理が、
全てのマーク記入部102A〜102Cの取り込み以降
に取り込まれるカラー画像イメージのテーブル値につい
て終了した時の、最終的にイメージ記憶部33に格納さ
れる結果をイメージ的に示したものである。図13に示
すように、イメージ記憶部33には、読み取り対象文字
105A〜105Cのテーブル値のみが格納されること
になる。
FIG. 13 shows that the processing by the same color determination unit 32 is
It is an image showing the result finally stored in the image storage unit 33 when the table values of the color image images fetched after fetching all the mark writing units 102A to 102C are finished. As shown in FIG. 13, the image storage unit 33 stores only the table values of the read target characters 105A to 105C.

【0039】文字認識部34では、周知の方法によりイ
メージ記憶部33に格納されている読み取り対象文字1
05A〜105Cに該当する部分のテーブル値から1文
字毎のイメージを切り出し、この切り出された1文字毎
のテーブル値を文字のイメージとして周知の方法により
文字認識処理を行い、認識結果を出力するとともに、認
識した文字のテーブル値も同時に出力する。
In the character recognition unit 34, the read target character 1 stored in the image storage unit 33 by a well-known method.
The image for each character is cut out from the table value of the portion corresponding to 05A to 105C, the cut out table value for each character is subjected to character recognition processing by a known method as a character image, and the recognition result is output. , The table value of the recognized character is also output at the same time.

【0040】したがって、この第3の実施例の光学的文
字読取装置によれば、予め帳票上の決められた位置に、
帳票記入者が帳票記入時に使用した筆記具を用いて記入
したマークのテーブル値を用いて文字イメージを抽出す
るため、高精度に文字イメージの抽出ができると同時
に、文字記入枠の色以外の色であればあらゆる色の文字
の認識も可能となる。また、文字以外の不要部分をオペ
レータが指示するといった作業も全く行う必要がないた
め、作業効率の面でも有利となる。さらに、マーク記入
部102A〜102Cのテーブル値を、読み取り対象文
字のテーブル値の取り込みに先行して取り込むことによ
り、読み取り対象文字抽出のための判定値を事前に決定
することができるため、帳票のイメージを取り込むと同
時に読み取り対象文字を抽出することが可能となり、高
速な文字認識が可能となる。また、さらに読み取り対象
文字105A〜105Cの色に関するデータを文字毎に
文字認識結果と同時に出力するため、各帳票内の文字単
位に文字色に対応した分類・集計を行うといった、文字
の色情報を有効に用いたシステム等を構築することも可
能である。すなわち、例えば図14及び図15に示すよ
うに、読み取り対象文字105A〜105Cがそれぞれ
青色、緑色、赤色で記入されている記入済み帳票104
(A)と、読み取り対象文字105a〜105cがそれ
ぞれ青色、緑色、赤色で記入されている記入済み帳票1
04(B)を読み取る場合、文字認識を行った後に各記
入済み帳票104(A),104(B)の赤色で記入さ
れている文字(数字)の全てを合計する処理を行うこと
とすれば、“12345”と“67890”を加算する
といったことができる。
Therefore, according to the optical character reading device of the third embodiment, the optical character reading device is arranged at a predetermined position on the form.
Since the character image is extracted using the table value of the mark entered by the person who filled out the form using the writing instrument used when filling out the form, it is possible to extract the character image with high accuracy and at the same time, use a color other than the color of the character entry frame. If so, it is possible to recognize characters of all colors. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. Further, since the table values of the mark writing units 102A to 102C are captured prior to the capture of the table value of the read target character, the determination value for extracting the read target character can be determined in advance, so It becomes possible to extract the characters to be read at the same time when the image is captured, and high-speed character recognition is possible. Further, since the data related to the colors of the read target characters 105A to 105C is output at the same time as the character recognition result for each character, character color information such as performing classification / aggregation corresponding to the character color for each character in each form is provided. It is also possible to construct a system that has been effectively used. That is, for example, as shown in FIGS. 14 and 15, the completed form 104 in which the reading target characters 105A to 105C are respectively written in blue, green, and red.
(A) and the completed form 1 in which the reading target characters 105a to 105c are written in blue, green, and red, respectively.
In the case of reading 04 (B), after performing character recognition, if all the characters (numbers) written in red of the completed forms 104 (A) and 104 (B) are summed up, , "12345" and "67890" can be added.

【0041】なお、この第3の実施例では、この構造に
限定されることなく、次の(1)及び(2)に記述する
ような変形が可能となる。 (1)走査部11において、記入済み帳票104のカラ
ー画像イメージを各色毎に所定のテーブル値に変換する
場合について説明したが、本発明はこれに限定されるも
のではなく、例えば記入済み帳票104のマーク記入部
102A〜102Cに該当する部分のR,G,B値をそ
のまま出力するとともに、この値を用いて読み取り対象
文字105A〜105Cを抽出するといった方法を用い
ても良い。 (2)また、本実施例では、文字記入枠103として1
種類の色を用いた場合を示したが、複数種類の色の文字
記入枠を同一帳票上で用いても良い。
The third embodiment is not limited to this structure and can be modified as described in the following (1) and (2). (1) The case where the scanning unit 11 converts the color image image of the completed form 104 into a predetermined table value for each color has been described, but the present invention is not limited to this. For example, the completed form 104 is described. It is also possible to use a method in which the R, G, and B values of the portions corresponding to the mark writing portions 102A to 102C are directly output and the reading target characters 105A to 105C are extracted using these values. (2) In the present embodiment, the character entry frame 103 is set to 1
Although the case where different kinds of colors are used is shown, character entry frames of plural kinds of colors may be used on the same form.

【0042】図16は、本発明の第4の実施例として示
す光学的文字読取装置の構成を示すブロック図である。
図16において、この光学的文字読取装置は、走査部4
1と、テーブル値記憶部42と、同色判定部43と、イ
メージ記憶部44と、文字認識部45で構成されてい
る。
FIG. 16 is a block diagram showing the configuration of the optical character reading device shown as the fourth embodiment of the present invention.
In FIG. 16, the optical character reading device includes a scanning unit 4
1, a table value storage unit 42, a same color determination unit 43, an image storage unit 44, and a character recognition unit 45.

【0043】さらに詳述すると、走査部41は、帳票上
を走査し、この帳票から各画素のR(赤),G(緑),
B(青)3色のカラー画像イメージを取り込み、同一色
系に対し共通の値(以下、これを「テーブル値」と呼
ぶ)を付与する。テーブル値記憶部42は、走査部41
により付与された各画素のテーブル値を記憶する。同色
判定部43は、テーブル値記憶部42から帳票に予め設
けられたマーク記入部102A〜102C(図10及び
図11参照)に、帳票記入時に記入された使用筆記具に
よるマークの部分を取り出すことにより得られるテーブ
ル値と、テーブル値記憶部42に取り込まれているカラ
ー画像イメージの全画素のテーブル値とを比較し、同一
の場合は同一のテーブル値を、また相違している場合は
“0”を出力する。イメージ記憶部44は、同色判定部
43の出力を格納する。文字認識部45は、イメージ記
憶部44に格納されている文字のテーブル値から1文字
単位に文字のテーブル値を切り出し、この切り出された
1文字単位の文字のテーブル値を文字のイメージとして
文字認識を行い、この文字認識結果と文字認識した文字
に対応するテーブル値とを出力する。
More specifically, the scanning section 41 scans the form, and from this form, R (red), G (green),
A color image of three colors of B (blue) is taken in, and common values (hereinafter, referred to as “table values”) are given to the same color system. The table value storage unit 42 includes the scanning unit 41.
The table value of each pixel given by is stored. The same-color determination unit 43 extracts from the table value storage unit 42 the mark portions 102A to 102C (see FIG. 10 and FIG. 11) provided in advance on the form by using the writing tool used when writing the form. The obtained table value is compared with the table values of all the pixels of the color image image stored in the table value storage unit 42. If they are the same, the same table value is given, and if they are different, "0" is given. Is output. The image storage unit 44 stores the output of the same color determination unit 43. The character recognition unit 45 cuts out a character table value for each character from the character table value stored in the image storage unit 44, and character-recognizes the cut out character table value for each character as a character image. The character recognition result and the table value corresponding to the character recognized are output.

【0044】次に、本発明の第4の実施例の動作を、第
3の実施例の場合と同じ図10乃至図12に示した帳票
を使用した場合として説明する。まず、走査部41は、
記入済み帳票104上を図12に示す主走査方向X及び
副走査方向Yに光学的に走査して、R,G,B3色のイ
メージを順次取り込み、同一色系に対し共通の値を付与
し、テーブル値記憶部42に格納する。具体的には、黒
系の色の画素には“0”、赤系の色の画素には“1”、
緑系の色の画素には“2”、青系の色の画素には
“3”、白系の色の画素には“4”といった数値が付与
され、テーブル値記憶部42に格納される。図17は、
走査部41により記入済み帳票104のカラー画像イメ
ージに対するテーブル値がテーブル値記憶部42に格納
されたときの状態を示している。なお、図17におい
て、テーブル値記憶部42の内容は、記入済み帳票10
4のそのままのイメージで表現しているが、実際には各
画素の色に対応したテーブル値が格納されている。した
がって、実際には、赤色で記入されているマーク記入部
102A及び読み取り対象文字105Aに該当する部分
には“1”が格納されており、緑色で記入されているマ
ーク記入部102B及び読み取り対象文字105Bに該
当する部分には“2”が格納されており、青色で記入さ
れているマーク記入部102C及び読み取り対象文字1
05Cに該当する部分には“3”が格納されている。ま
た、黒色である文字記入枠103に該当する部分には
“0”が、白色である帳票の地色に該当する部分には
“4”が、それぞれ格納されている。
Next, the operation of the fourth embodiment of the present invention will be described assuming that the forms shown in FIGS. 10 to 12 which are the same as those of the third embodiment are used. First, the scanning unit 41
The completed form 104 is optically scanned in the main-scanning direction X and the sub-scanning direction Y shown in FIG. 12 to sequentially capture R, G, and B color images, and to assign common values to the same color system. , In the table value storage unit 42. Specifically, "0" is assigned to black-colored pixels, and "1" is assigned to red-colored pixels.
Numerical values such as “2” are assigned to green-colored pixels, “3” to blue-colored pixels, and “4” to white-colored pixels, and these are stored in the table value storage unit 42. Figure 17
The state when the scanning unit 41 stores the table value for the color image image of the completed form 104 in the table value storage unit 42 is shown. Note that, in FIG. 17, the contents of the table value storage unit 42 are as follows.
Although it is represented by the image as it is, the table value corresponding to the color of each pixel is actually stored. Therefore, actually, "1" is stored in a portion corresponding to the mark writing portion 102A and the reading target character 105A written in red, and the mark writing portion 102B and the reading target character written in green are stored. In the portion corresponding to 105B, "2" is stored, and the mark writing portion 102C and the reading target character 1 written in blue are stored.
"3" is stored in the portion corresponding to 05C. Further, “0” is stored in the portion corresponding to the black character entry frame 103, and “4” is stored in the portion corresponding to the background color of the form that is white.

【0045】走査部41により記入済み帳票104のカ
ラー画像イメージに対するテーブル値がテーブル値記憶
部42に格納されると、同色判定部43ではマーク記入
部102A〜102Cの部分のイメージに該当する部分
の3種類のテーブル値と、テーブル値記憶部42に格納
されている各画素毎の全テーブル値とを比較し、上記3
種類のテーブル値の何れかと同一のテーブル値である場
合はこのテーブル値を、同一ではない場合は“0”をイ
メージ記憶部44に格納する。すなわち、本実施例で
は、マーク記入部102A〜102Cに該当する部分の
テーブル値はそれぞれ“1”、“2”、“3”であるの
で、イメージ記憶部44にはテーブル値記憶部42に格
納されている記入済み帳票104の全テーブル値のう
ち、マーク記入部102A〜102Cのテーブル値と同
じ“1”、“2”、“3”である部分にそれぞれ
“1”、“2”、“3”を格納し、それ以外の部分には
“0”を格納する。
When the scanning unit 41 stores the table value for the color image image of the completed form 104 in the table value storage unit 42, the same color determination unit 43 detects the portion corresponding to the image of the mark writing units 102A to 102C. The three types of table values are compared with all the table values for each pixel stored in the table value storage unit 42, and the above 3
If the table value is the same as any of the table values of the types, this table value is stored in the image storage unit 44, and if it is not the same, “0” is stored in the image storage unit 44. That is, in the present embodiment, since the table values of the portions corresponding to the mark writing sections 102A to 102C are "1", "2", and "3", respectively, the image storage section 44 stores them in the table value storage section 42. Of all the table values of the filled-out completed form 104, “1”, “2” and “3” are the same as the table values of the mark writing sections 102A to 102C, respectively. 3 "is stored, and" 0 "is stored in the other parts.

【0046】図18は、同色判定部43による処理が、
テーブル値記憶部42に格納されている全てのテーブル
値について終了した時の、最終的にイメージ記憶部44
に格納される結果をイメージ的に示したものである。図
18に示すように、イメージ記憶部44には、マーク記
入部102A〜102Cの部分と、読み取り対象文字1
05A〜105Cのテーブル値のみが格納されることに
なる。
In FIG. 18, the processing by the same color determination unit 43 is
When all the table values stored in the table value storage unit 42 are finished, the image storage unit 44 finally
It is an image of the result stored in. As shown in FIG. 18, the image storage unit 44 includes the mark writing units 102A to 102C and the target character 1 to be read.
Only table values of 05A to 105C will be stored.

【0047】文字認識部45では、周知の方法によりイ
メージ記憶部44に格納されている読み取り対象文字1
05A〜105Cに該当する部分のテーブル値から1文
字毎のイメージを切り出し、この切り出された1文字毎
のテーブル値を文字のイメージとして周知の方法により
文字認識処理を行い、認識結果を出力するとともに、認
識した文字のテーブル値も同時に出力する。
In the character recognition unit 45, the read target character 1 stored in the image storage unit 44 by a known method.
The image for each character is cut out from the table value of the portion corresponding to 05A to 105C, the cut out table value for each character is subjected to character recognition processing by a known method as a character image, and the recognition result is output. , The table value of the recognized character is also output at the same time.

【0048】したがって、この第4の実施例の光学的文
字読取装置によれば、予め帳票上の決められた位置に、
帳票記入者が帳票記入時に使用した筆記具を用いて記入
したマークのテーブル値を用いて文字イメージを抽出す
るため、高精度に文字イメージの抽出ができると同時
に、文字記入枠103の色以外の色であればあらゆる色
の文字の認識も可能となる。また、文字以外の不要部分
をオペレータが指示するといった作業も全く行う必要が
ないため、作業効率の面でも有利となる。さらに、マー
ク記入部102A〜102Cを複数設けることにより、
文字記入枠103と違った色であれば、複数色の文字に
ついて文字認識が可能となる。また、さらに読み取り対
象文字105A〜105Cの色に関するデータを文字毎
に文字認識結果と同時に出力するため、各帳票内の文字
単位に文字色に対応した分類・集計を行うといった、文
字の色情報を有効に用いたシステム等を構築することも
可能である。すなわち、例えば第3の実施例で図14及
び図15を用いて説明したのと同様に、読み取り対象文
字105A〜105Cがそれぞれ青色、緑色、赤色で記
入されている記入済み帳票104(A)と、読み取り対
象文字105a〜105cがそれぞれ青色、緑色、赤色
で記入されている記入済み帳票104(B)を読み取る
場合、文字認識を行った後に各記入済み帳票104
(A),104(B)の赤色で記入されている文字(数
字)の全てを合計する処理を行うこととすれば、“12
345”と“67890”を加算するといったことがで
きる。
Therefore, according to the optical character reading device of the fourth embodiment, the optical character reading device is arranged at a predetermined position on the form.
Since the character image is extracted using the table value of the mark entered by the person who fills out the form using the writing instrument used when filling the form, the character image can be extracted with high accuracy and at the same time, the color other than the color of the character entry frame 103 can be extracted. If so, it is possible to recognize characters of all colors. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. Furthermore, by providing a plurality of mark writing sections 102A to 102C,
If the color is different from that of the character entry frame 103, it is possible to recognize characters of a plurality of colors. Further, since the data related to the colors of the read target characters 105A to 105C is output at the same time as the character recognition result for each character, character color information such as performing classification / aggregation corresponding to the character color for each character in each form is provided. It is also possible to construct a system that has been effectively used. That is, for example, in the same manner as described with reference to FIGS. 14 and 15 in the third embodiment, the completed form 104 (A) in which the reading target characters 105A to 105C are written in blue, green, and red, respectively. When reading the completed form 104 (B) in which the characters to be read 105a to 105c are respectively written in blue, green, and red, after the character recognition, each completed form 104 is read.
If the process of summing up all the characters (numbers) written in red in (A) and 104 (B) is performed, “12
It is possible to add "345" and "67890".

【0049】なお、この第4の実施例では、この構造に
限定されることなく、次の(1)及び(2)に記述する
ような変形が可能となる。 (1)走査部41において、記入済み帳票104のカラ
ー画像イメージを各色毎に所定のテーブル値に変換する
場合について説明したが、本発明はこれに限定されるも
のではなく、例えば記入済み帳票104のマーク記入部
102A〜102Cに該当する部分のR,G,B3色の
カラー画像イメージをそのまま記憶し、この記憶された
カラー画像イメージからマーク記入部102A〜102
Cに該当する部分のR,G,B値を取り出して出力する
とともに、この値を用いて読み取り対象文字105A〜
105Cを抽出するといった方法を用いても良い。 (2)また、本実施例では、マーク記入部102A〜1
02Cが読み取り対象文字105A〜105Cの上方に
配置した例を示したが、テーブル値記憶部42を設けて
いるので、帳票のどの部分にマーク記入部102A〜1
02Cを配置しても良いものである。
The fourth embodiment is not limited to this structure and can be modified as described in the following (1) and (2). (1) The case where the scanning unit 41 converts the color image image of the completed form 104 into a predetermined table value for each color has been described, but the present invention is not limited to this. For example, the completed form 104 is described. The color image images of three colors R, G and B corresponding to the mark writing portions 102A to 102C are stored as they are, and the mark writing portions 102A to 102C are stored from the stored color image images.
The R, G, and B values of the portion corresponding to C are extracted and output, and the read target characters 105A to
You may use the method of extracting 105C. (2) Further, in this embodiment, the mark writing sections 102A to 102A-1
02C is arranged above the characters to be read 105A to 105C, but since the table value storage unit 42 is provided, the mark writing units 102A to 102A to
02C may be arranged.

【0050】図19は、本発明の第5の実施例として示
す光学的文字読取装置の構成を示すブロック図である。
図19において、この光学的文字読取装置は、走査部5
1と、テーブル値記憶部52と、同色判定部53と、イ
メージ記憶部54と、文字認識部55で構成されてい
る。そして、本発明の第5の実施例では、第3及び第4
の実施例の場合と同じ図10乃至図12に示した帳票を
使用する場合として、さらに説明すると、まず走査部5
1は、記入済み帳票104上を図12に示す主走査方向
X及び副走査方向Yに光学的に走査して、R,G,B3
色のイメージを順次取り込み、同一色系に対し共通の値
を付与し、テーブル値記憶部52に格納する。具体的に
は、黒系の色の画素には“0”、赤系の色の画素には
“1”、緑系の色の画素には“2”、青系の色の画素に
は“3”、白系の色の画素には“4”といった数値が付
与され、テーブル値記憶部52に格納される。なお、こ
こで走査部51により、記入済み帳票104のカラー画
像イメージに対するテーブル値がテーブル値記憶部52
に格納されたときの状態は、第4の実施例と同様に図1
7に示すものとなる。
FIG. 19 is a block diagram showing the configuration of the optical character reading device shown as the fifth embodiment of the present invention.
In FIG. 19, the optical character reading device includes a scanning unit 5
1, a table value storage unit 52, a same color determination unit 53, an image storage unit 54, and a character recognition unit 55. And, in the fifth embodiment of the present invention, the third and fourth
In the case of using the forms shown in FIGS. 10 to 12 which are the same as those in the embodiment of FIG.
In the first example, the completed form 104 is optically scanned in the main scanning direction X and the sub scanning direction Y shown in FIG.
Color images are sequentially taken in, common values are given to the same color system, and stored in the table value storage unit 52. Specifically, "0" is assigned to black-colored pixels, "1" is assigned to red-colored pixels, "2" is assigned to green-colored pixels, and "2" is assigned to blue-colored pixels. Numerical values such as “3” and pixels of white color are given as “4” and stored in the table value storage unit 52. Note that, here, the table value for the color image of the completed form 104 is set to the table value storage unit 52 by the scanning unit 51.
The state when stored in FIG. 1 is similar to that of the fourth embodiment.
7 is shown.

【0051】走査部51により記入済み帳票104のカ
ラー画像イメージに対するテーブル値がテーブル値記憶
部52に格納されると、同色判定部53ではマーク記入
部102A〜102Cの部分のイメージに該当する部分
の3種類のテーブル値と、テーブル値記憶部52に格納
されている各画素毎の全テーブル値とを比較し、上記3
種類のテーブル値の何れかと同一のテーブル値である場
合は“1”を、何れとも同一ではない場合は“0”をイ
メージ記憶部54に格納する。すなわち、本実施例で
は、マーク記入部102A〜102Cに該当する部分の
テーブル値はそれぞれ“1”、“2”、“3”であるの
で、イメージ記憶部54にはテーブル値記憶部52に格
納されている記入済み帳票104の全テーブル値のう
ち、マーク記入部102A〜102Cのテーブル値と同
じ“1”、“2”、“3”である部分に“1”を格納
し、それ以外の部分には“0”を格納する。
When the scanning unit 51 stores the table value for the color image image of the filled-in form 104 in the table value storage unit 52, the same color determination unit 53 detects the portions corresponding to the images of the mark writing units 102A to 102C. The three types of table values are compared with all the table values for each pixel stored in the table value storage unit 52, and the above 3
If the table value is the same as one of the table values of the types, "1" is stored in the image storage unit 54, and if it is not the same, "0" is stored in the image storage unit 54. That is, in the present embodiment, since the table values of the portions corresponding to the mark writing sections 102A to 102C are "1", "2", and "3", respectively, the image storage section 54 stores them in the table value storage section 52. Of all the table values of the filled-out completed form 104, "1" is stored in the same "1", "2", and "3" as the table values of the mark writing sections 102A to 102C, and the other values are stored. "0" is stored in the part.

【0052】図20は、同色判定部53による処理が、
テーブル値記憶部52に格納されている全てのテーブル
値について終了した時の、最終的にイメージ記憶部54
に格納されるイメージを示したものである。図20に示
すように、イメージ記憶部54には、マーク記入部10
2A〜102Cの部分と、読み取り対象文字105A〜
105Cのイメージのみが2値化されて格納されること
になる。
In FIG. 20, the processing by the same color determination unit 53 is
When all the table values stored in the table value storage unit 52 are completed, finally the image storage unit 54
It shows an image stored in. As shown in FIG. 20, the image storage unit 54 includes a mark writing unit 10
2A to 102C and the characters to be read 105A to
Only the image of 105C is binarized and stored.

【0053】文字認識部55では、周知の方法によりイ
メージ記憶部54に格納されている読み取り対象文字1
05A〜105Cに該当する部分の2値化イメージから
1文字毎のイメージを切り出し、この切り出された1文
字毎のテーブル値を文字のイメージとして周知の方法に
より文字認識処理を行い、認識結果を出力するととも
に、認識した文字のテーブル値もテーブル値記憶部52
から取り出し、同時に出力する。
In the character recognition unit 55, the read target character 1 stored in the image storage unit 54 by a well-known method.
The image for each character is cut out from the binarized image of the portion corresponding to 05A to 105C, and the cut-out table value for each character is subjected to character recognition processing by a well-known method as a character image, and the recognition result is output. In addition, the table value of the recognized character is also stored in the table value storage unit 52.
And output at the same time.

【0054】したがって、この第5の実施例の光学的文
字読取装置によれば、予め帳票上の決められた複数の位
置に、帳票記入者が帳票記入時に使用した筆記具を用い
て記入したマークのテーブル値を用いて文字イメージを
抽出するため、高精度に文字イメージの抽出ができると
同時に、文字記入枠103の色以外の色であればあらゆ
る色の文字の認識も可能となる。 また、文字以外の不
要部分をオペレータが指示するといった作業も全く行う
必要がないため、作業効率の面でも有利となる。さら
に、マーク記入部102A〜102Cを複数設けること
により、文字記入枠103と違った色であれば、複数色
の文字について文字認識が可能となる。また、さらに第
4の実施例の場合と同様に、読み取り対象文字105A
〜105Cの色に関するデータを文字毎に文字認識結果
と同時に出力するため、各帳票内の文字単位に文字色に
対応した分類・集計を行うといった、文字の色情報を有
効に用いたシステム等を構築することも可能である。さ
らに、イメージ記憶部54に記憶されるイメージは、2
値イメージであるため、多値イメージの場合に比べ、イ
メージ記憶部54の容量は少なくて済む。
Therefore, according to the optical character reading apparatus of the fifth embodiment, the marks written by the person who fills out the form by using the writing instrument used when filling the form are written at a plurality of predetermined positions on the form. Since the character image is extracted using the table value, the character image can be extracted with high accuracy, and at the same time, the character of any color other than the color of the character entry frame 103 can be recognized. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. Further, by providing a plurality of mark writing sections 102A to 102C, it is possible to perform character recognition on a plurality of color characters, provided that the color is different from that of the character entry frame 103. Further, similarly to the case of the fourth embodiment, the read target character 105A
Since the data related to colors of ~ 105C is output for each character at the same time as the character recognition result, a system that effectively uses the character color information, such as performing classification / totalization corresponding to the character color for each character in each form, is provided. It is also possible to build. Further, the image stored in the image storage unit 54 is 2
Since it is a value image, the capacity of the image storage unit 54 can be smaller than that of a multivalued image.

【0055】なお、この第5の実施例では、この構造に
限定されることなく、次の(1)及び(2)に記述する
ような変形が可能となる。 (1)走査部51において、記入済み帳票104のカラ
ー画像イメージを各色毎に所定のテーブル値に変換する
場合について説明したが、本発明はこれに限定されるも
のではなく、例えば記入済み帳票104のマーク記入部
102A〜102Cに該当する部分のR,G,B3色の
カラー画像イメージをそのまま記憶し、この記憶された
カラー画像イメージからマーク記入部102A〜102
Cに該当する部分のR,G,B値を取り出して出力する
とともに、この値を用いて読み取り対象文字105A〜
105Cを抽出するといった方法を用いても良い。 (2)また、本実施例では、マーク記入部102A〜1
02Cが読み取り対象文字105A〜105Cの上方に
配置した例を示したが、テーブル値記憶部52を設けて
いるので、帳票のどの部分にマーク記入部102A〜1
02Cを配置しても良いものである。
The fifth embodiment is not limited to this structure and can be modified as described in the following (1) and (2). (1) The case where the scanning unit 51 converts the color image image of the completed form 104 into a predetermined table value for each color has been described, but the present invention is not limited to this. For example, the completed form 104 is described. The color image images of three colors R, G and B corresponding to the mark writing portions 102A to 102C are stored as they are, and the mark writing portions 102A to 102C are stored from the stored color image images.
The R, G, and B values of the portion corresponding to C are extracted and output, and the read target characters 105A to
You may use the method of extracting 105C. (2) Further, in this embodiment, the mark writing sections 102A to 102A-1
The example in which 02C is arranged above the characters to be read 105A to 105C is shown. However, since the table value storage unit 52 is provided, the mark writing unit 102A to 1A is located in which part of the form.
02C may be arranged.

【0056】[0056]

【発明の効果】以上説明したとおり、本発明に係る光学
的文字読取装置によれば、予め帳票上の決められた位置
に、帳票記入者が帳票記入時に使用した筆記具を用いて
記入したマークあるいは印刷する文字の色で印刷したマ
ークの色成分を用いて文字イメージを抽出するため、高
精度に文字イメージの抽出ができると同時に、文字記入
枠の色以外の色であればあらゆる色の文字の認識も可能
となる。また、文字以外の不要部分をオペレータが指示
するといった作業も全く行う必要がないため、作業効率
の面でも有利となる。さらに、読み取り対象文字の色に
関するデータを文字毎あるいは帳票毎に文字認識結果と
同時に出力するため、各帳票内の文字単位に文字色に対
応した分類・集計を行ったり、帳票毎に帳票の種類によ
り文字色を設定しておくことにより、各帳票の文字色別
に分類・集計を行うといった、文字の色情報を有効に用
いたシステム等を構築することも可能になる。
As described above, according to the optical character reading apparatus of the present invention, a mark or a mark written by a person who fills out a form at a predetermined position on the form using a writing instrument used when filling the form is used. Since the character image is extracted using the color component of the printed mark in the color of the character to be printed, it is possible to extract the character image with high accuracy and at the same time, if it is a color other than the color of the character entry frame, Recognition is also possible. Further, since it is not necessary for the operator to perform an operation of instructing unnecessary portions other than characters, it is advantageous in terms of work efficiency. In addition, since the data related to the color of the characters to be read is output at the same time as the character recognition results for each character or each form, classification and aggregation corresponding to the character color is performed for each character in each form, and the form type for each form By setting the character color according to, it is possible to construct a system or the like that effectively uses the color information of the character, such as classifying and totaling according to the character color of each form.

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

【図1】本発明の第1の実施例として示す装置の構成ブ
ロック図である。
FIG. 1 is a configuration block diagram of an apparatus shown as a first embodiment of the present invention.

【図2】第1及び第2の各実施例装置で使用する帳票の
一例を未記入の状態で示す図である。
FIG. 2 is a diagram showing an example of a form used in each of the first and second embodiment devices in a blank state.

【図3】第1及び第2の各実施例装置で使用する帳票の
一例を記入済みの状態で示す図である。
FIG. 3 is a diagram showing an example of a form used in the devices of the first and second embodiments in a completed state.

【図4】走査部での帳票走査方向を示す図である。FIG. 4 is a diagram showing a document scanning direction in a scanning unit.

【図5】第1の実施例装置のイメージ記憶部に蓄えられ
るイメージを示す図である。
FIG. 5 is a diagram showing an image stored in an image storage unit of the first embodiment device.

【図6】本発明の第2の実施例として示す装置の構成ブ
ロック図である。
FIG. 6 is a configuration block diagram of an apparatus shown as a second embodiment of the present invention.

【図7】第2の実施例装置のテーブル値記憶部に蓄えら
れる結果をイメージ的に示す図である。
FIG. 7 is a diagram conceptually showing results stored in a table value storage unit of the second example device.

【図8】第2の実施例装置のイメージ記憶部に蓄えられ
る結果をイメージ的に示す図である。
FIG. 8 is a diagram conceptually showing the results stored in the image storage unit of the second embodiment device.

【図9】本発明の第3の実施例として示す装置の構成ブ
ロック図である。
FIG. 9 is a configuration block diagram of an apparatus shown as a third embodiment of the present invention.

【図10】第3,第4,第5の各実施例装置で使用する
帳票の一例を未記入の状態で示す図である。
FIG. 10 is a diagram showing an example of a form used in the devices of the third, fourth, and fifth embodiments in a blank state.

【図11】第3,第4,第5の各実施例装置で使用する
帳票の一例を記入済みの状態で示す図である。
FIG. 11 is a diagram showing an example of a form used in the devices of the third, fourth, and fifth embodiments in a completed state.

【図12】走査部での帳票走査方向を示す図である。FIG. 12 is a diagram showing a document scanning direction in a scanning unit.

【図13】第3の実施例装置のイメージ記憶部に蓄えら
れる結果をイメージ的に示す図である。
FIG. 13 is a diagram conceptually showing results stored in an image storage unit of the apparatus of the third embodiment.

【図14】第3,第4,第5の各実施例装置で効果を説
明するための図である。
FIG. 14 is a diagram for explaining the effect of the devices of the third, fourth, and fifth embodiments.

【図15】第3,第4,第5の各実施例装置で効果を説
明するための図である。
FIG. 15 is a diagram for explaining an effect in each of the third, fourth, and fifth embodiment devices.

【図16】本発明の第4の実施例として示す装置の構成
ブロック図である。
FIG. 16 is a configuration block diagram of an apparatus shown as a fourth embodiment of the present invention.

【図17】第4,第5の実施例装置のテーブル値記憶部
に蓄えられる結果をイメージ的に示す図である。
FIG. 17 is a diagram conceptually showing results stored in the table value storage unit of the fourth and fifth embodiment devices.

【図18】第4の実施例装置のイメージ記憶部に蓄えら
れる結果をイメージ的に示す図である。
FIG. 18 is a diagram conceptually showing results stored in the image storage unit of the fourth embodiment device.

【図19】本発明の第5の実施例として示す装置の構成
ブロック図である。
FIG. 19 is a configuration block diagram of an apparatus shown as a fifth embodiment of the present invention.

【図20】第5の実施例装置のイメージ記憶部に蓄えら
れる結果をイメージ的に示す図である。
FIG. 20 is a diagram conceptually showing results stored in the image storage unit of the fifth embodiment device.

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

1 未記入帳票 2 マーク記入部(マーク記入領域) 3 文字記入枠 4 記入済み帳票 5 読取対象文字 11 走査部 12 同色判定部 13 イメージ記憶部 14 文字認識部 21 走査部 22 テーブル値記憶部 23 同色判定部 24 イメージ記憶部 25 文字認識部 31 走査部 32 同色判定部 33 イメージ記憶部 34 文字認識部 41 走査部 42 テーブル値記憶部 43 同色判定部 44 イメージ記憶部 45 文字認識部 51 走査部 52 テーブル値記憶部 53 同色判定部 54 イメージ記憶部 55 文字認識部 101 未記入帳票 102A〜102C マーク記入部(マーク記入領域) 103 文字記入枠 104 記入済み帳票 105A〜105C 読取対象文字 1 blank form 2 mark entry part (mark entry area) 3 character entry frame 4 completed form 5 reading target character 11 scanning part 12 same color judgment part 13 image storage part 14 character recognition part 21 scanning part 22 table value storage part 23 same color Judgment unit 24 Image storage unit 25 Character recognition unit 31 Scanning unit 32 Same color determination unit 33 Image storage unit 34 Character recognition unit 41 Scanning unit 42 Table value storage unit 43 Same color determination unit 44 Image storage unit 45 Character recognition unit 51 Scanning unit 52 Table Value storage unit 53 Same-color determination unit 54 Image storage unit 55 Character recognition unit 101 Unfilled form 102A to 102C Mark entry unit (mark entry area) 103 Character entry frame 104 Completed form 105A to 105C Read target character

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/46 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location H04N 1/46

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 帳票からカラー画像イメージを取り込む
走査手段と、 前記帳票に予め一箇所に設けられたマーク記入領域の文
字・図形を、前記走査手段により読み取り対象文字の読
み取り以前に取り込むことによって得られる色成分と同
色の色成分を、前記走査手段で取り込まれる前記帳票の
カラー画像イメージの色成分から、前記カラー画像イメ
ージの取り込みと同時に順次抽出する同色抽出手段と、 前記同色抽出手段により抽出されたイメージに基づいて
前記帳票の文字を認識する文字認識手段とを備え、 前記文字認識手段により認識された文字に対応する色成
分を前記帳票毎に出力することを特徴とする光学的文字
読取装置。
1. A scanning means for capturing a color image image from a form, and a character / figure in a mark writing area provided in advance at one place on the form, are acquired by the scanning means before reading a character to be read. A color component having the same color as that of the color component extracted from the color component of the color image image of the form captured by the scanning unit by the same color extraction unit that sequentially extracts the color image image at the same time as the color image image is captured; An optical character reader for recognizing the characters of the form based on the image, and outputting a color component corresponding to the character recognized by the character recognizing unit for each form. .
【請求項2】 帳票からカラー画像イメージを取り込む
走査手段と、 前記帳票に予め一箇所に設けられたマーク記入領域の文
字・図形を、前記走査手段により読み取り対象文字の読
み取り以前に取り込むことによって得られる色成分と同
色の色成分を、前記走査手段で取り込まれる前記帳票の
カラー画像イメージの色成分から、前記カラー画像イメ
ージの取り込みと同時に順次抽出する同色抽出手段と、 前記同色抽出手段により抽出されたイメージに基づいて
前記帳票の文字を認識する文字認識手段とを備え、 前記文字認識手段により認識された文字に対応する色成
分を文字単位で出力することを特徴とする光学的文字読
取装置。
2. A scanning means for capturing a color image image from a form, and a character / figure in a mark writing area provided in advance at one place on the form, are acquired by the scanning means before reading a character to be read. A color component having the same color as that of the color component extracted from the color component of the color image image of the form captured by the scanning unit by the same color extraction unit that sequentially extracts the color image image at the same time as the color image image is captured; And a character recognition unit for recognizing the characters of the form based on the image, and outputting a color component corresponding to the character recognized by the character recognition unit on a character-by-character basis.
【請求項3】 帳票からカラー画像イメージを取り込む
走査手段と、 前記カラー画像イメージの色成分を記憶する記憶手段
と、 前記帳票に予め一箇所に設けられたマーク記入領域の色
成分と同色の色成分を、前記記憶手段で取り込まれる前
記帳票のカラー画像イメージの色成分から抽出する同色
抽出手段と、 前記同色抽出手段により抽出されたイメージに基づいて
前記帳票の文字を認識する文字認識手段とを備え、 前記文字認識手段により認識された文字に対応する色成
分を前記帳票毎に出力することを特徴とする光学的文字
読取装置。
3. A scanning means for capturing a color image image from a form, a storage means for storing color components of the color image image, and a color having the same color as the color component of a mark writing area provided in one place in advance on the form. The same color extraction means for extracting the components from the color components of the color image image of the form taken in by the storage means; and the character recognition means for recognizing the characters of the form based on the image extracted by the same color extraction means. An optical character reading device comprising: a color component corresponding to a character recognized by the character recognition means, and output for each form.
【請求項4】 帳票からカラー画像イメージを取り込む
走査手段と、 前記カラー画像イメージの色成分を記憶する記憶手段
と、 前記帳票に予め一箇所に設けられたマーク記入領域の色
成分と同色の色成分を、前記記憶手段で取り込まれる前
記帳票のカラー画像イメージの色成分から抽出する同色
抽出手段と、 前記同色抽出手段により抽出されたイメージに基づいて
前記帳票の文字を認識する文字認識手段とを備え、 前記文字認識手段により認識された文字に対応する色成
分を前記文字単位で出力することを特徴とする光学的文
字読取装置。
4. A scanning means for capturing a color image image from a form, a storage means for storing color components of the color image image, and a color having the same color as the color component of a mark writing area provided in one place in advance on the form. The same color extraction means for extracting the components from the color components of the color image image of the form taken in by the storage means; and the character recognition means for recognizing the characters of the form based on the image extracted by the same color extraction means. An optical character reading device comprising: a color component corresponding to a character recognized by the character recognizing means, output in character units.
【請求項5】 帳票からカラー画像イメージを取り込む
走査手段と、 前記帳票に予め複数箇所に設けられたマーク記入領域の
複数の文字・図形を、前記走査手段により読み取り対象
文字の取り込み以前に取り込むことによって得られる複
数の色成分を記憶し、この記憶された複数の色成分と、
前記走査手段で取り込まれる前記帳票のカラー画像イメ
ージの色成分とを比較し、同色の色成分を前記カラー画
像イメージの取り込みと同時に順次抽出する同色抽出手
段と、 前記同色抽出手段により抽出されたイメージに基づいて
前記帳票の文字を認識する文字認識手段とを備え、 前記文字認識手段により認識された文字に対応する色成
分を前記文字単位で出力することを特徴とする光学的文
字読取装置。
5. A scanning means for capturing a color image image from a form, and a plurality of characters / figures in a mark writing area provided in advance at a plurality of positions on the form before capturing the character to be read by the scanning means. Stores a plurality of color components obtained by, and the stored plurality of color components,
An image extracted by the same color extracting unit that compares the color components of the color image image of the form captured by the scanning unit and sequentially extracts the color components of the same color at the same time when the color image image is captured. And a character recognition unit for recognizing the characters of the form based on the above, and a color component corresponding to the character recognized by the character recognition unit is output in character units.
【請求項6】 帳票からカラー画像イメージを取り込む
走査手段と、 前記カラー画像イメージの色成分を記憶する記憶手段
と、 前記帳票に予め複数箇所に設けられたマーク記入領域の
複数の色成分を記憶し、この記憶された複数の色成分
と、前記記憶手段で取り込まれる前記帳票のカラー画像
イメージの色成分とを比較し、同色の色成分を順次抽出
する同色抽出手段と、 前記同色抽出手段により抽出されたイメージに基づいて
前記帳票の文字を認識する文字認識手段とを備え、 前記文字認識手段により認識された文字に対応する色成
分を前記文字単位で出力することを特徴とする光学的文
字読取装置。
6. A scanning means for taking in a color image image from a form, a storage means for storing color components of the color image image, and a plurality of color components of a mark writing area previously provided in a plurality of places on the form. Then, the plurality of stored color components are compared with the color components of the color image image of the form captured by the storage unit, and the same color extraction unit that sequentially extracts the color components of the same color by the same color extraction unit. An optical character comprising: a character recognition unit for recognizing a character of the form based on the extracted image, wherein a color component corresponding to the character recognized by the character recognition unit is output in the character unit. Reader.
JP6197382A 1994-07-29 1994-07-29 Optical character reader Pending JPH0844821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6197382A JPH0844821A (en) 1994-07-29 1994-07-29 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6197382A JPH0844821A (en) 1994-07-29 1994-07-29 Optical character reader

Publications (1)

Publication Number Publication Date
JPH0844821A true JPH0844821A (en) 1996-02-16

Family

ID=16373591

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6197382A Pending JPH0844821A (en) 1994-07-29 1994-07-29 Optical character reader

Country Status (1)

Country Link
JP (1) JPH0844821A (en)

Similar Documents

Publication Publication Date Title
JP2864137B2 (en) Document processing system
EP0753833B1 (en) Apparatus and method for extracting articles from a document
US5048107A (en) Table region identification method
EP0920189A3 (en) Image processing apparatus
JPH08154172A (en) Image processing method, image file, and image processing file
JP2000207489A (en) Character extraction method, apparatus and recording medium
JPH0844821A (en) Optical character reader
JPH06203204A (en) Character recognition device
JP3955467B2 (en) Image processing program and image processing apparatus
JPH06131495A (en) Image information extraction method
JP3276555B2 (en) Format recognition device and character reader
JP2003046746A (en) Image processing method and image processing apparatus
JPH0844820A (en) Optical character reader
USH524H (en) Image processing system for converting monochrome bank check images to multicolor bank check images
JP3391987B2 (en) Form recognition device
EP0446630A2 (en) Method and apparatus for segmenting characters in an amount field on a financial document
JPH06243290A (en) Optical character reader
JPH05303661A (en) Acquring/displaying device for partial image data
JP3006294B2 (en) Optical character reader
JPH08329166A (en) Character recognition device
JP2683711B2 (en) How to recognize / correct character / symbol data
JPH0528314A (en) Optical character reader
JP2954218B2 (en) Image processing method and apparatus
JP2570571B2 (en) Optical character reader
Cracknell et al. A colour classification approach to form dropout