JPH08202816A - Writing tool discrimination device - Google Patents

Writing tool discrimination device

Info

Publication number
JPH08202816A
JPH08202816A JP7009397A JP939795A JPH08202816A JP H08202816 A JPH08202816 A JP H08202816A JP 7009397 A JP7009397 A JP 7009397A JP 939795 A JP939795 A JP 939795A JP H08202816 A JPH08202816 A JP H08202816A
Authority
JP
Japan
Prior art keywords
writing instrument
writing
image
discriminated
medium
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP7009397A
Other languages
Japanese (ja)
Inventor
Isao Sugano
功 菅野
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 JP7009397A priority Critical patent/JPH08202816A/en
Publication of JPH08202816A publication Critical patent/JPH08202816A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE: To provide a writing tool discrimination device which efficiently discriminate the types of writing tools used for entry. CONSTITUTION: A scanning part 10 takes in the color picture image of a medium to be discriminated. A writing tool discrimination part 20 discriminates the type of the writing tool used at the time of entering information into the medium to be discriminated from the color picture image which the scanning part 10 takes in. A usage impossible writing tool storage part 30 previously stores information showing the writing tools which cannot be used. A comparison part 40 compares discriminated result obtained by the writing tool discrimination part 20 with data stored in the usage impossible writing tool storage part 30, discriminates the writing tool and outputs a warning signal S40 based on the discriminated result.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば文書や帳票等の
被判別媒体に対して光学的に走査を行うことによって得
られる画像イメージから、この被判別媒体上に書かれて
いる文字や図形の記入に使用された筆記具の種類を判別
する筆記具判別装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character or a graphic written on a discriminating medium from an image image obtained by optically scanning the discriminating medium such as a document or a form. The present invention relates to a writing instrument discriminating apparatus for discriminating the type of writing instrument used for writing.

【0002】[0002]

【従来の技術】従来、このような分野の技術としては、
例えば次のような文献に記載されるものがあった。 文献;特開昭62−112124号公報 一般に、文書や帳票等の被判別媒体に文字や図形を記入
する場合、使用する筆記具には、黒色の鉛筆やボールペ
ンが多く用いられている。ところで、契約書や公的な文
書では、使用する筆記具として鉛筆以外のボールペンや
万年筆等のように、簡単には書き換えられないものしか
許されていない場合が多い。これを確認するためには、
被判別媒体上の文字等を記入する際に用いられた筆記具
の種類を判別する手段が必要となるが、従来はこれを被
判別媒体を処理するオペレータが目視で行っていた。し
かし、このような方法では、オペレータが被判別媒体を
1枚ずつ目視でチェックしなければならないので、オペ
レータに過度の負担をかけるばかりでなく、高速の処理
ができない。又、オペレータの判断の誤りによる処理ミ
スが発生するという問題があった。一方、前記文献に
は、光学文字読取装置が開示されている。この光学文字
読取装置では、使用された筆記具で被判別媒体の所定の
箇所に記されたマークをセンサで光学的に読取り、比較
手段で該センサの光電変換出力を筆記具の種類別に用意
された基準値と比較する。そして、比較手段の比較結果
から、記入時に使用された筆記具を判別し、該筆記具に
対応した適切な光学フィルタをセットして被判別媒体上
の文字等を読取るようになっている。
2. Description of the Related Art Conventionally, techniques in such a field include:
For example, some documents were described in the following documents. Reference: Japanese Unexamined Patent Publication No. 62-112124 In general, when writing characters or figures on a medium to be discriminated such as a document or a form, a black pencil or a ballpoint pen is often used as a writing instrument to be used. By the way, contracts and official documents often allow only writing tools that cannot be easily rewritten, such as ballpoint pens other than pencils and fountain pens. To confirm this,
A means for discriminating the type of writing instrument used when writing characters and the like on the medium to be discriminated is required, but conventionally, this was visually performed by an operator who processes the medium to be discriminated. However, in such a method, since the operator has to visually check the mediums to be discriminated one by one, not only an excessive burden is imposed on the operator, but also high-speed processing cannot be performed. Further, there is a problem that a processing error occurs due to an operator's misjudgment. On the other hand, the above document discloses an optical character reading device. In this optical character reading device, a writing instrument used is used to optically read a mark written on a predetermined portion of a medium to be discriminated by a sensor, and a photoelectric conversion output of the sensor is compared by a comparing means to a reference prepared for each type of the writing instrument. Compare with the value. Then, the writing tool used at the time of writing is discriminated from the comparison result of the comparing means, an appropriate optical filter corresponding to the writing instrument is set, and the character or the like on the medium to be discriminated is read.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
光学文字読取装置では、画像イメージを筆記具の種類に
対応した好適な光学フィルタを用いて取り込むことがで
きるものの、その後の処理については言及しておらず、
その内容が記載されていない。そのため、従来の光学文
字読取装置を用いても、必ずしも最良の作業効率が得ら
れるとは限らず、オペレータに過度の負担がかかり、そ
れを解決することが困難であった。本発明は、前記従来
技術が持っていた課題として、画像イメージを取り込ん
だ後の処理方法によっては必ずしも最良の作業効率が得
られるとは限らないという点について解決し、筆記具の
種類を判別し、この判別結果をオペレータに知らせるこ
とができる作業効率の高い筆記具判別装置を提供するも
のである。
However, in the conventional optical character reader, although the image image can be captured by using a suitable optical filter corresponding to the type of writing instrument, the subsequent processing should be mentioned. No
The contents are not described. Therefore, even if the conventional optical character reading device is used, the best work efficiency is not always obtained, an excessive burden is imposed on the operator, and it is difficult to solve it. The present invention solves the problem that the prior art has, as a result, that the best work efficiency is not always obtained depending on the processing method after capturing the image, and determines the type of writing instrument, (EN) A writing instrument discriminating apparatus with high work efficiency capable of notifying an operator of this discrimination result.

【0004】[0004]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、筆記具を用いて被判別媒体上に記入
された情報の画像イメージから、該筆記具の種類を判別
する筆記具判別手段を備えた筆記具判別装置において、
次のような手段を設けている。即ち、前記筆記具判別手
段における判別結果が所定の筆記具の場合、警告信号を
出力する警告信号出力手段を設けている。第2の発明で
は、筆記具を用いて被判別媒体上に記入された情報の画
像イメージを記憶する記憶手段と、前記記憶手段に記憶
されている画像イメージから前記筆記具の種類を判別す
る筆記具判別手段とを、備えた筆記具判別装置におい
て、第1の発明の警告信号出力手段を設けている。第3
の発明では、第1又は第2の発明の警告信号出力手段
は、使用不可筆記具を表わす情報を予め記憶する使用不
可筆記具記憶部と、前記筆記具判別手段の判別結果と前
記使用不可筆記具を表わす情報とを比較し、該比較結果
に基づいて警告信号を出力する比較部とで、構成してい
る。第4の発明では、第1、第2又は第3の発明の画像
イメージは、カラー画像イメージとしている。
In order to solve the above-mentioned problems, a first aspect of the present invention is a writing instrument determination for determining the type of the writing instrument from an image image of information written on a medium to be identified using the writing instrument. In the writing instrument determination device including means,
The following means are provided. That is, when the determination result of the writing tool determination means is a predetermined writing tool, a warning signal output means for outputting a warning signal is provided. In the second invention, a storage means for storing an image image of information written on a medium to be discriminated using a writing instrument, and a writing instrument determination means for discriminating the type of the writing instrument from the image image stored in the storage means. In the writing instrument discriminating apparatus including the above, the warning signal output means of the first invention is provided. Third
In the invention, the warning signal output means of the first or second invention is an unusable writing tool storage section that stores in advance information indicating an unusable writing tool, a determination result of the writing tool determination means, and information indicating the unusable writing tool. And a comparator that outputs a warning signal based on the comparison result. In the fourth invention, the image image of the first, second or third invention is a color image image.

【0005】[0005]

【作用】第1及び第3の発明によれば、以上のように筆
記具判別装置を構成したので、筆記具判別手段により、
被判別媒体上に情報を記入する際に使用された筆記具の
種類が判別される。前記筆記具判別手段における判別結
果は、比較部により使用不可筆記具記憶部に予め記憶さ
れた使用不可筆記具を表わす情報と比較され、該比較結
果が所定の使用不可筆記具の場合、警告信号出力手段か
ら警告信号が出力される。これにより、筆記具の判別結
果がオペレータ等に伝達される。第2の発明によれば、
記憶手段に被判別媒体上に記入された情報の画像イメー
ジが記憶される。筆記具判別手段により、前記記憶手段
に記憶されている画像イメージから前記被判別媒体上に
情報を記入する際に使用された筆記具の種類が判別され
る。前記筆記具判別手段における判別結果は、比較部に
より使用不可筆記具記憶部に記憶された使用不可筆記具
を表わす情報と比較され、該比較結果が所定の使用不可
筆記具の場合、警告信号出力手段から警告信号が出力さ
れる。これにより、筆記具の判別結果がオペレータ等に
伝達される。更に、前記記憶手段に被判別媒体の元イメ
ージが記憶されることにより、該被判別媒体上の判別対
象とする所定領域を随時オペレータが指定できる。第3
の発明によれば、使用不可筆記具を表わす情報が使用不
可筆記具記憶部に予め記憶される。筆記具判別手段にお
ける判別結果は、比較部により前記使用不可筆記具記憶
部に記憶された使用不可筆記具を表わす情報と比較さ
れ、該比較結果が所定の筆記具の場合、警告信号出力手
段から警告信号が出力される。第4の発明によれば、被
判別媒体のカラー画像イメージが入力されると、筆記具
判別手段により、文字、図形等を記入する際に用いられ
た筆記具の種類が高精度に判別される。従って、前記課
題を解決できるのである。
According to the first and third aspects of the invention, since the writing implement discriminating apparatus is constructed as described above, the writing implement discriminating means can
The type of writing instrument used when writing information on the medium to be discriminated is discriminated. The determination result by the writing instrument determination means is compared with information indicating the unusable writing instrument stored in advance in the unusable writing instrument storage section by the comparison section, and when the comparison result is the predetermined unusable writing instrument, the warning signal output section issues a warning. The signal is output. As a result, the determination result of the writing instrument is transmitted to the operator or the like. According to the second invention,
The image of the information written on the medium to be discriminated is stored in the storage means. The writing tool determination means determines the type of writing tool used when writing information on the medium to be determined from the image stored in the storage means. The determination result in the writing instrument determination means is compared with the information representing the unusable writing instrument stored in the unusable writing instrument storage section by the comparison section, and when the comparison result is the predetermined unusable writing instrument, the warning signal output section outputs the warning signal. Is output. As a result, the determination result of the writing instrument is transmitted to the operator or the like. Further, by storing the original image of the medium to be discriminated in the storage means, the operator can specify a predetermined region to be discriminated on the medium to be discriminated at any time. Third
According to the invention, the information indicating the unusable writing implement is stored in advance in the unusable writing implement storage unit. The determination result in the writing instrument determination means is compared with the information indicating the unusable writing instrument stored in the unusable writing instrument storage section by the comparison section, and when the comparison result is a predetermined writing instrument, a warning signal is output from the warning signal output section. To be done. According to the fourth aspect, when the color image image of the medium to be discriminated is input, the writing instrument discriminating unit discriminates with high accuracy the type of the writing instrument used when writing characters, figures and the like. Therefore, the above problem can be solved.

【0006】[0006]

【実施例】第1の実施例 図1は、本発明の第1の実施例を示す筆記具判別装置の
機能ブロック図である。この筆記具判別装置は、集積回
路やプログラム制御されるプロセッサ等で構成されるも
ので、被判別媒体の画像を取り込む走査部10を有して
いる。走査部10は、光電変換素子等で構成され、被判
別媒体から赤(R)、緑(G)、青(B)の3色のカラ
ー画像イメージを取り込む機能を有し、その走査部10
の出力側に筆記具判別部20が接続されている。筆記具
判別部20は、走査部10によって取り込まれたカラー
画像イメージから、被判別媒体に情報を記入する際に使
用された筆記具の種類を判別する筆記具判別手段として
の機能を有している。又、この筆記具判別装置には、使
用不可筆記具を表わす情報を予め記憶する使用不可筆記
具記憶部30が設けられ、この使用不可筆記具記憶部3
0及び筆記具判別部20の出力側に、比較部40が接続
されている。比較部40は、筆記具判別部20により得
られる判別結果と、使用不可筆記具記憶部30に記憶さ
れている使用不可筆記具を表わす情報とを比較し、筆記
具が使用不可筆記具である場合、警告信号を出力する機
能を有している。尚、使用不可筆記具記憶部30と比較
部40とで、警告信号出力手段が構成されている。図2
は、図1中の筆記具判別部の構成例を示す機能ブロック
図である。この筆記具判別部20は、走査部10によっ
て取り込まれたカラー画像イメージから、使用筆記具に
て書かれた部分に該当する画素のみを抽出する筆記具画
素抽出部21を有し、その筆記具画素抽出部21の出力
側に評価値算出部22が接続されている。評価値算出部
22は、筆記具画素抽出部21で抽出された使用筆記具
による画素のR、G、B値を用いて筆記具判別のための
評価値を算出する機能を有している。又、筆記具判別部
20には、評価値算出部22で得られる評価値に対する
例えば鉛筆及びボールペンの基準となる値を記憶する基
準値記憶部23が設けられ、この基準値記憶部23及び
評価値算出部22の出力側に、比較部24が接続されて
いる。比較部24は、評価値算出部22により得られる
評価値と、基準値記憶部23に記憶されている基準値と
を比較し、筆記具の判別を行ってその判別結果を比較部
40に与える機能を有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a functional block diagram of a writing instrument discriminating apparatus showing a first embodiment of the present invention. This writing instrument discriminating apparatus is composed of an integrated circuit, a program-controlled processor, and the like, and has a scanning unit 10 for capturing an image of a medium to be discriminated. The scanning unit 10 is composed of a photoelectric conversion element or the like and has a function of capturing three color image images of red (R), green (G), and blue (B) from the medium to be discriminated.
The writing instrument determination unit 20 is connected to the output side of the. The writing instrument discriminating unit 20 has a function as a writing instrument discriminating unit that discriminates the type of the writing instrument used when writing information on the medium to be discriminated from the color image image captured by the scanning unit 10. In addition, this writing implement discriminating apparatus is provided with an unusable writing implement storage unit 30 that stores in advance information indicating the unusable writing implements.
The comparison unit 40 is connected to the output side of the 0 and the writing instrument determination unit 20. The comparison unit 40 compares the determination result obtained by the writing instrument determination unit 20 with the information indicating the unusable writing instrument stored in the unusable writing instrument storage unit 30. When the writing instrument is the unusable writing instrument, a warning signal is output. It has a function to output. The unusable writing implement storage unit 30 and the comparison unit 40 constitute a warning signal output means. Figure 2
FIG. 2 is a functional block diagram showing a configuration example of a writing instrument determination unit in FIG. 1. The writing instrument determination unit 20 includes a writing instrument pixel extraction unit 21 that extracts only pixels corresponding to a portion written by the writing instrument used from the color image image captured by the scanning unit 10, and the writing instrument pixel extraction unit 21. The evaluation value calculation unit 22 is connected to the output side of the. The evaluation value calculation unit 22 has a function of calculating an evaluation value for writing instrument determination using the R, G, and B values of the pixels of the writing instrument used extracted by the writing instrument pixel extraction unit 21. Further, the writing instrument discriminating unit 20 is provided with a reference value storage unit 23 that stores a reference value of, for example, a pencil or a ballpoint pen with respect to the evaluation value obtained by the evaluation value calculation unit 22, and the reference value storage unit 23 and the evaluation value. The comparison unit 24 is connected to the output side of the calculation unit 22. The comparison unit 24 compares the evaluation value obtained by the evaluation value calculation unit 22 with the reference value stored in the reference value storage unit 23, determines the writing instrument, and gives the determination result to the comparison unit 40. have.

【0007】図3は、図1中の比較部40の構成例を示
す機能ブロック図である。この比較部40は、筆記具判
別部20における筆記具判別の結果得られる筆記具の種
類と使用不可筆記具記憶部30に予め記憶されている使
用してはならない筆記具の種類とを比較して同じか否か
を判定する筆記具比較部41を有し、その出力側にワー
ニング出力部42が接続されている。ワーニング出力部
42は、筆記具比較部41の判定の結果、同じ筆記具で
ある場合に、ワーニング(即ち、警告信号)S40を外
部へ出力する機能を有している。この場合、ワーニング
S40の出力方法としては、例えばブザーを鳴らす、発
光ダイオードを点灯する等、装置の利用形態に応じた、
オペレータにとって確認しやすい好適な手段を用いる。
図4は、図1の筆記具判別装置で用いる被判別媒体50
を示す図である。この被判別媒体50には、文字の記入
領域を示す文字記入枠51が印刷され、その内部に例え
ば黒色の鉛筆或いはボールペンで「ABC」の文字52
が書かれている。ドロップアウトカラーは、本実施例で
は例えばオレンジ系の色とする。尚、被判別媒体50の
地色は白色とする。図5は図1中の走査部10の走査方
向を示す図であり、被判別媒体50のカラー画像イメー
ジを取り込む際の走査の方向(主走査方向61及び副走
査方向62)を示している。これらの図4及び図5を参
照しつつ、本実施例の筆記具判別装置の動作を説明す
る。
FIG. 3 is a functional block diagram showing a configuration example of the comparison unit 40 in FIG. The comparison unit 40 compares the type of writing instrument obtained as a result of the writing instrument determination in the writing instrument determination unit 20 with the type of writing instrument stored in advance in the unusable writing instrument storage unit 30 and determining whether or not they are the same. Has a writing tool comparison unit 41 for determining that the warning output unit 42 is connected to the output side thereof. The warning output unit 42 has a function of outputting a warning (that is, a warning signal) S40 to the outside when the writing tool comparison unit 41 determines that the writing tools are the same. In this case, as an output method of the warning S40, for example, a buzzer is sounded, a light emitting diode is turned on, or the like depending on the usage mode of the device,
Use suitable means that can be easily confirmed by the operator.
FIG. 4 is a discriminating medium 50 used in the writing instrument discriminating apparatus of FIG.
FIG. A character entry frame 51 indicating a character entry area is printed on the discriminating medium 50, and a character 52 of “ABC” is written therein with, for example, a black pencil or a ballpoint pen.
Is written. In this embodiment, the dropout color is, for example, an orange color. The ground color of the medium 50 to be discriminated is white. FIG. 5 is a view showing the scanning direction of the scanning unit 10 in FIG. 1, and shows the scanning directions (main scanning direction 61 and sub-scanning direction 62) when the color image of the medium to be discriminated 50 is captured. The operation of the writing instrument discriminating apparatus of the present embodiment will be described with reference to FIGS. 4 and 5.

【0008】走査部10は、被判別媒体50上を図5に
示す主走査方向61及び副走査方向62に光学的に走査
し、R、G、Bの3色のカラー画像イメージを順次取り
込む。走査部10による被判別媒体50のカラー画像イ
メージの取り込みが開始されると、筆記具判別部20内
の筆記具画素抽出部21では、走査部10から受け取っ
た画素から被判別媒体50の判別対象とする所定領域内
の文字線を構成する画素のみの抽出を逐次行い、この抽
出された画素のR、G、B値をそれぞれ累積していくと
同時に、文字線を構成する画素数を計数していき、走査
部10による被判別媒体50のカラー画像イメージの取
り込みが全て終了した時点で、前記抽出された全画素の
R、G、B値の各累積値を文字線を構成する画素数で除
することによりR、G、B値の各平均値を算出し、この
R、G、B値の各平均値の違いから筆記具の種類を判別
する。この場合、本実施例では、前記判別対象とする所
定領域は、予め位置が決まっている文字記入枠51で囲
まれている領域であるとする。又、前記文字線を構成す
る画素の抽出方法としては、文字52、文字記入枠51
及び被判別媒体50の色がそれぞれ黒色、オレンジ色及
び白色といった異なる色であることを利用する。具体的
には、一般に黒色である文字を構成する画素のみR、
G、B値が全て小さい値になるので、R、G、B値が全
て所定の閾値よりも小さい画素を文字を構成する画素と
して抽出する。この抽出結果に基づき、評価値算出部2
2、基準値記憶部23、及び比較部24により、例え
ば、同じ黒色の鉛筆とボールペンであっても、R、G、
Bの濃度が違っていることに着目して筆記具の判別を行
う。即ち、一般に、黒色の鉛筆は黒色のボールペンに比
べて濃度が低い、つまり、白色に近いので、R、G、B
値の平均値が大きいことを利用して判別する。
The scanning section 10 optically scans the medium to be discriminated 50 in the main scanning direction 61 and the sub-scanning direction 62 shown in FIG. 5 to sequentially capture color image images of three colors of R, G and B. When the scanning unit 10 starts capturing the color image of the medium to be discriminated 50, the writing instrument pixel extraction unit 21 in the writing instrument discrimination unit 20 determines the discrimination target of the medium to be discriminated 50 from the pixels received from the scanning unit 10. Only the pixels forming the character line in the predetermined area are sequentially extracted, and the R, G, and B values of the extracted pixels are accumulated, and at the same time, the number of pixels forming the character line is counted. When the scanning unit 10 finishes capturing all the color image images of the medium 50 to be discriminated, the cumulative values of the R, G, and B values of all the extracted pixels are divided by the number of pixels forming the character line. Thus, the average value of the R, G, B values is calculated, and the type of writing instrument is discriminated from the difference between the average values of the R, G, B values. In this case, in the present embodiment, the predetermined area to be discriminated is an area surrounded by the character entry frame 51 whose position is predetermined. Further, as a method of extracting the pixels forming the character line, a character 52 and a character entry frame 51 are used.
And the fact that the color of the medium to be discriminated 50 is different colors such as black, orange and white is used. Specifically, only pixels forming a character that is generally black are R,
Since the G and B values are all small values, pixels in which the R, G and B values are all smaller than a predetermined threshold value are extracted as pixels that form a character. Based on this extraction result, the evaluation value calculation unit 2
2. Even if the same black pencil and ballpoint pen are used, R, G, and
The writing instrument is discriminated by focusing on the fact that the density of B is different. That is, in general, a black pencil has a lower density than a black ball-point pen, that is, it is close to white, so that R, G, B
It is determined by utilizing the fact that the average value is large.

【0009】評価値算出部22では、筆記具画素抽出部
21により抽出された使用筆記具による画素のR、G、
B値の平均値を用いて筆記具判定のための評価値を算出
する。尚、この評価値は、例えば、R、G、B値の平均
値のいずれか2つを掛け合せて得られる値とする。その
後、比較部24では、評価値算出部22により得られる
評価値と、基準値記憶部23に予め記憶されている筆記
具の種類別の基準値とを比較し、鉛筆であるのか、ボー
ルペンであるのか、あるいはどちらでもないのかを判別
し、その判別結果を図1の比較部40へ出力する。前記
筆記具判別部20による被判別媒体50の所定領域の筆
記具の判別が終了すると、比較部40では、筆記具判別
の結果得られた筆記具の種類と使用不可筆記具記憶部3
0に記憶されている筆記具の種類との照合を行い、一致
するものがあった場合にワーニングS40を出力する。
尚、ここでは、使用不可筆記具記憶部30には予め“鉛
筆”が登録されているものとすると、前記筆記具判別部
20による判別結果が鉛筆であった場合にのみワーニン
グS40を出力する。ワーニングS40をオペレータに
示す方法としては、ブザーを鳴らす方法、ランプを点灯
する方法等がある。以上のように、この第1の実施例で
は、筆記具判別部20は、被判別媒体50に文字を記入
する際に用いられた筆記具の種類を判別し、この判別結
果が所定の筆記具であった場合に比較部40が外部にワ
ーニングS40を出力するので、従来行われていた人手
による筆記具の種類別の仕分け作業等の必要がなくな
り、作業効率が大幅に向上すると同時に判別誤りも減少
させることができる。更に、筆記具判別部20は被判別
媒体50のカラー画像イメージの取り込みと同時に筆記
具の判別を行うので、高速の判別処理及びワーニング出
力処理が可能となる。その上、筆記具判別部20によっ
てカラー画像イメージから筆記具の種類を判別するよう
にしたので、モノクロ画像イメージを用いた方法に比
べ、色情報を判別に用いることができる。従って、色の
異なる筆記具同士については勿論、さらに一見ほぼ同色
と感じる筆記具同士についても色の微妙な違いから、高
精度に筆記具の判別を行うことができる。
In the evaluation value calculation unit 22, the R, G, and P of the pixels according to the writing instrument used, extracted by the writing instrument pixel extraction unit 21,
An evaluation value for writing instrument determination is calculated using the average value of the B values. The evaluation value is a value obtained by multiplying any two of the average values of R, G, and B values. After that, in the comparison unit 24, the evaluation value obtained by the evaluation value calculation unit 22 is compared with the reference value for each type of writing instrument stored in the reference value storage unit 23 in advance, and it is a pencil or a ballpoint pen. It is determined whether or not it is neither, and the determination result is output to the comparison unit 40 in FIG. When the writing tool discriminating unit 20 finishes discriminating the writing instrument in the predetermined area of the medium 50 to be discriminated, the comparing unit 40 determines the type of the writing instrument obtained as a result of the writing instrument discrimination and the unusable writing instrument storage unit 3
It collates with the type of writing instrument stored in 0, and if there is a match, a warning S40 is output.
Here, assuming that “pencil” is registered in the unusable writing implement storage unit 30 in advance, the warning S40 is output only when the determination result by the writing implement determination unit 20 is a pencil. As a method of showing the warning S40 to the operator, there are a method of sounding a buzzer, a method of lighting a lamp, and the like. As described above, in the first embodiment, the writing instrument discriminating unit 20 discriminates the type of the writing instrument used when writing characters on the medium to be discriminated 50, and the discrimination result is the predetermined writing instrument. In this case, since the comparison unit 40 outputs the warning S40 to the outside, it is not necessary to manually sort the writing instruments according to the type, and the working efficiency is significantly improved, and at the same time, the discrimination error can be reduced. it can. Further, since the writing implement discriminating unit 20 discriminates the writing implement at the same time as capturing the color image of the medium to be discriminated 50, high-speed discrimination processing and warning output processing are possible. In addition, since the writing instrument discriminating unit 20 discriminates the type of the writing instrument from the color image image, the color information can be used for the discrimination as compared with the method using the monochrome image image. Therefore, it is possible to discriminate the writing instruments with high precision not only for the writing instruments having different colors but also for the writing instruments which seem to be almost the same color due to the delicate difference in color.

【0010】第2の実施例 図6は、本発明の第2の実施例を示す筆記具判別装置の
機能ブロック図であり、図1中の要素と共通の要素には
共通の符号が付されている。この筆記具判別装置には、
図1の走査部10と筆記具判別部20との間に、新たに
イメージ記憶部70が設けられている。イメージ記憶部
70は、例えばランダム・アクセス・メモリ(RAM)
やハードディスク等の記憶媒体で構成され、走査部10
により取り込まれたカラー画像イメージを記憶する記憶
手段としての機能を有している。他は、図1と同様の構
成になっている。次に、第1の実施例と同様に図4及び
図5を参照しつつ、図6の動作を説明する。走査部10
は、被判別媒体50上を図5に示す主走査方向61及び
副走査方向62に光学的に走査し、R、G、Bの3色の
カラー画像イメージを順次取り込み、イメージ記憶部7
0に格納する。走査部10により被判別媒体50のカラ
ー画像イメージがイメージ記憶部70に格納されると、
筆記具判別部20内の筆記具画素抽出部21では、イメ
ージ記憶部70から受け取った画素から被判別媒体50
の判別対象とする所定領域内の文字線を構成する画素の
抽出を行なう。その後、抽出された画素のR、G、B値
の濃度の違いから筆記具の種類を判別する。以後、第1
の実施例と同様の動作を行う。
Second Embodiment FIG. 6 is a functional block diagram of a writing instrument discriminating apparatus showing a second embodiment of the present invention. Elements common to those in FIG. 1 are designated by common reference numerals. There is. In this writing instrument discrimination device,
An image storage unit 70 is newly provided between the scanning unit 10 and the writing instrument determination unit 20 in FIG. The image storage unit 70 is, for example, a random access memory (RAM).
And a storage unit such as a hard disk, and the scanning unit 10
It has a function as a storage means for storing the color image image taken in by. Otherwise, the configuration is the same as in FIG. Next, the operation of FIG. 6 will be described with reference to FIGS. 4 and 5 as in the first embodiment. Scanning unit 10
5 optically scans the medium to be discriminated 50 in the main scanning direction 61 and the sub-scanning direction 62 shown in FIG. 5 to sequentially capture color image images of three colors of R, G, and B, and the image storage unit 7
Store in 0. When the color image of the medium 50 to be discriminated is stored in the image storage unit 70 by the scanning unit 10,
The writing tool pixel extraction unit 21 in the writing tool determination unit 20 determines the medium 50 to be determined from the pixels received from the image storage unit 70.
The pixels forming the character line in the predetermined area to be determined are extracted. After that, the type of writing instrument is discriminated from the difference in the densities of the R, G, and B values of the extracted pixels. After that, the first
The same operation as that in the above embodiment is performed.

【0011】以上のように、この第2の実施例では、第
1の実施例と同様に、筆記具判別部20は、被判別媒体
50に文字を記入する際に用いられた筆記具の種類を判
別し、この判別結果が所定の筆記具であった場合に比較
部40が外部にワーニングS40を出力するので、従来
行われていた人手による筆記具の種類別の仕分け作業等
の必要がなくなり、作業効率が大幅に向上すると同時に
判別誤りも減少させることができる。更に、筆記具判別
部20によってカラー画像イメージから筆記具の種類を
判別するようにしたので、モノクロ画像イメージを用い
た方法に比べ、色情報を判別に用いることができる。従
って、色の異なる筆記具同士については勿論、さらに一
見ほぼ同色と感じる筆記具同士についても色の微妙な違
いから、高精度に筆記具の判別を行うことができる。そ
の上、走査部10と筆記具判別部20との間にイメージ
記憶部70が設けられ、該イメージ記憶部70に被判別
媒体50の元イメージが記憶されているので、該被判別
媒体50上の判別対象とする所定領域を随時オペレータ
が指定して判別させることも可能である。尚、本発明は
上記実施例に限定されず、種々の変形が可能である。そ
の変形例としては、例えば次の(a)〜(h)ようなも
のがある。
As described above, in the second embodiment, as in the first embodiment, the writing instrument discriminating section 20 discriminates the type of the writing instrument used when writing characters on the medium 50 to be discriminated. However, since the comparison unit 40 outputs the warning S40 to the outside when the result of this determination is a predetermined writing instrument, there is no need to manually sort the writing instruments by type according to the related art, and work efficiency is improved. It is possible to greatly improve and at the same time reduce discrimination errors. Further, since the writing tool discriminating unit 20 discriminates the type of the writing instrument from the color image, the color information can be used for the discrimination as compared with the method using the monochrome image. Therefore, it is possible to discriminate the writing instruments with high precision not only for the writing instruments having different colors but also for the writing instruments which seem to be almost the same color due to the delicate difference in color. In addition, since the image storage unit 70 is provided between the scanning unit 10 and the writing instrument determination unit 20 and the original image of the determination target medium 50 is stored in the image storage unit 70, the determination target medium 50 on the determination target medium 50 is stored. It is also possible for the operator to designate a predetermined area to be discriminated at any time for discrimination. The present invention is not limited to the above embodiment, and various modifications can be made. Examples of the modifications include the following (a) to (h).

【0012】(a) 上記実施例では、使用筆記具が黒
色の鉛筆及びボールペンの場合について説明したが、こ
れらに限定されるものではなく、例えば、サインペンや
万年筆等の他の筆記具であってもよい。 (b) 上記実施例では、文字線を構成する画素の抽出
方法として、文字52とそれ以外の部分の色が異なって
いることに着目し、カラー画像イメージのR、G、B値
の違いから文字を構成する画素を抽出する場合について
説明したが、これに限定されるものではなく、例えば、
H(色相)、S(彩度)、V(明度)といった値の違い
を利用してもよい。更に、カラー画像イメージではな
く、モノクロの画像イメージを用いた好適な方法として
もよい。 (c) 上記実施例では、判別対象筆記具として黒色の
鉛筆及びボールペンの2種類であるとし、使用不可筆記
具として“鉛筆”を指定した場合について説明したが、
これに限定されるものではなく、例えば、判別対象筆記
具として黒色の鉛筆、ボールペン及びサインペンの3種
類であるとし、使用不可筆記具として例えば“ボールペ
ン”及び“サインペン”の2種類を指定してもよい。こ
の場合、被判別媒体に書かれている文字がボールペン及
びサインペンによるものである場合のみ、ワーニングが
出力される。
(A) In the above embodiment, the case where the writing instrument used is a black pencil and a ball-point pen has been described, but the writing instrument is not limited to these and may be another writing instrument such as a felt-tip pen or a fountain pen. . (B) In the above embodiment, attention is paid to the fact that the colors of the character 52 and other portions are different as a method of extracting the pixels forming the character line, and from the difference of the R, G, B values of the color image image. Although the case of extracting pixels forming a character has been described, the present invention is not limited to this.
Differences in values such as H (hue), S (saturation), and V (lightness) may be used. Further, a suitable method using a monochrome image image instead of the color image image may be adopted. (C) In the above-described embodiment, the case where there are two types of black pencils and ballpoint pens as the determination target writing tools, and “pencil” is designated as the unusable writing tool has been described.
The present invention is not limited to this. For example, it is assumed that there are three types of writing tools that are the determination target writing tools, that is, a black pencil, a ballpoint pen, and a felt-tip pen. . In this case, the warning is output only when the character written on the medium to be discriminated is a ballpoint pen or a felt-tip pen.

【0013】(d) 上記実施例では、筆記具を判別す
る手段として被判別媒体の所定領域の文字線を構成する
画素を抽出し、これを用いる場合について説明したが、
これに限定されるものではなく、例えば、被判別媒体1
枚全体の文字線を構成する画素を用いる方法としてもよ
い。 (e) 上記実施例では、判別対象を文字であるとした
場合について説明したが、これに限定されるものではな
く、例えば、図形であってもよい。 (f) 上記実施例では、筆記具の判別法として文字線
を構成する画素を抽出した後に、この抽出された画素の
色成分を用いる場合について説明したが、これに限定さ
れるものではなく、例えば、これ以外の好適な方法、例
えば、文字線を構成する画素の抽出を行わずにイメージ
記憶部70に記憶されている全画素を用いる方法として
もよい。 (g) 上記実施例では、被判別媒体の所定領域は文字
記入枠51で囲まれた領域である場合について説明した
が、これに限定されるものではなく、例えば、オペレー
タが所定領域を指定する方法としてもよい。 (h) 上記実施例では、使用不可筆記具を指定する方
法として、予め使用不可筆記具記憶部30に登録してお
く場合について説明したが、これに限定されるものでは
なく、例えば、オペレータが装置操作時に随時指定する
方法としてもよい。
(D) In the above embodiment, the case has been described in which the pixels forming the character lines of the predetermined region of the medium to be discriminated are extracted and used as the means for discriminating the writing instrument.
For example, the medium to be discriminated 1 is not limited to this.
A method of using pixels forming the character lines of the entire sheet may be used. (E) In the above embodiment, the case where the determination target is a character has been described, but the present invention is not limited to this and may be, for example, a figure. (F) In the above-described embodiment, the case where the color components of the extracted pixels are used after the pixels forming the character line are extracted has been described as a method for discriminating the writing instrument, but the present invention is not limited to this. However, a suitable method other than this, for example, a method of using all the pixels stored in the image storage unit 70 without extracting the pixels forming the character line may be used. (G) In the above embodiment, the case where the predetermined area of the medium to be discriminated is the area surrounded by the character entry frame 51 has been described, but the present invention is not limited to this. For example, the operator specifies the predetermined area. It may be a method. (H) In the above-described embodiment, as a method of designating an unusable writing instrument, a case has been described in which the unusable writing instrument storage unit 30 is registered in advance, but the method is not limited to this. It may be specified at any time.

【0014】[0014]

【発明の効果】以上詳細に説明したように、第1及び第
3の発明によれば、筆記具判別手段は、被判別媒体に情
報を記入する際に用いられた筆記具の種類を判別し、こ
の判別結果が所定の筆記具であった場合に比較部が外部
に警告信号を出力するので、従来行われていた人手によ
る筆記具の種類別の仕分け作業等の必要がなくなり、作
業効率が大幅に向上すると同時に判別誤りも減少させる
ことができる。更に、筆記具判別手段は被判別媒体の画
像イメージの取り込みと同時に筆記具の判別を行うの
で、高速の判別処理及び警告信号出力処理が可能とな
る。第2及び第3の発明によれば、第1の発明と同様
に、筆記具判別手段は、被判別媒体に文字を記入する際
に用いられた筆記具の種類を判別し、この判別結果が所
定の筆記具であった場合に比較部が外部に警告信号を出
力するので、従来行われていた人手による筆記具の種類
別の仕分け作業等の必要がなくなり、作業効率が大幅に
向上すると同時に判別誤りも減少させることができる。
更に、被判別媒体上に記入された情報の画像イメージを
記憶する記憶手段が設けられているので、該記憶手段に
被判別媒体の元イメージが記憶され、該被判別媒体上の
判別対象とする所定領域を随時オペレータが指定して判
別させることも可能である。第4の発明によれば、筆記
具判別手段によってカラー画像イメージから筆記具の種
類を判別するようにしたので、モノクロ画像イメージを
用いた方法に比べ、色情報を判別に用いることができ
る。従って、色の異なる筆記具同士については勿論、さ
らに一見ほぼ同色と感じる筆記具同士についても色の微
妙な違いから、高精度に筆記具の判別を行うことができ
る。
As described in detail above, according to the first and third aspects of the invention, the writing instrument discrimination means discriminates the type of writing instrument used when writing information on the medium to be discriminated. When the determination result is a predetermined writing instrument, the comparison unit outputs a warning signal to the outside, so that it is not necessary to manually sort the writing instruments by type, and work efficiency is significantly improved. At the same time, discrimination errors can be reduced. Further, since the writing instrument discrimination means discriminates the writing instrument at the same time as capturing the image of the medium to be discriminated, high speed discrimination processing and warning signal output processing are possible. According to the second and third inventions, as in the first invention, the writing instrument determination means determines the type of the writing instrument used when writing characters on the medium to be discriminated, and the determination result is a predetermined value. If it is a writing instrument, the comparison unit outputs a warning signal to the outside, so there is no need for manual sorting work for each type of writing instrument, which greatly improves work efficiency and reduces discrimination errors. Can be made.
Further, since the storage means for storing the image image of the information written on the medium to be discriminated is provided, the original image of the medium to be discriminated is stored in the storage means and is used as the discrimination target on the medium to be discriminated. It is also possible for the operator to specify a predetermined area at any time to make a distinction. According to the fourth aspect of the invention, the type of writing instrument is discriminated from the color image image by the writing instrument discrimination means, so that color information can be used for discrimination as compared with the method using a monochrome image image. Therefore, it is possible to discriminate the writing instruments with high precision not only for the writing instruments having different colors but also for the writing instruments which seem to be almost the same color due to the delicate difference in color.

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

【図1】本発明の第1の実施例を示す筆記具判別装置の
機能ブロック図である。
FIG. 1 is a functional block diagram of a writing instrument determination device according to a first embodiment of the present invention.

【図2】図1中の筆記具判別部の構成例を示す機能ブロ
ック図である。
FIG. 2 is a functional block diagram showing a configuration example of a writing instrument determination section in FIG.

【図3】図1中の比較部の構成例を示す機能ブロック図
である。
FIG. 3 is a functional block diagram showing a configuration example of a comparison unit in FIG.

【図4】図1の筆記具判別装置で用いる被判別媒体を示
す図である。
FIG. 4 is a diagram showing a discriminating medium used in the writing instrument discriminating apparatus of FIG. 1.

【図5】図1中の走査部の走査方向を示す図である。5 is a diagram showing a scanning direction of a scanning unit in FIG.

【図6】本発明の第2の実施例を示す筆記具判別装置の
機能ブロック図である。
FIG. 6 is a functional block diagram of a writing instrument determination device showing a second embodiment of the present invention.

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

10 走
査部 20 筆
記具判別部 21 筆
記具画素抽出部 22 評
価値算出部 23 基
準値記憶部 24,40 比
較部 30 使
用不可筆記具記憶部 41 筆
記具比較部 42 ワ
ーニング出力部 50 被
判別媒体 70 イ
メージ記憶部
10 Scanning Part 20 Writing Tool Discrimination Section 21 Writing Tool Pixel Extraction Section 22 Evaluation Value Calculation Section 23 Reference Value Storage Section 24, 40 Comparison Section 30 Unusable Writing Tool Storage Section 41 Writing Tool Comparison Section 42 Warning Output Section 50 Discrimination Medium 70 Image Storage Section

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 筆記具を用いて被判別媒体上に記入され
た情報の画像イメージから、該筆記具の種類を判別する
筆記具判別手段を備えた筆記具判別装置において、 前記筆記具判別手段における前記判別結果が所定の筆記
具の場合、警告信号を出力する警告信号出力手段を、 設けたことを特徴とする筆記具判別装置。
1. A writing instrument discrimination device comprising a writing instrument discriminating means for discriminating the type of the writing instrument from an image image of information written on a medium to be discriminated using the writing instrument, wherein the discrimination result in the writing instrument discriminating means is In the case of a predetermined writing instrument, a writing instrument discriminating device characterized in that warning signal outputting means for outputting a warning signal is provided.
【請求項2】 筆記具を用いて被判別媒体上に記入され
た情報の画像イメージを記憶する記憶手段と、前記記憶
手段に記憶されている画像イメージから前記筆記具の種
類を判別する筆記具判別手段とを備えた筆記具判別装置
において、 請求項1記載の警告信号出力手段を設けたことを特徴と
する筆記具判別装置。
2. A storage unit for storing an image image of information written on a medium to be discriminated using a writing instrument, and a writing instrument determination unit for discriminating the type of the writing instrument from the image image stored in the storage unit. A writing instrument discriminating apparatus comprising: a writing instrument discriminating apparatus comprising the warning signal output means according to claim 1.
【請求項3】 前記警告信号出力手段は、 使用不可筆記具を表わす情報を予め記憶する使用不可筆
記具記憶部と、 前記筆記具判別手段の判別結果と前記使用不可筆記具を
表わす情報とを比較し、該比較結果に基づいて前記警告
信号を出力する比較部とで、 構成したことを特徴とする請求項1又は2記載の筆記具
判別装置。
3. The warning signal output means compares an unusable writing tool storage section for storing in advance information representing unusable writing tools with a determination result of the writing tool determination means and information representing the unusable writing tools, The writing instrument discriminating apparatus according to claim 1 or 2, wherein the writing instrument discriminating apparatus is configured by a comparing section that outputs the warning signal based on a comparison result.
【請求項4】 前記画像イメージは、カラー画像イメー
ジであることを特徴とする請求項1、2又は3記載の筆
記具判別装置。
4. The writing instrument discrimination apparatus according to claim 1, wherein the image image is a color image image.
JP7009397A 1995-01-25 1995-01-25 Writing tool discrimination device Withdrawn JPH08202816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7009397A JPH08202816A (en) 1995-01-25 1995-01-25 Writing tool discrimination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7009397A JPH08202816A (en) 1995-01-25 1995-01-25 Writing tool discrimination device

Publications (1)

Publication Number Publication Date
JPH08202816A true JPH08202816A (en) 1996-08-09

Family

ID=11719298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7009397A Withdrawn JPH08202816A (en) 1995-01-25 1995-01-25 Writing tool discrimination device

Country Status (1)

Country Link
JP (1) JPH08202816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585501A (en) * 2019-02-18 2020-08-25 株式会社牧田 Electric working machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585501A (en) * 2019-02-18 2020-08-25 株式会社牧田 Electric working machine

Similar Documents

Publication Publication Date Title
EP0472313B1 (en) Image processing method and apparatus therefor
US8184902B2 (en) Image combining apparatus and control method for the same
JPH05120480A (en) System and method for processing document
US4962432A (en) Selective retrieval of data from microfilm images of different forms by reading a memory index form cord (bar code) recorded on each image frame
JPH08202816A (en) Writing tool discrimination device
JP3186246B2 (en) Document reading device
JP2648030B2 (en) Image editing method and image editing device
JP3126597B2 (en) Writing implement identification device
JPH06348758A (en) Device and method for retrieving document information
JP3536165B2 (en) Image processing device and image output device
JP2001236463A (en) Optical character reader
JP4159948B2 (en) Two-dimensional code reading device, two-dimensional code reading method, two-dimensional code reading program, and storage medium
JPH0877292A (en) Image processor
JP3186712B2 (en) Document reading device
JPH08161419A (en) Optical character reader
JPH1125214A (en) Device for identifying picture
CN101140621A (en) Graph and text image processing equipment and image processing method thereof
JPH02123488A (en) Optical character reader
JPS62219766A (en) Picture processor
JPH08180140A (en) Optical character reader
JP2947221B2 (en) Electronic blackboard
JPH04205076A (en) Character recognition unit
JP4578004B2 (en) Scanner and binarization method by controlling light source color of scanner
JP2725580B2 (en) Optical character reader
CN108197512A (en) Recognition methods, device, bill handling apparatus and the storage medium of bill magnetic code

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020402