CPC G06K 7/1413 (2013.01) | 17 Claims |
1. A method for identifying a barcode, wherein the barcode comprises a calibration region and an information code region, and the method comprises:
obtaining an image of the barcode, and identifying a position of the calibration region in the image according to preset calibration information of the calibration region;
identifying a position of the information code region in the image according to the position of the calibration region in the image and a preset position relationship between the calibration region and the information code region in the image; and
acquiring information based on the position of the information code region in the image to obtain information of the information code region,
wherein obtaining an image of the barcode, and identifying a position of the calibration region in the image according to preset calibration information of the calibration region comprises:
obtaining a predetermined optimal focus time; and
obtaining the image of the barcode, and identifying the position of the calibration region in the image within the optimal focus time according to the preset calibration information of the calibration region.
|