An improved YOLOv8n seamless fabric defect detection model is proposed to solve the current issues in seamless fabric defects in factories in this paper. The improvement in this paper first introduces the SPPF_LSKA module, which not only optimizes the extraction of multi-scale features but also enhances the adaptability of the model in detecting defects of different sizes by improving the feature fusion mechanism, enabling efficient recognition of both large-sized and small-sized defects. Secondly, the CARAFE upsampling method is used to adaptively learn the relationship between pixels, which not only reduces information loss but also improves the reconstruction quality of feature maps, which is crucial for capturing complex textures and subtle defects of seamless fabrics. In addition, adding a small object detection layer particularly improves the detection accuracy of the model for small-sized defects, making it no longer limited to traditional models when dealing with high-density fabrics or small defects. Finally, integrating OREPA technology significantly reduces computational complexity, reduces redundant computing burden, and accelerates the training process by optimizing the model structure. The experimental results show that the precision, recall, and mAP@0.5 of the model on the seamless fabric defect dataset have improved by 7.3%, 8.5%, and 5.1%, respectively, compared to the baseline model YOLOv8n. Future research aims to explore the application of the model further in practical scenarios and complete the actual deployment of the seamless fabric defect detection system.
This paper proposes an improved seamless fabric production line and its mathematical models before and after optimization to enhance production efficiency and material utilization in textile manufacturing. By adjusting the production process of the seamless fabric production line and formulating corresponding mathematical models for equipment selection and other related issues before and after the modifications, this study aims to increase the number of products produced per unit time and reduce the material consumption per unit product. Experimental results show that the optimized seamless fabric production line achieves a 0.98% to 71.70% increase in production output per unit time and reduces raw material consumption by 9.55% to 10.63%. Future research can further explore the impact of additional variables on production line efficiency to refine and optimize the workflow further.