| CPC G06K 7/10722 (2013.01) [G06K 7/1413 (2013.01)] | 20 Claims |

|
1. A system for processing an image of a barcode positioned on a distribution item, the system comprising:
a memory storing instructions; and
one or more processors in data communication with the memory and configured to execute the instructions to:
obtain a scanned image of the barcode including a plurality of bars and a plurality of spaces alternately disposed with respect to the plurality of bars;
convert the scanned image into digital data including a plurality of first pixel values and a plurality of second pixel values, wherein each of the first pixel values represents a first pixel corresponding to a bar of the barcode and each of the second pixel values represents a second pixel corresponding to a space of the barcode;
identify a leading edge of the barcode, the leading edge representing positions in a sequence of the digital data corresponding to the plurality of bars;
identify a trailing edge of the barcode, the trailing edge representing positions in the sequence of the digital data corresponding to the plurality of spaces;
determine relative widths of the plurality of bars by subtracting the leading edge from the trailing edge; and
determine relative widths of the plurality of spaces by subtracting the trailing edge from the leading edge.
|