Barcode decoding method and barcode reader
Abstract:
A barcode decoding method includes steps of (a) capturing an image of a barcode; (b) analyzing the image to recognize a data region of the barcode; (c) decoding the data region to obtain a codeword matrix, wherein the codeword matrix includes a plurality of codewords; (d) performing an error correction for the codeword matrix; (e) when the codeword matrix fails to pass the error correction, repeating steps (a) to (c), updating the codeword matrix according to a number of occurrence times of each codeword at an identical position of the codeword matrix, and repeating step (d) for the codeword matrix after updating; and (f) when the codeword matrix passes the error correction, decoding the codeword matrix.
Information query
Patent Agency Ranking
0/0