Enhanced Detection of Syringe Defects Based on an Improved YOLOv7-Tiny Deep-Learning Model

Wenxuan Zhao, Ling Wang, Chentao Mao, Xiai Chen, Yanfeng Gao, Binrui Wang
{"title":"Enhanced Detection of Syringe Defects Based on an Improved YOLOv7-Tiny Deep-Learning Model","authors":"Wenxuan Zhao, Ling Wang, Chentao Mao, Xiai Chen, Yanfeng Gao, Binrui Wang","doi":"10.1115/1.4065355","DOIUrl":null,"url":null,"abstract":"\n The timely and accurate identification of syringe defects plays a key role in effectively improving product quality in production lines of syringes. In this article, we collected a dataset of image samples representing five common types of syringe defects found on the production line. The dataset comprises over 5000 images, with an average of 3 different syringe defects per image. Based on this dataset, we designed a syringe defect detection model based on an improved YOLOv7-Tiny proposed in this paper. The model combines the Res-PAN structure, the ACmix mixed attention mechanism, the FReLU activation function, and the SIoU loss function. The comparative experiments are conducted on the self-built dataset SYR-Dat to evaluate the performance of the proposed syringe defect detection model. The average precision of the model reaches 94.1%. To ensure the effectiveness of the model, it is compared with other models, including SSD300, Faster R-CNN, EfficientDet, RetinaNet, YOLOv5s, YOLOv6, and YOLOv7. The results demonstrate that the proposed improved YOLOv7-Tiny model can better capture the features of syringe defects. Furthermore, the generalization of the improved YOLOv7-Tiny model is validated on the VOC2012 dataset. The results indicate that the improved model continues to outperform the baseline models. The proposed syringe defect detection model shows promising application prospects, as it can ?weduce the rate of defective products and improve product quality.","PeriodicalId":506673,"journal":{"name":"Journal of Medical Devices","volume":" 6","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-04-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Medical Devices","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1115/1.4065355","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The timely and accurate identification of syringe defects plays a key role in effectively improving product quality in production lines of syringes. In this article, we collected a dataset of image samples representing five common types of syringe defects found on the production line. The dataset comprises over 5000 images, with an average of 3 different syringe defects per image. Based on this dataset, we designed a syringe defect detection model based on an improved YOLOv7-Tiny proposed in this paper. The model combines the Res-PAN structure, the ACmix mixed attention mechanism, the FReLU activation function, and the SIoU loss function. The comparative experiments are conducted on the self-built dataset SYR-Dat to evaluate the performance of the proposed syringe defect detection model. The average precision of the model reaches 94.1%. To ensure the effectiveness of the model, it is compared with other models, including SSD300, Faster R-CNN, EfficientDet, RetinaNet, YOLOv5s, YOLOv6, and YOLOv7. The results demonstrate that the proposed improved YOLOv7-Tiny model can better capture the features of syringe defects. Furthermore, the generalization of the improved YOLOv7-Tiny model is validated on the VOC2012 dataset. The results indicate that the improved model continues to outperform the baseline models. The proposed syringe defect detection model shows promising application prospects, as it can ?weduce the rate of defective products and improve product quality.
基于改进型 YOLOv7-Tiny 深度学习模型的注射器缺陷强化检测技术
及时准确地识别注射器缺陷对有效提高注射器生产线的产品质量起着关键作用。在本文中,我们收集了代表生产线上常见的五种注射器缺陷的图像样本数据集。该数据集包含 5000 多张图像,平均每张图像包含 3 种不同的注射器缺陷。基于该数据集,我们设计了一个基于本文提出的改进型 YOLOv7-Tiny 的注射器缺陷检测模型。该模型结合了 Res-PAN 结构、ACmix 混合注意力机制、FReLU 激活函数和 SIoU 损失函数。在自建数据集 SYR-Dat 上进行了对比实验,以评估所提出的注射器缺陷检测模型的性能。模型的平均精度达到 94.1%。为了确保该模型的有效性,将其与其他模型进行了比较,包括 SSD300、Faster R-CNN、EfficientDet、RetinaNet、YOLOv5s、YOLOv6 和 YOLOv7。结果表明,所提出的改进型 YOLOv7-Tiny 模型能更好地捕捉注射器缺陷的特征。此外,改进后的 YOLOv7-Tiny 模型的通用性在 VOC2012 数据集上得到了验证。结果表明,改进后的模型继续优于基线模型。所提出的注射器缺陷检测模型具有广阔的应用前景,因为它可以降低次品率,提高产品质量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信