TUPCEANReader.DoDecodeRow Method

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.

Unit: ZXing.OneD.UPCEANReader
function DoDecodeRow(const rowNumber: Integer; const row: IBitArray; const startGuardRange: TArray<Integer>; const hints: TDictionary<TDecodeHintType, TObject>): TReadResult

Parameters

rowNumber
Type: System.Integer

row index into the image

row
Type: ZXing.Common.BitArray.IBitArray

encoding of the row of the barcode image

startGuardRange
Type: TArray<Integer>

start/end column where the opening start pattern was found

hints
Type: TDictionary<TDecodeHintType, TObject>

optional hints that influence decoding

Return Value

encapsulating the result of decoding a barcode in the row