Surface Quality Automatic Inspection for Pharmaceutical Capsules Using Deep Learning

J. Sensors Pub Date : 2022-08-26 DOI:10.1155/2022/4820618
Hao Dong, Jing Yang, Jun Wang, Shaobo Li
{"title":"Surface Quality Automatic Inspection for Pharmaceutical Capsules Using Deep Learning","authors":"Hao Dong, Jing Yang, Jun Wang, Shaobo Li","doi":"10.1155/2022/4820618","DOIUrl":null,"url":null,"abstract":"Capsules are commonly used as containers for most pharmaceutical products. Thus, the quality of a capsule is closely related to the therapeutic effect of the products and patient health. At present, surface quality testing is an essential task in the actual production of pharmaceutical capsules. In this study, a deep learning-based capsule defect detection model, called CapsuleDet, is proposed to classify and localize defects in image sensor data from capsule production for practical application. A guided filter-based image enhancement method and hybrid data augmentation method are used in improving the quality and quantity of the raw data, respectively, to mitigate the low contrast issue and enhance the robustness of the model training. Deformable convolution module and attentional fusion feature pyramid are also used to improve the detection effect of capsule defects by effectively utilizing the semantic and geometric information in the extracted feature maps and catering to the detection of defects with different shapes and scales. The evaluation results on the capsule defect dataset demonstrate that the proposed method achieves 92.91% mean average precision and 22.16 frames per second. Moreover, its overall performance in terms of training time, model size, detection accuracy, and speed is better than that of the currently popular detectors.","PeriodicalId":14776,"journal":{"name":"J. Sensors","volume":"21 1","pages":"1-18"},"PeriodicalIF":0.0000,"publicationDate":"2022-08-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Sensors","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1155/2022/4820618","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Capsules are commonly used as containers for most pharmaceutical products. Thus, the quality of a capsule is closely related to the therapeutic effect of the products and patient health. At present, surface quality testing is an essential task in the actual production of pharmaceutical capsules. In this study, a deep learning-based capsule defect detection model, called CapsuleDet, is proposed to classify and localize defects in image sensor data from capsule production for practical application. A guided filter-based image enhancement method and hybrid data augmentation method are used in improving the quality and quantity of the raw data, respectively, to mitigate the low contrast issue and enhance the robustness of the model training. Deformable convolution module and attentional fusion feature pyramid are also used to improve the detection effect of capsule defects by effectively utilizing the semantic and geometric information in the extracted feature maps and catering to the detection of defects with different shapes and scales. The evaluation results on the capsule defect dataset demonstrate that the proposed method achieves 92.91% mean average precision and 22.16 frames per second. Moreover, its overall performance in terms of training time, model size, detection accuracy, and speed is better than that of the currently popular detectors.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于深度学习的药物胶囊表面质量自动检测
胶囊通常用作大多数药品的容器。因此,胶囊的质量与产品的治疗效果和患者的健康密切相关。目前,在药用胶囊的实际生产中,表面质量检测是一项必不可少的工作。本研究提出了一种基于深度学习的胶囊缺陷检测模型,称为CapsuleDet,用于对胶囊生产过程中图像传感器数据中的缺陷进行分类和定位,以供实际应用。采用基于引导滤波的图像增强方法和混合数据增强方法分别提高原始数据的质量和数量,以缓解低对比度问题和增强模型训练的鲁棒性。利用可变形卷积模块和注意融合特征金字塔,有效利用提取的特征图中的语义和几何信息,适应不同形状和尺度缺陷的检测,提高了包膜缺陷的检测效果。在胶囊缺陷数据集上的评价结果表明,该方法的平均精度为92.91%,帧速率为22.16帧/秒。而且,它在训练时间、模型大小、检测精度、速度等方面的综合性能都优于目前流行的检测器。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Index Construction and Application of School-Enterprise Collaborative Education Platform Based on AHP Fuzzy Method in Double Creation Education Practice Optimization of Intelligent Display Mode of Museum Cultural Relics Based on Intelligent Wireless Sensor Network Feature Extraction Method of Art Visual Communication Image Based on 5G Intelligent Sensor Network Scene Classification Using Deep Networks Combined with Visual Attention Spatial Expression of Multifaceted Soft Decoration Elements: Application of 3D Reconstruction Algorithm in Soft Decoration and Furnishing Design of Office Space
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1