The invention relates to the technical field of PCB (
Printed Circuit Board) detection, in particular to a method and a
system for detecting the edge deviation of the appearance of a PCB based on a
welding component. The polarization characteristic pattern is generated by acquiring the multi-spectral original image and the polarization
state parameter of the to-be-detected area of the PCB, the reflection
exposure abnormal area and the reflection
exposure normal area can be effectively positioned, the fusion weight is automatically adjusted according to the
spectral response characteristic of the
signal area through the self-adaptive spectrum fusion enhancement technology, and the detection accuracy is improved. The problem that in a traditional method,
image enhancement is not fine enough is solved, the adaptive fusion enhancement technology enables the
multispectral image to better conform to the actual situation during enhancement, more detail information is reserved, key features can be accurately extracted by generating a semantic segmentation map and combining three-dimensional standard coordinate information, and the
image enhancement accuracy is improved. The detection precision and reliability of the
welding component and the appearance edge of the PCB are effectively improved, the deviation can be accurately positioned and quantified, and the
quality control level in the production process of the PCB is improved.