A visual defect detection for optics lens based on the YOLOv5 -C3CA-SPPF network model

Author:

Tang Haiyang1,Liang Shan,Yao Dan1,Qiao Yongjie1

Affiliation:

1. Institute of Southwest Equipment (Chongqing)

Abstract

Defects in the optical lens directly affect the scattering properties of the optical lens and decrease the performance of the optical element. Although machine vision instead of manual detection has been widely valued, the feature fusion technique of series operation and edge detection cannot recognize low-contrast and multi-scale targets in the lens. To address these challenges, in this study, an improved YOLOv5-C3CA-SPPF network model is proposed to detect defects on the surface and inside of the lens. The hybrid module combining the coordinate attention and CSPNet (C3) is incorporated into YOLOv5-C3CA for improving the extraction of target feature information and detection accuracy. Furthermore, an SPPF features fusion module is inserted into the neck of the network model to improve the detection accuracy of the network. To enhance the performance of supervised learning algorithms, a dataset containing a total of 3800 images is created, more than 600 images for each type of defect samples. The outcome of the experiment manifests that the mean average precision (mAP) of the YOLOv5-C3CA-SPPF algorithm is 97.1%, and the detection speed FPS is 41 f/s. Contrast to the traditional lens surface defects detection algorithms, YOLOv5-C3CA-SPPF can detect the types of optical lens surface and inside defects more accurately and quickly, the experimental results show that the YOLOv5-C3CA-SPPF model for identifying optical lens defects has good generalizability and robustness, which is favorable for on-line quality automatic detection of optical lens defects and provide an important guarantee for the quality consistency of finished products.

Publisher

Optica Publishing Group

Subject

Atomic and Molecular Physics, and Optics

Cited by 14 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3