TUPCEANReader.DoDecodeRow Method
Definition
Like decodeRow(int, BitArray, java.util.Map), 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.
Delphi
function DoDecodeRow(const rowNumber: Integer; const row: IBitArray; const startGuardRange: TArray<Integer>; const hints: TDictionary<TDecodeHintType, TObject>): TReadResult
Parameters
- rowNumber
- Integer
row index into the image
- row
- IBitArray
encoding of the row of the barcode image
- startGuardRange
- TArray<Integer>
start/end column where the opening start pattern was found
- hints
- TDictionary<TDecodeHintType, TObject>
optional hints that influence decoding
Returns
TReadResult
TReadResult encapsulating the result of decoding a barcode in the row