JPH071935B2 - Package abnormality inspection device - Google Patents

Package abnormality inspection device

Info

Publication number
JPH071935B2
JPH071935B2 JP1308247A JP30824789A JPH071935B2 JP H071935 B2 JPH071935 B2 JP H071935B2 JP 1308247 A JP1308247 A JP 1308247A JP 30824789 A JP30824789 A JP 30824789A JP H071935 B2 JPH071935 B2 JP H071935B2
Authority
JP
Japan
Prior art keywords
image data
product
seal portion
data
abnormality
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.)
Expired - Lifetime
Application number
JP1308247A
Other languages
Japanese (ja)
Other versions
JPH03167457A (en
Inventor
伸二 浜本
良一 山田
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.)
Kao Corp
Original Assignee
Kao 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 Kao Corp filed Critical Kao Corp
Priority to JP1308247A priority Critical patent/JPH071935B2/en
Publication of JPH03167457A publication Critical patent/JPH03167457A/en
Publication of JPH071935B2 publication Critical patent/JPH071935B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
  • Controlling Sheets Or Webs (AREA)
  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、製品を例えば熱収縮性のフィルムにて包装し
た場合のフィルムつなぎ目であるヒートシール部の破れ
等、包装体の異常を検査する装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention inspects abnormalities in a package, such as breakage of a heat-sealed portion, which is a seam between films, when a product is packaged with a heat-shrinkable film. Regarding the device.

〔従来の技術〕[Conventional technology]

この種のフィルム包装は、通常、製品の上下、もしくは
左右からあてがった2枚の熱収縮性フィルムを高周波ミ
シン等にて相互に溶着することにより行われる。ところ
が、前記溶着作業がうまく行われなかったときは、ヒー
トシール部に破れが生じることがある。このようなヒー
トシール部に破れがあると、製品の価値を下げる恐れが
あるので、従来は、生産ラインの最終工程にて人が目で
識別し、不良と思われるものを排除していた。
This type of film packaging is usually performed by welding two heat-shrinkable films, which are applied from above and below the product or from the left and right, to each other with a high-frequency sewing machine or the like. However, if the welding work is not performed properly, the heat seal portion may be broken. If such a heat-sealed portion is torn, the value of the product may be reduced. Therefore, conventionally, a person visually identifies in the final step of the production line to eliminate what is considered defective.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

ところが、この包装用のフィルムは、一般に透明で極め
て薄いため、上述したような目視による検査では、不良
品の判定を適確に行なうのが難しく、不良品がそのまま
出荷されるという不具合が起った。
However, since the packaging film is generally transparent and extremely thin, it is difficult to accurately determine the defective product by the visual inspection as described above, and the defective product is shipped as it is. It was

本発明は上述した問題をなくすためになされたものであ
り、包装体における異常を検査する包装体異常検査装置
を提供することを目的とする。
The present invention has been made to eliminate the above-mentioned problems, and an object of the present invention is to provide a package abnormality inspection apparatus that inspects a package for abnormality.

〔課題を解決するための手段〕[Means for Solving the Problems]

本発明の包装体異常検査は、第1図に示すように、製品
を熱収縮性の透明フィルムで包装した場合のフィルムつ
なぎ目であるシール部に破れ等の異常がないかを検査す
るための装置であって、 検査対象の製品(A)の画像を撮像するカメラ(B)
と、 シール部を持たないフィルム包装済みの製品に対する画
像データをマスター画像データとして予め記憶するマス
ター画像データ記憶手段(C)と、 製品(A)の図柄による輝度の影響を排除するために、
前記マスター画像データ記憶手段(C)から読み出した
マスター画像データおよび、前記カメラ(B)で得た製
品(A)の画像データに対し、対応する各画素間のデー
タの差分をとる画像差分演算手段(D)と、 前記製品(A)にあったシール部の画像データのみを抽
出するために、前記画像差分演算手段(D)で得られた
差分画像データを二値化処理する二値化処理手段(E)
と、 シール部の延在方向と直交する方向をy方向とした時、
前記二値化処理手段(E)で得られたシール部の画素デ
ータのy座標値の変化を調べることで該シール部の破れ
等の異常がないかを検出する異常検出手段(F)とを備
えたことを特徴とする。
The package abnormality inspection of the present invention is, as shown in FIG. 1, an apparatus for inspecting a seal portion which is a film joint when a product is packaged with a heat-shrinkable transparent film for any abnormality such as breakage. And a camera (B) that captures an image of the product (A) to be inspected
And a master image data storage means (C) for pre-storing image data of a film-packaged product having no seal portion as master image data, and in order to eliminate the influence of the brightness of the design of the product (A),
Image difference calculation means for calculating the difference between the data of each pixel corresponding to the master image data read from the master image data storage means (C) and the image data of the product (A) obtained by the camera (B). (D) and a binarization process for binarizing the difference image data obtained by the image difference calculation means (D) in order to extract only the image data of the seal portion that was in the product (A). Means (E)
When the direction orthogonal to the extending direction of the seal part is defined as the y direction,
An abnormality detecting means (F) for detecting whether or not there is an abnormality such as breakage of the seal portion by checking the change of the y coordinate value of the pixel data of the seal portion obtained by the binarization processing means (E). It is characterized by having.

〔作用〕[Action]

カメラBで撮像された、シール部を有する検査対象Aに
対する画像データと、マスター画像データ記憶手段Cに
予め登録してあった、標準となる検査対象に対するマス
ター画像データとに対し、画像差分演算手段Dによっ
て、両データの各画素毎に輝度の差分が演算される。こ
の差分演算により、両画像データにあった同じ図柄に対
する輝度データがキャンセルされることにより、主にシ
ール部に対する各画素の輝度データが抽出され、この輝
度データは次に2値化処理手段Eによって2値化処理さ
れる。前記輝度データには、画像差分演算によって排除
仕切れなかった図柄に対する輝度データと、シール部に
対する輝度データとが含まれるが、シール部に対する輝
度データは、シール部の乱反射によるものであるため大
きな輝度を持つ。従って、2値化処理の際に適切なしき
い値を採用することで、画像差分演算によって排除仕切
れなかった図柄に対する輝度データがノイズとして除去
され、これにより、シール部に該当する画素に対して
“1"のデータが設定され、他の領域の各画素に対しては
“0"のデータが設定される。
Image difference calculation means for the image data of the inspection object A having the seal portion, which is captured by the camera B, and the master image data of the standard inspection object, which is registered in the master image data storage means C in advance. With D, the difference in brightness is calculated for each pixel of both data. By this difference calculation, the brightness data for the same pattern in both image data is canceled, so that the brightness data of each pixel mainly for the sticker portion is extracted, and this brightness data is next binarized by the binarization processing means E. It is binarized. The brightness data includes brightness data for a pattern that cannot be excluded by the image difference calculation and brightness data for the seal portion. However, since the brightness data for the seal portion is due to diffused reflection of the seal portion, a large brightness is obtained. To have. Therefore, by adopting an appropriate threshold value in the binarization process, the luminance data for the pattern that cannot be excluded by the image difference calculation is removed as noise, and thus the pixel corresponding to the seal part is " The data of 1 "is set, and the data of" 0 "is set for each pixel in the other area.

次に異常検出手段Fによって、シール部に対する“1"の
画素データが直線状に連続しているかを調べることで、
シール部の破れ等の異常が無いかが検出される。
Next, the abnormality detecting means F checks whether or not the pixel data of "1" for the seal portion is linearly continuous.
It is detected whether there is any abnormality such as tear of the seal part.

尚、マスタ画像データを得るには、つなぎ目無しにフィ
ルム包装した製品を別に用意しなくてはならず不便なた
め、請求項2に記載した手法によって、シール部を持つ
検査対象の製品からマスター画像データを得ている。
Since it is inconvenient to separately prepare a film-wrapped product to obtain master image data, it is inconvenient to obtain a master image from a product to be inspected having a seal portion by the method described in claim 2. I'm getting the data.

〔実施例〕〔Example〕

第2図に本発明の包装体異常検査の一実施例を示してい
る。
FIG. 2 shows an embodiment of the package abnormality inspection of the present invention.

1は、検査対象の製品を示しており、4個の商品を1パ
ックとしてフィルムにて包装している。
Reference numeral 1 denotes a product to be inspected, and four products are packed in a film as one pack.

2は、商品1をライン上の所定の検査位置に停止させる
ためのストッパーであり、3は、検査位置に実際に製品
1があるか否かを検出するセンサーである。4は検査位
置にある製品1に対して照明するための照明灯であり、
商用周波に伴うちらつきをなくすために高周波蛍光灯を
用いている。5はCCD撮像素子を用いたカメラであり、
鏡6を介して検査位置にある製品1の一方の側面の画像
を捕える。ここで鏡6を設けたのは、カメラ5にて製品
1の全体像を捕えるには、ある程度の離隔距離が必要で
あり、カメラ5の設置が困難になるため、図示したよう
に、鏡6による製品1の反射像をラインを下方に設けた
カメラ5にて捕えるようにして、検査装置の省スペース
化を図るためである。
Reference numeral 2 is a stopper for stopping the product 1 at a predetermined inspection position on the line, and reference numeral 3 is a sensor for detecting whether or not the product 1 is actually present at the inspection position. 4 is an illumination lamp for illuminating the product 1 in the inspection position,
A high-frequency fluorescent lamp is used to eliminate the flicker associated with commercial frequencies. 5 is a camera using a CCD image sensor,
An image of one side of the product 1 in the inspection position is captured via the mirror 6. The mirror 6 is provided here because the camera 5 requires a certain distance to capture the entire image of the product 1, which makes installation of the camera 5 difficult. This is because the reflected image of the product 1 according to (3) is captured by the camera 5 having a line below, so that the inspection device can be saved in space.

7は本装置を集中制御するためのCPU(中央演算処理装
置)であり、内部には、後で詳しく述べる画像処理部7a
を有する。8は、CPU7が行う制御プログラムを格納する
ROM(リードオンリーメモリ)である。9は、信号入力
部であり、前記ストッパー2及びセンサー3よりの検出
信号はこの信号入力部9を介してCPU7に取り込まれる。
10は、前記カメラ5よりの映像信号を記憶する画像メモ
リであり、11は、カメラ5により撮像画面をモニターす
るための画像モニターディスプレイである。12は、種々
の設定条件等を入力するためのキーボードである。13
は、本装置の検査により、包装体に異常が検出された製
品1をラインの流れから排出させるための排出装置であ
り、14は、排出装置13に対するCPU7の信号出力部であ
る。
Reference numeral 7 denotes a CPU (central processing unit) for centrally controlling this apparatus, and an image processing unit 7a which will be described in detail later is provided inside.
Have. 8 stores a control program executed by the CPU 7.
ROM (Read Only Memory). Reference numeral 9 is a signal input section, and the detection signals from the stopper 2 and the sensor 3 are taken into the CPU 7 via the signal input section 9.
Reference numeral 10 is an image memory for storing a video signal from the camera 5, and 11 is an image monitor display for monitoring an image pickup screen by the camera 5. Reference numeral 12 is a keyboard for inputting various setting conditions and the like. 13
Is a discharge device for discharging the product 1 in which an abnormality is detected in the package by the inspection of this device from the flow of the line, and 14 is a signal output unit of the CPU 7 for the discharge device 13.

15は、本装置にて行なった検査結果を表示する計測結果
表示ディスプレイであり、16は、前記検査結果をデータ
として記憶するためのフロッピーディスク装置である。
Reference numeral 15 is a measurement result display for displaying the inspection result of this apparatus, and 16 is a floppy disk device for storing the inspection result as data.

次に上記構成になる装置の動作を第3図のフローチャー
トに従って説明する。
Next, the operation of the apparatus having the above configuration will be described with reference to the flowchart of FIG.

まず、ステップS1にて、マスター画像の作成モードが不
良検査モードかの判定が行われるが、最初は、マスター
画像作成を行う必要があるので、ステップS2以降を進
む。このマスター画像とは、フィルム包装済みのもので
検査領域にヒートシール部のない製品1に基づく画像で
あり、そのためには、検査領域にヒートシールが含まれ
ないフィルム包装済みの製品1をカメラ5にて画像をと
る必要があり、非能率的なので本実施例では以下に示す
最小値合成法を用いてマスター画像を得ている。
First, in step S1, it is determined whether the master image creation mode is the defect inspection mode. At first, since master image creation needs to be performed, step S2 and the subsequent steps are performed. This master image is an image based on the product 1 that has been film-wrapped and does not have a heat-sealed portion in the inspection area. For this purpose, the film-wrapped product 1 that does not include heat-sealing in the inspection area is taken by the camera 5 In this embodiment, the master image is obtained by using the minimum value synthesizing method described below because it is inefficient to take an image.

まず、ステップS2にて、第4図に示した最初の製品に対
する画像データ101を取り込み、その画像データ101を、
画像メモリ10のメモリ領域Iに記憶する。ステップS3で
は、次の製品の画像データ102を画像メモリ10のメモリ
領域IIに記憶する。ステップS4では、メモリ領域I,IIで
対応する画素毎に輝度データB1,B2を比較し、次のステ
ップS5で、B1>B2の関係があるとき、メモリ領域I上の
該当する画素の輝度データB1をB2で更新する。ステップ
S6では、画像取り込みを終了するか否の判定を行ない、
継続する場合は、ステップS3に戻り、以下同様に、次に
取り込んだ画像データとメモリ領域Iに記憶された画像
データとの比較を順次行ない、10番目の製品の画像デー
タ110を取り込んで終了したとする。この複数個の画像
取り込みにより、メモリ領域Iにおける各画素の輝度デ
ータBには、画像データ101ないし110の対応する各画素
で最小の輝度データが格納されることになる。
First, in step S2, the image data 101 for the first product shown in FIG.
It is stored in the memory area I of the image memory 10. In step S3, the image data 102 of the next product is stored in the memory area II of the image memory 10. In step S4, the brightness data B 1 and B 2 are compared for each corresponding pixel in the memory areas I and II, and when there is a relation of B 1 > B 2 in the next step S5, the corresponding brightness data in the memory area I is satisfied. The pixel brightness data B 1 is updated with B 2 . Step
In S6, it is judged whether or not the image capturing is finished,
If it is to continue, the process returns to step S3, and similarly, the image data captured next is sequentially compared with the image data stored in the memory area I, and the image data 110 of the tenth product is captured, and the process ends. And By capturing the plurality of images, the minimum brightness data of the corresponding pixels of the image data 101 to 110 is stored in the brightness data B of each pixel in the memory area I.

ところで、画像データ101ないし110に表われるヒートシ
ール部Yは、その箇所で乱反射して輝度の高い箇所とし
て検出されるが、このヒートシール部Yの位置は製品毎
に異なるため、上述した輝度データの比較・更新によ
り、ヒートシール部Yに対する輝度データは取り除か
れ、その結果、前記メモリ領域Iには100Mで示したよう
な、ヒートシール部Yを持たないフィルム包装済みの製
品に対するマスター画像データが得られる。このマスタ
ー画像データは、以下に述べるように、検査対象の画像
データと比較されるが、その際の画像データの位置づれ
による影響を無視できるように、マスター画像データに
対して公知の最大値(MAX)フィルター処理が施され
る。
By the way, the heat seal part Y shown in the image data 101 to 110 is diffusely reflected at that position and detected as a high brightness part. However, since the position of the heat seal part Y is different for each product, the brightness data described above is used. The luminance data for the heat-sealed portion Y is removed by comparing and updating the above, and as a result, the master image data for the film-wrapped product having no heat-sealed portion Y as shown by 100M in the memory area I is obtained. can get. This master image data is compared with the image data to be inspected as described below, but the maximum value known to the master image data ( MAX) Filtered.

このマスター画像データはCPU7に取り込まれるが、必要
に応じステップS7にてフロッピーディスク装置16に登録
することができる。これにて、マスター画像作成100Mが
終了し、その後は、前述の画像処理部7aによる処理であ
るステップS8以降に進む。
This master image data is taken in by the CPU 7, but can be registered in the floppy disk device 16 in step S7 if necessary. This completes the master image creation 100M, after which the process proceeds to step S8 and subsequent steps, which are the processes performed by the image processing unit 7a.

ステップS8での画像データの取り込みにおいては、より
忠実な画像データが得られるように、同一製品1に対し
て2回画像データを取り込み、2画像のデータを合成し
ている。
In capturing the image data in step S8, the image data is captured twice for the same product 1 and the two image data are combined so that more faithful image data can be obtained.

次のステップS9では第5図に示すように、検査する製品
1の画像データ100と、前記マスター画像100Mとの各画
素表面の輝度データの差分を求める。この差分演算によ
り、両画像データ100と100Mにあった共通の図柄に対す
る輝度データはキャンセルされ、ヒートシール部Yに対
する輝度データのみが抽出された、差分画像データ150
が得られる。
In the next step S9, as shown in FIG. 5, the difference between the brightness data on the surface of each pixel between the image data 100 of the product 1 to be inspected and the master image 100M is obtained. By this difference calculation, the brightness data for the common pattern in both image data 100 and 100M is canceled, and only the brightness data for the heat seal portion Y is extracted.
Is obtained.

次のステップS10では、差分画像データ150の輝度データ
を2値化することにより、ノイズ(差分画像データ150
上にヒゲ状に見えていたもの)が除去され、第6図に示
したようなヒートシール部Yのみを有する画像データ15
0′が得られる。ここで示された領域Q1が以下に述べる
走査対象のエリアとなる。
In the next step S10, the luminance data of the differential image data 150 is binarized to generate noise (differential image data 150
Image data 15 having only the heat-sealed portion Y as shown in FIG.
0'is obtained. The area Q 1 shown here is the area to be scanned described below.

次のステップS11では、第7図に示すように、画像デー
タ150′をヒートシール部Yの延在方向である横(x)
方向の各画素行に対して順次走査し、各画素行毎に画素
データ(0か1であった)を累積し、累積値が最大とな
った画素行がヒートシール部Yの存在箇所と判定され
る。このようにしてヒートシール部Yの位置が検出され
ると、次にそのヒートシール部Yが直線状に連続してい
るか否かによりヒートシール部Yの破れ等の異常がステ
ップS12にて調べられる。そのために、第8図に示した
ように、ヒートシール部Yを中間に含むようにして走査
エリアがQ1がQ2に狭められ、この領域Q2において、ヒー
トシール部Yのy方向の位置変化を調べる。
In the next step S11, as shown in FIG. 7, the image data 150 'is transferred in the horizontal direction (x) which is the extending direction of the heat seal portion Y.
Direction is sequentially scanned for each pixel row, pixel data (0 or 1) is accumulated for each pixel row, and the pixel row having the maximum accumulated value is determined to be the location where the heat seal portion Y exists. To be done. When the position of the heat seal portion Y is detected in this manner, an abnormality such as breakage of the heat seal portion Y is then checked in step S12 depending on whether or not the heat seal portion Y is linearly continuous. . Therefore, as shown in FIG. 8, the scanning area Q 1 is narrowed to Q 2 by including the heat seal portion Y in the middle, and in this area Q 2 , the position change of the heat seal portion Y in the y direction is suppressed. Find out.

即ち、第8図に示すように、y方向の各画素列に対して
順次、データを読み出して行き、各画素列毎に“1"の画
素データを読み出した時のy座標値を検出し、そのy座
標値の位置変化として、一次微分dy/dxを求めたのが第
9図である。第8図のヒートシール部Yで直線状に連続
していない箇所Y0の始まりと終わりに対応して第9図に
おいて、極大Y1′、極小Y2′が生じる。この極大Y1′、
極小Y2′を知ることで、第8図に示した直線的に不連続
な箇所Y0の存在を判定でき、その箇所Y0を、第10図に示
すように、ヒートシール部Yの破れとして検出する。
That is, as shown in FIG. 8, the data is sequentially read out for each pixel row in the y direction, and the y coordinate value when the pixel data of “1” is read for each pixel row is detected, FIG. 9 shows the first-order differential dy / dx as the position change of the y-coordinate value. A maximum Y 1 ′ and a minimum Y 2 ′ are generated in FIG. 9 corresponding to the beginning and end of the portion Y 0 which is not linearly continuous in the heat seal portion Y of FIG. This maximum Y 1 ′,
By knowing the minimum Y 2 ′, the existence of the linearly discontinuous portion Y 0 shown in FIG. 8 can be determined, and the portion Y 0 is broken at the heat-sealed portion Y as shown in FIG. To detect as.

破れが検出されたときは、ステップS13の判定により、
次のステップS14にて、所定の排出指令信号を出力する
ことにより、製品1が排出装置13によってラインから排
出されると共に不良発生の状況が計測結果表示ディスプ
レイ15に表示される。その後はステップS8に戻り、次の
製品1に対して上述と同様な検査が行われる。
When a tear is detected, the judgment in step S13 results in
In the next step S14, by outputting a predetermined discharge command signal, the product 1 is discharged from the line by the discharging device 13 and the status of occurrence of defects is displayed on the measurement result display display 15. After that, the process returns to step S8, and the same inspection as described above is performed on the next product 1.

尚、フィルム包装した製品1に汚れがあった場合や二重
包装があった場合、ステップS9の差分演算の結果、差分
画像150にそれらの箇所が表われるので、この場合も包
装体の異常として検出することができる。
If the film-wrapped product 1 is soiled or double-wrapped, those parts appear in the difference image 150 as a result of the difference calculation in step S9. Can be detected.

[発明の効果] 以上説明したように、本発明は、マスター画像のデータ
と製品の画像データとの各画素毎の差分に基づき製品に
あったシール部を検出し、このシール部の連続性を調べ
ることにより、シール部における破れ等の異常を検出す
るようにしたので、シール部の破れあるいはシール線の
ゆがみ等、包装体におけるあらゆる異常をも的確に検出
することができ、省力化を図れる。
[Effect of the Invention] As described above, according to the present invention, the seal portion that matches the product is detected based on the difference between each pixel of the master image data and the product image data, and the continuity of the seal portion Since the abnormality such as the breakage in the seal portion is detected by the inspection, any abnormality in the package such as the breakage of the seal portion or the distortion of the seal line can be accurately detected, and the labor can be saved.

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

第1図は本発明の包装体異常検査のクレーム対応図、第
2図は本発明の一実施例を示すシステム図、第3図は第
2図図示の装置の制御動作を示すフローチャート、第4
図はマスター画像データを得るための最小値合成法を説
明するための図、第5図は、ヒートシール部の抽出のた
めに行う画像差分を説明するための図、第6図は、二値
化処理によりノイズを除去した画像データを示す図、第
7図は、画像データ中のヒートシール部の位置を検出す
る方法を説明するための図、第8図は、位置が検出され
たヒートシール部のみを示す画像データ、第9図は、第
8図の画像データからヒートシール部の変化を示す図、
第10図は、第9図のヒートシール部の変化からヒートシ
ール部の異常有無を示した図である。 1……製品、2……ストッパー、3……センサー、 4……照明灯、5……カメラ、6……鏡、7……CPU、 7a……画像処理部、8……ROM、 10……画像メモリー、 11……画像モニターディスプレイ、 12……キーボード、13……排出装置、 15……計測結果表示ディスプレイ、 16……フロッピーディスク装置。
FIG. 1 is a diagram corresponding to the claims of the package abnormality inspection of the present invention, FIG. 2 is a system diagram showing an embodiment of the present invention, FIG. 3 is a flow chart showing the control operation of the apparatus shown in FIG.
FIG. 5 is a diagram for explaining the minimum value synthesizing method for obtaining the master image data, FIG. 5 is a diagram for explaining an image difference performed for extracting the heat seal portion, and FIG. 6 is a binary value. FIG. 7 is a diagram showing image data from which noise has been removed by the image processing, FIG. 7 is a diagram for explaining a method for detecting the position of the heat seal portion in the image data, and FIG. 8 is a heat seal in which the position is detected. Image data showing only a portion, FIG. 9 is a diagram showing a change of the heat seal portion from the image data shown in FIG.
FIG. 10 is a diagram showing the presence / absence of abnormality in the heat seal portion based on the change in the heat seal portion in FIG. 1 ... Product, 2 ... Stopper, 3 ... Sensor, 4 ... Illumination lamp, 5 ... Camera, 6 ... Mirror, 7 ... CPU, 7a ... Image processing unit, 8 ... ROM, 10 ... … Image memory, 11 …… Image monitor display, 12 …… Keyboard, 13 …… Ejection device, 15 …… Measurement result display, 16 …… Floppy disk device.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】製品を熱収縮性の透明フィルムで包装した
場合のフィルムつなぎ目であるシール部に破れ等の異常
がないかを検査するための装置であって、 検査対象の製品の画像を撮像するカメラと、 シール部を持たないフィルム包装済みの製品に対する画
像データをマスター画像データとして予め記憶するマス
ター画像データ記憶手段と、 製品の図柄による輝度の影響を排除するために、前記マ
スター画像データ記憶手段から読み出したマスター画像
データおよび、前記カメラで得た製品の画像データに対
し、対応する各画素間のデータの差分をとる画像差分演
算手段と、 前記製品にあったシール部の画像データのみを抽出する
ために、前記画像差分演算手段で得られた差分画像デー
タを二値化処理する二値化処理手段と、 シール部の延在方向と直交する方向をy方向とした時、
前記二値化処理手段で得られたシール部の画素データの
y座標値の変化を調べることで該シール部の破れ等の異
常がないかを検出する異常検出手段とを備えたことを特
徴とする包装体異常検査装置。
1. An apparatus for inspecting a seal portion, which is a film joint, for abnormality such as breakage when a product is wrapped with a heat-shrinkable transparent film, and takes an image of the product to be inspected. A camera, a master image data storage means for pre-storing image data of a film-wrapped product without a seal portion as master image data, and the master image data storage for eliminating the influence of the brightness due to the design of the product. Image difference calculation means for obtaining the difference between the data of each corresponding pixel with respect to the master image data read out from the means and the image data of the product obtained by the camera, and only the image data of the seal part that matches the product. In order to extract, the binarization processing unit that binarizes the difference image data obtained by the image difference calculation unit, and the extension of the seal portion. When the direction perpendicular to the direction is the y direction,
An abnormality detecting unit for detecting whether or not there is an abnormality such as breakage of the seal portion by checking a change in y coordinate value of pixel data of the seal portion obtained by the binarization processing unit. Abnormality inspection device for packaging.
【請求項2】上記マスター画像データは、複数個の検査
対象の画像データから、対応する各画素の間で最小の輝
度を有するデータを選出して得たものである請求項1記
載の包装体異常検査装置。
2. The package according to claim 1, wherein the master image data is obtained by selecting, from a plurality of image data to be inspected, data having a minimum luminance between corresponding pixels. Abnormality inspection device.
JP1308247A 1989-11-28 1989-11-28 Package abnormality inspection device Expired - Lifetime JPH071935B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1308247A JPH071935B2 (en) 1989-11-28 1989-11-28 Package abnormality inspection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1308247A JPH071935B2 (en) 1989-11-28 1989-11-28 Package abnormality inspection device

Publications (2)

Publication Number Publication Date
JPH03167457A JPH03167457A (en) 1991-07-19
JPH071935B2 true JPH071935B2 (en) 1995-01-11

Family

ID=17978712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1308247A Expired - Lifetime JPH071935B2 (en) 1989-11-28 1989-11-28 Package abnormality inspection device

Country Status (1)

Country Link
JP (1) JPH071935B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4654086B2 (en) * 2005-07-29 2011-03-16 本田技研工業株式会社 Elastic member quality evaluation method and apparatus
CN115512284B (en) * 2022-09-21 2023-04-07 江阴市花园铝塑包装有限公司 System and method for analyzing integrity of milk sealing film of plastic bottle

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5122583B2 (en) * 1972-05-04 1976-07-10
JPS4964789A (en) * 1972-10-25 1974-06-22
JPH061247B2 (en) * 1985-04-16 1994-01-05 日立金属株式会社 Defect inspection method by image processing
JPH0687264B2 (en) * 1986-06-18 1994-11-02 富士電機株式会社 Image binarization method
JPS6320203U (en) * 1986-07-24 1988-02-10
JPH067106B2 (en) * 1987-01-27 1994-01-26 松下電工株式会社 Pattern inspection method

Also Published As

Publication number Publication date
JPH03167457A (en) 1991-07-19

Similar Documents

Publication Publication Date Title
JP3288902B2 (en) Seal inspection system
JP2003262593A (en) Apparatus and method for detection of defect
JPH06201611A (en) Method for detecting defect of sheetlike printed matter
JP3374289B2 (en) Print inspection equipment
JPH071935B2 (en) Package abnormality inspection device
JP2008128822A (en) Device and method for inspecting appearance of sheet material having translucency
JPH04238592A (en) Automatic bundled bar steel tally device
JPH06210836A (en) Inspection device for printed matter
JPH03167407A (en) Apparatus for inspecting deviation of display pattern
JPH0829357A (en) Appearance inspection device for automation line
JP3415307B2 (en) Appearance inspection device
US10852244B2 (en) Image processing apparatus, image processing method, and recording medium
JP2001013081A (en) Method and device for inspecting tire
JP2000193437A (en) Method and system for inspecting pattern defect of keyboard of various electronic devices, and computer- readable recording medium where pattern defect inspection program is recorded
JPH02230381A (en) Work inspecting device
JP7300155B2 (en) Teaching device in solid preparation appearance inspection, and teaching method in solid preparation appearance inspection
JP2786554B2 (en) Long body inspection equipment
JPS6329887A (en) Pattern inspection device
JP3210428B2 (en) Surface inspection equipment
JP2515045B2 (en) Strawberry inspection device
JP2675180B2 (en) Image processing device
JPH04122847A (en) Optical apparatus for inspecting defect
JP2000012628A (en) Defect detector for tape carrier, and defect inspection system
JP2004210459A (en) Device and method of monitoring transport device
JPH06161378A (en) Inspecting device for liquid crystal display device