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, resetpublic Result decodeRow(int rowNumber, BitArray row, Map<DecodeHintType,?> hints) throws NotFoundException, FormatException, ChecksumException
OneDReaderAttempts to decode a one-dimensional barcode format given a single row of an image.
decodeRow in class OneDReaderrowNumber - 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–2019. All rights reserved.