WO2013018207A1 - Container mouth portion inspection method and device - Google Patents
Container mouth portion inspection method and device Download PDFInfo
- Publication number
- WO2013018207A1 WO2013018207A1 PCT/JP2011/067742 JP2011067742W WO2013018207A1 WO 2013018207 A1 WO2013018207 A1 WO 2013018207A1 JP 2011067742 W JP2011067742 W JP 2011067742W WO 2013018207 A1 WO2013018207 A1 WO 2013018207A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- inspection
- ring
- inspection gate
- gate
- screw
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/90—Investigating the presence of flaws or contamination in a container or its contents
- G01N21/9054—Inspection of sealing surface and container finish
Definitions
- the present invention relates to a container mouth inspection method and apparatus for inspecting the presence or absence of defects (chips) in the mouth of a container such as a glass bottle, and more particularly to a container inspecting a container being conveyed by a conveyor.
- Patent Document 1 An apparatus for inspecting a screw of a container being conveyed by a conveyor is disclosed in Patent Document 1 below.
- This includes a mirror that reflects the light from the outer peripheral surface of the container mouth and a camera that captures the light from the mirror, and an image processing device processes images from the beginning to the end of the screw imaged by the camera.
- the pixel in the image has changed from a dark pixel to a bright pixel or from a bright pixel to a dark pixel
- the portion of the pixel that has changed from dark to bright or bright to dark is the start of the screw or screw. It is determined as a formed defect (chip).
- the above-mentioned conventional apparatus has a problem that a defect at the start end of the screw cannot be found because the portion that has changed from dark to light or from bright to dark is determined as the start end or defect of the screw. Moreover, screw defects often occur at the beginning of the screw.
- This invention makes it a subject to discover the defect of the start end of a screw in the mouth inspection of the container currently conveyed with the conveyor.
- the present invention includes the step of imaging the container mouth from above the container with a camera; Creating a ring-shaped inspection gate on a ring-shaped screw image in the captured image; Searching the ring-shaped inspection gate for a dark portion exceeding a predetermined gradation difference; Creating a screw end inspection gate in a partial region of the ring-shaped inspection gate including the dark portion; In the screw end inspection gate, searching for a screw end image that matches a registered image of a screw end registered in advance; Creating left and right inspection gates in a partial region of the ring-shaped inspection gate on both sides of the pattern matched screw ends; A container mouth having a step of detecting a dark portion exceeding a predetermined gradation difference and area in the left and right inspection gates, and determining a dark portion exceeding the predetermined gradation difference and area as a defect. Inspection method.
- the present invention further includes a step of creating a divided inspection gate in which the portion other than the screw end inspection gate is divided into a plurality of portions along a radial line, and a predetermined inspection is performed in each divided inspection gate.
- the present invention further includes a step of creating a divided inspection gate for detecting an outer edge by dividing a ring-shaped region including the ring-shaped inspection gate into a plurality of lines along a radial direction, and each divided inspection gate for detecting an outer edge. And searching for the position of the outer peripheral edge where the brightness is equal to or greater than a predetermined brightness, and the difference between the distance from the outer peripheral edge position of the adjacent peripheral edge detection division inspection gate to the center is predetermined.
- the present invention further creates a ring-shaped top surface inspection gate on the image of the ring-shaped mouth top surface in the captured image, and divides the top surface inspection gate into a plurality of radial lines.
- a step of creating a top surface division inspection gate and a step of detecting a dark portion or a bright portion exceeding a predetermined gradation difference and area in each of the top surface division inspection gates, and exceeding the predetermined gradation difference and area The container mouth inspection method according to claim 1, wherein a dark part or a bright part is determined as a defect.
- the present invention also provides illumination for illuminating the container mouth, A camera that images the container mouth from above; A ring-shaped inspection gate is created on the ring-shaped screw image in the mouth image captured by the camera, and a dark portion exceeding a predetermined density difference is searched for in the ring-shaped inspection gate.
- An inspection gate detection that creates a screw end inspection gate in a partial region of the ring-shaped inspection gate including the search for a screw end image that matches a registered image of the screw end registered in advance in the screw end inspection gate Means, Create left and right inspection gates in a part of the ring-shaped inspection gate on both sides of the pattern-matched screw ends, and in the left and right inspection gates, detect dark portions exceeding a predetermined density difference and area, It is a container mouth part inspection device characterized by having screw end right and left part chipping detection means for judging a dark part exceeding the predetermined density difference and area as a defect.
- the apparatus of the present invention performs the inspection in the inspection direction of claim 1, it is possible to detect the chipping of the screw end with high accuracy.
- the present invention further creates a divided inspection gate which is a ring inspection gate and is formed by dividing a portion other than the screw end inspection gate into a plurality of lines along a radial direction, and each of the divided inspection gates has a predetermined gradation difference.
- the container mouth portion inspection device according to claim 5, further comprising a screw general portion chipping detection unit that detects a dark portion exceeding an area and determines the dark portion exceeding the predetermined density difference and area as a defect.
- the device of the present invention inspects in the inspection direction of claim 2, it is possible to accurately detect the chipping of the general portion other than the screw end in the first thread.
- the present invention further creates a divided inspection gate for detecting an outer edge by dividing a ring-shaped region including the ring-shaped inspection gate into a plurality of lines along a radial direction, and the divided inspection gate for detecting the outer edge is formed from the outside.
- the difference in the distance from the outer edge to the center of the adjacent outer edge detection division inspection gate exceeds a predetermined threshold
- the container opening inspection device according to claim 5, further comprising a screw outer peripheral chip detection unit that determines that there is a defect.
- the apparatus according to the present invention inspects in the inspection direction of claim 3, it is possible to accurately detect the chipping of the outer periphery of the screw in the first thread.
- the present invention further creates a ring-shaped top surface inspection gate on the ring-shaped mouth top surface image in the captured image, and divides the top surface inspection gate into a plurality of radial lines.
- the top surface division inspection gate is created, and a dark portion or a bright portion exceeding a predetermined gradation difference and area is detected in the top surface division inspection gate, and a dark portion or a bright portion exceeding the predetermined gradation difference and area is detected.
- the container mouth inspection device according to claim 5, further comprising a top surface chipping detection unit that is determined as a defect.
- the apparatus of the present invention performs inspection in the inspection direction of claim 4, it is possible to accurately detect a chip on the top of the mouth.
- this invention is a container opening
- the apparatus of the present invention can accurately inspect the mouth of a container being conveyed by a conveyor or the like.
- the mouth inspection method and apparatus according to the present invention can inspect with high accuracy because a screw defect (chip) inspection is performed with a simple image obtained by imaging the container mouth from above. Further, by performing the density inspection at the left and right inspection gates, it is possible to detect the chipping of the screw end with high accuracy.
- chip screw defect
- FIG. 1 It is a block diagram of container mouth part inspection device 1 of an example. It is explanatory drawing of embodiment of this invention. It is sectional drawing of dome illumination. 3 is a flowchart of the container mouth portion inspection apparatus 1. It is the side view and captured image schematic diagram of a container mouth part without a defect. It is the side view and captured image schematic diagram of a container opening part with a defect. It is a flowchart of inspection gate creation. It is explanatory drawing of outer periphery edge detection. It is explanatory drawing of inner periphery circular edge detection. It is explanatory drawing of ring-shaped inspection gate 22 preparation. It is a flowchart of screw end right and left part chipping detection.
- the container mouth inspection device 1 of the embodiment includes a camera 11, an illumination 12, a memory 10 a, an inspection gate detection unit 2, a screw end left and right part chipping detection unit 3, a screw general part chipping detection unit 4, The screw outer peripheral portion chipping detection means 5 and the top surface portion chipping detection means 6 are provided.
- the inspection gate detection means 2 includes a ring-shaped inspection gate detection means 2a and a screw end position detection means 2b. Light from the illumination 12 is reflected by the top surface of the container mouth, a screw, and the like, and the reflected light is imaged by the camera 11. The captured image is stored in the memory 10a.
- the image data read from the memory 10a is subjected to creation of a ring-shaped inspection gate and detection of the screw end position by the inspection gate detection means 2. Further, the image data is sent to the screw end left and right part chipping detection means 3, the screw general part chipping detection means 4, the screw outer peripheral part chipping detection means 5, and the top surface chipping detection means 6 for each inspection. If each detection means determines that the failure is detected, a failure signal is output. In addition to being recorded in the memory, the failure signal can be used for the operation of a warning device, the operation of a defective container removal device, and the like.
- FIG. 3 is a cross-sectional view of the red dome illumination.
- a hole 12b is formed at the top of the dome-shaped reflector, and a plurality of red LEDs 12a are provided at the lower end of the inner periphery. The red light of the red LED 12a is reflected by the dome-shaped reflector and irradiated downward.
- a memory attached to or connected to a personal computer can be used as the memory 10a.
- the inspection gate detection means 2, the screw end left and right part chipping detection means 3, the screw general part chipping detection means 4, the screw outer peripheral part chipping detection means 5, and the top surface chipping detection means 6 are in a PC or an I / O circuit connected thereto. Operated by software.
- the mouth inspection according to the present invention can be performed on a container being conveyed by a conveyor, as shown in FIG.
- the container 7 is conveyed on the conveyor 14 in the arrow direction (right direction). It is desirable that the transport surface of the conveyor 14 be colored black in order to maintain inspection accuracy.
- the conveyor 14 is provided with an encoder 14a that generates a pulse each time the transport surface moves a predetermined distance.
- An illumination 12 (dome illumination) is fixed above the conveyor 14, and a camera 11 is fixed above it.
- a timing sensor 15 is provided for detecting the container that has come directly under the camera.
- Reference numeral 10 denotes a PC, which is provided with a memory 10a, an inspection gate detection means 2, a screw end left / right part chipping detection means 3, a screw general part chipping detection means 4, a screw outer periphery chipping detection means 5, and a top surface chipping detection means 6.
- Reference numeral 13 denotes an exclusion control unit.
- the timing sensor 15 detects it, and a timing signal is sent to the PC via the exclusion control unit 13, and the shutter of the camera 11 is released.
- the captured image is sent to a PC for various inspections.
- a defect signal is sent from the PC to the rejection control unit 13, and the rejection control unit 13 reaches the front of the air nozzle 13a from the timing signal of the timing sensor 15 and the pulse signal of the encoder 14a.
- the air nozzle 13a is actuated at the timing, and the defective container is blown away and removed from the conveyor 14.
- Step 101 Is the data processing command ON? Is determined first, and if it is YES, Step 102: Proceed to data processing (detection of defect), the inspection gate detection means 2 creates a ring-shaped inspection gate and detects the screw end position, and the screw end right and left chipping detection means 3, the screw general part The inspection is performed by the chip detection means 4, the screw outer periphery chip detection means 5, and the top surface chip detection means 6.
- Step 103 Is it defective? If YES, the process proceeds to Step 104... Recording a defect, the defect information is recorded in the memory of the PC, and the process proceeds to Step 105. If NO, the process proceeds to step 105 as it is.
- Step 105 Returning to the step 101 from the next data processing command, the above processing (steps 101 to 105) is repeated for the next line data.
- FIG. 5 shows a schematic diagram of a mouth image taken with a camera on the upper side and a side view on the lower side of the mouth without defects of the container 7.
- reference numeral 70 denotes a screw
- 71 denotes a screw end
- 75 denotes a top surface.
- the first screw image 70a is a bright ring
- the top image 75a is a slightly dark ring inside
- the outside of the screw image 70a and the inside of the top image 75a are dark.
- the screw end image 71a is dark.
- FIG. 6 shows a schematic view of the mouth image of the mouth part having a defect of the container 7 taken by the camera on the upper side and the camera on the lower side.
- the chip 72 is a chip at the screw end
- the chip 73 is a chip at the general part of the screw
- the chip 74 is a chip at the outer periphery of the screw
- the chip 76 is a chip at the top surface.
- a dark chipped image 72a and a chipped image 72b appear adjacent to each other.
- the chipped image 73a of the general screw portion appears dark in the ring of the screw image 70a.
- the chipped image 74a at the outer periphery of the screw appears dark on the outer periphery of the screw image 70a.
- the chipped image 76a on the top surface appears dark in the ring-shaped top surface image 75a.
- the outer circumference circle range 20 between the inner and outer circles indicated by the thick chain line in the upper part of FIG. 8 is set in the mouth image.
- the center coordinates and radius of these two chain circles are set in advance.
- the inspection line is automatically drawn radially from the center of the inner and outer two circles, and the upper edge of the inspection line is detected between the inner and outer two circles. A point where the density rapidly changes from light to dark and from dark to light is detected as an edge.
- a failure signal is output as NG, and if YES, step 203...
- a process for setting the inner circle range in the screw image portion is performed. This sets an inner circumferential circle range 21 between two inner and outer circles indicated by a thick chain line in the upper part of FIG.
- the center of these two chain line circles is the center O1 of the outer peripheral circle edge 20a, and the radius is preset.
- the inspection line is automatically drawn radially from the center of the inner and outer two circles, and the upper edge of the inspection line is detected between the inner and outer two circles.
- the smaller chain line circle shows the screw image 70a. Substantially coincides with the inner circumference of the inner circumference, and an inner circumference circular edge 21a is formed. Thereby, the position (coordinates) on the imaging screen of the screw image 70a is determined.
- Step 204 If the inner circumferential edge of the screw image be detected and the center position calculated? As shown in the lower part of FIG. 9, it is determined whether the inner circumferential edge 21a is formed and the center position O2 is calculated. If NO, a failure signal is output as NG, and if YES, the process goes to step 205. move on.
- Steps 201 to 204 are processed in the ring-shaped inspection gate detection means 2a, and the subsequent steps 205 to 209 are processed in the screw end position detection means 2b.
- Step 205... A process of setting a ring-shaped inspection gate in the screw image is performed to detect the screw end.
- FIG. 10 shows an example of the ring-shaped inspection gate 22.
- the ring-shaped inspection gate 22 is desirably set to be outside by several pixels (for example, two to three pixels) from the inner peripheral circular edge 21a so as to be aligned with the outer peripheral circular edge 20a.
- Step 206 .. Did a dark part with a density difference greater than a predetermined value be detected? Then, as shown by an arrow in FIG.
- the difference in density is performed in the ring-shaped inspection gate 22 along the circumferential direction, and a pair of edges from light to dark and edges from dark to light is searched.
- the pair interval is determined in advance.
- Step 207... The screw end inspection gate is set in the detected portion.
- the screw end inspection gate 23 is set so as to include the detected dark portion.
- the size of the screw end inspection gate is determined in advance. afterwards, Step 208: The position of the screw end is detected by pattern matching with the registered image in the screw end inspection gate. Reference numeral 77 in FIG.
- Step 12 denotes a registered typical screw end image, and pattern matching between this and the image in the screw end inspection gate 23 is performed.
- the pattern match ratio is determined in advance. afterwards, Step 209. Is there a screw end image exceeding the set pattern match ratio? In the case of matching, it is determined that the image is a screw end, and the process proceeds to the screw end left and right part chipping detection means 3. Is issued.
- the left and right inspection gates 24 are set adjacent to the left and right sides of the screw ends detected by pattern matching by setting the left and right inspection gates on the left and right sides of the screw ends.
- the size of the left and right inspection gates 24 is determined in advance.
- Step 302 The threshold value for detecting the left and right part missing at the screw end is set by setting the density difference / area threshold value of the right and left part inspection gates.
- the threshold value of the gray level difference is a pixel that is darker than the set threshold value
- the area threshold value is a threshold value of the number of pixels of the cluster that is darker than the gray level difference threshold value.
- FIG. 12 shows an example in which the screw end is missing, and the missing images 72 a and 72 b are dark in the ring-shaped inspection gate 22. Since the missing image 72a resembles the shape of the registered image 77, the pattern matches. However, since the left and right inspection gates 24 are set and inspected adjacent thereto, it is determined that there is a defect by detecting the missing image 72b. Is done. In the present invention, the chipping of the screw end is thus detected.
- Step 401 By setting a divided inspection gate obtained by dividing the ring-shaped inspection gate by a radial line, as shown in FIG. 14, the ring-shaped inspection gate 22 other than the screw end inspection gate 23 (pattern-matched)
- the divided inspection gate 25 is created by dividing the portion of the portion into a plurality of lines along the radial direction.
- the split inspection gate excludes the screw end inspection gate portion.
- Step 402 A threshold value for detecting a general thread missing portion is set by setting the density difference / area threshold value of the divided inspection gate.
- the threshold value of the gray level difference is a pixel that is darker than the set threshold value
- the area threshold value is a threshold value of the number of pixels of the cluster that is darker than the gray level difference threshold value.
- FIG. 14 shows an example in which there is a chipped image 73a due to the chipped portion 73 of the general screw portion. Since the chipped image 73a is darker than the other parts of the divided inspection gate, there is a chipped (defect) in the general screw portion. Determined.
- the peripheral edge detection divided inspection gate 26 is set in the mouth image by setting the peripheral edge detection divided inspection gate obtained by dividing the ring-shaped region including the ring-shaped inspection gate by the radial line. As shown in FIG. 16, the ring-shaped region at this time desirably has the screw outer peripheral edge 20a in the middle.
- the peripheral edge detection division inspection gate 26 excludes the screw end inspection gate 23 (pattern matched) portion.
- Step 502 Setting the sensitivity for detecting the peripheral edge by the peripheral edge detection divided inspection gate As shown by the thick arrow in the lower part of FIG.
- the peripheral edge detection divided inspection gate is searched from the outside to the inside. Detects the position of the outer edge that exceeds the set brightness. Depending on the sensitivity setting, it is possible to set whether to detect an edge having a high density difference or an edge having a low density difference.
- Step 503 By setting a threshold value of the peripheral edge difference between adjacent peripheral edge detection divided inspection gates, the distance from the peripheral edge position detected for each peripheral edge detection inspection gate to the center coordinate is calculated ( FIG. 16 (lower dotted arrow). The unevenness on the outer periphery is calculated by calculating the difference in distance calculated between adjacent gates over the entire outer periphery. Set the threshold value for the difference. afterwards, Step 504... Does any image exceed the outer edge difference threshold value?
- each outer edge detection division inspection gate scans from the outer side to the inner side, calculates the distance from the detected edge position to the center coordinate, and each adjacent outer edge The difference is determined for each detection division inspection gate, and it is determined whether there is any that exceeds the threshold value. If NO, it is determined that the product is non-defective (no chipping on the outer periphery of the screw). If YES, the outer periphery of the screw is determined. It is determined that there is a chipping (defect).
- the lower part of FIG. 16 shows a case where there is a chipped image 74a due to a chip 74 at the outer periphery of the screw, and the lengths from the edge to the center detected by the divided inspection gate for detecting the outer peripheral edge of the part are adjacent to each other. Shorter than that, and chipping of the outer periphery of the screw is detected.
- a ring-shaped top surface inspection gate is formed on the ring-shaped top surface image 75a in the mouth image by the processing of setting a top surface division inspection gate obtained by dividing the top surface portion by a radial line. 27 is set.
- There are various methods for setting the top surface inspection gate 27 For example, a circle whose radius is several pixels smaller than the inner circumferential edge 21a is set as the outer periphery of the top surface inspection gate, and a circle whose radius is appropriately smaller than the number of pixels is set as the inner periphery. There is a method.
- the top surface inspection gate 27 is divided by a line in the radial direction, and a top surface division inspection gate 27a is set as shown in FIG. afterwards, Step 602...
- the threshold value for detecting the top surface defect is set by setting the contrast / area threshold value of the top surface division inspection gate. Specifically, the threshold value of the gray level difference detects pixels that are darker or brighter than the set threshold value, and the area threshold value is a pixel that is darker or brighter than the gray level difference threshold value. Number threshold. afterwards, Step 603: Is there an image that exceeds the threshold value of the contrast at the top surface division inspection gate?
- Step 604 Is there an image that exceeds the area threshold at the top division inspection gate? To determine whether or not the number of pixels that exceed the threshold value exceeds the area threshold value. If NO, it is determined that the product is non-defective (no chipping on the top surface). If YES, the top surface chipping ( It is determined that there is a defect.
- FIG. 18 shows an example in which there is a chipped image 76a due to the top surface chipping 76. Since the chipped image 76a is darker and brighter than the other parts of the top surface division inspection gate, there is a top surface chipping (defect). It is determined.
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
Description
本発明は、容器の上方から容器口部をカメラで撮像するステップと、
該撮像画像の中のリング状のねじ画像の上にリング状検査ゲートを作成するステップと、
該リング状検査ゲートの中において所定の濃淡差を超える暗い部分を探すステップと、
該暗い部分を含む前記リング状検査ゲートの一部の領域にねじ端検査ゲートを作成するステップと、
該ねじ端検査ゲート内において、予め登録してあるねじ端の登録画像とパターンマッチするねじ端画像を探すステップと、
パターンマッチしたねじ端の両側の、前記リング状検査ゲートの一部の領域に左右部検査ゲートを作成するステップと、
該左右部検査ゲート内において、所定の濃淡差及び面積を超える暗い部分を検出するステップを有し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定することを特徴とする容器口部検査方法である。 (Claim 1)
The present invention includes the step of imaging the container mouth from above the container with a camera;
Creating a ring-shaped inspection gate on a ring-shaped screw image in the captured image;
Searching the ring-shaped inspection gate for a dark portion exceeding a predetermined gradation difference;
Creating a screw end inspection gate in a partial region of the ring-shaped inspection gate including the dark portion;
In the screw end inspection gate, searching for a screw end image that matches a registered image of a screw end registered in advance;
Creating left and right inspection gates in a partial region of the ring-shaped inspection gate on both sides of the pattern matched screw ends;
A container mouth having a step of detecting a dark portion exceeding a predetermined gradation difference and area in the left and right inspection gates, and determining a dark portion exceeding the predetermined gradation difference and area as a defect. Inspection method.
また本発明は、さらに、前記リング状検査ゲートであって前記ねじ端検査ゲート以外の部分を半径方向の線で複数に分割した分割検査ゲートを作成するステップと、該各分割検査ゲートにおいて所定の濃淡差及び面積を超える暗い部分を検出するステップを有し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定する請求項1に記載の容器口部検査方法である。 (Claim 2)
The present invention further includes a step of creating a divided inspection gate in which the portion other than the screw end inspection gate is divided into a plurality of portions along a radial line, and a predetermined inspection is performed in each divided inspection gate. The container mouth inspection method according to
また本発明は、さらに、前記リング状検査ゲートを含むリング状の領域を半径方向の線で複数に分割した外周エッジ検出用分割検査ゲートを作成するステップと、該各外周エッジ検出用分割検査ゲートを外側から内側にサーチし所定の明るさ以上となる外周エッジの位置を検出するステップを有し、隣り合う外周エッジ検出用分割検査ゲートの外周エッジ位置から中心までの距離の差が所定のしきい値を超えるときに欠陥有りと判定する請求項1に記載の容器口部検査方法である。 (Claim 3)
The present invention further includes a step of creating a divided inspection gate for detecting an outer edge by dividing a ring-shaped region including the ring-shaped inspection gate into a plurality of lines along a radial direction, and each divided inspection gate for detecting an outer edge. And searching for the position of the outer peripheral edge where the brightness is equal to or greater than a predetermined brightness, and the difference between the distance from the outer peripheral edge position of the adjacent peripheral edge detection division inspection gate to the center is predetermined. The container mouth inspection method according to
また本発明は、さらに、前記撮像画像の中のリング状の口部天面の画像の上にリング状の天面検査ゲートを作成し該天面検査ゲートを半径方向の線で複数に分割した天面分割検査ゲートを作成するステップと、該各天面分割検査ゲート内において所定の濃淡差及び面積を超える暗い部分または明るい部分を検出するステップを有し、当該所定の濃淡差及び面積を超える暗い部分または明るい部分を欠陥として判定する請求項1に記載の容器口部検査方法である。 (Claim 4)
Further, the present invention further creates a ring-shaped top surface inspection gate on the image of the ring-shaped mouth top surface in the captured image, and divides the top surface inspection gate into a plurality of radial lines. A step of creating a top surface division inspection gate and a step of detecting a dark portion or a bright portion exceeding a predetermined gradation difference and area in each of the top surface division inspection gates, and exceeding the predetermined gradation difference and area The container mouth inspection method according to
また本発明は、容器口部を照らす照明と、
容器口部を上から撮像するカメラと、
該カメラで撮像した口部画像の中のリング状のねじ画像の上にリング状検査ゲートを作成し、該リング状検査ゲートの中において所定の濃淡差を超える暗い部分を探し、該暗い部分を含む前記リング状検査ゲートの一部の領域にねじ端検査ゲートを作成し、該ねじ端検査ゲート内において、予め登録してあるねじ端の登録画像とパターンマッチするねじ端画像を探す検査ゲート検出手段と、
パターンマッチしたねじ端の両側の、前記リング状検査ゲートの一部の領域に左右部検査ゲートを作成し、該左右部検査ゲート内において、所定の濃淡差及び面積を超える暗い部分を検出し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定するねじ端左右部欠け検出手段を有することを特徴とする容器口部検査装置である。 (Claim 5)
The present invention also provides illumination for illuminating the container mouth,
A camera that images the container mouth from above;
A ring-shaped inspection gate is created on the ring-shaped screw image in the mouth image captured by the camera, and a dark portion exceeding a predetermined density difference is searched for in the ring-shaped inspection gate. An inspection gate detection that creates a screw end inspection gate in a partial region of the ring-shaped inspection gate including the search for a screw end image that matches a registered image of the screw end registered in advance in the screw end inspection gate Means,
Create left and right inspection gates in a part of the ring-shaped inspection gate on both sides of the pattern-matched screw ends, and in the left and right inspection gates, detect dark portions exceeding a predetermined density difference and area, It is a container mouth part inspection device characterized by having screw end right and left part chipping detection means for judging a dark part exceeding the predetermined density difference and area as a defect.
また本発明は、さらに、前記リング状検査ゲートであって前記ねじ端検査ゲート以外の部分を半径方向の線で複数に分割した分割検査ゲートを作成し、該各分割検査ゲートにおいて所定の濃淡差及び面積を超える暗い部分を検出し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定するねじ一般部欠け検出手段を有する請求項5に記載の容器口部検査装置である。 (Claim 6)
Further, the present invention further creates a divided inspection gate which is a ring inspection gate and is formed by dividing a portion other than the screw end inspection gate into a plurality of lines along a radial direction, and each of the divided inspection gates has a predetermined gradation difference. The container mouth portion inspection device according to
また本発明は、さらに、前記リング状検査ゲートを含むリング状の領域を半径方向の線で複数に分割した外周エッジ検出用分割検査ゲートを作成し、該外周エッジ検出用分割検査ゲートを外側から内側にサーチして所定の明るさ以上となる外周エッジの位置を検出し、隣り合う外周エッジ検出用分割検査ゲートの外周エッジ位置から中心までの距離の差が所定のしきい値を超えるときに欠陥有りと判定するねじ外周欠け検出手段を有する請求項5に記載の容器口部検査装置である。 (Claim 7)
Further, the present invention further creates a divided inspection gate for detecting an outer edge by dividing a ring-shaped region including the ring-shaped inspection gate into a plurality of lines along a radial direction, and the divided inspection gate for detecting the outer edge is formed from the outside. When searching the inside to detect the position of the outer edge where the brightness is equal to or greater than the predetermined brightness, the difference in the distance from the outer edge to the center of the adjacent outer edge detection division inspection gate exceeds a predetermined threshold The container opening inspection device according to
また本発明は、さらに、前記撮像画像の中のリング状の口部天面の画像の上にリング状の天面検査ゲートを作成し、該天面検査ゲートを半径方向の線で複数に分割した天面分割検査ゲートを作成し、該天面分割検査ゲート内において所定の濃淡差及び面積を超える暗い部分または明るい部分を検出し、当該所定の濃淡差及び面積を超える暗い部分または明るい部分を欠陥として判定する天面欠け検出手段を有する請求項5に記載の容器口部検査装置である。 (Claim 8)
The present invention further creates a ring-shaped top surface inspection gate on the ring-shaped mouth top surface image in the captured image, and divides the top surface inspection gate into a plurality of radial lines. The top surface division inspection gate is created, and a dark portion or a bright portion exceeding a predetermined gradation difference and area is detected in the top surface division inspection gate, and a dark portion or a bright portion exceeding the predetermined gradation difference and area is detected. The container mouth inspection device according to
また本発明は、前記照明及びカメラが容器の搬送手段の上に設けられ、カメラが、搬送手段で搬送されている容器を撮像する請求項5に記載の容器口部検査装置である。 (Claim 9)
Moreover, this invention is a container opening | mouth inspection apparatus of
ステップ101……データ処理指令ONか?
という判定が先ず行われ、YESであると、
ステップ102……データ処理(不良を検出)する
へ進み、検査ゲート検出手段2でリング状検査ゲートの作成、ねじ端位置の検出が行われると共に、ねじ端左右部欠け検出手段3、ねじ一般部欠け検出手段4、ねじ外周部欠け検出手段5、天面部欠け検出手段6で検査が行われる。この後、
ステップ103……不良か?
という判定が行われ、YESであると
ステップ104……不良を記録する
へ進み、PCのメモリに不良の情報が記録され、ステップ105へ進む。NOであると、そのままステップ105へ進む。
ステップ105……次のデータ処理指令
からはステップ101へ戻り、次のラインデータについて上記の処理(ステップ101~105)が繰り返される。 Next, the outline of the processing in the container
Step 101 ... Is the data processing command ON?
Is determined first, and if it is YES,
Step 102: Proceed to data processing (detection of defect), the inspection gate detection means 2 creates a ring-shaped inspection gate and detects the screw end position, and the screw end right and left chipping detection means 3, the screw general part The inspection is performed by the chip detection means 4, the screw outer periphery chip detection means 5, and the top surface chip detection means 6. After this,
Step 103 ... Is it defective?
If YES, the process proceeds to Step 104... Recording a defect, the defect information is recorded in the memory of the PC, and the process proceeds to Step 105. If NO, the process proceeds to step 105 as it is.
Step 105: Returning to the
次に、図7~12に基づいて検査ゲートの作成について説明する。
ステップ201……ねじ画像部分に外周円範囲を設定する
によって、口部画像に、図8の上段に太い鎖線で示す内外の2つの円の間の外周円範囲20を設定する。この2つの鎖線円の中心座標及び半径は予め設定してある。内外2つの円の中心から放射状に検査ラインが自動で引かれ、内外2つの円の間で検査ライン上エッジ検出を行う。濃度が明から暗、暗から明に急激に変わるところをエッジとして検出する。暗から明に変化しかつ一番大きい円を検出する条件で外の円から内の円に向かってエッジ検査を行うと、ねじ部外周がエッジとして検出され、検出されたねじ部外周の点から近似して円が描かれる。すると、図8の下段に示すように、近似で検出された円はねじ画像70aの外周に実質的に一致し、外周円エッジ20aが形成される。
ステップ202……ねじ画像の外周円エッジが検出でき、中心位置が算出されたか?
によって、図8下段に示すように外周円エッジ20aが形成されたか、またその中心位置O1が算出されたかが判断され、NOの場合はNGとして不良信号が出され、YESの場合は
ステップ203……外周円エッジの中心位置を起点にして、ねじ画像部分に内周円範囲を設定する
の処理が行われる。これは、図9の上段に太い鎖線で示す内外の2つの円の間の内周円範囲21を設定する。この2つの鎖線円の中心は外周円エッジ20aの中心O1で、半径は予め設定してある。その後、内外2つの円の中心から放射状に検査ラインが自動で引かれ、内外2つの円の間で検査ライン上エッジ検出を行う。暗から明に変化する一番大きい円を検出する条件で、内の円から外の円に向かってエッジ検査を行うと、図9の下段に示すように、小さい方の鎖線円がねじ画像70aの内周に実質的に一致し、内周円エッジ21aが形成される。これにより、ねじ画像70aの撮像画面における位置(座標)が決定する。
ステップ204……ねじ画像の内周円エッジが検出でき、中心位置が算出されたか?
によって、図9下段に示すように内周円エッジ21aが形成されたか、またその中心位置O2が算出されたかが判断され、NOの場合はNGとして不良信号が出され、YESの場合はステップ205に進む。
以上ステップ201~ステップ204は、リング状検査ゲート検出手段2aにおいて処理され、以後のステップ205~ステップ209はねじ端位置検出手段2bにおいて処理される。
ステップ205……ねじ端を検出するためねじ画像にリング状検査ゲートを設定する
の処理が行われる。図10はリング状検査ゲート22の例である。このように、リング状検査ゲート22は、外周円エッジ20aと合わさるように、内周円エッジ21aよりも数画素分(例えば2~3画素分)外側になるように設定することが望ましい。
ステップ206……所定以上の濃淡差がある暗い部分が検出できたか?
では、図10に矢印で示すようにリング状検査ゲート22内を円周方向に沿って濃淡の差分を行っていき、明から暗になるエッジと、暗から明になるエッジのペアを探す。濃淡差が大きく、ペアの間隔が設定に近いほどねじ端として検出する。ペアの間隔は予め定めておく。
ステップ207……検出された部分にねじ端検査ゲートを設定する
で、図12に示すように、検出された暗い部分を含むようにねじ端検査ゲート23を設定する。ねじ端検査ゲートの大きさは予め定めておく。その後、
ステップ208……ねじ端検査ゲート内で、登録画像とパターンマッチングする
によって、ねじ端の位置を検出する。図12の符号77は登録されている典型的なねじ端画像で、これとねじ端検査ゲート23内の画像のパターンマッチングを行う。パターンマッチ比率は予め定めておく。その後、
ステップ209……設定したパターンマッチ比率を越えたねじ端画像があるか?
の判断が行われ、マッチングした場合はその画像はねじ端であると判断されてねじ端左右部欠け検出手段3に進み、パターンマッチ比率を超えない画像しか見つけられない場合はNGとして不良信号が出される。 (Inspection gate creation)
Next, the creation of the inspection gate will be described with reference to FIGS.
Step 201: By setting the outer circumference circle range in the screw image portion, the outer
Step 202 .. Could the outer peripheral circle edge of the screw image be detected and the center position calculated?
Thus, as shown in the lower part of FIG. 8, it is determined whether the outer
Step 204 .. Could the inner circumferential edge of the screw image be detected and the center position calculated?
As shown in the lower part of FIG. 9, it is determined whether the inner
Step 205... A process of setting a ring-shaped inspection gate in the screw image is performed to detect the screw end. FIG. 10 shows an example of the ring-shaped
Step 206 .. Did a dark part with a density difference greater than a predetermined value be detected?
Then, as shown by an arrow in FIG. 10, the difference in density is performed in the ring-shaped
In
Step 208: The position of the screw end is detected by pattern matching with the registered image in the screw end inspection gate.
In the case of matching, it is determined that the image is a screw end, and the process proceeds to the screw end left and right part chipping detection means 3. Is issued.
次に、図11,12に基づいてねじ端左右部欠け検出について説明する。
ステップ301……ねじ端の左右に左右部検査ゲートを設定する
によって、パターンマッチで検出したねじ端の左側及び右側に隣接して、左右部検査ゲート24を設定する。左右部検査ゲート24の大きさは予め定めておく。その後、
ステップ302……左右部検査ゲートの濃淡差・面積しきい値を設定する
によって、ねじ端左右部欠け検出におけるしきい値を設定する。濃淡差のしきい値は具体的には設定したしきい値より暗い画素を検出し、面積しきい値は当該濃淡差しきい値以下の暗い画素となっている固まりの画素数しきい値である。その後
ステップ303……左右部検査ゲートで、濃淡差しきい値より暗い画素はあるか?
によって、各左右部検査ゲート内において、濃淡差しきい値以下の画素があるかどうか判断され、NOの場合は良品(ねじ端左右部の欠けなし)と判定され、YESの場合は、
ステップ304……左右部検査ゲートで面積しきい値を超えた画像はあるか?
によって、濃淡差しきい値以下となっている固まりの画素数が面積しきい値を越えているかどうか判断され、NOの場合は良品(ねじ端左右部の欠けなし)と判定され、YESの場合はねじ端左右部の欠け(欠陥)ありと判定される。 (Detection of left and right part of screw end detection)
Next, the detection of the chipped left and right part chipping will be described with reference to FIGS.
Step 301... The left and
Step 302... The threshold value for detecting the left and right part missing at the screw end is set by setting the density difference / area threshold value of the right and left part inspection gates. Specifically, the threshold value of the gray level difference is a pixel that is darker than the set threshold value, and the area threshold value is a threshold value of the number of pixels of the cluster that is darker than the gray level difference threshold value. . After that, in
From each of the left and right side inspection gates, it is determined whether or not there is a pixel equal to or less than the threshold value of darkness difference.
Step 304: Is there an image that exceeds the area threshold at the left and right inspection gates?
To determine whether or not the number of pixels of the cluster having a density difference threshold value or less exceeds the area threshold value. If NO, it is determined that the product is non-defective (no missing parts on the left and right sides of the screw end). It is determined that there is a chip (defect) at the left and right portions of the screw end.
次に、図13,14に基づいてねじ一般部欠け検出について説明する。
ステップ401……リング状検査ゲートを半径方向の線で分割した分割検査ゲートを設定する
によって、図14に示すように、リング状検査ゲート22の、ねじ端検査ゲート23(パターンマッチしたもの)以外の部分を、半径方向の線で複数に分割した分割検査ゲート25を作成する。分割検査ゲートはねじ端検査ゲート部分を除外する。その後、
ステップ402……分割検査ゲートの濃淡差・面積しきい値を設定する
によって、ねじ一般部欠け検出におけるしきい値を設定する。濃淡差のしきい値は具体的には設定したしきい値より暗い画素を検出し、面積しきい値は当該濃淡差しきい値以下の暗い画素となっている固まりの画素数しきい値である。その後
ステップ403……分割検査ゲートで、濃淡差しきい値より暗い画素はあるか?
によって、各分割検査ゲート内において、濃淡差しきい値以下の画素があるかどうか判断され、NOの場合は良品(ねじ一般部の欠けなし)と判定され、YESの場合は、
ステップ304……分割検査ゲートで面積しきい値を超えた画像はあるか?
によって、濃淡差しきい値以下となっている固まりの画素数が面積しきい値を越えているかどうか判断され、NOの場合は良品(ねじ一般部の欠けなし)と判定され、YESの場合はねじ一般部の欠け(欠陥)ありと判定される。 (Detection of chipping in general screw parts)
Next, the general screw part detection will be described with reference to FIGS.
Step 401... By setting a divided inspection gate obtained by dividing the ring-shaped inspection gate by a radial line, as shown in FIG. 14, the ring-shaped
Step 402... A threshold value for detecting a general thread missing portion is set by setting the density difference / area threshold value of the divided inspection gate. Specifically, the threshold value of the gray level difference is a pixel that is darker than the set threshold value, and the area threshold value is a threshold value of the number of pixels of the cluster that is darker than the gray level difference threshold value. . After that, in
From each of the divided inspection gates, it is determined whether or not there is a pixel that is equal to or less than the threshold value of the light / dark difference. If NO, it is determined that the product is non-defective (no screw general portion missing).
Step 304: Is there an image that exceeds the area threshold at the divided inspection gate?
From the above, it is determined whether or not the number of pixels of the cluster having a density difference threshold value or less exceeds the area threshold value. If NO, it is determined that the product is non-defective (no missing general screw portion). It is determined that there is a defect (defect) in the general part.
次に、図15,16に基づいてねじ外周部欠け検出について説明する。
ステップ501……リング状検査ゲートを含むリング状領域を半径方向の線で分割した外周エッジ検出用分割検査ゲートを設定する
によって口部画像に外周エッジ検出用分割検査ゲート26を設定する。図16に示すように、このときのリング状領域は、ねじ外周エッジ20aが中間に入っていることが望ましい。外周エッジ検出用分割検査ゲート26は、ねじ端検査ゲート23(パターンマッチしたもの)部分を除外する。
ステップ502……外周エッジ検出用分割検査ゲートで外周エッジを検出する感度を設定する
で、図16下段で太い矢印で示すように、外周エッジ検出用分割検査ゲートを外側から内側にサーチして感度設定した明るさ以上となる外周エッジの位置を検出する。感度設定により濃淡差の高いエッジを検出するか、濃淡差が低いエッジを検出するかを設定することができる。
ステップ503……隣り合う外周エッジ検出用分割検査ゲートの外周エッジ差のしきい値を設定する
で、各外周エッジ検出用検査ゲートごとに検出した外周エッジ位置から中心座標までの距離を計算する(図16下段破線矢印)。隣接ゲート同士で計算した距離の差を外周一周にわたって計算することで外周の凹凸が計算される。差分したときの差のしきい値を設定する。その後、
ステップ504……外周エッジ差しきい値を超えた画像はあるか?
によって、図16の下段に矢印で示すように、各外周エッジ検出用分割検査ゲートの外側方向から内側方向にスキャンし、検出したエッジ位置から中心座標までの距離を計算し、隣り合う各外周エッジ検出用分割検査ゲートごとに差を求め、これがしきい値を超えるものがあるかどうかが判断され、NOの場合は良品(ねじ外周部の欠けなし)と判定され、YESの場合はねじ外周部の欠け(欠陥)ありと判定される。 (Screw outer periphery detection)
Next, detection of the outer periphery of the screw will be described with reference to FIGS.
Step 501... The peripheral edge detection divided
Step 502... Setting the sensitivity for detecting the peripheral edge by the peripheral edge detection divided inspection gate As shown by the thick arrow in the lower part of FIG. 16, the peripheral edge detection divided inspection gate is searched from the outside to the inside. Detects the position of the outer edge that exceeds the set brightness. Depending on the sensitivity setting, it is possible to set whether to detect an edge having a high density difference or an edge having a low density difference.
Step 503: By setting a threshold value of the peripheral edge difference between adjacent peripheral edge detection divided inspection gates, the distance from the peripheral edge position detected for each peripheral edge detection inspection gate to the center coordinate is calculated ( FIG. 16 (lower dotted arrow). The unevenness on the outer periphery is calculated by calculating the difference in distance calculated between adjacent gates over the entire outer periphery. Set the threshold value for the difference. afterwards,
Step 504... Does any image exceed the outer edge difference threshold value?
As shown by arrows in the lower part of FIG. 16, each outer edge detection division inspection gate scans from the outer side to the inner side, calculates the distance from the detected edge position to the center coordinate, and each adjacent outer edge The difference is determined for each detection division inspection gate, and it is determined whether there is any that exceeds the threshold value. If NO, it is determined that the product is non-defective (no chipping on the outer periphery of the screw). If YES, the outer periphery of the screw is determined. It is determined that there is a chipping (defect).
次に、図17,18に基づいてねじ外周部欠け検出について説明する。
ステップ601……口天面部を半径方向の線で分割した天面分割検査ゲートを設定する
の処理によって、口部画像の中のリング状の天面画像75aの上にリング状の天面検査ゲート27を設定する。天面検査ゲート27の設定方法はいろいろあるが、例えば、内周円エッジ21aよりも半径が数画素小さな円を天面検査ゲートの外周とし、それよりも半径が適宜画素数小さな円を内周とする方法がある。さらに、天面検査ゲート27を半径方向の線で分割し、図18に示すように天面分割検査ゲート27aを設定する。その後、
ステップ602……天面分割検査ゲートの濃淡差・面積しきい値を設定する
によって、天面欠け検出におけるしきい値を設定する。濃淡差のしきい値は、具体的には設定したしきい値より暗い画素または明るい画素を検出し、面積しきい値は当該濃淡差しきい値より暗い画素または明るい画素となっている固まりの画素数しきい値である。その後、
ステップ603……天面分割検査ゲートで、濃淡差しきい値を超えた画像はあるか?
によって、各天面分割検査ゲート内において、濃淡差しきい値を越える画素があるかどうか判断され、NOの場合は良品(天面の欠けなし)と判定され、YESの場合は、
ステップ604……天面分割検査ゲートで面積しきい値を超えた画像はあるか?
によって、濃淡差しきい値を越える固まりの画素数が面積しきい値を越えているかどうか判断され、NOの場合は良品(天面の欠けなし)と判定され、YESの場合は天面の欠け(欠陥)ありと判定される。 (Top face detection)
Next, detection of the outer periphery of the screw will be described with reference to FIGS.
Step 601: A ring-shaped top surface inspection gate is formed on the ring-shaped
Step 602... The threshold value for detecting the top surface defect is set by setting the contrast / area threshold value of the top surface division inspection gate. Specifically, the threshold value of the gray level difference detects pixels that are darker or brighter than the set threshold value, and the area threshold value is a pixel that is darker or brighter than the gray level difference threshold value. Number threshold. afterwards,
Step 603: Is there an image that exceeds the threshold value of the contrast at the top surface division inspection gate?
From each of the top surface division inspection gates, it is determined whether or not there is a pixel that exceeds the threshold value of contrast, in the case of NO, it is determined as a non-defective product (no chip on the top surface), and in the case of YES,
Step 604: Is there an image that exceeds the area threshold at the top division inspection gate?
To determine whether or not the number of pixels that exceed the threshold value exceeds the area threshold value. If NO, it is determined that the product is non-defective (no chipping on the top surface). If YES, the top surface chipping ( It is determined that there is a defect.
10 パーソナルコンピュータ
10a メモリ
11 カメラ
12 ドーム照明
13 排除制御部
13a エアノズル
14 コンベア
14a エンコーダ
15 タイミングセンサ
2 検査ゲート検出手段
2a リング状検査ゲート検出手段
2b ねじ端位置検出手段
20 外周円範囲
20a 外周円エッジ
21 内周円範囲
21a 内周円エッジ
22 リング状検査ゲート
23 ねじ端検査ゲート
24 左右部検査ゲート
25 分割検査ゲート
26 外周エッジ検出用分割ゲート
27 天面検査ゲート
27a 天面分割検査ゲート
3 ねじ端左右部欠け検出手段
4 ねじ一般部欠け検出手段
5 ねじ外周部欠け検出手段
6 天面部欠け検出手段
7 ガラスびん
70 ねじ
70a ねじ画像
71 ねじ端
71a ねじ端画像
72 欠け
72a 欠け画像
72b 欠け画像
73 欠け
73a 欠け画像
74 欠け
74a 欠け画像
75 天面
75a 天面画像
76 欠け
76a 欠け画像
77 登録画像 DESCRIPTION OF
Claims (9)
- 容器の上方から容器口部をカメラで撮像するステップと、
該撮像画像の中のリング状のねじ画像の上にリング状検査ゲートを作成するステップと、
該リング状検査ゲートの中において所定の濃淡差を超える暗い部分を探すステップと、
該暗い部分を含む前記リング状検査ゲートの一部の領域にねじ端検査ゲートを作成するステップと、
該ねじ端検査ゲート内において、予め登録してあるねじ端の登録画像とパターンマッチするねじ端画像を探すステップと、
パターンマッチしたねじ端の両側の、前記リング状検査ゲートの一部の領域に左右部検査ゲートを作成するステップと、
該左右部検査ゲート内において、所定の濃淡差及び面積を超える暗い部分を検出するステップを有し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定することを特徴とする容器口部検査方法。 Imaging the container mouth from above the container with a camera;
Creating a ring-shaped inspection gate on a ring-shaped screw image in the captured image;
Searching the ring-shaped inspection gate for a dark portion exceeding a predetermined gradation difference;
Creating a screw end inspection gate in a partial region of the ring-shaped inspection gate including the dark portion;
In the screw end inspection gate, searching for a screw end image that matches a registered image of a screw end registered in advance;
Creating left and right inspection gates in a partial region of the ring-shaped inspection gate on both sides of the pattern matched screw ends;
A container mouth having a step of detecting a dark portion exceeding a predetermined gradation difference and area in the left and right inspection gates, and determining a dark portion exceeding the predetermined gradation difference and area as a defect. Inspection method. - さらに、前記リング状検査ゲートであって前記ねじ端検査ゲート以外の部分を半径方向の線で複数に分割した分割検査ゲートを作成するステップと、該各分割検査ゲートにおいて所定の濃淡差及び面積を超える暗い部分を検出するステップを有し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定する請求項1に記載の容器口部検査方法。 Further, a step of creating a divided inspection gate that is a portion of the ring-shaped inspection gate other than the screw end inspection gate divided into a plurality of lines in a radial direction, and a predetermined shading difference and area in each of the divided inspection gates. The container mouth part inspection method according to claim 1, further comprising a step of detecting a dark part exceeding, and determining a dark part exceeding the predetermined shade difference and area as a defect.
- さらに、前記リング状検査ゲートを含むリング状の領域を半径方向の線で複数に分割した外周エッジ検出用分割検査ゲートを作成するステップと、該各外周エッジ検出用分割検査ゲートを外側から内側にサーチし所定の明るさ以上となる外周エッジの位置を検出するステップを有し、隣り合う外周エッジ検出用分割検査ゲートの外周エッジ位置から中心までの距離の差が所定のしきい値を超えるときに欠陥有りと判定する請求項1に記載の容器口部検査方法。 Further, a step of creating a divided inspection gate for detecting the peripheral edge by dividing the ring-shaped region including the ring-shaped inspection gate into a plurality of lines along a radial direction, and each of the divided inspection gates for detecting the peripheral edge from the outside to the inside A step of searching and detecting a position of an outer peripheral edge that is equal to or greater than a predetermined brightness, and a difference in distance from the outer peripheral edge position of the adjacent peripheral edge detection division inspection gate to the center exceeds a predetermined threshold value The container mouth inspection method according to claim 1, wherein it is determined that there is a defect.
- さらに、前記撮像画像の中のリング状の口部天面の画像の上にリング状の天面検査ゲートを作成し該天面検査ゲートを半径方向の線で複数に分割した天面分割検査ゲートを作成するステップと、該各天面分割検査ゲート内において所定の濃淡差及び面積を超える暗い部分または明るい部分を検出するステップを有し、当該所定の濃淡差及び面積を超える暗い部分または明るい部分を欠陥として判定する請求項1に記載の容器口部検査方法。 Further, a top surface division inspection gate in which a ring-shaped top surface inspection gate is created on the ring-shaped mouth top surface image in the captured image and the top surface inspection gate is divided into a plurality of radial lines. And detecting a dark part or a bright part exceeding a predetermined gradation difference and area within each top surface division inspection gate, and a dark part or a bright part exceeding the predetermined gradation difference and area. The container mouth portion inspection method according to claim 1, wherein the container mouth portion is determined as a defect.
- 容器口部を照らす照明と、
容器口部を上から撮像するカメラと、
該カメラで撮像した口部画像の中のリング状のねじ画像の上にリング状検査ゲートを作成し、該リング状検査ゲートの中において所定の濃淡差を超える暗い部分を探し、該暗い部分を含む前記リング状検査ゲートの一部の領域にねじ端検査ゲートを作成し、該ねじ端検査ゲート内において、予め登録してあるねじ端の登録画像とパターンマッチするねじ端画像を探す検査ゲート検出手段と、
パターンマッチしたねじ端の両側の、前記リング状検査ゲートの一部の領域に左右部検査ゲートを作成し、該左右部検査ゲート内において、所定の濃淡差及び面積を超える暗い部分を検出し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定するねじ端左右部欠け検出手段を有することを特徴とする容器口部検査装置。 Lighting to illuminate the container mouth,
A camera that images the container mouth from above;
A ring-shaped inspection gate is created on the ring-shaped screw image in the mouth image captured by the camera, and a dark portion exceeding a predetermined density difference is searched for in the ring-shaped inspection gate. An inspection gate detection that creates a screw end inspection gate in a partial region of the ring-shaped inspection gate including the search for a screw end image that matches a registered image of the screw end registered in advance in the screw end inspection gate Means,
Create left and right inspection gates in a part of the ring-shaped inspection gate on both sides of the pattern-matched screw ends, and in the left and right inspection gates, detect dark portions exceeding a predetermined density difference and area, A container mouth inspection device comprising: screw end right and left chipped detection means for determining a dark portion exceeding the predetermined density difference and area as a defect. - さらに、前記リング状検査ゲートであって前記ねじ端検査ゲート以外の部分を半径方向の線で複数に分割した分割検査ゲートを作成し、該各分割検査ゲートにおいて所定の濃淡差及び面積を超える暗い部分を検出し、当該所定の濃淡差及び面積を超える暗い部分を欠陥として判定するねじ一般部欠け検出手段を有する請求項5に記載の容器口部検査装置。 Further, a divided inspection gate is formed by dividing the ring-shaped inspection gate other than the screw end inspection gate into a plurality of radial lines, and each of the divided inspection gates is darker than a predetermined gradation difference and area. The container mouth part inspection device according to claim 5, further comprising a screw general part chipping detection unit that detects a part and determines a dark part exceeding the predetermined density difference and area as a defect.
- さらに、前記リング状検査ゲートを含むリング状の領域を半径方向の線で複数に分割した外周エッジ検出用分割検査ゲートを作成し、該外周エッジ検出用分割検査ゲートを外側から内側にサーチして所定の明るさ以上となる外周エッジの位置を検出し、隣り合う外周エッジ検出用分割検査ゲートの外周エッジ位置から中心までの距離の差が所定のしきい値を超えるときに欠陥有りと判定するねじ外周欠け検出手段を有する請求項5に記載の容器口部検査装置。 Further, a divided inspection gate for detecting an outer edge is formed by dividing a ring-shaped region including the ring-shaped inspection gate into a plurality of radial lines, and the divided inspection gate for detecting the outer edge is searched from outside to inside. Detect the position of the outer edge where the brightness is more than the predetermined brightness, and determine that there is a defect when the difference in the distance from the outer edge to the center of the adjacent inspection edge for detecting the outer edge exceeds a predetermined threshold The container mouth inspection device according to claim 5, further comprising a screw outer peripheral chip detection means.
- さらに、前記撮像画像の中のリング状の口部天面の画像の上にリング状の天面検査ゲートを作成し、該天面検査ゲートを半径方向の線で複数に分割した天面分割検査ゲートを作成し、該天面分割検査ゲート内において所定の濃淡差及び面積を超える暗い部分または明るい部分を検出し、当該所定の濃淡差及び面積を超える暗い部分または明るい部分を欠陥として判定する天面欠け検出手段を有する請求項5に記載の容器口部検査装置。 Furthermore, a ring-shaped top surface inspection gate is created on an image of the top surface of the ring-shaped mouth in the captured image, and the top surface division inspection is performed by dividing the top surface inspection gate into a plurality of radial lines. A gate is created, a dark part or a bright part exceeding a predetermined gradation difference and area is detected in the top surface division inspection gate, and a dark part or a bright part exceeding the predetermined gradation difference and area is determined as a defect. The container mouth inspection device according to claim 5, further comprising a surface chip detection unit.
- 前記照明及びカメラが容器の搬送手段の上に設けられ、カメラが、搬送手段で搬送されている容器を撮像する請求項5に記載の容器口部検査装置。 The container mouth inspection apparatus according to claim 5, wherein the illumination and the camera are provided on a container transport unit, and the camera images the container transported by the transport unit.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201180072521.2A CN103718025B (en) | 2011-08-03 | 2011-08-03 | Container mouth portion inspection method and device |
PCT/JP2011/067742 WO2013018207A1 (en) | 2011-08-03 | 2011-08-03 | Container mouth portion inspection method and device |
JP2011546515A JP4986255B1 (en) | 2011-08-03 | 2011-08-03 | Container mouth inspection method and apparatus |
KR1020147002786A KR101587982B1 (en) | 2011-08-03 | 2011-08-03 | Container mouth portion inspection method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2011/067742 WO2013018207A1 (en) | 2011-08-03 | 2011-08-03 | Container mouth portion inspection method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013018207A1 true WO2013018207A1 (en) | 2013-02-07 |
Family
ID=46678971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2011/067742 WO2013018207A1 (en) | 2011-08-03 | 2011-08-03 | Container mouth portion inspection method and device |
Country Status (4)
Country | Link |
---|---|
JP (1) | JP4986255B1 (en) |
KR (1) | KR101587982B1 (en) |
CN (1) | CN103718025B (en) |
WO (1) | WO2013018207A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112700440A (en) * | 2021-01-18 | 2021-04-23 | 上海闻泰信息技术有限公司 | Object defect detection method and device, computer equipment and storage medium |
WO2023119882A1 (en) * | 2021-12-24 | 2023-06-29 | 東レエンジニアリング株式会社 | Wafer external appearance inspecting device |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102205582B1 (en) * | 2017-02-28 | 2021-01-21 | 도요 가라스 가부시키가이샤 | Container inspection device and container inspection method |
JP6983604B2 (en) * | 2017-09-28 | 2021-12-17 | 東洋ガラス株式会社 | Container mouth inspection device and container mouth inspection method |
CN116858838B (en) * | 2023-05-25 | 2024-03-19 | 苏州誉阵自动化科技有限公司 | Bottle defect detection system and method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6396095A (en) * | 1986-10-13 | 1988-04-26 | 株式会社キリンテクノシステム | Inspection device for screw mouth section of bottle |
JPH01316647A (en) * | 1988-03-31 | 1989-12-21 | Fuji Electric Co Ltd | Container inspecting method |
JPH05157707A (en) * | 1991-12-10 | 1993-06-25 | Fuji Electric Co Ltd | Appearance inspection method of bottle top |
JPH0968504A (en) * | 1995-08-31 | 1997-03-11 | Toshiba Eng Co Ltd | Method and device for inspection of appearance of bottle mouth |
JPH11510256A (en) * | 1995-08-04 | 1999-09-07 | イメージ プロセッシング システムズ,インク. | Bottle thread inspection system and method of operation |
JP2001311696A (en) * | 2000-04-27 | 2001-11-09 | Kirin Techno-System Corp | Setting method for inspection region in container inspection |
JP2004271205A (en) * | 2003-03-05 | 2004-09-30 | Precision:Kk | Defect inspection device of container mouth part |
JP2010151473A (en) * | 2008-12-24 | 2010-07-08 | Kirin Techno-System Co Ltd | Apparatus for inspecting screw-top bottle |
-
2011
- 2011-08-03 KR KR1020147002786A patent/KR101587982B1/en active IP Right Grant
- 2011-08-03 JP JP2011546515A patent/JP4986255B1/en active Active
- 2011-08-03 CN CN201180072521.2A patent/CN103718025B/en not_active Expired - Fee Related
- 2011-08-03 WO PCT/JP2011/067742 patent/WO2013018207A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6396095A (en) * | 1986-10-13 | 1988-04-26 | 株式会社キリンテクノシステム | Inspection device for screw mouth section of bottle |
JPH01316647A (en) * | 1988-03-31 | 1989-12-21 | Fuji Electric Co Ltd | Container inspecting method |
JPH05157707A (en) * | 1991-12-10 | 1993-06-25 | Fuji Electric Co Ltd | Appearance inspection method of bottle top |
JPH11510256A (en) * | 1995-08-04 | 1999-09-07 | イメージ プロセッシング システムズ,インク. | Bottle thread inspection system and method of operation |
JPH0968504A (en) * | 1995-08-31 | 1997-03-11 | Toshiba Eng Co Ltd | Method and device for inspection of appearance of bottle mouth |
JP2001311696A (en) * | 2000-04-27 | 2001-11-09 | Kirin Techno-System Corp | Setting method for inspection region in container inspection |
JP2004271205A (en) * | 2003-03-05 | 2004-09-30 | Precision:Kk | Defect inspection device of container mouth part |
JP2010151473A (en) * | 2008-12-24 | 2010-07-08 | Kirin Techno-System Co Ltd | Apparatus for inspecting screw-top bottle |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112700440A (en) * | 2021-01-18 | 2021-04-23 | 上海闻泰信息技术有限公司 | Object defect detection method and device, computer equipment and storage medium |
CN112700440B (en) * | 2021-01-18 | 2022-11-04 | 上海闻泰信息技术有限公司 | Object defect detection method and device, computer equipment and storage medium |
WO2023119882A1 (en) * | 2021-12-24 | 2023-06-29 | 東レエンジニアリング株式会社 | Wafer external appearance inspecting device |
Also Published As
Publication number | Publication date |
---|---|
CN103718025A (en) | 2014-04-09 |
KR20140031392A (en) | 2014-03-12 |
KR101587982B1 (en) | 2016-01-22 |
JP4986255B1 (en) | 2012-07-25 |
CN103718025B (en) | 2016-03-02 |
JPWO2013018207A1 (en) | 2015-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10890537B2 (en) | Appearance inspection device, lighting device, and imaging lighting device | |
WO2017141611A1 (en) | Defect detection apparatus, defect detection method, and program | |
JP2016070732A (en) | Inspection device and inspection method | |
US4775889A (en) | Bottle mouth defect inspection apparatus | |
JP4986255B1 (en) | Container mouth inspection method and apparatus | |
JP7382519B2 (en) | Glass bottle inspection method, glass bottle manufacturing method, and glass bottle inspection device | |
JP2015040796A (en) | Defect detection device | |
WO2018142614A1 (en) | Glass bottle inspection device | |
JP6078286B2 (en) | Appearance inspection apparatus and appearance inspection method | |
CN111033243A (en) | Appearance inspection device and appearance inspection method | |
JP3989739B2 (en) | Inspection device | |
JP2010151473A (en) | Apparatus for inspecting screw-top bottle | |
JP6605772B1 (en) | Defect inspection apparatus and defect inspection method | |
JP5959430B2 (en) | Bottle cap appearance inspection device and appearance inspection method | |
JP2015190872A (en) | Device for inspecting bottoms of bottles | |
TW202100988A (en) | Glass bottle inspection method and glass bottle manufacturing method | |
CN110945347B (en) | Damage inspection method for optical display panel | |
JP2017166956A (en) | Defect detection device detection method and program | |
JP6073261B2 (en) | Bottle bottom inspection device | |
JP4967132B2 (en) | Defect inspection method for object surface | |
JPH10103938A (en) | Method and apparatus for visual examination of cast product | |
JPH05157707A (en) | Appearance inspection method of bottle top | |
JP2006138768A (en) | Inspection method of printed matter | |
JPS62113050A (en) | Bottle mouth inspection system | |
JP2011064614A (en) | Device and method for inspecting circular lens |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2011546515 Country of ref document: JP Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11870442 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20147002786 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 11870442 Country of ref document: EP Kind code of ref document: A1 |