public final class MultiFormatOneDReader extends OneDReader
Constructor and Description |
---|
MultiFormatOneDReader(Map<DecodeHintType,?> hints) |
Modifier and Type | Method and Description |
---|---|
Result |
decodeRow(int rowNumber,
BitArray row,
Map<DecodeHintType,?> hints)
Attempts to decode a one-dimensional barcode format given a single row of
an image.
|
void |
reset()
Resets any internal state the implementation has after a decode, to prepare it
for reuse.
|
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse
public MultiFormatOneDReader(Map<DecodeHintType,?> hints)
public Result decodeRow(int rowNumber, BitArray row, Map<DecodeHintType,?> hints) throws NotFoundException
OneDReader
Attempts to decode a one-dimensional barcode format given a single row of an image.
decodeRow
in class OneDReader
rowNumber
- row number from top of the rowrow
- the black/white pixel data of the rowhints
- decode hintsResult
containing encoded string and start/end of barcodeNotFoundException
- if no potential barcode is foundpublic void reset()
Reader
reset
in interface Reader
reset
in class OneDReader
Copyright © 2007–2024. All rights reserved.