Machine vision-based method for detecting end defectives of transparent object
A defect detection and machine vision technology, applied to instruments, measuring devices, scientific instruments, etc., can solve the problems of large amount of calculated data, inability to adapt to high-speed production lines, complex detection methods, etc., and achieve the effect of easy consistency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2016-09-07
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to a machine vision-based method for detecting defects on the end face of a transparent object. Background technique
[0002] Transparent objects are commonly used detection objects, and their common appearance defects are gas lines, dirty spots, and end surface cracks.
[0003] For image detection of transparent objects, it is necessary to ensure that the transparent objects can be sent to the detection station in an assembly line. Moreover, the existing machine vision-based method for detecting defects on the end face of transparent objects is relatively complex, and the amount of calculated data is large, which cannot meet the requirements of high-speed production lines. Therefore, it is necessary to design a method for detecting defects on the end face of transparent objects based on machine vision. Contents of the invention
[0004] The technical problem to be solved by the present invention is to provide a method for dete...
Examples
Embodiment 1
[0042] Embodiment 1: as Figure 1-4 , taking the glass bulb as an example, a method for detecting defects on the end face of a transparent object based on machine vision, including the following steps:
[0043] Step 1: Obtain the end face image of the transparent object; the end face image of the transparent object is a grayscale image;
[0044] Step 2: For the end surface image of the transparent object, the vertical integral projection method is used to detect the crack of the transparent object;
[0045] Described step 2 comprises the following steps:
[0046] Step 21: Locate the white ring in the end face image of the transparent object; (corresponding to the white ring in the bright image of the end face of the transparent object, which can be seen in the bright image of the transparent object)
[0047] Step 22: Transform the white circle into a rectangular image; the n*m size image of the rectangular image; where n and m are the number of pixels corresponding to the ...