The Pin Detection Algorithm of Electronic Components Based on Hession Matrix
Aiming at the problems of low accuracy and poor adaptability of existing pin detection algorithms for electronic components,a new pin detection algorithm based on Hession matrix is proposed. First of all,based on the Hession matrix detection algorithm,the algorithm only detects the spots of the corresponding radius by the given pin size of the component,and then filters the initial pin region by melting the overlap degree,roundness and other spot detection parameters. Finally,the contour tracking algorithm is used to detect the connected domain in the image as a mask and multiply the initial pin region to get the final pin region. The experimental results show that the algorithm can accurately detect the pins of various types of components,and has higher applicability.