US 12,141,649 B2
System and method for reading a barcode independently of image resolution or scale
Ryan J. Simpson, Vienna, VA (US)
Assigned to United States Postal Service, Washington, DC (US)
Filed by United States Postal Service, Washington, DC (US)
Filed on Sep. 15, 2023, as Appl. No. 18/468,158.
Application 18/468,158 is a continuation of application No. 17/815,533, filed on Jul. 27, 2022, granted, now 11,790,195.
Application 17/815,533 is a continuation of application No. 17/174,736, filed on Feb. 12, 2021, granted, now 11,461,571, issued on Oct. 4, 2022.
Claims priority of provisional application 62/976,188, filed on Feb. 13, 2020.
Prior Publication US 2024/0005114 A1, Jan. 4, 2024
This patent is subject to a terminal disclaimer.
Int. Cl. G06K 7/10 (2006.01); G06K 7/14 (2006.01)
CPC G06K 7/10722 (2013.01) [G06K 7/1413 (2013.01)] 20 Claims
OG exemplary drawing
 
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.