decodeRow

open override fun decodeRow(rowNumber: Int, row: BitArray, hints: Map<DecodeHintType, *>?): Result

Attempts to decode a one-dimensional barcode format given a single row of an image.

Return

Result containing encoded string and start/end of barcode

Parameters

rowNumber

row number from top of the row

row

the black/white pixel data of the row

hints

decode hints

Throws

if no potential barcode is found

if a potential barcode is found but does not pass its checksum

if a potential barcode is found but format is invalid