FCD-YOLO:基于头部解耦和注意机制的改进YOLOv5印刷电路板缺陷检测

Huijian Xu
{"title":"FCD-YOLO:基于头部解耦和注意机制的改进YOLOv5印刷电路板缺陷检测","authors":"Huijian Xu","doi":"10.1109/INSAI56792.2022.00011","DOIUrl":null,"url":null,"abstract":"Defect detection technology is an indispensable quality control technology in PCB manufacturing. However, the effect of the existing PCB defect detection algorithm is not good. Therefore, we propose an improved PCB defect detection algorithm FCD-YOLO based on YOLOv5. Firstly, we add a set of anchors suitable for detecting small objects, and at the same time add a shallow prediction layer. Secondly, we modify the neck network and integrate more shallow features to improve the detection effect of small objects and texture features. Thirdly, we integrate a CBAM attention module into the neck network to improve the ability of the model to extract the features of the region of interest on complex PCB background. Finally, we integrate a decoupled head mechanism into the head network to help the model converge quickly and improve the detection effect of the model. The experiment adopts the public PCB defect image released by the laboratory of Peking University. The experiment proves that the precision of this method is increased by 1.4 %, the recall is increased by 1.6 %, the mAP@0.5 is increased by 0.6 %, and the mAP@0.5:.95 is increased by 1.7% compared with YOLOv5s, which is more suitable for detecting PCB defects than YOLOv5s.","PeriodicalId":318264,"journal":{"name":"2022 2nd International Conference on Networking Systems of AI (INSAI)","volume":"5 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"FCD-YOLO: Improved YOLOv5 Based on Decoupled Head and Attention Mechanism for Defect Detection on Printed Circuit Board\",\"authors\":\"Huijian Xu\",\"doi\":\"10.1109/INSAI56792.2022.00011\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Defect detection technology is an indispensable quality control technology in PCB manufacturing. However, the effect of the existing PCB defect detection algorithm is not good. Therefore, we propose an improved PCB defect detection algorithm FCD-YOLO based on YOLOv5. Firstly, we add a set of anchors suitable for detecting small objects, and at the same time add a shallow prediction layer. Secondly, we modify the neck network and integrate more shallow features to improve the detection effect of small objects and texture features. Thirdly, we integrate a CBAM attention module into the neck network to improve the ability of the model to extract the features of the region of interest on complex PCB background. Finally, we integrate a decoupled head mechanism into the head network to help the model converge quickly and improve the detection effect of the model. The experiment adopts the public PCB defect image released by the laboratory of Peking University. The experiment proves that the precision of this method is increased by 1.4 %, the recall is increased by 1.6 %, the mAP@0.5 is increased by 0.6 %, and the mAP@0.5:.95 is increased by 1.7% compared with YOLOv5s, which is more suitable for detecting PCB defects than YOLOv5s.\",\"PeriodicalId\":318264,\"journal\":{\"name\":\"2022 2nd International Conference on Networking Systems of AI (INSAI)\",\"volume\":\"5 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 2nd International Conference on Networking Systems of AI (INSAI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/INSAI56792.2022.00011\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 2nd International Conference on Networking Systems of AI (INSAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INSAI56792.2022.00011","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

缺陷检测技术是PCB制造中不可缺少的质量控制技术。然而,现有的PCB缺陷检测算法效果并不理想。因此,我们提出了一种基于YOLOv5改进的PCB缺陷检测算法FCD-YOLO。首先,我们增加了一组适合检测小物体的锚点,同时增加了一个浅预测层。其次,对颈部网络进行修正,整合更多的浅层特征,提高小目标和纹理特征的检测效果。第三,我们将CBAM关注模块集成到颈部网络中,以提高模型在复杂PCB背景下提取感兴趣区域特征的能力。最后,我们在头部网络中加入解耦的头部机制,帮助模型快速收敛,提高模型的检测效果。实验采用北京大学实验室公开发布的PCB缺陷图。实验证明,与YOLOv5s相比,该方法的检测精度提高了1.4%,召回率提高了1.6%,mAP@0.5提高了0.6%,mAP@0.5: 0.95提高了1.7%,比YOLOv5s更适合PCB缺陷的检测。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
FCD-YOLO: Improved YOLOv5 Based on Decoupled Head and Attention Mechanism for Defect Detection on Printed Circuit Board
Defect detection technology is an indispensable quality control technology in PCB manufacturing. However, the effect of the existing PCB defect detection algorithm is not good. Therefore, we propose an improved PCB defect detection algorithm FCD-YOLO based on YOLOv5. Firstly, we add a set of anchors suitable for detecting small objects, and at the same time add a shallow prediction layer. Secondly, we modify the neck network and integrate more shallow features to improve the detection effect of small objects and texture features. Thirdly, we integrate a CBAM attention module into the neck network to improve the ability of the model to extract the features of the region of interest on complex PCB background. Finally, we integrate a decoupled head mechanism into the head network to help the model converge quickly and improve the detection effect of the model. The experiment adopts the public PCB defect image released by the laboratory of Peking University. The experiment proves that the precision of this method is increased by 1.4 %, the recall is increased by 1.6 %, the mAP@0.5 is increased by 0.6 %, and the mAP@0.5:.95 is increased by 1.7% compared with YOLOv5s, which is more suitable for detecting PCB defects than YOLOv5s.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信