Computer Vision Based Surface Defect Detection Algorithm for Electronic Components
In order to optimize the surface defect detection effect of electronic components,improve the defect detection rate,and achieve automatic,fast,and accurate detection goals,a new electronic component surface defect detection algorithm is proposed by introducing computer vision.Firstly,take surface images of electronic components and filter the images to eliminate excess noise in the original image·Secondly,based on the principle of threshold segmentation,the electronic component image is divided into several regions,and features related to surface defects of the component are extracted from each region to preliminarily detect surface defects of the electronic component;On this basis,based on computer vision technology,a surface defect detection algorithm for electronic components is designed to further accurately detect whether there are defects on the surface of the components.The experimental results show that after the application of the pro-posed detection algorithm,the surface defect detection rate of six different types of electronic components is higher,the detection ability is stronger,and the accuracy and reliability advantages are significant.