Patent ID: 8356753

Claim:
A method for multi-type barcode recognition, for recognizing a current barcode, to determine a barcode type of the current barcode among a plurality of supported barcode types and the corresponding barcode information carried by the current barcode, and the method comprising the following steps: (a) loading a record table for recording matching frequencies that each supported barcode type matches the barcode type of recognized barcodes; (b) obtaining user input to determine whether to enable or disable automatic arrangement of recognizing priorities of the supported barcodes; (c) when the automatic arrangement is enabled, performing the steps of: (c-1) according to the matching frequency of each supported barcode type recorded in the record table, sorting the supported barcode types in an arranged recognizing sequence to obtain a recognizing priority of each of the supported barcode types, wherein the supported barcode type having a relative high matching frequency has a relative high recognizing priority in the arranged recognizing sequence; (c-2) capturing the current barcode, picking up each of the supported barcode types in the arranged recognizing sequence one by one, and utilizing the picked up supported barcode type to recognize the current barcode, so as to determine the type of the current barcode; (c-3) according to a recognition result of the current barcode, updating the matching frequency of the supported barcode type that matches the barcode type of the current barcode; and (c-4) outputting a recognition result of the current barcode; and (d) when the automatic arrangement is disabled, performing the steps of: (d-1) determining the recognizing priorities of the supported barcode types in a random manner to obtain a random recognizing sequence; (d-2) capturing the current barcode, picking up each of the supported barcode types in the random recognizing sequence one by one, and utilizing the picked up supported barcode type to recognize the current barcode, so as to determine the type of the current barcode; and (d-3) according to a recognition result of the current barcode, updating the matching frequency of the supported barcode type that matches the barcode type of the current barcode.