JournalofImageandSignalProcessing图像与信号处理,2021,10(1),28-35
PublishedOnlineJanuary2021inHans.
基于机器视觉的软包装缺陷检测系统设计
何涛,曹禹童,张梦琪
重庆交通大学,机电与车辆工程学院,重庆
收稿日期:2020年12月21日;录用日期:2021年1月13日;发布日期:2021年1月25日
摘要
传统软包装缺陷检测方法采用人工检测耗时耗力,常出现漏检等问题且对检测者不友好。现提出基于机
器视觉的软包装缺陷检测方案,提高检测效率。本方案包括硬件设备与算法设计,着重算法设计,包括
图像灰度处理、图像分割、特征提取等,最终形成完整算法方案。图像分割采用基于阈值的图像分割,
用户自设阈值进行分割,此外还采用了基于区域的图像分割以及基于边缘的图像分割。提取的特征主要
为纹理特征,主要包括角二阶矩、相关性、对比度等特征,将提取的特征值存Excel表格中供回溯查证或
其它处理。经过实验验证,此算法检测效率相较于人工大大提高,且正确率也得到保证,为应用于相关
生产工厂奠定一定的基础。
关键词
机器视觉,软包装,划痕,图像分割,特征提取
DesignofFlexiblePackagingDefect
DetectionSystemBasedonMachineVision
TaoHe,YutongCao,MengqiZhang
SchoolofMechatronicsandVehicleEngineering,ChongqingJiaotongUniversity,Chongqing
stthth
,2020;accepted:Jan.13,2021;published:Jan.25,2021
Received:Dec.21
Abstract
Thetraditionaldefectdetectionmethodofflexiblepackagingistime-consumingandlabor-consuming
bymanualdetection,whichoftenpresentsproblemssuchasmisseddetectionandisnotfriendly
tothetester.Adefectdetectionschemeforflexiblepackagingbasedonmachinevisionispro-
posedtoimprovethedetectionefficiency.Thisschemeincludeshardwareequipmentandalgo-
文章引用:何涛,曹禹童,张梦琪.基于机器视觉的软包装缺陷检测系统设计[J].图像与信号处理,2021,10(1):28-35.
DOI:10.12677/jisp.2021.101004
何涛等
rithmdesign,focusingonalgorithmdesign,includingimagegrayscaleprocessing,imagesegmen-
tation,featureextractionandsoon,andfinallyformacompletealgorithmscheme.Imageseg-
mentationisbasedonthethresholdoftheimagesegmentation,user-setthresholdsegmentation,
inadditiontotheregionbasedontheimagesegmentationandimage