摘要
针对传统的QR码校正算法在光照、拍摄角度影响下会导致低校正率、高运算量问题,提出一种基于图像特征的QR码校正算法。对图像二值化,在进行行扫描时引入冗余点剔除过程,准确获取条码左上、右上和左下3个顶点坐标,基于边界黑色像素点间隔抽样和斜率偏离度容错处理快速找到第4个顶点,采用逆投影变换完成图像的几何校正。该算法抗光照干扰能力强,具有较高的识别成功率,可以在多种不同光照条件下,对不同拍摄角度方向的图像进行定位校正。实验结果表明,该算法能有效提高QR码识别成功率,满足其实时性的需求。
Aiming at the problem that the traditional QR code correction algorithms have low correction rate and a large amount of calculation when the images are collected in the insufficient light or at the changing shooting angle, a correction algorithm of QR code based on image characteristic was proposed. Image binarization was used to pretreat the barcode, and the upper left, upper right and lower left three vertices of the quadrilateral were obtained accurately using the method of line scanning and re- dundant point elimination procedure, besides the fourth vertex was got based on the boundary of black pixel interval sampling and the judgment of slope deviation. Inverse perspective transformation was used to geometrically correct image effectively. The al- gorithm has stronger resistant ability of light interference and higher recognition success rate under a variety of different illumina- tion conditions and at different shooting angle directions. Experimental results show that the method can greatly improve the QR code recognition efficiency, and meet the needs of real-time performance.
出处
《计算机工程与设计》
北大核心
2015年第8期2185-2190,共6页
Computer Engineering and Design
基金
广东省产学研科技攻关课题基金项目(2010B090400493)
国家自然科学基金面上基金项目(61375006)
关键词
QR码
图像特征
冗余点剔除
斜率偏离度
几何校正
QR code
image characteristic
redundant point elimination
slope deviation
geometric correction