Tube yarn is also called glass fiber spun yarn. Due to the excellent properties of glass fiber, various industrial products based on glass fiber are used in a variety of industries. As the most obvious factor affecting the quality of products, quality detection of glass fiber yarns is very important for companies. Due to traditional defect detection relies on the experience and subjective factors of workers, which makes many different views on the same defect. Some traditional methods limit the solution to specific types of defects and do not accurately detect various defects. In this paper, we propose a comprehensive defect detection system of tube yarn via combining machine vision and deep learning methods. In whole system, we inspect the weight through a weight sensor firstly. Then, we propose a multi-scale cross-fusion attention module to improve the MobileNetV2, and combine with machine vision image feature extraction method for hairiness detection. Finally, the modified MobileNetV2 network is used as the backbone of YOLOX network, making the YOLOX is lighter and achieve more efficiently stain detection of tube yarn. Then, the detection results are used to determine whether the glass tube yarn has passed. In addition, we establish an effective and sufficient amount of tube yarn defects dataset. The experimental results show that the proposed hairiness detection algorithm achieve 96% accuracy with 160+ FPS, and the surface stain detection algorithm achieve 0.89 mAP with 71+ FPS on the tube yarn dataset. The system is efficient, precise, and can be applied to actual production.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.