The application provides a shielding film defect detection method and
system, the method comprising: acquiring a
transmission image, a
red light reflection image and a near-
infrared reflection image corresponding to the shielding film, and then acquiring a defect feature image; filtering out
frequency domain components corresponding to inherent periodic textures of the shielding film in the defect feature image to obtain an enhanced image; inputting the enhanced image into a
feature extraction network to obtain a defect feature map; obtaining a defect
feature vector based on the defect feature map, comparing the defect
feature vector with a plurality of defect feature templates, and obtaining a detection defect category. By acquiring images of three different physical
imaging modalities of transmission,
red light reflection and near-
infrared reflection, the information limitation of single waveband imaging is broken, the
signal-to-
noise ratio and detectability of the defect
signal are improved from the source, the contrast is improved, and the missed
detection rate is reduced. By filtering out the inherent periodic textures of the shielding film, the background texture interference is targeted and actively suppressed, and the probability of misjudging the texture as a defect is reduced.