JPH0668240A - Character inspection device and character inspection method - Google Patents

Character inspection device and character inspection method

Info

Publication number
JPH0668240A
JPH0668240A JP4240011A JP24001192A JPH0668240A JP H0668240 A JPH0668240 A JP H0668240A JP 4240011 A JP4240011 A JP 4240011A JP 24001192 A JP24001192 A JP 24001192A JP H0668240 A JPH0668240 A JP H0668240A
Authority
JP
Japan
Prior art keywords
character
inspection
image signal
reference character
quality
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
JP4240011A
Other languages
Japanese (ja)
Inventor
Kazuhiko Sato
和彦 佐藤
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP4240011A priority Critical patent/JPH0668240A/en
Publication of JPH0668240A publication Critical patent/JPH0668240A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Inking, Control Or Cleaning Of Printing Machines (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Image Processing (AREA)

Abstract

PURPOSE:To reduce an erroneous judgement at the time of the judgement of the quality of a character printed on an article. CONSTITUTION:The character to be inspected printed on a video cassette VC is photographed by video cameras 11A-11E, and inspected character picture signals are obtained. And also, reference character picture signals preliminarily written in the reference character information memories of picture processing parts 19A-19E are read, and compared with the inspected character picture signals. Then, when the quality of the character to be inspected is rejected from the compared result, the alignment start position of the inspected character picture signals with the reference character picture signals is changed, and the inspected character picture signals are compared with the reference character picture signals again. Then, when the number of time of re-comparison is set, the alignment start position is changed each time the re-comparison is operated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、物品上に印刷された文
字の品質を検査する文字検査装置及び文字検査方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character inspection device and a character inspection method for inspecting the quality of characters printed on an article.

【0002】[0002]

【従来の技術】従来より、印刷の一種類であるパッド印
刷が様々な分野で使用されている。このパッド印刷は、
文字の形を彫り込んだ版下に印刷インクを刷り込ませ、
その印刷インクをゴムから成るパッド(Pad)に付着さ
せ、そのパッドを物品上に押し付けて印刷するようにし
たものである。
2. Description of the Related Art Conventionally, pad printing, which is one type of printing, has been used in various fields. This pad printing is
Imprint the printing ink on the block engraved with the shape of the letters,
The printing ink is attached to a pad made of rubber, and the pad is pressed onto an article for printing.

【0003】このパッド印刷では、印刷機の状態によっ
て印刷品質が変動し易いという問題があり、このため印
刷文字の検査を行う試みがなされている。この検査は、
印刷対象物(例えばビデオカセットのケース)に印刷さ
れた検査対象文字をテレビカメラで撮影し、その撮影に
基づく検査文字画像信号を一旦メモリに記憶させた後、
このメモリに記憶させた検査文字画像信号を、基準文字
情報メモリから読み出した基準文字画像信号と比較す
る。そして、この比較において、基準文字に対する検査
文字の各部の相関係数がある程度以上高い場合には合格
と判定し、それ以下の場合には不合格と判定する。
In this pad printing, there is a problem that the print quality is likely to change depending on the condition of the printing machine. Therefore, an attempt has been made to inspect printed characters. This test is
After the inspection object characters printed on the object to be printed (for example, the case of a video cassette) are photographed by a TV camera, and the inspection character image signal based on the photographing is temporarily stored in the memory,
The inspection character image signal stored in this memory is compared with the reference character image signal read from the reference character information memory. Then, in this comparison, if the correlation coefficient of each part of the inspection character with respect to the reference character is higher than a certain level, it is determined as pass, and if it is less than that, it is determined as fail.

【0004】[0004]

【発明が解決しようとする課題】ところで、上述した従
来の文字検査方法にあっては、基準文字との位置合わせ
が正確に行われなかった場合、略合格に近いものでも不
合格と判定してしまうという問題点があった。
By the way, in the above-mentioned conventional character inspection method, when the alignment with the reference character is not accurately performed, even if it is close to the pass, it is judged as fail. There was a problem that it would end up.

【0005】すなわち、従来の文字検査方法では、高速
化を要求されることから、位置合わせの対象領域も、位
置合わせ開始位置(切り出し位置)を中心とした7×7
画素に限定していることもあり、切り出し位置の周辺を
しらみ潰しに当る方法に比べると精度が低い。このた
め、切り出し位置によっては基準文字と最も適合する場
所を逃してしまうことがあり、略合格に近いものでも不
合格と判定してしまうことになる。
That is, in the conventional character inspection method, since high speed is required, the target area for alignment is 7 × 7 centered on the alignment start position (cutout position).
Since it is limited to pixels, the accuracy is lower than the method of squeezing around the cutout position. For this reason, depending on the cut-out position, there may be a case where the best match with the reference character is missed, and even if it is close to passing, it will be judged as failing.

【0006】また、特にパッド印刷では、上述したよう
に印刷機の状態によって印刷された文字の細部の形状、
濃度等が微妙に変化し、しかも、その変動が日によっ
て、あるいは、午前および午後の違い等によっても変化
してしまうので、合否判定の精度はさらに低下してしま
う。
Further, particularly in pad printing, as described above, the detailed shape of characters printed according to the state of the printing machine,
Since the density and the like change subtly, and the change also changes depending on the day or the difference between morning and afternoon, the accuracy of the pass / fail judgment further decreases.

【0007】そこで本発明は、位置合わせの失敗による
誤判定を低減させることができる文字検査装置及び文字
検査方法を提供することを目的としている。
Therefore, an object of the present invention is to provide a character inspection apparatus and a character inspection method capable of reducing erroneous determinations due to misalignment.

【0008】[0008]

【課題を解決するための手段】上記目的達成のため請求
項1記載の発明による文字検査装置は、基準文字画像信
号が書き込まれた記憶手段と、物品上に印刷された検査
対象文字を撮影する撮影手段と、前記基準文字画像信号
と前記撮影手段により得られた前記検査対象文字に対応
する検査文字画像信号とを比較するとともに、比較結果
から前記検査対象文字の品質の合否を判定する比較判定
手段とを備えた文字検査装置において、前記比較判定手
段により前記検査対象文字が不合格と判定された場合
に、再度、該検査対象文字を検査する再検査手段を設け
たことを特徴とする。
In order to achieve the above object, a character inspection apparatus according to a first aspect of the present invention captures a character to be inspected printed on a storage means in which a reference character image signal is written. A comparison determination for comparing the reference character image signal with the reference character image signal and the inspection character image signal corresponding to the inspection target character obtained by the imaging unit, and determining the quality of the inspection target character from the comparison result. And a re-inspection unit that inspects the inspection target character again when the comparison determination unit determines that the inspection target character is unacceptable.

【0009】請求項2記載の発明による文字検査装置
は、請求項1項記載の発明による文字検査装置の構成に
加え、前記再検査の回数を任意に設定可能な再検査回数
指定手段を有し、前記再検査手段は、再検査回数指定手
段により設定された回数だけ、前記検査対象文字を再検
査することを特徴とする。
According to a second aspect of the present invention, there is provided a character inspection device having a re-inspection number designating unit capable of arbitrarily setting the number of re-inspections in addition to the structure of the character inspection device according to the first aspect. The re-inspection means re-inspects the inspection target character the number of times set by the re-inspection number designating means.

【0010】請求項3記載の発明による文字検査装置
は、請求項1又は請求項2いずれかの項記載の発明によ
る文字検査装置において、前記再検査手段は、再検査を
開始させる際に前記検査文字画像信号と前記基準文字画
像信号との位置合わせの開始位置を変更させることを特
徴とする。
A character inspection apparatus according to a third aspect of the present invention is the character inspection apparatus according to the first or second aspect of the present invention, wherein the reinspection means performs the inspection when starting the reinspection. It is characterized in that a start position of alignment between the character image signal and the reference character image signal is changed.

【0011】請求項4記載の発明による文字検査方法
は、物品上に印刷された検査対象文字を撮影して得られ
る検査文字画像信号を、基準文字情報記憶手段より読み
出した基準文字画像信号と比較して前記検査対象文字の
品質の合否を判定する文字検査方法において、前記検査
対象文字の品質が不合格と判定された後、該検査対象文
字に対して再度比較することを特徴とする。
In the character inspection method according to the present invention, the inspection character image signal obtained by photographing the inspection object character printed on the article is compared with the reference character image signal read from the reference character information storage means. In the character inspection method for determining the quality of the inspection target character, the quality of the inspection target character is determined to be unacceptable, and then the inspection target character is compared again.

【0012】[0012]

【作用】請求項1記載の発明では、物品上に印刷された
検査対象文字を撮影して得られた検査文字画像信号が、
基準文字情報メモリから読み出した基準文字画像信号と
比較され、その結果から検査対象文字の品質の合否が判
定される。そして、この判定において不合格であれば、
再度、検査対象文字の品質の検査が行われる。したがっ
て、最初の判定において不合格であった場合でも再検査
することによって誤判定が減少する。
According to the first aspect of the invention, the inspection character image signal obtained by photographing the inspection target character printed on the article is:
It is compared with the reference character image signal read from the reference character information memory, and the quality of the character to be inspected is judged from the result. And if it fails in this judgment,
The quality of the character to be inspected is again inspected. Therefore, even if the initial judgment fails, the re-examination reduces false judgments.

【0013】請求項2記載の発明では、請求項1記載の
発明における再検査が任意に設定した回数だけ行われ
る。したがって、1回だけ再検査する場合よりも誤判定
がさらに減少する。
According to the second aspect of the invention, the reinspection in the first aspect of the invention is performed the number of times set arbitrarily. Therefore, the number of erroneous determinations is further reduced as compared with the case where the retest is performed only once.

【0014】請求項3記載の発明では、請求項1又は請
求項2いずれかの項記載の発明における再検査にあた
り、位置合わせを開始する開始位置の変更が行われる。
そして、変更された位置合わせ開始位置にて検査文字画
像信号と基準文字画像信号との比較が行われる。したが
って、再検査の回数を増やして開始位置の変更を多々行
うことにより、基準文字に最も適合する位置にて位置合
わせが可能になり、誤判定がさらに減少する。
According to the third aspect of the invention, in the reinspection according to the invention of either the first aspect or the second aspect, the start position for starting the alignment is changed.
Then, the inspection character image signal and the reference character image signal are compared at the changed alignment start position. Therefore, by increasing the number of re-examinations and changing the start position many times, it becomes possible to perform the alignment at the position most suitable for the reference character and further reduce the erroneous determination.

【0015】請求項4記載の発明では、請求項1記載の
発明の作用と同様に、物品上に印刷された検査対象文字
を撮影して得られた検査文字画像信号が、基準文字情報
メモリから読み出した基準文字画像信号と比較され、そ
の結果から検査対象文字の品質の合否が判定される。そ
して、この判定において不合格であれば、再度、検査文
字画像信号と基準文字画像信号との比較が行われる。
According to the fourth aspect of the invention, similarly to the operation of the first aspect of the invention, the inspection character image signal obtained by photographing the inspection object character printed on the article is stored in the reference character information memory. It is compared with the read reference character image signal, and the quality of the inspection object character is judged from the result. Then, if the result of this determination is unsuccessful, the inspection character image signal and the reference character image signal are compared again.

【0016】したがって、最初の判定において不合格で
あった場合でも再度検査することにより誤判定が減少す
る。
Therefore, even if the initial judgment is unsuccessful, erroneous judgment is reduced by conducting the inspection again.

【0017】[0017]

【実施例】以下、本発明を図面に基づいて説明する。構 成 図1は本発明に係る文字検査装置の一実施例の外観を示
す斜視図である。この文字検査装置は、ビデオカセット
にパッド印刷された文字の品質検査を行うものであり、
図に示すように画像処理システム1とビデオカセットの
搬送システム2から構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. Structure FIG. 1 is a perspective view showing the external appearance of an embodiment of a character inspection apparatus according to the present invention. This character inspection device is for inspecting the quality of the characters printed on the pad on the video cassette.
As shown in the figure, it comprises an image processing system 1 and a video cassette transport system 2.

【0018】この図において、搬送システム2は、搬送
されてくる図示せぬビデオカセットをベルトコンベア3
にてステージ4A〜4Eへ順次送り出すものであり、ス
テージ4Eでは選別装置5が設けられており、画像処理
システム1にて判定された印刷品質の合否に基づいてビ
デオカセットの選別を行う。すなわち、印刷品質が不合
格のもの(不良カセット)は製品ラインから外され(図
面手前側へ放出され)、合格のものは(良品カセット)
はベルトコンベア6にて次の工程に向けて搬送される。
In this figure, the transfer system 2 transfers a video cassette (not shown) that is being transferred, to a belt conveyor 3.
Are sequentially sent to the stages 4A to 4E, and the stage 4E is provided with the sorting device 5, and sorts the video cassettes based on the pass / fail of the print quality determined by the image processing system 1. That is, if the print quality is unacceptable (defective cassette), it is removed from the product line (released to the front side of the drawing), and if it is acceptable (good cassette).
Is conveyed to the next process on the belt conveyor 6.

【0019】搬送システム2におけるベルトコンベア
3,6、選別装置5およびこれらの装置に関連する装置
や機器の動作等の制御は、シーケンサ7により行われ
る。また、シーケンサ7は、ビデオカセットがステージ
4B,4Cに到達した時に画像処理システム1に対して
画像取り込み信号を出力する。
The sequencer 7 controls the operations of the belt conveyors 3 and 6, the sorting device 5, and the devices and equipment related to these devices in the transport system 2. The sequencer 7 also outputs an image capture signal to the image processing system 1 when the video cassette reaches the stages 4B and 4C.

【0020】一方、画像処理システム1は、ステージ4
B,4C上に離間して設置された乳白色のアクリル板9
と、このアクリル板9上に近接してビオデカセットの進
行方向と平行に設置された二つの蛍光灯10A,10B
と、これら蛍光灯10A,10B上に近接してビデオカ
セットの進行方向と直線状に設置された五つのビデオカ
メラ11A〜11Eと、画像処理部12とから構成され
ている。
On the other hand, the image processing system 1 has a stage 4
Milky white acrylic plates 9 installed separately on B and 4C
And two fluorescent lamps 10A, 10B which are installed close to the acrylic plate 9 and parallel to the traveling direction of the biode cassette.
The image processing unit 12 includes five video cameras 11A to 11E, which are installed close to each other on the fluorescent lamps 10A and 10B so as to be linear with the moving direction of the video cassette.

【0021】上記アクリル板9には、ビデオカセットの
進行方向に延びる二つの細い孔h1,h2が離間して開け
られている。そして、ビデオカメラ11A〜11Cの各
々は、その視野の一部が孔h1内に入るように設置され
ており、ビデオカメラ11D,11Eの各々は、その視
野の一部が孔h2内に入るように設置されている。
In the acrylic plate 9, two narrow holes h 1 and h 2 extending in the moving direction of the video cassette are formed separately. Each of the video cameras 11A~11C are part of the visual field are installed so as to fall within the holes h 1, a video camera 11D, each of 11E, a portion of the field of view in the hole h 2 It is installed to enter.

【0022】この場合、ビデオカメラ11A〜11Cに
てビデオカセットの検査領域の文字の印刷された部分の
撮影を行い、ビデオカメラ11D,11Eにて検査領域
の両側の文字が印刷されていない空白部分の撮影を行
う。
In this case, the video cameras 11A to 11C capture images of the printed characters in the inspection area of the video cassette, and the video cameras 11D and 11E capture blank areas on both sides of the inspection area. Take a picture of.

【0023】なお、撮影においては、ビオデカセットを
停止させた状態で行う。また、アクリル板9を蛍光灯1
0A,10Bとビデオカセットとの間に置くことで、検
査領域表面の微小な凹凸による乱反射を防ぐことがで
き、綺麗な画像を取り込むことができる。また、ビデオ
カメラ11A〜11Cとしては、CCDを使用したもの
が好適である。また、文字としては、漢字、片仮名、平
仮名、各種アルファベット、記号および図形等である。
The shooting is performed with the biode cassette stopped. In addition, the acrylic plate 9 is attached to the fluorescent lamp 1.
By placing it between 0A and 10B and the video cassette, it is possible to prevent irregular reflection due to minute irregularities on the surface of the inspection area, and to capture a clean image. Further, as the video cameras 11A to 11C, those using CCD are suitable. The characters include kanji, katakana, hiragana, various alphabets, symbols and figures.

【0024】ここで、文字の検査項目として、次のよう
なものがある。 a)文字の欠け(断線、かすれ) 例えば、“u”の下
部がすれて切れたものや、“i”のドットがないもの。 b)文字のにじみ 例えば、“e”の上
部半円がインクで埋ったもの。 c)印刷の位置ずれ ビデオカセットによ
って異なるが、左右に対して約3mm以上のずれがある
場合は不良カセットとする。 d)インクの汚れ 約1mm2以上の汚
れを検出する。
Here, there are the following items as character inspection items. a) Missing characters (broken line, faintness) For example, the bottom part of "u" is worn off or there is no "i" dot. b) Character bleeding For example, the upper half circle of "e" is filled with ink. c) Printing misalignment It depends on the video cassette, but if there is a misalignment of about 3 mm or more to the left and right, it is considered a defective cassette. d) Ink stain Detects stains of about 1 mm 2 or more.

【0025】また、図2はビデオカセットVCを示す正
面図であり、そのケース本体のテープ引き出し側(矢印
Aで示す側)の検査領域DA(16mm×180mm)
にパッド印刷により文字が印刷されている。
FIG. 2 is a front view showing the video cassette VC, and an inspection area DA (16 mm × 180 mm) on the tape pull-out side (the side indicated by arrow A) of the case body.
Characters are printed by pad printing on.

【0026】続いて、図3は上記文字検査装置のブロッ
ク図である。この図において、15CPU(中央処理装
置)であり、その内部にRAMおよびROMを有してい
る。そして、ROMにはCPUを制御するためのプログ
ラム(検査用プログラム)が書き込まれており、このプ
ログラムにしたがってCPUはバス(例えばVMEバ
ス)Bを介して装置各部を制御すると共に、検査画像と
基準画像との正規化相関の計算や合否判定を行う。な
お、このCPUの動作において上記RAMが使用され
る。
Next, FIG. 3 is a block diagram of the character inspection apparatus. In this figure, 15 CPUs (central processing unit) have RAM and ROM inside. A program (inspection program) for controlling the CPU is written in the ROM. According to this program, the CPU controls each part of the apparatus via the bus (for example, VME bus) B, and the inspection image and the reference image. The calculation of the normalized correlation with the image and the pass / fail judgment are performed. The RAM is used in the operation of this CPU.

【0027】16はフロッピーディスク制御部であり、
ディスク駆動装置17の制御を行う。このフロッピーデ
ィスク制御部16はバスBに接続されている。18はフ
ロッピーディスク(この図では3.5インチタイプ)で
あり、基準文字の画像信号が書き込まれている。この基
準文字の画像信号はフロッピーディスク18をディスク
駆動装置17に挿入することにより、CPU1からの指
令によって読み出される。
Reference numeral 16 is a floppy disk control unit,
The disk drive device 17 is controlled. The floppy disk controller 16 is connected to the bus B. Reference numeral 18 is a floppy disk (3.5 inch type in this figure) in which an image signal of a reference character is written. By inserting the floppy disk 18 into the disk drive device 17, the image signal of the reference character is read out according to a command from the CPU 1.

【0028】フロッピーディスク18より読み出された
基準文字の画像信号はバスBを介して画像処理システム
12を構成する画像処理部19A〜19Eに供給され
る。この場合、画像処理部19A〜19Eには基準文字
情報用メモリ(図示略)が設けられており、この基準文
字情報用メモリに上記基準文字の画像信号が書き込まれ
る。
The image signal of the reference character read from the floppy disk 18 is supplied via the bus B to the image processing units 19A to 19E constituting the image processing system 12. In this case, the image processing units 19A to 19E are provided with a reference character information memory (not shown), and the image signal of the reference character is written in the reference character information memory.

【0029】画像処理部19A〜19Eの各々には、上
記基準文字情報用メモリの他、検査文字画像信号を記憶
する検査文字情報用メモリも設けられており、ビデオカ
メラ11A〜11Eにて撮影された検査文字画像信号が
書き込まれる。また、画像処理部19A〜19Eの各々
は専用のアセンブラプログラムにより動作し、各種画像
処理技法を高速に実行する。また、これら画像処理部1
9A〜19Eの各々はバスBに接続されている。
In addition to the reference character information memory, each of the image processing units 19A to 19E is also provided with an inspection character information memory for storing an inspection character image signal, which is photographed by the video cameras 11A to 11E. The inspection character image signal is written. In addition, each of the image processing units 19A to 19E operates by a dedicated assembler program, and executes various image processing techniques at high speed. In addition, these image processing units 1
Each of 9A to 19E is connected to the bus B.

【0030】20はI/Oポートであり、シーケンサ7
とCPU15との間で、画像入力信号や検査判定結果等
の授受を行う。また、トラックボール21の出力を入力
し、CPU15に供給する。トラックボール21は検査
プログラムのメニュー選択に使用される。
Reference numeral 20 denotes an I / O port, which is a sequencer 7
An image input signal, an inspection determination result, and the like are exchanged between the CPU 15 and the CPU 15. Also, the output of the trackball 21 is input and supplied to the CPU 15. The trackball 21 is used for menu selection of the inspection program.

【0031】22は複数のスイッチ、表示制御回路(図
示略)等から構成される操作盤であり、バスBに接続さ
れている。この操作盤22には画像処理部19A〜19
Eおよびモニタ受像機23A,23Bが接続されてい
る。
Reference numeral 22 denotes an operation panel composed of a plurality of switches, a display control circuit (not shown), etc., which is connected to the bus B. The operation panel 22 includes image processing units 19A to 19A.
E and monitor receivers 23A and 23B are connected.

【0032】上記各種スイッチのなかには再検査回数指
定スイッチ24が含まれている。この再検査回数指定ス
イッチ24は文字の品質検査の回数を指定するものであ
り、その設定値に応じた回数だけ文字の品質検査が行わ
れる。例えば、2回に設定すると、1文字につき3回ま
で検査が行われる。なお、オフに設定した場合には再検
査は行われない。
Among the above-mentioned various switches, a re-inspection number designating switch 24 is included. The re-inspection number designating switch 24 is for designating the number of times of character quality inspection, and the character quality inspection is performed only the number of times corresponding to the set value. For example, if it is set to 2 times, the inspection is performed up to 3 times for each character. If it is set to off, re-inspection is not performed.

【0033】上記フロッピーディスク18は記憶手段に
対応する。また、上記ビデオカメラ11A〜11Eの各
々は撮影手段に対応する。また、上記画像処理部11A
〜11Eの各々とCPU15は比較判定手段100を構
成する。また、CPU15は再検査手段の機能を有す
る。また、上記再検査回数指定スイッチ24は再検査回
数指定手段に対応する。
The floppy disk 18 corresponds to a storage means. Further, each of the video cameras 11A to 11E corresponds to a photographing means. In addition, the image processing unit 11A
11E and the CPU 15 constitute the comparison / determination means 100. Further, the CPU 15 has a function of a reinspection unit. The reinspection number designating switch 24 corresponds to reinspection number designating means.

【0034】動 作 次に、上記構成による動作について図4〜図7をそれぞ
れ参照して説明する。図4は文字検査動作を説明するた
めのフローチャートである。まず、ステップS1で、基
準画像の読み出しが行われる。すなわち、CPU15は
フロッピーディスク制御部16に対してフロッピーディ
スク18から基準文字画像信号の読み出しを指示する。
この指示によってフロッピーディスク18より基準文字
画像信号が読み出されると、CPU15はこの基準文字
画像信号をバスBを介して画像処理部19A〜19Eの
各々に供給し、各基準文字情報用メモリに書き込む。
[0034] Operation will now be described with reference respectively to FIGS operation by the above configuration. FIG. 4 is a flow chart for explaining the character inspection operation. First, in step S1, the reference image is read. That is, the CPU 15 instructs the floppy disk controller 16 to read the reference character image signal from the floppy disk 18.
When the reference character image signal is read from the floppy disk 18 according to this instruction, the CPU 15 supplies this reference character image signal to each of the image processing units 19A to 19E via the bus B and writes it in each reference character information memory.

【0035】この処理の終了後、ステップS2で検査パ
ラメータの設定が行われる。すなわち、CPU15はモ
ニタ受像機23Aまたはモニタ受像機23Bの画面にメ
ニューを表示し、このメニューをユーザーに選択させる
ことにより、検査パラメータの設定を行う。この際、メ
ニューの選択はトラックボール21の操作により行われ
る。また、検査パラメータの設定と共に再検査回数の設
定も行われる。この設定は再検査回数指定スイッチ24
にて行われる。これらの設定が行われた後、ステップS
3に進む。
After this processing is completed, inspection parameters are set in step S2. That is, the CPU 15 displays the menu on the screen of the monitor receiver 23A or the monitor receiver 23B, and allows the user to select this menu to set the inspection parameters. At this time, the menu is selected by operating the trackball 21. Further, the number of re-inspections is set together with the setting of the inspection parameters. This setting is the re-inspection number designating switch 24
Will be held in. After these settings are made, step S
Go to 3.

【0036】ステップS3では、画像取り込み信号の受
信が行われる。すなわち、CPU15はシーケンサ7か
ら出力される画像取り込み信号の取り込みを行う。この
場合、シーケンサ7はビデオカセットVCがステージ4
B,4Cに到達した時点で画像取り込み信号を出力す
る。
In step S3, the image capture signal is received. That is, the CPU 15 captures the image capture signal output from the sequencer 7. In this case, the sequencer 7 uses the video cassette VC in the stage 4
An image capture signal is output at the time when the image data reaches B and 4C.

【0037】画像取り込み信号の受信が行われた後、ス
テップS4で、画像の取り込みが行われる。すなわち、
CPU15は画像処理部19A〜19Eに対して、ビデ
オカメラ11A〜11Eによって拡大撮影された検査文
字に対応する検査文字画像信号を、各検査文字情報用メ
モリに書き込むよう指示する。これにより、画像処理部
19A〜19Eの各々は自身の検査文字情報用メモリに
検査文字画像信号を書き込む。
After the image capture signal is received, the image is captured in step S4. That is,
The CPU 15 instructs the image processing units 19A to 19E to write the inspection character image signal corresponding to the inspection character enlarged and photographed by the video cameras 11A to 11E into each inspection character information memory. As a result, each of the image processing units 19A to 19E writes the inspection character image signal in its own inspection character information memory.

【0038】次に、ステップS5に進み、文字の切り出
しが行われる。すなわち、画像処理部19A〜19Eの
各検査文字情報用メモリに書き込まれた検査文字画像信
号の文字の切り出しが行われる。この文字の位置合わせ
は画像処理部19A〜19Eにて行われる。ここで、文
字の切出しを行う理由は、ビデオカセットVC毎にその
検査領域に印刷される文字の位置にバラツキがあるから
で、その位置を検出するために行う。
Next, in step S5, characters are cut out. That is, the characters of the inspection character image signal written in the inspection character information memories of the image processing units 19A to 19E are cut out. The alignment of the characters is performed by the image processing units 19A to 19E. Here, the reason for cutting out the character is that the position of the character printed in the inspection area varies from video cassette VC to video cassette VC, and is performed to detect that position.

【0039】具体的には、図5において、画像処理部1
9A〜19Eの各検査文字情報用メモリの記憶内容から
検査画像全体の水平方向のプロファイルを作成して文
字列を抽出する。そして、この水平方向のプロファイル
と、垂直方向のプロファイルとによって文字に外接
する長方形を作成し、その図面左上の座標を検出す
る。この座標が文字の切り出し位置になる。
Specifically, in FIG. 5, the image processing unit 1
A horizontal profile of the entire inspection image is created from the stored contents of the inspection character information memories 9A to 19E, and the character string is extracted. Then, a rectangle circumscribing the character is created by the profile in the horizontal direction and the profile in the vertical direction, and the coordinates at the upper left of the drawing are detected. These coordinates are the cutout position of the character.

【0040】文字の切り出しが行われた後、ステップS
6で文字の位置合わせが行われる。すなわち、画像処理
部19A〜19Eの各々は、文字の切り出しを行った検
査文字画像信号と、基準文字情報用メモリに書き込まれ
た基準文字画像信号との文字毎の位置合わせを行う。
After the characters are cut out, step S
At 6, the characters are aligned. That is, each of the image processing units 19A to 19E aligns, for each character, the inspection character image signal obtained by cutting out the character and the reference character image signal written in the reference character information memory.

【0041】検査の最終段階にて、検査文字と基準文字
のそれぞれに対応する文字毎に正規化相関を計算するこ
とになるが、その際に、切り出された検査文字の一部が
欠けているような場合、単に検査文字を切り出しただけ
の位置では基準文字に最も適合した場所とは限らない。
そのため、検査文字と基準文字との形が極力一致するよ
うな場所で正規化相関の計算を行う必要がある。そこ
で、この文字の位置合わせを行う。
At the final stage of the inspection, the normalized correlation is calculated for each character corresponding to the inspection character and the reference character. At that time, a part of the cut out inspection character is missing. In such a case, the position where the inspection character is simply cut out is not always the most suitable position for the reference character.
Therefore, it is necessary to calculate the normalized correlation in a place where the shapes of the inspection character and the reference character are as close as possible to each other. Therefore, this character is aligned.

【0042】位置合わせ方法は、検査文字と基準文字と
の間の水平および垂直のプロファイルの正規化相関を計
算し、その相関値が最大値を取る場所を検出して行う。
これにより、照明の変動やボケの影響を受けずに位置合
わせが可能になる。すなわち、図6に示すように、検査
文字(この図では“a”)の切り出し位置(座標)
と、その八つの近傍での正規化相関を計算し、その相関
値の大小によって相関値の増加する方向を検出する。次
いで、1番目の画素P1に隣接する五つの正規化相関を
計算し、それから、2番目の画素P2に隣接する三つの
箇所での正規化相関を計算する。
The alignment method is performed by calculating the normalized correlation of the horizontal and vertical profiles between the inspection character and the reference character, and detecting where the correlation value has the maximum value.
As a result, the alignment can be performed without being affected by the fluctuation of the illumination and the blur. That is, as shown in FIG. 6, the cut-out position (coordinates) of the inspection character (“a” in this figure)
And the normalized correlations in the eight neighborhoods are calculated, and the direction in which the correlation value increases is detected depending on the magnitude of the correlation value. Then, the five normalized correlations adjacent to the first pixel P 1 are calculated, and then the normalized correlations at three points adjacent to the second pixel P 2 are calculated.

【0043】この結果、2番目の画素P2の位置が最大
値の場所として検出される。なお、図6におけるM_W
X、M_WYは検査文字および基準文字の水平および垂
直サイズを示す。
As a result, the position of the second pixel P 2 is detected as the place of the maximum value. Note that M_W in FIG.
X and M_WY indicate the horizontal and vertical sizes of the inspection character and the reference character.

【0044】文字の位置合わせ処理が終了した後、ステ
ップS7にて文字の分割検査が行われる。すなわち、画
像処理部19A〜19Eの各々は、検査文字と基準文字
とをそれぞれ分割して正規化計算を行い、その結果と設
定基準値との大小比較を行う。この場合、検査文字の全
体を基準文字の全体と一度に比較すると、検査文字に部
分的な欠けや、にじみ等の小さな不良部分があった場合
に、これらの判別が困難になる。そこで、これらの不良
部分が顕著に相関値に反映されるように分割検査を行
う。
After the character alignment processing is completed, a character division inspection is performed in step S7. That is, each of the image processing units 19A to 19E divides the inspection character and the reference character into a normalization calculation, and compares the result with the set reference value. In this case, if the entire inspection character is compared with the entire reference character at once, if the inspection character has a partial defect or a small defective portion such as bleeding, it becomes difficult to determine these. Therefore, the division inspection is performed so that these defective portions are significantly reflected in the correlation value.

【0045】具体的には図7に示すように、例えば
「S」の検査文字を背景を含む5個の領域に分割し、こ
れら領域と、「S」の基準文字の対応する各領域との間
の正規化相関を計算する。そして、検査文字の5個の領
域内の1つでも設定基準値より小さい相関値を取る領域
があれば、不良文字と判定する。この場合、設定基準値
は領域内の文字と背景との割合に応じて領域毎に異なる
値が設定される。
Specifically, as shown in FIG. 7, for example, an "S" check character is divided into five areas including the background, and these areas and the respective areas corresponding to the "S" reference character are divided. Compute the normalized correlation between. If even one of the five check character areas has a correlation value smaller than the set reference value, it is determined as a defective character. In this case, as the setting reference value, a different value is set for each area according to the ratio of the characters and the background in the area.

【0046】文字の分割検査の処理が終了すると、ステ
ップS8に進み、良品文字か否かの判定が行われる。す
なわち、CPU15は、検査文字画像信号が良品である
か否かの判定を行い、良品と判断するとステップS9へ
進み、不良品と判断するとステップS10へ進む。
When the character division inspection process is completed, the flow advances to step S8 to determine whether the character is a non-defective character. That is, the CPU 15 determines whether or not the inspection character image signal is a non-defective product, and if it is determined to be a non-defective product, the process proceeds to step S9, and if it is determined to be a defective product, the process proceeds to step S10.

【0047】ステップS9では、全ての文字の検査が終
了したか否かの判定が行われる。すなわち、CPU15
は、画像処理部19A〜19Eの担当する全検査文字画
像信号の検査が終了したか否かの判断を行い、終了した
と判定するとステップS11へ進み、判定信号を出力す
る。この判定信号はI/Oポート20を介してシーケン
サ7に供給される。これにより、シーケンサ7は次のビ
デオカセットVCを検査位置まで搬送する。判定信号の
出力後、ステップS3へ戻る。他方、全検査文字画像信
号の検査が終了していないと判定するとステップS6に
戻る。
In step S9, it is determined whether the inspection of all the characters has been completed. That is, the CPU 15
Determines whether or not the inspection of all the inspection character image signals in charge of the image processing units 19A to 19E is completed, and if it is determined that the inspection is completed, the process proceeds to step S11 to output the determination signal. This determination signal is supplied to the sequencer 7 via the I / O port 20. As a result, the sequencer 7 carries the next video cassette VC to the inspection position. After outputting the determination signal, the process returns to step S3. On the other hand, if it is determined that the inspection of all the inspection character image signals is not completed, the process returns to step S6.

【0048】一方、ステップS8の判定において、不良
品と判断され、ステップS10へ進むと、再検査の指定
がされているか否かの判定が行われる。この場合、CP
U15は、再検査回数指定スイッチ24の設定値に基づ
いて再検査指定がされていると判断するとステップS1
2に進み、再検査指定がされていないと判断するとステ
ップS11に進む。
On the other hand, when it is determined in step S8 that the product is defective and the process proceeds to step S10, it is determined whether reinspection is designated. In this case, CP
If the U15 determines that the reinspection is designated based on the setting value of the reinspection number designating switch 24, the step S1 is performed.
When it is determined that the reinspection is not designated in step 2, the process proceeds to step S11.

【0049】ステップS12では、再検査が指定回数ま
で達したか否かの判定が行われ、指定回数まで達してい
ないと判断するとステップS13へ進み、指定回数まで
達したと判断するとステップS11へ戻る。
In step S12, it is determined whether or not the re-inspection has reached the specified number of times. If it is determined that the specified number of times has not been reached, the process proceeds to step S13, and if it is determined that the specified number of times has been reached, the process returns to step S11. .

【0050】ステップS13では、位置合わせ開始位置
の変更が行われる。そして、再度、ステップS6で文字
の位置合わせが行われ、さらにステップS7で分割検査
が行われる。
In step S13, the position where alignment is started is changed. Then, again, the characters are aligned in step S6, and the division inspection is further performed in step S7.

【0051】位置合わせ開始位置の変更は次のように行
われる。まず、通常の1回目の位置合わせで決定した位
置(これをPbという)と、ステップS5の文字の切り
出し処理で抽出した切り出し位置(これをPaという)
とを比較し、もし、PbがPaよりも増加の方向にあれ
ば、それとは逆に減少の方向に基準文字に最も適合する
場所が存在すると判断して、1回目の再検査では位置合
わせ開始位置をPaより減少方向に1画素ずらした場所
を設定する。
The change of the alignment start position is performed as follows. First, the position determined by the normal first alignment (this is called P b ) and the cut-out position extracted by the character cutting process of step S5 (this is called P a )
If P b is in the increasing direction than P a , it is determined that there is a place that best matches the reference character in the decreasing direction, and the position is determined in the first re-inspection. A position where the alignment start position is shifted by one pixel in the decreasing direction from P a is set.

【0052】次いで、2回目の再検査では、1回目でず
らした方向と逆方向にPaより1画素ずらした場所に設
定する。このような処理過程をxとy方向の両方に適用
する。 なお、位置合わせ開始位置の変更は、各画像処
理部19A〜19Eにて行われる。このような再検査機
能により位置合わせの失敗による誤判定が殆ど生じなく
なる。
Then, in the second re-inspection, the position is set to a position shifted by one pixel from P a in the direction opposite to the direction shifted in the first time. Such a process applies to both x and y directions. The change of the alignment start position is performed by each of the image processing units 19A to 19E. With such a re-inspection function, erroneous determination due to alignment failure hardly occurs.

【0053】なお、上記実施例では、ビデオカセットを
停止させて画像の取り込みを行うようにしたが、ビデオ
カセットを移動させた状態で画像の取り込みを行うよう
にしても良い。
In the above embodiment, the video cassette is stopped and the image is captured, but the image may be captured while the video cassette is moved.

【0054】また、上記実施例では、ビデオカセットの
全文字の入れ替えを、例えば20個毎に行うようにした
が、この値に限定されるものではなく、50個、100
個、300個、500個毎に行うようにしても良い。
Further, in the above embodiment, the replacement of all characters in the video cassette is performed, for example, every 20 characters, but the value is not limited to this value, and 50 characters, 100 characters are replaced.
It may be performed every 300, 500 pieces.

【0055】また、上記実施例では、検査対象となる文
字が印刷された物品としてビデオカセットとしたが、こ
れに限定されるものではなく、印刷可能な様々な物品に
対しても可能である。例えば、 ・8mmカセットのパッド印刷文字検査 ・フロッピーディスクのスクリーン印刷文字検査 ・カセットのラップフィルムの貼りずれ ・シリアルナンバの読み取り ・異品種混入検査
In the above embodiment, the video cassette is used as the article on which the characters to be inspected are printed, but the invention is not limited to this, and various printable articles are possible. For example: ・ 8mm cassette pad print character inspection ・ Floppy disk screen print character inspection ・ Cassette wrap film misalignment ・ Serial number reading ・ Different product mixture inspection

【0056】また、印刷方法もパッド印刷に限られるも
のではなく、種々の印刷方法に対しても可能である。
The printing method is not limited to pad printing, and various printing methods are possible.

【0057】[0057]

【発明の効果】本発明によれば、位置合わせの失敗によ
る誤判定を減少させることができ、検査の信頼性及び製
品の品質を向上させることができる。
According to the present invention, it is possible to reduce erroneous determinations due to misalignment, and it is possible to improve inspection reliability and product quality.

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

【図1】本発明に係る文字検査装置の一実施例の外観を
示す平面図である。
FIG. 1 is a plan view showing the appearance of an embodiment of a character inspection device according to the present invention.

【図2】ビデオカセットの検査領域を示す平面図であ
る。
FIG. 2 is a plan view showing an inspection area of a video cassette.

【図3】本発明に係る文字検査装置の一実施例の構成を
示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an embodiment of a character inspection device according to the present invention.

【図4】同実施例の文字検査装置の文字検査処理を示す
フローチャートである。
FIG. 4 is a flowchart showing a character inspection process of the character inspection apparatus of the embodiment.

【図5】同実施例の文字検査装置における文字の切り出
しを説明する図である。
FIG. 5 is a diagram for explaining character cutout in the character inspection apparatus of the embodiment.

【図6】同実施例の文字検査装置における文字の位置合
わせを説明する図である。
FIG. 6 is a diagram illustrating alignment of characters in the character inspection device according to the embodiment.

【図7】同実施例の文字検査装置における文字の分割を
説明する図である。
FIG. 7 is a diagram illustrating division of characters in the character inspection device of the embodiment.

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

7 シーケンサ 11A〜11E ビデオカメラ(撮影手段) 15 CPU(再検査手段) 16 フロッピーディスク制御部 17 ディスク駆動装置 18 フロッピーディスク(記憶手段) 19A〜19E 画像処理部 20 I/Oポート 21 トラックボール 22 制御盤 23A、23B モニタ受像機 24 再検査回数指定スイッチ(再検査回数指定手段) 100 比較判定手段 VC ビデオカセット 7 Sequencer 11A-11E Video Camera (Photographing Means) 15 CPU (Re-Inspection Means) 16 Floppy Disk Control Unit 17 Disk Drive Device 18 Floppy Disk (Storage Means) 19A-19E Image Processing Unit 20 I / O Port 21 Trackball 22 Control Panels 23A and 23B Monitor receiver 24 Re-inspection number designating switch (re-inspection number designating unit) 100 Comparison judging unit VC video cassette

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 基準文字画像信号が書き込まれた記憶手
段と、 物品上に印刷された検査対象文字を撮影する撮影手段
と、 前記基準文字画像信号と前記撮影手段により得られた前
記検査対象文字に対応する検査文字画像信号とを比較す
るとともに、比較結果から前記検査対象文字の品質の合
否を判定する比較判定手段と、 を備えた文字検査装置において、 前記比較判定手段により前記検査対象文字が不合格と判
定された場合に、再度、該検査対象文字を検査する再検
査手段を設けたことを特徴とする文字検査装置。
1. A storage means in which a reference character image signal is written, a photographing means for photographing an inspection target character printed on an article, the reference character image signal and the inspection target character obtained by the photographing means. In a character inspection device comprising: a comparison determination unit that determines whether the quality of the inspection target character is acceptable or not from the comparison result while comparing the inspection target character image signal corresponding to A character inspection apparatus comprising reinspection means for inspecting the character to be inspected again when it is determined to be unacceptable.
【請求項2】 前記再検査の回数を任意に設定可能な再
検査回数指定手段を有し、 前記再検査手段は、再検査回数指定手段により設定され
た回数だけ、前記検査対象文字を再検査することを特徴
とする請求1記載の文字検査装置。
2. A re-inspection number designating unit capable of arbitrarily setting the number of re-inspection, wherein the re-inspecting unit re-inspects the inspection object character by the number of times set by the re-inspection number designating unit. The character inspection device according to claim 1, wherein
【請求項3】 前記再検査手段は、再検査を開始させる
際に前記検査文字画像信号と前記基準文字画像信号との
位置合わせの開始位置を変更させることを特徴とする請
求項1又は請求項2いずれかの項記載の文字検査装置。
3. The re-inspection means changes the start position of alignment between the inspection character image signal and the reference character image signal when starting the re-inspection. 2. The character inspection device according to any one of items.
【請求項4】 物品上に印刷された検査対象文字を撮影
して得られる検査文字画像信号を、基準文字情報記憶手
段より読み出した基準文字画像信号と比較して前記検査
対象文字の品質の合否を判定する文字検査方法におい
て、 前記検査対象文字の品質が不合格と判定された後、該検
査対象文字に対して再度比較することを特徴とする文字
検査方法。
4. An inspection character image signal obtained by photographing an inspection target character printed on an article is compared with a reference character image signal read from a reference character information storage means to determine whether the quality of the inspection target character is acceptable or not. In the character inspection method for determining, the character inspection method is characterized in that after the quality of the inspection target character is determined to be unacceptable, the inspection target character is compared again.
JP4240011A 1992-08-17 1992-08-17 Character inspection device and character inspection method Pending JPH0668240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4240011A JPH0668240A (en) 1992-08-17 1992-08-17 Character inspection device and character inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4240011A JPH0668240A (en) 1992-08-17 1992-08-17 Character inspection device and character inspection method

Publications (1)

Publication Number Publication Date
JPH0668240A true JPH0668240A (en) 1994-03-11

Family

ID=17053140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4240011A Pending JPH0668240A (en) 1992-08-17 1992-08-17 Character inspection device and character inspection method

Country Status (1)

Country Link
JP (1) JPH0668240A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0825764A (en) * 1994-07-13 1996-01-30 Nec Corp Printer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0825764A (en) * 1994-07-13 1996-01-30 Nec Corp Printer

Similar Documents

Publication Publication Date Title
US5717780A (en) Checking apparatus for flat type display panels
US5293178A (en) Display screen inspecting apparatus
TW201636123A (en) System for inspecting article being conveyed and conveying device
JP2002267615A (en) Defect inspection method and device therefor
JPH08334478A (en) Seal inspection system
JPH0668240A (en) Character inspection device and character inspection method
IL178321A (en) Optical inspection system
JP3243541B2 (en) Tablet appearance inspection method
JPS61243303A (en) Visual inspection system for mounted substrate
JPH08271436A (en) Inspection equipment for color filter substrate
WO2013124958A1 (en) Visual inspection device equipped with eye position identification means
CN113640303A (en) Surface flaw detection equipment for notebook computer and detection method thereof
JPH10297063A (en) Quality inspection/selection method for printed matter
JP2003075366A (en) Device and method for inspecting substrate
JPH06118024A (en) Method for detecting luminance unevenness of display element
JPH0763816A (en) Printed board inspection method and apparatus, centralized inspection system of prinrted board
JP2786554B2 (en) Long body inspection equipment
JPS6329887A (en) Pattern inspection device
JPH05275900A (en) Method for inspection of state of mounted part lead
JP3189966B2 (en) Liquid crystal display inspection equipment
JPH11186487A (en) Automatic inspection system of ic lead frame and its operation
JPH03160309A (en) Image quality testing apparatus
JP2001013079A (en) Method and apparatus for inspecting flaw
JPH03110453A (en) Label inspecting device
JPH05293951A (en) Character inspecting apparatus