用于QR码自动识读的图像分析方法

Image Analysis Method for QR Code's Automatic Recognition

  • 摘要: 对于所采集的条码图像,为了适应实时性的要求,以得到不同光照条件下的最佳阈值,该文提出了把直方图双峰法、OTSU法及NLNiblack阈值法结合起来的改进的自适应阈值法。实验证明了该方法具有高效性和稳定性。为了在条码分割图像中获取QR码的4个顶点,首先,根据3个位置探测图形的特性提出了一种新的方法以求取对应的3个顶点,同时利用QR码的特征提出挖空算法获取条码的边缘,再采用过已知点的Hough变换得到第4个顶点。实验证明该算法在各种采集条件下可有效地得到QR码的4个顶点。

     

    Abstract: For collected barcodes images, an image analysis method with the ability of locating, segmenting, correcting and recognizing the QR code is introduced. In order to meet real-time demands and obtain the optimal thresholds under various lighting conditions, we propose an improved adaptive thresholding, which is proved with high efficiency and high stability. In order to get the four corner points of QR code in the segmentation of barcode, a new algorithm is presented to obtain three points among those corner points according to their patterns features. The fourth corner point is then obtained by employing known point. Hough transformation. Experiment shows that the algorithm can get the four corner points of QR code effectively under various acquisition situations.

     

/

返回文章
返回