decodeRow
Like decodeRow, but allows caller to inform method about where the UPC/EAN start pattern is found. This allows this to be computed once and reused across many implementations.
Return
Result encapsulating the result of decoding a barcode in the row
Parameters
row index into the image
encoding of the row of the barcode image
start/end column where the opening start pattern was found
optional hints that influence decoding
Throws
if no potential barcode is found
if a potential barcode is found but does not pass its checksum
if a potential barcode is found but format is invalid
Attempts to decode a one-dimensional barcode format given a single row of an image.
Return
Result containing encoded string and start/end of barcode
Parameters
row number from top of the row
the black/white pixel data of the row
decode hints
Throws
if no potential barcode is found
if a potential barcode is found but does not pass its checksum
if a potential barcode is found but format is invalid