The invention provides a wave-
soldering spot defect detection method and a wave-
soldering spot defect detection
system, which solve the problem of non-ideal detection accuracy of the
current wave-
soldering spot defect detection method based on automatic optical detection.The method comprises the following steps: firstly, PCBA template image collection, preprocessing and
color image threshold segmentation are carried out; then
color image threshold segmentation is carried out on a detection area at the same time on the basis of R, G and B color components of the
RGB color model and H, S and V color components of the
HSV color model, the threshold segmentation process is optimized, effective extraction of a defect area is facilitated, a circular
template matching optimization method is designed, positioning of soldering
tin and a bonding pad in a wave-soldering spot is optimized; a more accurate defect area is provided for subsequent second threshold segmentation, finally, the obtained
welding spot image feature parameters are compared with the original image feature parameters, a defect sample is detected, the accuracy of
welding spot defect detection is improved, so that the yield of PCBA boards produced in a factory can be increased.