The invention discloses a
chip abnormal defect identification method based on multi-template fusion and a storage medium. The method comprises the following steps: step 1, constructing a
chip defect detection model based on
deep learning; step 2, collecting each type of
chip image; 3, based on median fusion, obtaining an ideal chip image of each type of chips; step 4, carrying out image difference; step 5, performing sliding
cutting on the difference image to obtain chip difference images with the same size and overlapped set sizes; step 6, training a chip defect detection model; step 7, performing differential operation and sliding
cutting on the to-be-detected chip image; step 8, predicting a chip defect type and a defect position in a corresponding set chip difference image by using the trained chip defect detection model; and finally, determining the position of the defect in the original to-be-detected chip according to the difference image number of the chip with the set size. According to the invention, the appearance difference between chips of different models can be reduced, the universality of the model is improved, and the defect identification precision is high.