Shuaishuai Lv, Zhengjie Hou, Bin Li, Hongjun Ni, Weidong Shi, Chuanzhen Tao, Lin Zhou, Hai Gu, Linfei Chen
{"title":"基于改进型 YOLOX-S 算法的铝型材表面缺陷精确定位检测方法","authors":"Shuaishuai Lv, Zhengjie Hou, Bin Li, Hongjun Ni, Weidong Shi, Chuanzhen Tao, Lin Zhou, Hai Gu, Linfei Chen","doi":"10.1007/s12540-024-01764-z","DOIUrl":null,"url":null,"abstract":"<p>Aluminum profiles in the production process will inevitably appear a variety of surface defects, seriously affect the quality of products. The traditional method to detect the surface defects can not meet the actual demand, so it is of great significance to study the efficient detection method. In this paper, digital image processing methods such as rotation, flip, contrast and brightness transformation are used to increase the number of samples and simulate the complex imaging environment. An improved YOLOX-S detection model is proposed. Squeeze-and-Excitation Networks is embedded in the Cross Stage Partial module, and then SECSP module is proposed, and all CSP modules in YOLO-S are replaced with SECSP module, which improves the sensitivity of the network to the feature channel. SCYLLA-IoU loss function is used instead of IoU loss function. The improved model can improve the detection ability of small targets and the ability to resist background interference information. The mAP reaches 91.62, which is 1.82% higher than that of the basic YOLOX-S, and the detection speed reaches 58.67 frames ·s<sup>−1</sup>, which can meet the real-time detection requirements. At the same time, the comparison experiment proves that the comprehensive performance of the proposed detection model is the best, and the detection accuracy and speed have reached a good balance. The ablation experiment proves that the two improved schemes can improve the detection accuracy of the network.</p><h3 data-test=\"abstract-sub-heading\">Graphical Abstract</h3>\n","PeriodicalId":703,"journal":{"name":"Metals and Materials International","volume":"1 1","pages":""},"PeriodicalIF":3.3000,"publicationDate":"2024-08-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Accurate Location Detection Method for Aluminum Profile Surface Defects Based on Improved YOLOX-S Algorithm\",\"authors\":\"Shuaishuai Lv, Zhengjie Hou, Bin Li, Hongjun Ni, Weidong Shi, Chuanzhen Tao, Lin Zhou, Hai Gu, Linfei Chen\",\"doi\":\"10.1007/s12540-024-01764-z\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Aluminum profiles in the production process will inevitably appear a variety of surface defects, seriously affect the quality of products. The traditional method to detect the surface defects can not meet the actual demand, so it is of great significance to study the efficient detection method. In this paper, digital image processing methods such as rotation, flip, contrast and brightness transformation are used to increase the number of samples and simulate the complex imaging environment. An improved YOLOX-S detection model is proposed. Squeeze-and-Excitation Networks is embedded in the Cross Stage Partial module, and then SECSP module is proposed, and all CSP modules in YOLO-S are replaced with SECSP module, which improves the sensitivity of the network to the feature channel. SCYLLA-IoU loss function is used instead of IoU loss function. The improved model can improve the detection ability of small targets and the ability to resist background interference information. The mAP reaches 91.62, which is 1.82% higher than that of the basic YOLOX-S, and the detection speed reaches 58.67 frames ·s<sup>−1</sup>, which can meet the real-time detection requirements. At the same time, the comparison experiment proves that the comprehensive performance of the proposed detection model is the best, and the detection accuracy and speed have reached a good balance. The ablation experiment proves that the two improved schemes can improve the detection accuracy of the network.</p><h3 data-test=\\\"abstract-sub-heading\\\">Graphical Abstract</h3>\\n\",\"PeriodicalId\":703,\"journal\":{\"name\":\"Metals and Materials International\",\"volume\":\"1 1\",\"pages\":\"\"},\"PeriodicalIF\":3.3000,\"publicationDate\":\"2024-08-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Metals and Materials International\",\"FirstCategoryId\":\"88\",\"ListUrlMain\":\"https://doi.org/10.1007/s12540-024-01764-z\",\"RegionNum\":3,\"RegionCategory\":\"材料科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"MATERIALS SCIENCE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Metals and Materials International","FirstCategoryId":"88","ListUrlMain":"https://doi.org/10.1007/s12540-024-01764-z","RegionNum":3,"RegionCategory":"材料科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MATERIALS SCIENCE, MULTIDISCIPLINARY","Score":null,"Total":0}
Accurate Location Detection Method for Aluminum Profile Surface Defects Based on Improved YOLOX-S Algorithm
Aluminum profiles in the production process will inevitably appear a variety of surface defects, seriously affect the quality of products. The traditional method to detect the surface defects can not meet the actual demand, so it is of great significance to study the efficient detection method. In this paper, digital image processing methods such as rotation, flip, contrast and brightness transformation are used to increase the number of samples and simulate the complex imaging environment. An improved YOLOX-S detection model is proposed. Squeeze-and-Excitation Networks is embedded in the Cross Stage Partial module, and then SECSP module is proposed, and all CSP modules in YOLO-S are replaced with SECSP module, which improves the sensitivity of the network to the feature channel. SCYLLA-IoU loss function is used instead of IoU loss function. The improved model can improve the detection ability of small targets and the ability to resist background interference information. The mAP reaches 91.62, which is 1.82% higher than that of the basic YOLOX-S, and the detection speed reaches 58.67 frames ·s−1, which can meet the real-time detection requirements. At the same time, the comparison experiment proves that the comprehensive performance of the proposed detection model is the best, and the detection accuracy and speed have reached a good balance. The ablation experiment proves that the two improved schemes can improve the detection accuracy of the network.
期刊介绍:
Metals and Materials International publishes original papers and occasional critical reviews on all aspects of research and technology in materials engineering: physical metallurgy, materials science, and processing of metals and other materials. Emphasis is placed on those aspects of the science of materials that are concerned with the relationships among the processing, structure and properties (mechanical, chemical, electrical, electrochemical, magnetic and optical) of materials. Aspects of processing include the melting, casting, and fabrication with the thermodynamics, kinetics and modeling.