JPH04130978A - Color compatible optical character reader - Google Patents

Color compatible optical character reader

Info

Publication number
JPH04130978A
JPH04130978A JP2252415A JP25241590A JPH04130978A JP H04130978 A JPH04130978 A JP H04130978A JP 2252415 A JP2252415 A JP 2252415A JP 25241590 A JP25241590 A JP 25241590A JP H04130978 A JPH04130978 A JP H04130978A
Authority
JP
Japan
Prior art keywords
color
dictionary
type
optical character
scanner
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
JP2252415A
Other languages
Japanese (ja)
Inventor
Koji Shibanishi
芝西 晃司
Shigeo Shimura
志村 繁夫
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2252415A priority Critical patent/JPH04130978A/en
Publication of JPH04130978A publication Critical patent/JPH04130978A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To improve efficiency for a read processing operation by enabling identification based on color-coding by a color sensor. CONSTITUTION:For a color sensor 3, photodetectors having high photodetection sensitivity are arranged corresponding to the wavelengths of respective beams in respective colors, and while receiving the beam reflected from a figure 2 on a card 1, a code by colors is outputted corresponding to the printing color. The code by colors outputted from the color sensor 3 is decoded to be stored by a signal by colors transmission control part 4 and transmitted to a scanner output selection part 16, reference information selection part 12 and color identification result decision part 15. The output of the signal by colors transmission control part 4 controls the open / close of AND gates 121-123 and selects any one dictionary having a character type corresponding to the color of the figure 2 on the card 1 among a Ming-style type dictionary 8, Gothic type dictionary 9 and Chinese type figure dictionary 10 in a dictionary part 10. The dictionary selected in this way is connected through an OR gate 24 to a recognition part 13 and turned to another input to the recognition part 13. The recognition part 13 recognizes the exact figure 2 by comparing the image information of the figure 2 inputted from any one of scanners 5-7 through the scanner output selection part 16 with the candidate character to be inputted from any one of the Ming-style type dictionary 8, Gothic type dictionary 9 and Chinese type figure dictionary 10 through the reference information selection part 12 and referring to the information.

Description

【発明の詳細な説明】 〔産業上の利用分野J 本発明は、画情報としての手書き文字や印刷文字から、
対応する文字コードを読み取る光学式文字読み取り装置
に係り、特に、色付き文字を効率良く読み取るのに好適
な色対応光学式文字読み取り装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field J] The present invention is directed to the processing of handwritten characters and printed characters as image information.
The present invention relates to an optical character reading device for reading corresponding character codes, and particularly to a color-compatible optical character reading device suitable for efficiently reading colored characters.

〔従来の技術〕[Conventional technology]

現在、コンピュータを利用した装置およびシステムが広
い分野で用いられている。
Currently, computer-based devices and systems are used in a wide range of fields.

その一つに光学式文字読み取り装置(OCR:○pti
cal  Character  Reader)があ
り、ハガキの郵便番号読み取りや、宝くじの自動当たり
券判別装置などに利用されている。
One of them is an optical character reader (OCR:○pti).
cal Character Reader), which is used for reading postal codes on postcards and automatic lottery ticket discriminating devices.

光学式文字読み取り装置とは、紙面に書かれた、あるい
は印刷された文字に光をあて、その反射光を受けて観測
し、その文字が何であるかを識別して符号化する入力装
置である。
An optical character reader is an input device that shines light on characters written or printed on paper, observes the reflected light, identifies the characters, and encodes them. .

このような光学式文字読み取り装置を応用したものに、
例えば、実公昭56−23715号公報に記載のものが
ある。これは、光学式文字読み取り装置で読み取った宝
くじの番号と、予め格納しである当たり番号とを比較照
合し、読み取った宝くじの当たり外れを判定するもので
ある。
Applications of such optical character reading devices include
For example, there is one described in Japanese Utility Model Publication No. 56-23715. This method compares the lottery numbers read by an optical character reader with pre-stored winning numbers to determine whether the read lottery is a win or a failure.

また、同様に、宝くじの当たり外れを判定するものに、
特開昭58−33774号公報に記載のものがある。こ
れは、通信回線を介して受信した装置の稼動当日の日付
のデータに基づき、有効期限の切れた当たり番号テーブ
ルの無効処理を行なうことにより、格納する当たり番号
を更新するものである。
Similarly, to determine whether the lottery is successful or not,
There is one described in Japanese Patent Application Laid-Open No. 58-33774. This is to update the stored winning numbers by invalidating the expired winning number table based on data of the date of operation of the device received via the communication line.

[発明が解決しようとする課題] 従来の光学式文字読み取り装置は、単色の文字を、読み
取りの対象としている。
[Problems to be Solved by the Invention] Conventional optical character reading devices read monochrome characters.

たとえ、青色で書かれた文字も、背景色との濃淡差など
に基づき、黒色で書かれた文字と同様に、読み取り処理
を行なっている。
Even if a character is written in blue, it is read in the same way as a character written in black, based on the difference in shading from the background color.

しかし、近年、光学式文字読み取り装置で取り扱う読み
取り対象媒体、例えば、くじ付はがきなどは、多種類の
色が用いられている。
However, in recent years, various colors have been used for reading target media handled by optical character reading devices, such as lottery postcards.

読み取り対象媒体に多種類の色を用いるのは、利用者が
、その読み取り対象媒体が何であるかを、すばやく識別
できるようにとの配慮からである。
The reason why many different colors are used for the medium to be read is to enable the user to quickly identify the medium to be read.

このように、色分けに基づく識別は、非常に有効なもの
である。
In this way, identification based on color coding is very effective.

しかし、従来の光学式文字読み取り装置は、このような
読み取り対象媒体の多種類の色に対しては、何らの考慮
もされておらず、文字認識の方法、および、その応用範
囲を狭め、さらに、文字認識のための無駄な処理が発生
していた。
However, conventional optical character reading devices do not take into consideration the wide variety of colors of the target media, which narrows the character recognition method and its range of applications. , unnecessary processing was occurring for character recognition.

例えば、光学式文字読み取り装置を用いた特開昭58−
33774号公報に記載の抽選券判別装置では、抽選券
の抽選番号と発行回号を読み取る必要がある。そのため
に、物理的な読み取り範囲が広くなり、また、データ検
索処理も、発行回号の判別処理後に、抽選番号の判別処
理を行なうために、装置にかかる負荷が大きくなってい
た。
For example, Japanese Patent Application Laid-Open No. 58-1989 using an optical character reading device
The lottery ticket discriminating device described in Publication No. 33774 needs to read the lottery number and issue number of the lottery ticket. As a result, the physical reading range has become wider, and the load on the device has increased because the data search process also involves determining the lottery number after determining the issue number.

また、抽選券自体にも、発行同号用の記述部分を必要と
し、スペースを取っていた。
In addition, the lottery ticket itself required a descriptive section for the same issue, which took up space.

このように、従来の光学式文字読み取り装置は、読み取
り対象媒体の色に対して、有効な利用がなされていなか
った。
As described above, conventional optical character reading devices do not make effective use of the color of the medium to be read.

本発明の目的は、これら従来技術の課題を解決し、色分
けに基づく識別が可能であり、読み取り処理動作の効率
を向上する色対応光学式文字読み取り装置を提供するこ
とである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a color-compatible optical character reading device that solves the problems of the prior art, enables identification based on color classification, and improves the efficiency of reading processing operations.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明の色対応光学式文字読
み取り装置は、(1)読み取り対象媒体上の文字を画情
報として読み取るスキャナと、予め格納した参照情報に
基づき、このスキャナで読み取った文字の画情報に対応
する文字を認識する文字認識部とを有する光学式文字読
み取り装置において、読み取り対象媒体上の予め任意に
定められた位置の色を読み取る色センサと、この色セン
サからの出力に基づき、色の種類別の制御信号の送出を
制御する色別信号送出制御部と、この色別信号送出制御
部からの制御信号に基づき、参照情報を絞り込む参照情
報選出部とを設けたことを特徴とする。
In order to achieve the above object, the color-compatible optical character reading device of the present invention includes (1) a scanner that reads characters on a reading target medium as image information, and characters read by this scanner based on reference information stored in advance. In an optical character reading device having a character recognition section that recognizes characters corresponding to image information, a color sensor reads a color at a predetermined position on a medium to be read, and an output from this color sensor. Based on this, a color-specific signal transmission control section that controls the transmission of control signals for each color type, and a reference information selection section that narrows down reference information based on the control signal from the color-specific signal transmission control section are provided. Features.

また、(2)上記(1)に記載の色対応光学式文字読み
取り装置において、読み取り対象媒体上の予め任意に定
められた位置の色に用いる色の種類の数と同数のスキャ
ナと、色別信号送出制御部からの制御信号に基づき、色
の種類の数と同数のスキャナからのそれぞれの出力のう
ちの一つを選択するスキャナ出力選択部とを設けたこと
を特徴とする。
(2) In the color-compatible optical character reading device described in (1) above, the number of scanners equal to the number of color types to be used for colors at predetermined positions on the reading target medium, and The present invention is characterized in that it includes a scanner output selection section that selects one of the outputs from the same number of scanners as the number of color types, based on a control signal from the signal transmission control section.

そして、(3)上記(1)に記載の色対応光学式文字読
み取り装置において、利用者が手動で、読み取り対象媒
体上の予め任意に定められた位置の色に対応する制御信
号を入力する手動選択入力部と、この手動選択入力部か
らの制御信号と、色別信号送出制御部からの制御信号と
の一致・不一致を判定する色識別結果判定部とを設けた
ことを特徴とする。
(3) In the color-compatible optical character reading device described in (1) above, the user manually inputs a control signal corresponding to a color at a predetermined position on the medium to be read. The present invention is characterized in that it is provided with a selection input section and a color identification result determination section that determines whether the control signal from the manual selection input section matches or does not match the control signal from the color-specific signal transmission control section.

〔作用〕[Effect]

本発明においては、各読み取り対象の種類を、色で分け
る。そして、各色の各光の波長に対応して受光感度の高
い受光素子を配列した色センサを用いて、例えば紙面上
の特定の位置の色を検出する。
In the present invention, each type of reading target is classified by color. Then, for example, the color at a specific position on the paper is detected using a color sensor in which light-receiving elements with high light-receiving sensitivity are arranged corresponding to the wavelength of each color of light.

この色センサの検出結果に基づき、認識処理時に用いる
参照情報の絞り込みを行なう。そして、絞りこんだ参照
情報を用いて、スキャナで読み取った文字の画情報に対
する認識処理を行なう。
Based on the detection results of this color sensor, reference information used during recognition processing is narrowed down. Then, using the narrowed down reference information, recognition processing is performed on the image information of the characters read by the scanner.

このことにより、手動による絞り込み操作を省き、かつ
、認識処理の処理時間を短縮する。
This eliminates manual narrowing down operations and shortens the processing time of recognition processing.

また、手動により、色により分けた各読み取り対象の種
類を指定する。そして、この手動により指定した種類と
、色センサの検出結果との合致を判定する。
In addition, the type of each reading target classified by color is manually specified. Then, it is determined whether the manually specified type matches the detection result of the color sensor.

このことにより、色センサの動作、および、操作者の操
作をチエツクし、色センサの誤動作、もしくは、操作者
の操作ミスにより発生する文字の認識処理不良を防止す
る。
As a result, the operation of the color sensor and the operator's operation are checked to prevent malfunction of the color sensor or defective character recognition processing caused by the operator's operational error.

このように、色に基づき、読み取り対象の種別を判定す
ることにより、光学式文字読み取り装置の読み取り処理
性能の向上を可能にする。
In this way, by determining the type of the object to be read based on the color, it is possible to improve the reading processing performance of the optical character reading device.

〔実施例〕〔Example〕

以下、本発明の実施例を、図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明を施した光学式文字読み取り装置の本
発明に係る構成の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the configuration of an optical character reading device according to the present invention.

読み取り対象のカード1の数字2には、その数字のタイ
プ、例えば、明朝体、ゴシック体、あるいは、漢数字な
どに対応した色が、明朝体は赤、ゴシック体は青、漢数
字は黄色などとして定められている。
Number 2 on card 1 to be read has a color that corresponds to the type of the number, for example, Mincho font, Gothic font, or Chinese numerals.Mincho font is red, Gothic font is blue, and Chinese numeral is It is defined as yellow.

すなわち、「0.1.2・・・」は赤色、「0.1.2
・・・」は青色、「−1二、三、・・・」は黄色で印刷
されている。
In other words, "0.1.2..." is red, and "0.1.2..." is red.
"..." are printed in blue, and "-1, two, three,..." are printed in yellow.

そして、本実施例の光学式文字読み取り装置は、カード
1の搬送経路に設けられ数字2の色に対応した出力を行
なう色センサ3、この色センサ3からの出力に基づき、
それぞれの色(赤色、青色、黄色)に対応した制御信号
を出力する色別信号送出制御部4、数字2に用いるそれ
ぞれの色に対応して設けたスキャナ5〜7(スキャナ5
は赤色用、スキャナ6は青色用、スキャナ7は黄色用)
、色別信号送出制御部4の出力に基づきスキャナ4〜6
の内の有効な出力を選択するスキャナ出力選択部7、数
字2の種類毎に用意された明朝体辞書8、ゴシック体辞
書9、漢数字辞書10を格納する辞書部11、この辞書
部11から、色別信号送出制御部4の出力に対応する辞
書を選択する参照情報選出部12、スキャナ出力選択部
16で選択され、出力されたスキャナ5〜7のいずれか
の数字2の読み取り情報と、参照情報選出部12で選択
された明朝体辞書8、ゴシック体辞書9、漢数字辞書1
oのいずれかの辞書とを比較照合し、数字2を正しく認
識する認識部13、装置の利用者が手動で、数字2の種
類(色)を選択して入力する手動選択入力部14、そし
て、この手動選択入力部14で指定された数字2の種類
(色)−と、色別信号送出制御部4からの出力(色によ
り識別した数字2の種類)との合致を判定する色識別結
果判定部15から構成されている。
The optical character reading device of this embodiment includes a color sensor 3 that is provided on the conveyance path of the card 1 and outputs an output corresponding to the color of the number 2, and based on the output from the color sensor 3,
A color-specific signal transmission control unit 4 outputs control signals corresponding to each color (red, blue, yellow), and scanners 5 to 7 (scanners 5
is for red, scanner 6 is for blue, scanner 7 is for yellow)
, scanners 4 to 6 based on the output of the color-specific signal transmission control section 4.
a scanner output selection section 7 that selects a valid output among the numerals 2; a dictionary section 11 that stores a Mincho font dictionary 8, a Gothic font dictionary 9, and a Chinese numeral dictionary 10 prepared for each type of numeral 2; , the reference information selection section 12 selects a dictionary corresponding to the output of the color-specific signal transmission control section 4, and the reading information of the number 2 of any one of the scanners 5 to 7 selected and output by the scanner output selection section 16. , a Mincho typeface dictionary 8, a Gothic typeface dictionary 9, and a Chinese numeral dictionary 1 selected by the reference information selection unit 12.
a recognition unit 13 that correctly recognizes the number 2 by comparing it with one of the dictionaries o, a manual selection input unit 14 through which the user of the device manually selects and inputs the type (color) of the number 2; , a color identification result for determining whether the type (color) of number 2 specified in this manual selection input section 14 matches the output from the color-specific signal transmission control section 4 (the type of number 2 identified by color). It is composed of a determining section 15.

このような構成により、本実施例の光学式文字読み取り
装置は、カード1に印刷された数字2を、数字2に用い
られている色に基づき、効率良く読み取る。以下、その
動作を説明する。
With such a configuration, the optical character reading device of this embodiment efficiently reads the number 2 printed on the card 1 based on the color used for the number 2. The operation will be explained below.

まず、図示されない搬送系により、カード1が送られて
くると、色センサ3は、カードlの所定の位置に印刷さ
れている数字2の色を読み取る。
First, when a card 1 is sent by a transport system (not shown), the color sensor 3 reads the color of the number 2 printed at a predetermined position on the card 1.

ここで、色センサ3は、カードlの数字2から反射した
光を、光の波長別に選択的に反応する受光素子や、光の
波長に対応したフィルタを、通常の受光素子と組み合わ
せて構成する。
Here, the color sensor 3 is configured by combining a light receiving element that selectively reacts to the light reflected from the number 2 of the card L according to the wavelength of the light, and a filter corresponding to the wavelength of the light, with a normal light receiving element. .

このように、色センサ3は、各色の多光の波長に対応し
て受光感度の高い受光素子を配列しており、カード1の
数字2から反射してくる光を受けて、印刷色に対応した
色別コードを出力する。
In this way, the color sensor 3 has light-receiving elements with high light-receiving sensitivity arranged corresponding to the wavelengths of multiple lights of each color, and receives the light reflected from the number 2 on the card 1 to correspond to the printed color. output the color-coded code.

色別信号送出制御部4は、色センサ3が出力した色別コ
ードを復号して記憶し、スキャナ出力選択部16、参照
情報選出部12、色識別結果判定部15に送出する。
The color-specific signal transmission control section 4 decodes and stores the color-specific code output by the color sensor 3, and sends it to the scanner output selection section 16, the reference information selection section 12, and the color identification result determination section 15.

スキャナ5〜7は、色センサ3を通過したカード1の数
字2を画像として読み取り、画情報を出力する。
The scanners 5 to 7 read the number 2 on the card 1 that has passed through the color sensor 3 as an image, and output image information.

本実施例では、スキャナを、各色別に設けている。これ
は、それぞれの色に合わせて、各スキャナの色に対する
感度特性を設定し、読み取り精度を向上させるためであ
る。
In this embodiment, scanners are provided for each color. This is to improve reading accuracy by setting the color sensitivity characteristics of each scanner according to each color.

さて、スキャナ5〜7からの画情報は、スキャナ出力選
択部16に送出される。
Now, the image information from the scanners 5 to 7 is sent to the scanner output selection section 16.

スキャナ出力選択部16は、ANDゲート(論理積回路
)81〜83とORゲート(論理和回路)84からなる
The scanner output selection section 16 includes AND gates (AND circuits) 81 to 83 and an OR gate (OR circuit) 84.

そして、色別信号送出制御部4の出力は、ANDゲート
81〜83の開閉を制御し、スキャナ4〜6の出力の内
、カード1の数字2の色に対応したスキャナからの数字
2の出力を選択する。このようにして選択された数字2
の画情報は、○Rゲート84を介して認識部13に出力
される。
The output of the color-specific signal transmission control unit 4 controls the opening and closing of AND gates 81 to 83, and outputs the number 2 from the scanner corresponding to the color of the number 2 of the card 1 among the outputs of the scanners 4 to 6. Select. Number 2 selected in this way
The image information is output to the recognition unit 13 via the ○R gate 84.

また、色別信号送出制御部4の出力は、参照情報選出部
12においても同様な制御を行なう。
Further, the output of the color-specific signal transmission control section 4 is similarly controlled in the reference information selection section 12.

すなわち、参照情報選出部12は、ANDゲート121
〜123とORゲート124からなる。
That is, the reference information selection unit 12 uses the AND gate 121
123 and an OR gate 124.

そして、色別信号送出制御部4の出力は、ANDゲート
121〜123の開閉を制御し、辞書部ll内の明朝体
辞書8、ゴシック体辞書9、漢数字辞書lOのいずれか
の内、カードlの数字2の色に対応した字体の辞書を選
択する。このようにして選択された辞書が、ORゲート
124を介し、認識部13へ接続され、認識部13への
もう一つの入力となる。
The output of the color-specific signal transmission control section 4 controls the opening and closing of the AND gates 121 to 123, and selects one of the Mincho type dictionary 8, the Gothic type dictionary 9, and the Chinese numeral dictionary 10 in the dictionary section ll. Select the dictionary whose font corresponds to the color of number 2 on card l. The dictionary selected in this way is connected to the recognition section 13 via the OR gate 124, and becomes another input to the recognition section 13.

認識部13は、スキャナ出力選択部16を介して入力さ
れるスキャナ5〜7のいずれかからの数字2の画情報と
、参照情報選出部12を介して入力される明朝体辞書8
、ゴシック体辞書9、漢数字辞書loのいずれかからの
候補文字とを比較参照し、正確な数字2を認識する。
The recognition unit 13 receives the image information of the number 2 from any of the scanners 5 to 7 inputted via the scanner output selection unit 16 and the Mincho font dictionary 8 inputted via the reference information selection unit 12.
, the Gothic dictionary 9, or the Chinese numeral dictionary lo, and compares and references the candidate characters to recognize the correct number 2.

尚、この認識部13の認識処理動作は、従来からあ−る
技術であり、かつ、本発明とは直接関連しないため説明
は省略する。
Note that the recognition processing operation of the recognition unit 13 is a conventional technology and is not directly related to the present invention, so a description thereof will be omitted.

次に、手動選択入力部14は、利用者が、数字2の種類
の指定するために押下するスイッチ141〜143と、
各スイッチ141〜143の状態を記憶するF/F(フ
リップフロップ)からなる記憶回路144〜146を有
し、利用者が選択した数字2の種類の情報を、色識別結
果判定W515に出力する。
Next, the manual selection input section 14 includes switches 141 to 143 that the user presses to specify the type of number 2;
It has storage circuits 144 to 146 made up of F/Fs (flip-flops) that store the states of the respective switches 141 to 143, and outputs information on the type of number 2 selected by the user to the color identification result determination W515.

色識別結果判定部15は、AND回路151〜153と
NORゲート154、および、F/F(フリップフロッ
プ)からなる記憶回路155で構成されている。
The color identification result determination section 15 includes AND circuits 151 to 153, a NOR gate 154, and a storage circuit 155 including an F/F (flip-flop).

そして、AND回路151〜153は、それぞれ、色別
信号送出制御部4からの入力と、手動選択入力部14の
各スイッチ141〜143からの入力との一致を判定す
る。一致していれば、NORゲート154の出力が「0
」となり、一致していなければ、NORゲート154の
出力は「1」となる。
The AND circuits 151 to 153 each determine whether the input from the color-specific signal transmission control section 4 matches the input from each of the switches 141 to 143 of the manual selection input section 14. If they match, the output of the NOR gate 154 becomes "0".
”, and if they do not match, the output of the NOR gate 154 becomes “1”.

NORゲート154の出力「1」は、記憶回路155を
介して、図示されない警報発生装置に送出され、アラー
ム音を鳴らし、利用者にエラーを通知する。
The output "1" of the NOR gate 154 is sent to an alarm generating device (not shown) via the memory circuit 155 to sound an alarm and notify the user of the error.

このように、本実施例の光学式文字読み取り装置によれ
ば、色に基づく判断により、適切な参照情報を絞り込み
、色に対応した効率の良い文字認識処理を行なうことが
できる。
In this way, according to the optical character reading device of this embodiment, it is possible to narrow down appropriate reference information based on color-based judgment and perform efficient character recognition processing that corresponds to color.

尚、第1図における色対応の光学式文字読み取リ装置で
は、各色の種類に対応させて、王台のスキャナを設けて
いるが、各種の色に対して十分な読み取り感度を有する
ものであれば、スキャナは一台で良い。この場合、スキ
ャナ出力選択部16は不要となる。
The color-compatible optical character reading device shown in Figure 1 is equipped with a scanner for each type of color, but it is not possible to use a scanner that has sufficient reading sensitivity for each type of color. For example, only one scanner is enough. In this case, the scanner output selection section 16 becomes unnecessary.

また、色センサ3で検出する色は、カード1の数字2の
色でなくても良い。例えば、スペースが許せば、新たな
個所に色コードを印刷したり、また、単に背景色でも良
い。
Further, the color detected by the color sensor 3 does not have to be the color of number 2 on the card 1. For example, if space allows, you can print a color code in a new location, or simply use the background color.

また、本実施例は、本発明の一実施例であり、さらに、
様々な応用が可能である。
Further, this example is an example of the present invention, and further includes:
Various applications are possible.

例えば、手書き文字用の光学式文字読み取り装置に応用
し、色付きの紙に、カラーペンなどで、文字が手書きさ
れている場合にも、紙の色を識別しておくことにより、
カラーペンによる文字の認識確率を向上することができ
る。
For example, by applying it to an optical character reading device for handwritten characters, even when characters are handwritten on colored paper with a colored pen, by identifying the color of the paper,
The probability of recognizing characters using color pens can be improved.

以下、色対応の光学式文字読み取り装置の応用例として
、くじ付き証券判別装置に関して説明する。
Hereinafter, as an application example of the color-compatible optical character reading device, a lottery ticket discriminating device will be described.

fJ2図は、第1図の光学式文字読み取り装置を応用し
たくじ付き証券判別装置の本発明に係る構成の一実施例
を示すブロック図である。
FIG. fJ2 is a block diagram showing an embodiment of the configuration of a lottery-equipped security discriminating device according to the present invention to which the optical character reading device of FIG. 1 is applied.

本実施例のくじ付き証券判別装置の構成は、はとんど、
第1図における色対応光学式文字読み取り装置と同じで
あり、黒などの単色のくじ番号22と、識別用色枠23
を有するくじ付き証券2Iが、読み取り対象である。
The configuration of the lottery security discriminating device of this embodiment is basically as follows.
It is the same as the color compatible optical character reading device shown in FIG.
The lottery ticket 2I having the following is the object to be read.

本実施例のくじ付き証券判別装置は、第1図と同様な構
成として、以下のものを有する。
The lottery ticket discriminating device of this embodiment has the following configuration similar to that shown in FIG.

まず、本実施例のくじ付き証券判別装置は、くじ番号2
2の色に対応した出力を行なう色センサ3、この色セン
サ3からの出力に基づき、それぞれの色に対応した制御
信号の出力を行なう色別信号送出制御部4、色別信号送
出制御部4の出力に対応する参照情報を選択する参照情
報選出部12、装置の利用者が1.識別用色枠23に対
応する参照情報の種類を任意に指定し選択する手動選択
入力部14、この手動選択入力部14で指定された色と
、色別信号送出制御部4で識別された色との合致を判定
する色R別結果判定部15、そして、くじ番号22を画
情報として読み取るスキャナ7、スキャナ7で読み取っ
た画情報から、くじ番号22を正しく認識する認識部1
3から構成される。
First, the lottery-equipped securities discriminating device of this embodiment uses the lottery number 2.
2, a color-specific signal transmission control section 4 that outputs a control signal corresponding to each color based on the output from the color sensor 3, and a color-specific signal transmission control section 4 that outputs a control signal corresponding to each color. Reference information selection unit 12 selects reference information corresponding to the output of 1. A manual selection input section 14 that arbitrarily specifies and selects the type of reference information corresponding to the identification color frame 23; a color specified by the manual selection input section 14 and a color identified by the color-specific signal transmission control section 4; a scanner 7 that reads the lottery number 22 as image information; a recognition unit 1 that correctly recognizes the lottery number 22 from the image information read by the scanner 7;
Consists of 3.

本実施例では、くじ番号22が単色であり、スキャナは
、スキャナ7の一台で良い。
In this embodiment, the lottery numbers 22 are of a single color, and a single scanner 7 is sufficient as the scanner.

さらに、本実施例のくじ付き証券判別装置は、第1図と
異なる構成としては、以下のものを有する。
Furthermore, the lottery ticket discriminating device of this embodiment has the following configurations different from that in FIG.

すなわち、本実施例のくじ付き証券判別装置は、参照情
報選出部工2で、選択の対象とするデータを格納する当
たり番号格納部28、当たり番号格納部28に格納され
、例えば、発行同号などの各璽類別の当たり番号データ
25〜27、認識部13で、くじ番号22を正しく認識
するために用いる文字情報を格納する辞書部24、認識
部13で認識したくじ番号22と、参照情報選出部12
を介して得られる当たり番号データとの比較、照合を行
ない、くじ付き証券21の当たり外れを判定する比較判
定部29から構成されている。
That is, in the lottery ticket identification device of the present embodiment, the reference information selection section 2 stores the data to be selected in the winning number storage section 28, and the winning number storage section 28 stores the winning number storage section 28 for storing the data to be selected. winning number data 25 to 27 for each seal type, dictionary section 24 that stores character information used to correctly recognize the lottery number 22 in the recognition section 13, lottery number 22 recognized by the recognition section 13, and reference information. Selection section 12
It is comprised of a comparison/judgment section 29 that compares and verifies the winning number data obtained through the lottery ticket and determines whether the lottery ticket 21 is a winning ticket or not.

このような構成により、本実施例のくじ付き証券判別装
置は、くじ付き証券21に印刷されたくじ番号22の当
たり外れを、識別色枠23に用いられている色に基づき
、効率良く判定する。以下、その動作を説明する。
With such a configuration, the lottery security discrimination device of this embodiment efficiently determines whether the lottery number 22 printed on the lottery security 21 is a hit or miss based on the color used in the identification color frame 23. . The operation will be explained below.

まず、図示されない搬送系により、くじ付き証券21が
送られてくると、色センサ3は、くじ付き証券21の所
定の位置に印刷されている識別色枠23の色を読み取り
、その色に対応した色別コードを出力する。
First, when the lottery ticket 21 is sent by a transport system (not shown), the color sensor 3 reads the color of the identification color frame 23 printed at a predetermined position on the lottery ticket 21 and corresponds to the color. output the color-coded code.

色別信号送出511111部4は、色センサ3が出力し
た色別コードを復号して記憶する。
The color-coded signal sending section 4 decodes and stores the color-coded code output by the color sensor 3.

スキャナ7は、色センサ3を通過したくじ付き証券21
のくじ番号22を画像として読み取り、画情報を出力す
る。
The scanner 7 detects the lottery tickets 21 that have passed through the color sensor 3.
The lottery number 22 is read as an image and the image information is output.

スキャナ7からの画情報は、認識部13に送出される。Image information from the scanner 7 is sent to the recognition section 13.

認S部13は、辞書24を参照して、パターン認識に基
づき、スキャナ7からの画情報から、正確なくじ番号2
2を認識する。
The recognition S unit 13 refers to the dictionary 24 and determines the correct lottery number 2 from the image information from the scanner 7 based on pattern recognition.
Recognize 2.

尚、この認識部13の認識処理動作は、従来技術であり
、かつ、本発明とは直接関連しないため説明は省略する
Note that the recognition processing operation of the recognition unit 13 is a conventional technique and is not directly related to the present invention, so a description thereof will be omitted.

さて、色別信号送出制御部4の出力は、参照情報選出部
12を制御する。
Now, the output of the color-specific signal transmission control section 4 controls the reference information selection section 12.

すなわち、参照情報選出部12は、ANDゲート121
〜123とORゲート124からなり。
That is, the reference information selection unit 12 uses the AND gate 121
~123 and an OR gate 124.

色別信号送出制御部4の出力は、ANDゲート121〜
123の開閉を制御し、当たり番号格納部28内の各種
類別の当選データを格納している当たり番号データ25
〜27の内、くじ付き証券21の識別色枠23の色に対
応した種類の当たり番号データを選択する。このように
して選択された当たり番号データが、ORゲート124
を介し、比較判定回路29へのもう一つの入力となる。
The output of the color-specific signal transmission control section 4 is output from the AND gates 121 to 121.
Winning number data 25 that controls the opening and closing of 123 and stores winning data of each type in the winning number storage section 28.
27, the type of winning number data corresponding to the color of the identification color frame 23 of the lottery ticket 21 is selected. The winning number data selected in this way is transmitted to the OR gate 124.
It becomes another input to the comparison/judgment circuit 29 via the.

比較判定回路29は、認識部13かものくじ番号22と
、参照情報選出部12からの当たり番号データとを比較
参照し、くじ付き証券21の当たり外れを判定し、その
結果を出力する。
The comparison/judgment circuit 29 compares and refers to the lottery number 22 of the recognition unit 13 and the winning number data from the reference information selection unit 12, determines whether the lottery ticket 21 is a hit or miss, and outputs the result.

次に、手動選択入力部14は、利用者が、くじ付き証券
21の種類(発行回号)を指定するために押下するスイ
ッチ141〜143と、各スイッチ141〜143の状
態を記憶する記憶回路144〜146を有し、利用者が
指定したくじ付き証券21の種類の情報(発行回号)を
、色識別結果判定部15に出力する。
Next, the manual selection input unit 14 includes switches 141 to 143 that the user presses to specify the type (issue number) of the lottery ticket 21, and a memory circuit that stores the states of each switch 141 to 143. 144 to 146, and outputs information on the type of lottery ticket 21 (issue number) specified by the user to the color identification result determination section 15.

色識別結果判定部15は、AND回路151〜153と
NORゲート154、および、記憶回路155を有する
。そして、AND回路151〜153は、それぞれ、色
別信号送出制御部4からの入力と、手動選択入力部14
の各スイッチ141〜143からの入力との一致を判定
する。一致していれば、NORゲート154の出力が「
O」となり、一致していなければ、NORゲート154
の出力はI’lJとなる。
The color identification result determination section 15 includes AND circuits 151 to 153, a NOR gate 154, and a storage circuit 155. The AND circuits 151 to 153 each receive an input from the color-specific signal transmission control section 4 and a manual selection input section 14.
It is determined whether the inputs match the inputs from the switches 141 to 143. If they match, the output of the NOR gate 154 will be “
O”, and if they do not match, the NOR gate 154
The output of is I'lJ.

NORゲート154の出力「1」は、記憶回路155を
介して、図示されない警報発生装置に送出され、アラー
ム音を鳴らし、利用者に、処理エラーを通知する。
The output "1" of the NOR gate 154 is sent to an alarm generating device (not shown) via the storage circuit 155 to sound an alarm and notify the user of a processing error.

このように、本実施例のくじ付き証券判別装置によれば
、色に基づく判断により、複数個用意された当たり番号
データから、適切な当たり番号データを選出し、効率の
良い参照処理と、判定処理を行なうことができる。
As described above, according to the lottery ticket identification device of the present embodiment, appropriate winning number data is selected from a plurality of prepared winning number data by judgment based on color, and efficient reference processing and judgment are possible. can be processed.

尚、第2図のスキャナおよび認識部の構成を、第11i
1におけるように、各色毎の複数のスキャナと、スキャ
ナ出力選択部16を設け、かつ、第2図の辞書部に、第
1図に例として示された辞書部などを設けることにより
、例えば、識別色枠23を持たないくじ付証券などにも
対応でき、さらに、効率の良い、認識処理と、参照処理
、および、判定処理を行なうことができる。
Note that the configuration of the scanner and recognition unit in FIG.
1, by providing a plurality of scanners for each color and the scanner output selection section 16, and by providing the dictionary section shown as an example in FIG. 1 in the dictionary section of FIG. 2, for example, It is also possible to deal with lottery tickets that do not have the identification color frame 23, and moreover, it is possible to perform recognition processing, reference processing, and judgment processing with high efficiency.

CJ!明の効果〕 本発明によれば、色分けに基づく識別が可能であり、光
学式文字読み取り装置の読み取り処理動作の効率を向上
させることができる。
CJ! Effect of Brightness] According to the present invention, identification based on color coding is possible, and the efficiency of the reading processing operation of the optical character reading device can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

図面は本発明の実施例を示し、第1図は本発明を施した
光学式文字読み取り装置の本発明に係る構成の一実施例
を示すブロック図、第2図は第1図の光学式文字読み取
り装置を応用したくじ付き証券判別装置の本発明に係る
構成の一実施例を示すブロック図である。 1:カード、2:数字、3:色センサ、4:色別信号送
出制御部、5〜7:スキャナ、8:明朝体辞書、9:ゴ
シック体辞書、10二漠数字辞書。 11:辞書部、12:参照情報選出部、13:認識部、
14:手動選択入力部、15:色識別結果判定部、16
:スキヤナ出力選択部、21:(じ付き証券、22:<
じ番号、23:識別用色枠。 24:辞書部、25〜27:当たり番号データ。 28:当たり番号格納部、29:比較判定部。
The drawings show embodiments of the present invention, FIG. 1 is a block diagram showing an embodiment of the configuration of an optical character reading device according to the present invention, and FIG. 2 shows the optical character reading device shown in FIG. 1. 1 is a block diagram showing an embodiment of the configuration of a lottery ticket discriminating device to which a reading device is applied, according to the present invention; FIG. 1: Card, 2: Number, 3: Color sensor, 4: Color-specific signal transmission control section, 5 to 7: Scanner, 8: Mincho type dictionary, 9: Gothic type dictionary, 10 Nyaku number dictionary. 11: Dictionary section, 12: Reference information selection section, 13: Recognition section,
14: Manual selection input section, 15: Color identification result determination section, 16
:Scanner output selection part, 21:(Security with stock, 22:<
Same number, 23: Identification color frame. 24: Dictionary section, 25-27: Winning number data. 28: Winning number storage section, 29: Comparison determination section.

Claims (1)

【特許請求の範囲】 1、読み取り対象媒体上の文字を一情報として読み取る
スキャナと、予め格納した参照情報に基づき、上記スキ
ャナで読み取った文字の画情報に対応する文字を認識す
る文字認識手段とを有する光学式文字読み取り装置にお
いて、上記読み取り対象媒体上の予め任意に定められた
位置の色を読み取る色センサと、該色センサからの出力
に基づき、色の種類別の制御信号の送出を制御する色別
信号送出制御手段と、該色別信号送出制御手段からの制
御信号に基づき、上記参照情報を絞り込む参照情報選出
手段とを設けたことを特徴とする色対応光学式文字読み
取り装置。 2、請求項1に記載の色対応光学式文字読み取り装置に
おいて、上記読み取り対象媒体上の予め任意に定められ
た位置の色に用いる色の種類の数と同数の上記スキャナ
と、上記色別信号送出制御手段からの制御信号に基づき
、該色の種類の数と同数のスキャナからのそれぞれの出
力のうちの一つを選択するスキャナ出力選択手段とを設
けたことを特徴とする色対応光学式文字読み取り装置。 3、請求項1に記載の色対応光学式文字読み取り装置に
おいて、利用者が手動で、上記読み取り対象媒体上の予
め任意に定められた位置の色に対応する制御信号を入力
する手動選択入力手段と、該手動選択入力手段からの制
御信号と、上記色別信号送出制御手段からの制御信号と
の一致・不一致を判定する色識別結果判定手段とを設け
たことを特徴とする色対応光学式文字読み取り装置。
[Claims] 1. A scanner that reads characters on a reading target medium as one piece of information, and character recognition means that recognizes characters corresponding to image information of characters read by the scanner based on reference information stored in advance. An optical character reading device having a color sensor that reads a color at a predetermined position on the medium to be read, and controlling the transmission of control signals for each type of color based on the output from the color sensor. 1. A color-compatible optical character reading device, comprising: a color-specific signal transmission control means for controlling the color-specific signal transmission; and a reference information selection means for narrowing down the reference information based on the control signal from the color-specific signal transmission control means. 2. The color-compatible optical character reading device according to claim 1, wherein the number of scanners is the same as the number of color types used for colors at predetermined positions on the medium to be read, and the color-specific signals. A color compatible optical type, characterized in that it is provided with scanner output selection means for selecting one of the outputs from the same number of scanners as the number of color types, based on a control signal from the transmission control means. Character reader. 3. In the color-compatible optical character reading device according to claim 1, a manual selection input means by which a user manually inputs a control signal corresponding to a color at a predetermined position on the medium to be read. and color identification result determining means for determining whether the control signal from the manual selection input means matches or does not match the control signal from the color-specific signal sending control means. Character reader.
JP2252415A 1990-09-22 1990-09-22 Color compatible optical character reader Pending JPH04130978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2252415A JPH04130978A (en) 1990-09-22 1990-09-22 Color compatible optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2252415A JPH04130978A (en) 1990-09-22 1990-09-22 Color compatible optical character reader

Publications (1)

Publication Number Publication Date
JPH04130978A true JPH04130978A (en) 1992-05-01

Family

ID=17237036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2252415A Pending JPH04130978A (en) 1990-09-22 1990-09-22 Color compatible optical character reader

Country Status (1)

Country Link
JP (1) JPH04130978A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579407A (en) * 1992-04-21 1996-11-26 Murez; James D. Optical character classification
WO2003065295A1 (en) * 2002-01-29 2003-08-07 Simpleware Limited Colour code assisted image matching method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5579407A (en) * 1992-04-21 1996-11-26 Murez; James D. Optical character classification
WO2003065295A1 (en) * 2002-01-29 2003-08-07 Simpleware Limited Colour code assisted image matching method

Similar Documents

Publication Publication Date Title
US4315246A (en) Document character recognition system for identifying magnetic ink characters on bank checks and the like
US3444517A (en) Optical reading machine and specially prepared documents therefor
US4933979A (en) Data reading apparatus for reading data from form sheet
US4075605A (en) Character recognition unit
US4295121A (en) Device for optical character reading
EP0116939A2 (en) Card information selecting system
US4274079A (en) Apparatus and method for dynamic font switching
JPH03218589A (en) Computer input system using facsimile
US11100356B2 (en) Information processing apparatus and non-transitory computer readable medium storing program
JPS5932829B2 (en) How to read characters
JPS6382774A (en) Printing line detecting method
JPS6336389A (en) Character reader
JP2877380B2 (en) Optical character reader
JPS58109973A (en) Printing device with printed character echo check function
JPH0713993A (en) Character reader
JPS5851390A (en) Font character recognizing device
JPS6020786B2 (en) character reading device
JP2529961B2 (en) Voting ticket refund device
JPH0475557B2 (en)
JP3310063B2 (en) Document processing device
JP2924356B2 (en) Optical character reader
JPS5949628B2 (en) optical character reader
JP2784004B2 (en) Character recognition device
JPS60211587A (en) Type recognizing controller
JPH0696283A (en) Character learning system in optical character reader