Capsule head defect detection method and apparatus
A defect detection and capsule technology, applied in character and pattern recognition, instruments, computer components, etc., can solve the problems of secondary contact pollution, slow detection speed, inaccurate subjective judgment, etc., and achieve effective recognition and high accuracy Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0032] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
[0033] In one aspect, the present invention provides a capsule head defect detection method, such as figure 1 shown, including:
[0034] Step S101: Acquiring a grayscale image of the capsule head to be detected;
[0035] In this step, when the capsule head image to be detected is obtained as a color image, the original true-color capsule head image can be converted into a grayscale image by selecting appropriate red, green, and blue (RGB) channels according to the color of the capsule. High-degree processing can reduce the amount of original image data, and reduce the calculation amount of subsequent processing.
[0036] Step S102: Extracting a region of interest from the grayscale image, where the region of interest contains bright spots;
[0037] In...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 