Method and system for detecting appearance defects of magnets
A technology of appearance defects and magnets, which is applied in the field of image recognition, can solve the problems of high false detection rate, labor-intensive, and inability to distinguish whether it is qualified or not, and achieve the effect of reducing false recognition and rapid recognition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] In the present invention, the method for magnet appearance defect detection, such as figure 1 shown, including the following steps:
[0026] (1) Acquire the image of the magnet to be detected, and perform binarization processing on the magnet image.
[0027] (2) Perform feature extraction on the binarized magnet image, and determine the defect type, defect location and defect size of the magnet to be detected according to the extracted image features.
[0028] (3) According to the defect position and defect size of the magnet to be detected, determine whether the magnet to be detected is qualified.
[0029] After the magnet image is binarized, if the boundary of the magnet coincides with the boundary of the defect, it is judged that the defect is located on the boundary of the magnet.
[0030] For example, if the pixel coordinates on the boundary of the magnet and the pixel coordinates on the boundary of the defect are the same, it means that the defect is located on ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


