Defect detection and classification have important research significance in different research and application fields. Many defect detection technologies have been specially developed for specific application fields[1]}, [2]}, [3]}. Also in the production or use of industrial products, there are often different surface defects, such as wear, crack, nicks, etc. This situation is generally because the physical and chemical properties of a certain area of the product surface are inconsistent with the surrounding background, This will affect the aesthetics of the product and cause a serious decline in product quality[4]}, so a lot of work has been done in the detection and classification of surface defects[5]}, [6]}, [7]}.
