Method for detecting lip defect of PET bottle or bottle parison
A preform and defect technology, applied in the field of machine vision inspection, can solve problems such as false rejection, missed rejection, uneven brightness of photos, etc., and achieve the effect of improving detection accuracy and reducing false rejection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0012] The present invention detects the method for bottle mouth defect of PET bottle or preform comprising the following steps:
[0013] Step (1): Collect the image of the mouth of the PET bottle or preform and input it into the computer system.
[0014] Step (2): Extract the image of the bottle mouth ring area, and calculate the gradient in the horizontal direction. The horizontal direction is the tangential direction corresponding to the original image, that is, to find a tangent point in the image of the circular area of the preform ring, and expand it horizontally from the tangent point. Find the gradient in the transverse direction.
[0015] Step (3): Select the Sobel filter to filter the image and calculate the lateral gradient. The calculation of the transverse gradient can be approximately obtained by filtering the extracted preform ring region using the filter in formula (1-1).
[0016] Formula (1-1):
[0017] when When , the Prewitt fi...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 