Junpeng Huang, Wang Zhang, Weilong Jin, Hongchuan Hu
{"title":"Surface defect detection of planar optical components based on OPT-YOLO","authors":"Junpeng Huang, Wang Zhang, Weilong Jin, Hongchuan Hu","doi":"10.1016/j.optlaseng.2025.108974","DOIUrl":null,"url":null,"abstract":"<div><div>Surface defects on optical components significantly impact imaging quality, durability, and reliability. Traditional optical and manual detection methods are inefficient and lack accuracy. Therefore, making machine vision is a crucial advancement for surface defect detection. In this article, an imaging system was constructed to generate a proprietary dataset of self-made optical component surface defects and an innovative OPT-YOLO algorithm was developed for detecting surface defects in planar optical components. The RepViTSEBlock and EMA modules were integrated with the C2f backbone network in OPT-YOLO, streamlining weights and enhancing feature extraction. To improve model expression, the MPCA attention mechanism was incorporated into the tail of backbone. Addressing background interference on defect features, ODConv was introduced into the Neck structure, replacing the Bottleneck configuration in C2f. The dysample module is also applied to refine the initial upsample structure to compensate for the problem of upsample easily losing low-level details and semantic information. For more efficient and accurate detection, SCDH detection head was adopted and CIoU was replaced with powerful-IoU, this lightweight structure accelerates convergence and improves anchor box accuracy. Finally, experimental results demonstrate that OPT-YOLO achieves mAP, Precision, and Recall scores of 0.970, 0.979, and 0.920, respectively, marking improvements of 3.2 %, 7.4 %, and 8.7 % over YOLOv8, while reducing FLOPs by 3.6 G, FPS has increased by 94. The heat map and feature map extractions confirm enhanced feature extraction capabilities, and ablation studies validate the performance gains from our enhanced modules. Overall, OPT-YOLO offers a more efficient and precise solution for planar optical component surface defect detection, highlighting its potential for industrial applications.</div></div>","PeriodicalId":49719,"journal":{"name":"Optics and Lasers in Engineering","volume":"190 ","pages":"Article 108974"},"PeriodicalIF":3.5000,"publicationDate":"2025-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Optics and Lasers in Engineering","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0143816625001617","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"OPTICS","Score":null,"Total":0}
引用次数: 0
Abstract
Surface defects on optical components significantly impact imaging quality, durability, and reliability. Traditional optical and manual detection methods are inefficient and lack accuracy. Therefore, making machine vision is a crucial advancement for surface defect detection. In this article, an imaging system was constructed to generate a proprietary dataset of self-made optical component surface defects and an innovative OPT-YOLO algorithm was developed for detecting surface defects in planar optical components. The RepViTSEBlock and EMA modules were integrated with the C2f backbone network in OPT-YOLO, streamlining weights and enhancing feature extraction. To improve model expression, the MPCA attention mechanism was incorporated into the tail of backbone. Addressing background interference on defect features, ODConv was introduced into the Neck structure, replacing the Bottleneck configuration in C2f. The dysample module is also applied to refine the initial upsample structure to compensate for the problem of upsample easily losing low-level details and semantic information. For more efficient and accurate detection, SCDH detection head was adopted and CIoU was replaced with powerful-IoU, this lightweight structure accelerates convergence and improves anchor box accuracy. Finally, experimental results demonstrate that OPT-YOLO achieves mAP, Precision, and Recall scores of 0.970, 0.979, and 0.920, respectively, marking improvements of 3.2 %, 7.4 %, and 8.7 % over YOLOv8, while reducing FLOPs by 3.6 G, FPS has increased by 94. The heat map and feature map extractions confirm enhanced feature extraction capabilities, and ablation studies validate the performance gains from our enhanced modules. Overall, OPT-YOLO offers a more efficient and precise solution for planar optical component surface defect detection, highlighting its potential for industrial applications.
期刊介绍:
Optics and Lasers in Engineering aims at providing an international forum for the interchange of information on the development of optical techniques and laser technology in engineering. Emphasis is placed on contributions targeted at the practical use of methods and devices, the development and enhancement of solutions and new theoretical concepts for experimental methods.
Optics and Lasers in Engineering reflects the main areas in which optical methods are being used and developed for an engineering environment. Manuscripts should offer clear evidence of novelty and significance. Papers focusing on parameter optimization or computational issues are not suitable. Similarly, papers focussed on an application rather than the optical method fall outside the journal''s scope. The scope of the journal is defined to include the following:
-Optical Metrology-
Optical Methods for 3D visualization and virtual engineering-
Optical Techniques for Microsystems-
Imaging, Microscopy and Adaptive Optics-
Computational Imaging-
Laser methods in manufacturing-
Integrated optical and photonic sensors-
Optics and Photonics in Life Science-
Hyperspectral and spectroscopic methods-
Infrared and Terahertz techniques