I. Introduction
As a large industrial chain, the apparel industry is also an important pillar industry for people’s livelihood. During the production process, due to the influence of equipment and processes, various defects often appear on the surface. Although China is a large textile production country, the knowledge of defect detection is still relatively backward. Traditional manual visual inspection methods tend to ignore the details of fabrics, resulting in low accuracy and low efficiency of identification and positioning. Therefore, more and more factories are beginning to use machines to replace artificial quality inspection.