首页 | 本学科首页   官方微博 | 高级检索  
     

非典型二维码的研究与应用
引用本文:刘毅,吴雅婷,曹炳尧. 非典型二维码的研究与应用[J]. 工业控制计算机, 2019, 32(5): 39-40
作者姓名:刘毅  吴雅婷  曹炳尧
作者单位:上海大学特种光纤与光接入网教育部重点实验室,上海,200444;上海大学特种光纤与光接入网教育部重点实验室,上海,200444;上海大学特种光纤与光接入网教育部重点实验室,上海,200444
摘    要:随着近几年移动支付的高速发展,以支付宝和微信为首的国内两大移动支付均结合二维码组成了新一代无线支付方案,使得支付体验变得更加快捷轻松[1]。通过智能手机、平板电脑等移动智能终端扫描黑白相间的字符,便可以轻松进行判断、解密、跳转到另一页面,给我们用户带来了便利和娱乐体验,同时也成为了连接线上、线下的一个重要通道,这就是大家所熟悉的"二维码"。毫不夸张地说,二维码是移动互联网的"入口"。由于二维码其轮廓特征明显,寻找二维码的三个角的定位角点,对图片进行平滑滤波、二值化、寻找轮廓。筛选轮廓中有两个子轮廓的特征,从筛选后的轮廓中找到面积最接近的三个即是二维码的定位角点;第二步:判断三个角点像素处于什么位置,根据三个点具体像素位置来确定计算出中心点的位置,需要判断三个角点围成的三角形的最大的角就是二维码左上角的点,然后根据这个角的两个边的角度差确定另外两个角点的左下和右上位置;第三步,根据这些特征识别二维码的范围,再通过二维码中嵌套二维码的方式来进行精确定位。

关 键 词:二维码  图像识别  定位

Research and Application of Atypical Two-Dimensional Code
Abstract:The QR code is the entry of the mobile Internet.Due to the obvious contour feature of the two-dimensional code,the positioning corner points of the three corners of the two-dimensional code are searched,the image is smoothed,binarized,the contour is searched,and the features of the two sub-contours in the contour are filtered from the filtered contour. The three closest to the area found are the positioning corners of the QR code. Step 2:Determine where the three corner pixels are located,and determine the position of the center point based on the specific pixel positions of the three points.The largest angle of the triangle that needs to be judged by the three corner points is the point in the upper left corner of the two-dimensional code.The lower left and upper right positions of the other two corner points are then determined based on the angular difference between the two sides of the corner.In the third step,the range of the two-dimensional code is identified based on these features.Accurate positioning is performed by nesting the two-dimensional code in the two-dimensional code.
Keywords:Two-Dimension code  image recognition  location
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号