ByQuadrantReader class

This class attempts to decode a barcode from an image, not by scanning the whole image, but by scanning subsets of the image.

This is important when there may be multiple barcodes in an image, and detecting a barcode may find parts of multiple barcode and fail to decode (e.g. QR Codes). Instead this scans the four quadrants of the image -- and also the center 'quadrant' to cover the case where a barcode is found in the center.

See GenericMultipleBarcodeReader

Implemented types

Constructors

ByQuadrantReader(Reader _delegate)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(BinaryBitmap image, [DecodeHint? hints]) 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.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets any internal state the implementation has after a decode, to prepare it for reuse.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited