吉林大学学报(信息科学版) ›› 2018, Vol. 36 ›› Issue (5): 588-596.

• • 上一篇    

基于OpenCV 的丝印机定位系统研究

李金子1,黄坤2,崔来中2   

  1. 1. 深圳职业技术学院 计算机工程学院,深圳518000; 2. 深圳大学 计算机与软件学院,深圳518000
  • 出版日期:2018-09-24 发布日期:2019-01-18
  • 作者简介:李金子( 1978— ) ,女,长春人,深圳职业技术学院讲师,硕士,主要从事大数据、机器学习、智能系统研究,( Tel) 86-13760280061( E-mail) lijinzi71078@126. com; 崔来中( 1984— ) ,男,吉林省吉林市人,深圳大学副教授,博士,主要从事计算机网络体系结构、大数据、机器学习研究,( Tel) 86-18607550977( E-mail) cuilz@ szu. edu. cn。
  • 基金资助:
    深圳市科技创新基金资助项目( 601721K20042)

Research on OpenCV Screen Printing Machine Positioning System

LI Jinzi1,HUANG Kun2,CUI Laizhong2   

  1. 1. School of Computer Engineering,Shenzhen Polytechnic,Shenzhen 518000,China;2. College of Computer Science and Software Engineering,Shenzhen University,Shenzhen 518000,China
  • Online:2018-09-24 Published:2019-01-18

摘要: 现有OpenCV 模板匹配能实现丝印机的定位,但是模版图像不在搜索图中也能得到匹配结果,同时定位执行机构运用传统的直接传值方式运动会造成定位执行机构卡顿。为了解决上述2 个问题,提出了一种基于相似度的模板匹配方法。经验证该方法能解决模版图像不在搜索图中也能得到匹配结果的问题,实验结果表明,基于相似度的模版匹配方法对图片的相似度识别都在91%以上,平均用时低于250 ms,具有匹配稳定和快速的特点。同时还提出了一种速度匹配的运动方式,经验证该方法解决了定位执行机构运行卡顿的问题,实验结果表明,速度匹配的运动方式在250 次运行过程中没有出现一次卡顿现象。

关键词: 丝印机, OpenCV 模版, 模版匹配, 视觉定位, 相似度

Abstract: The existing OpenCV template matching can realize the positioning of the screen printer,but the template image can not get the matching result in the search chart,and the positioning actuator uses the traditional direct value transfer method causing the positioning actuator stuck. In order to solve the above two problems,this paper proposes a template matching method based on similarity. It is verified that the method can solve the problem that the template image can not get the matching result in the search graph. The experimental results show that the similarity recognition method based on similarity is more than 91%,and the average time is less than 250 ms. A speed-matching movement method has also been proposed. This method solves the problem of the positioning actuator performing the stalling,the experimental results show that the speed-matching movement method does not exhibit a stalling phenomenon during 250 operations.

Key words: screen printing machine, OpenCV, template matching, visual positioning, similarity

中图分类号: 

  • TP391