摘要 |
An improved method and apparatus for the autodiscrimination of barcodes is described. First, an interrupt driven technique for timing the duration of space and bar barcode data is described which allows a microprocessor to decode a first quantum of barcode data during a substantial portion of the time the microprocessor is timing the duration of space and bar data of a second quantum of barcode data. Second, an improved method of locating a barcode margin and eliminating types of barcode to be tried for purposes of decoding is described. Briefly, an integer ratio of space and following bar duration data is compared to a predetermined number, and a determination is made as to whether the space is a margin based on the comparison. Preferably, the two techniques are used in conjunction to speed the autodiscrimination in apparatus for scanning a plurality of different types of bar codes.
|