摘要
为提高缺陷检测的智能化水平,解决复杂场景下缺陷检测难题,结合目标检测与目标匹配、图像差分技术,搭建一种遮挡与缺失场景下屏幕缺陷视觉检测系统.该系统包括手机屏幕检测、遮挡检测、缺失检测及屏幕内容变化检测4部分.使用YOLOv8n模型检测出图像中的手机屏幕位置,使用多台相机及检测框过滤方式检测出遮挡的手机屏幕,使用目标匹配算法判断手机屏幕是否存在缺失,再通过改进的图像差分算法判断手机屏幕显示内容是否发生变化.通过生产现场采集数据,并对数据进行标注、增强及过滤等处理,然后对目标检测模型进行训练与测试,所得手机屏幕平均检测准确率为96.8%.在生产现场部署并应用算法模型,通过对应目标匹配及差分计算,实现了多路视频同时处理下手机屏幕缺陷的实时准确检测.相关算法的应用既可有效减少人工成本又能提高检测效率.该检测技术可用于针对手机、电脑和电视等电子屏幕的质量检测.
To improve the intelligent level and solve the difficult problem of defect detection in complex scenarios,a visual detection system for screen defects in occluded and missing scenes is constructed based on object detection and matching,as well as image difference technology.The modules for mobile phone screen detection,occlusion detection,missing detection,and screen content change detection are established in this system.The YOLOv8n model is used to detect the position of mobile phone screens in images.Multiple cameras and detection boxes are used to filter out obstructed mobile phone screens.Target matching algorithms are used to determine whether there are any missing mobile phone screens,and an improved image difference algorithm is designed to determine whether the displayed content of mobile phone screen has changed.The data is collected at the practical production site,and then annotated,enhanced,and filtered.The target detection model is trained and tested,and the average detection accuracy of mobile screen is 96.8%.The deployment and application of developed model on the production site have been completed.Through corresponding target matching and differential calculation,real-time and accurate detection of mobile phone screen defects under simultaneous processing of multiple videos has been achieved.The application of proposed algorithm can effectively reduce labor costs and improve detection efficiency.The proposed method can be used for electronic screen quality detection in fields such as mobile phones,computers and televisions.
作者
尹东富
杜明臣
胡天昊
李又明
张笑虹
于非
YIN Dongfu;DU Mingchen;HU Tianhao;LI Youming;ZHANG Xiaohong;YU Fei Richard(Guangdong Laboratory of Artificial Intelligence and Digital Economy(SZ),Shenzhen 518107,Guangdong Province,P.R.China;WeBank Institute of FinTech,Shenzhen University,Shenzhen 518060,Guangdong Province,P.R.China;China Gridcom Co.Ltd.,Shenzhen 518109,Guangdong Province,P.R.China)
出处
《深圳大学学报(理工版)》
CAS
CSCD
北大核心
2023年第6期631-639,共9页
Journal of Shenzhen University(Science and Engineering)
基金
国家自然科学基金资助项目(62271324)
深圳市科协“科创中国”资助项目(2023KCSZ01)
深圳市国电科技通信有限公司资助项目(23220008)。
关键词
人工智能
图像处理
目标检测
缺陷检测
目标匹配
图像差分
artificial intelligence
image processing
target detection
defect detection
target matching
image differentiation