OneDReader

abstract class OneDReader : Reader

Encapsulates functionality and implementation that is common to all families of one-dimensional barcodes.

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun decode(image: BinaryBitmap): Result

Locates and decodes a barcode in some format within an image.

open override fun decode(image: BinaryBitmap, hints: Map<DecodeHintType, *>?): Result

Locates and decodes a barcode in some format within an image. This method also accepts hints, each possibly associated to some data, which may help the implementation decode.

Link copied to clipboard
abstract 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.

Link copied to clipboard
open override fun reset()

Resets any internal state the implementation has after a decode, to prepare it for reuse.