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
Attempts to decode a one-dimensional barcode format given a single row of an image.
|
decode, decode, patternMatchVariance, recordPattern, recordPatternInReverse, resetpublic ResultdecodeRow(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 row
row - the black/white pixel data of the row
hints - decode hints
Result containing encoded string and start/end of barcode
NotFoundException - if no potential barcode is found
FormatException - if a potential barcode is found but format is invalid
ChecksumException - if a potential barcode is found but does not pass its checksum