Cloth defect detection method, device, computer equipment and storage medium
Патент · CN B
Полный текст
The present application relates to a cloth defect detection method, apparatus, computer device, storage medium and computer program product. The method can be applied to the field of artificial intelligence, such as a scene of detecting defects of cloth images through an intelligent terminal. The method comprises the steps of obtaining a cloth image of cloth to be detected, a first template image and a second template image of template cloth, carrying out feature extraction on a first image group formed by the cloth image and the first template image, carrying out feature extraction on a second image group formed by the cloth image and the second template image, exchanging extracted partial intermediate features to obtain a first feature image and a second feature image in the feature extraction process, carrying out classification processing on the first feature image and the second feature image to obtain prediction scores of detection frames in a detection frame matching pair, and determining defect detection results of the cloth to be detected based on the prediction scores of the detection frames in the detection frame matching pair. By adopting the method, the accuracy of defect detection can be improved.