Hao Fang, Song Lin, Jiawang Hu, Jiarui Chen, Zhiyong He
{"title":"CPF-DETR:一种检测复杂图案织物缺陷的端到端DETR模型","authors":"Hao Fang, Song Lin, Jiawang Hu, Jiarui Chen, Zhiyong He","doi":"10.1007/s12221-024-00809-9","DOIUrl":null,"url":null,"abstract":"<div><p>Fabric defect detection is a prevalent issue in the textile industry. For fabrics with monotone coloration and simple patterns, the existing detection algorithms have been able to meet the detection requirements of industrial production. However, there is still a lack of effective detectors to detect fabrics defects with complex patterns and variable colors. This paper proposed an improved RT-DETR model called CPF-DETR, which improves the detection effect by a noise suppression module (NSM) and a novel encoder using dynamic snake convolution (DSC-Encoder). Firstly, RT-DETR as a complete end-to-end real-time detection model was used as our detection framework to avoid the effect of the lack of a priori knowledge of the anchor in industry detection. Secondly, we designed a noise suppression module to filter out noise from complex backgrounds. Furthermore, we introduced the dynamic snake convolution (DSC) into the encoder and designed a hybrid convolution module (HCM) which helps the encoder to enhancing its ability to acquire elongated structure detail information in complex pattern. Finally, we compared our CPF-DETR with many state-of-the-art models on a Complex Patterned Fabric Dataset (CPF) collected from the Aliyun Tianchi fabric defect dataset. The experimental results demonstrate that the accuracy of our detector is superior to existing models. Our detector achieved 69.1% AP outperforming the RT-DETR by 2.3% and yolv8m by 10.6%. The inference latency of 10.46ms is also able to meet the real-time detection requirements.</p></div>","PeriodicalId":557,"journal":{"name":"Fibers and Polymers","volume":"26 1","pages":"369 - 382"},"PeriodicalIF":2.2000,"publicationDate":"2024-12-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"CPF-DETR: An End-to-End DETR Model for Detecting Complex Patterned Fabric Defects\",\"authors\":\"Hao Fang, Song Lin, Jiawang Hu, Jiarui Chen, Zhiyong He\",\"doi\":\"10.1007/s12221-024-00809-9\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Fabric defect detection is a prevalent issue in the textile industry. For fabrics with monotone coloration and simple patterns, the existing detection algorithms have been able to meet the detection requirements of industrial production. However, there is still a lack of effective detectors to detect fabrics defects with complex patterns and variable colors. This paper proposed an improved RT-DETR model called CPF-DETR, which improves the detection effect by a noise suppression module (NSM) and a novel encoder using dynamic snake convolution (DSC-Encoder). Firstly, RT-DETR as a complete end-to-end real-time detection model was used as our detection framework to avoid the effect of the lack of a priori knowledge of the anchor in industry detection. Secondly, we designed a noise suppression module to filter out noise from complex backgrounds. Furthermore, we introduced the dynamic snake convolution (DSC) into the encoder and designed a hybrid convolution module (HCM) which helps the encoder to enhancing its ability to acquire elongated structure detail information in complex pattern. Finally, we compared our CPF-DETR with many state-of-the-art models on a Complex Patterned Fabric Dataset (CPF) collected from the Aliyun Tianchi fabric defect dataset. The experimental results demonstrate that the accuracy of our detector is superior to existing models. Our detector achieved 69.1% AP outperforming the RT-DETR by 2.3% and yolv8m by 10.6%. The inference latency of 10.46ms is also able to meet the real-time detection requirements.</p></div>\",\"PeriodicalId\":557,\"journal\":{\"name\":\"Fibers and Polymers\",\"volume\":\"26 1\",\"pages\":\"369 - 382\"},\"PeriodicalIF\":2.2000,\"publicationDate\":\"2024-12-10\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Fibers and Polymers\",\"FirstCategoryId\":\"88\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s12221-024-00809-9\",\"RegionNum\":4,\"RegionCategory\":\"工程技术\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"MATERIALS SCIENCE, TEXTILES\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Fibers and Polymers","FirstCategoryId":"88","ListUrlMain":"https://link.springer.com/article/10.1007/s12221-024-00809-9","RegionNum":4,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATERIALS SCIENCE, TEXTILES","Score":null,"Total":0}
CPF-DETR: An End-to-End DETR Model for Detecting Complex Patterned Fabric Defects
Fabric defect detection is a prevalent issue in the textile industry. For fabrics with monotone coloration and simple patterns, the existing detection algorithms have been able to meet the detection requirements of industrial production. However, there is still a lack of effective detectors to detect fabrics defects with complex patterns and variable colors. This paper proposed an improved RT-DETR model called CPF-DETR, which improves the detection effect by a noise suppression module (NSM) and a novel encoder using dynamic snake convolution (DSC-Encoder). Firstly, RT-DETR as a complete end-to-end real-time detection model was used as our detection framework to avoid the effect of the lack of a priori knowledge of the anchor in industry detection. Secondly, we designed a noise suppression module to filter out noise from complex backgrounds. Furthermore, we introduced the dynamic snake convolution (DSC) into the encoder and designed a hybrid convolution module (HCM) which helps the encoder to enhancing its ability to acquire elongated structure detail information in complex pattern. Finally, we compared our CPF-DETR with many state-of-the-art models on a Complex Patterned Fabric Dataset (CPF) collected from the Aliyun Tianchi fabric defect dataset. The experimental results demonstrate that the accuracy of our detector is superior to existing models. Our detector achieved 69.1% AP outperforming the RT-DETR by 2.3% and yolv8m by 10.6%. The inference latency of 10.46ms is also able to meet the real-time detection requirements.
期刊介绍:
-Chemistry of Fiber Materials, Polymer Reactions and Synthesis-
Physical Properties of Fibers, Polymer Blends and Composites-
Fiber Spinning and Textile Processing, Polymer Physics, Morphology-
Colorants and Dyeing, Polymer Analysis and Characterization-
Chemical Aftertreatment of Textiles, Polymer Processing and Rheology-
Textile and Apparel Science, Functional Polymers