public final class Code128Reader extends OneDReader
Decodes Code 128 barcodes.
Constructor and Description |
---|
Code128Reader() |
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.
|
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse, reset
public Result decodeRow(int rowNumber, BitArray row, Map<DecodeHintType,?> hints) throws NotFoundException, FormatException, ChecksumException
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 foundFormatException
- if a potential barcode is found but format is invalidChecksumException
- if a potential barcode is found but does not pass its checksumCopyright © 2007–2024. All rights reserved.