期刊文献+

基于YOLOv4算法的药用空心胶囊表面缺陷检测方法 被引量:7

Surface Defect Detection Method for Pharmaceutical Hollow Capsules Based on YOLOv4 Algorithm
下载PDF
导出
摘要 目的 为提升质检过程中药用空心胶囊的表面缺陷检测精度及其自动化水平。方法 通过设计高质量图像采集方案来避免胶囊表面出现光斑,以此构建药用空心胶囊缺陷数据集。基于YOLOv4算法,建立深度学习检测模型,利用多尺度特征提取以及训练策略,增强对小目标缺陷检测的鲁棒性。采用K-means++聚类算法更新锚框初始值,以提高模型对胶囊表面缺陷的预测性能。结果 实验结果表明,提出的胶囊缺陷检测方法能够准确判别胶囊好坏,并能检测出其表面的凹陷、孔洞、划痕、污点和接口缺损等5类缺陷,其中对于胶囊有无缺陷的平均精确均值达99.05%,各缺陷类型的平均精确率为91.81%,而每秒检测图像可达22张。与其他典型的目标检测方法相比,文中方法在检测速度和精度上都有一定优势。结论 文中所提出的基于YOLOv4的缺陷检测方法实现了对药用空心胶囊多类型缺陷的分类与定位,具有较好的检测效果和稳定性,在满足生产质量管控要求的同时,可大幅降低人工成本。 The work aims to improve the surface defect detection accuracy and automation level of the pharmaceutical hollow capsules in the process of quality inspection. A high-quality image acquisition scheme was designed to avoid light spots on the capsule surface. A dataset of defects in pharmaceutical hollow capsules was constructed. Based on the YOLOv4 algorithm, a deep learning detection model with multi-scale feature extraction and training strategies was developed to enhance the robustness of defect detection for small objects. The K-means++ clustering algorithm was used to update the initial values of the anchor frame to improve the performance of the model in detecting defects on the capsule surface.The experimental results showed that the proposed capsule defect detection method can accurately detect five types of defects which include dent, hole, scratch, stain and gap on its surface. Furthermore, the mean average precision of whether the capsule was defective or not was 99.05%, the average precision of each defect type was 91.81%, and the detection speed was 22 FPS. The method had certain advantages in comparison to other typical target detection methods in terms of detection speed and precision. The proposed YOLOv4-based defect detection method achieves the classification and localization of multiple types of defects in pharmaceutical hollow capsules, and has a better detection effect and stability,which can significantly reduce labor costs while fulfilling production quality control requirements.
作者 董豪 李少波 杨静 王军 DONG Hao;LI Shao-bo;YANG Jing;WANG Jun(School of Mechanical Engineering,Guizhou University,Guiyang 550025,China;State Key Laboratory of Public Big Data,Guizhou University,Guiyang 550025,China;Key Laboratory of Advanced Manufacturing Technology of Ministry of Education,Guizhou University,Guiyang 550025,China)
出处 《包装工程》 CAS 北大核心 2022年第7期254-261,共8页 Packaging Engineering
基金 国家自然科学基金(51475097,91746116) 工信部资助项目(工信部联装[2016]213号) 贵州省科技计划(黔科合人才[2015]4011) 贵州省重点实验室建设项目(黔科合平台人才[2016]5103)。
关键词 药用胶囊 缺陷检测 YOLOv4 深度学习 K-means++ pharmaceutical capsules defect detection YOLOv4 deep learning K-means++
  • 相关文献

参考文献10

二级参考文献51

  • 1张秋颖,傅洛伊,王新兵.基于BERT-BiLSTM-CRF的学者主页信息抽取[J].计算机应用研究,2020,37(S01):47-49. 被引量:14
  • 2刘健庄,栗文青.灰度图象的二维Otsu自动阈值分割法[J].自动化学报,1993,19(1):101-105. 被引量:359
  • 3冈萨雷斯.数字图像处理[M].阮秋琦,阮宇智,译.2版.北京:电子工业出版社,2007:427.
  • 4Zhu Zheng - tao, Huang Liu - qian, Yu Xiong - yi. Pre - processing techniques for on - line capsule inspection based on machine vision[ C ]//2011 Fourth International Conference on Intelligent Computation Technology and Automation. 2011, 2: 653 - 656.
  • 5Karloff A C, Scott N E, Muscedere R. A flexible design for a cost effective, high throughput inspection system for pharmaceuti- cal capsules[ C]// IEEE International Conference on Industrial Technology. 2005:1 -4.
  • 6Islam M J, Ahmadi M, Sid - Ahmed M A. Image processing techniques for quality inspection of gelatin capsules in pharmaceuti- cal applications[ C]//2005 10th International Conference on Control, Automation, Robotics and Vision. 2005:862 -867.
  • 7Huang Guang -bin, Zhu Qin -yu, Siew Chee -kheong. Extreme learning machine: theory and applications [ J ]. Neurocomput- ing, 2006, 70:489-501.
  • 8Huang Guang - bin, Zhu Qin - yu, Siew Chee - kheong. Extreme learning machine : a new learning scheme of feedforward neu- ral networks [ C ]//International Joint Conference on Neural Networks. 2004, 2:985 -990.
  • 9Bansal Atul, Bajpai Rochak, Saini J P. Simulation of image enhancement techniques using matlab [ C ]//Proceedings of the First Asia International Conference on Modelling & Simulation. 2007:296 -301.
  • 10Sharifi M, Fathy M, Mahmoudi M T. A classified and comparative study of edge detection algorithms [ C ]//Proceedings of the International Conference on Information Technology: Coding and Computing. 2002:117 -120.

共引文献111

同被引文献50

引证文献7

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部