激光与光电子学进展, 2019, 56 (9): 091501, 网络出版: 2019-07-05   

基于机器视觉的包装袋缺陷检测算法研究与应用 下载: 1536次

Machine-Vision Based Defect Detection Algorithm for Packaging Bags
作者单位
沈阳城市建设学院信息与控制工程系, 辽宁 沈阳 110167
图 & 表

图 1. 机器视觉检测系统架构图

Fig. 1. Architectural diagram of machine-vision based detection system

下载图片 查看原文

图 2. 缺陷检测算法流程图

Fig. 2. Flow chart of defect detection algorithm

下载图片 查看原文

图 3. 二值化图像。(a) T1阈值图像;(b) T2阈值图像

Fig. 3. Binary images. (a) T1 threshold image; (b) T2 threshold image

下载图片 查看原文

图 4. 包装袋实物图

Fig. 4. Picture of packing bag

下载图片 查看原文

图 5. 实验测试平台

Fig. 5. Platform for experimental testing

下载图片 查看原文

图 6. 标准设置模块

Fig. 6. Standard setting module

下载图片 查看原文

图 7. 定位设置模块

Fig. 7. Location setting module

下载图片 查看原文

图 8. 部分缺陷分类检测结果。(a)合格图像;(b)连袋(超长);(c)连袋(超宽);(d)包装版面移动;(e)外形尺寸错误;(f)包装上有异物

Fig. 8. Partial detection results of defect classification. (a) Qualified image; (b) continuous bag (over length); (c) continuous bag (over width); (d) motion of packaging layout; (e) dimension error; (f) foreign matter on packages

下载图片 查看原文

表 1特征与缺陷匹配表

Table1. Feature and defect matching

No.ConditionDefect classification
1L>Lup or W>WupDefect 1: continuous bag
2L>Lup or L<Llow or W>Wup or W<WlowDefect 2: dimension error(over length or over width)
3θ<θTDefect 3: foreign matteron packages
4OMDefect 4: motion ofpackaging layout

查看原文

表 2混合矩阵

Table2. Confusion matrix

ClassificationDetection
DefectnumberQualifiednumber
ActualDefect numberPTNF
Qualified numberPFNT

查看原文

表 3不同检测方法的混合矩阵

Table3. Confusion matrices for different detection methods

CategoryProposedmethodTemplatematchingManualdetection
DefectQualifiedDefectQualifiedDefectQualified
Defect19551782218614
Qualified62942527516284

查看原文

表 4不同检测方法的真正率、真负率和准确率

Table4. True positive rates, true negative rates, and accuracy of different detection methods

MethodTrue positiverate /%True negativerate /%Accuracy /%
Proposed method97.59897.8
Template matching8991.790.6
Manual detection9394.794

查看原文

表 5测试分类结果

Table5. Test of classification results

No.DefecttypeSampleSuccessnumberMissingnumberWrongnumberMissingrate /%Errorrate /%Positiverate /%
1Continuous bag2001990100.599.5
2Dimension error2001990100.599.5
3Foreign matter on packages200195140.52.097.5
4Motion of packaging layout2001970301.598.5
Total800790190.1251.12598.75

查看原文

李丹, 白国君, 金媛媛, 童艳. 基于机器视觉的包装袋缺陷检测算法研究与应用[J]. 激光与光电子学进展, 2019, 56(9): 091501. Dan Li, Guojun Bai, Yuanyuan Jin, Yan Tong. Machine-Vision Based Defect Detection Algorithm for Packaging Bags[J]. Laser & Optoelectronics Progress, 2019, 56(9): 091501.

本文已被 6 篇论文引用
被引统计数据来源于中国光学期刊网
引用该论文: TXT   |   EndNote

相关论文

加载中...

关于本站 Cookie 的使用提示

中国光学期刊网使用基于 cookie 的技术来更好地为您提供各项服务,点击此处了解我们的隐私策略。 如您需继续使用本网站,请您授权我们使用本地 cookie 来保存部分信息。
全站搜索
您最值得信赖的光电行业旗舰网络服务平台!