TUPCEANReader Class

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

Unit: ZXing.OneD.UPCEANReader
type TUPCEANReader = class(TOneDReader)

The TUPCEANReader type exposes the following members.

Show:
 NameDescription
Create

Initializes a new instance of the class.

Destroy

Top
Show:
 NameDescription
BarcodeFormat

Get the format of this decoder.

DecodeMiddle

Subclasses override this to decode the portion of a barcode between the start and end guard patterns.

DoDecodeRow

Like decodeRow(int, BitArray, java.util.Map), but allows caller to inform method about where the UPC/EAN start pattern is found. This allows this to be computed once and reused across many implementations.

checkChecksum

decodeDigit

Attempts to decode a single UPC/EAN-encoded digit.

decodeEnd

Decodes the end.

decodeRow
Overloaded.

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

(Overrides ZXing.OneD.OneDReader.TOneDReader.decodeRow .)
findGuardPattern

Overloaded.

findStartGuardPattern

Top
Show:
 NameDescription
L_AND_G_PATTERNS

As above but also including the "even", or "G" patterns used to encode UPC/EAN digits.

L_PATTERNS

"Odd", or "L" patterns used to encode UPC/EAN digits.

MAX_AVG_VARIANCE

MAX_INDIVIDUAL_VARIANCE

MIDDLE_PATTERN

Pattern marking the middle of a UPC/EAN pattern, separating the two halves.

START_END_PATTERN

Start/end guard pattern.

Top