TEAN13Reader Class

Implements decoding of the EAN-13 format.

Unit: ZXing.OneD.EAN13Reader
TInterfacedObject
  ZXing.OneD.OneDReader.TOneDReader
    ZXing.OneD.UPCEANReader.TUPCEANReader
      ZXing.OneD.EAN13Reader.TEAN13Reader
type TEAN13Reader = class(TUPCEANReader)

The TEAN13Reader type exposes the following members.

Show:
 NameDescription
G_PATTERNS

"Even", or "G" patterns used to encode UPC/EAN digits. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

INTEGER_MATH_SHIFT
L_PATTERNS
MAX_AVG_VARIANCE
MAX_INDIVIDUAL_VARIANCE
MIDDLE_PATTERN

Pattern marking the middle of a UPC/EAN pattern, separating the two halves. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

START_END_PATTERN

Start/end guard pattern. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

Top
Show:
 NameDescription
Create

Initializes a new instance of the TUPCEANReader class. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

Destroy
Top
Show:
 NameDescription
BarcodeFormat

Get the format of this decoder.

The 1D format.

(Overrides ZXing.OneD.UPCEANReader.TUPCEANReader.BarcodeFormat .)

DecodeMiddle

Subclasses override this to decode the portion of a barcode between the start and end guard patterns. (Overrides ZXing.OneD.UPCEANReader.TUPCEANReader.DecodeMiddle .)

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.

(Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)
RecordPatternInReverse

Records the pattern in reverse. (Inherited from ZXing.OneD.OneDReader.TOneDReader .)

checkChecksum
decode

Overloaded. 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. Note that we don't try rotation without the try harder flag, even if rotation was supported. (Inherited from ZXing.OneD.OneDReader.TOneDReader .)

decodeDigit

Attempts to decode a single UPC/EAN-encoded digit. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

decodeEnd

Decodes the end. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

decodeRow

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

(Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)
findGuardPattern

Overloaded. (Inherited from ZXing.OneD.UPCEANReader.TUPCEANReader .)

findStartGuardPattern
patternMatchVariance

Determines how closely a set of observed counts of runs of black/white values matches a given target pattern. This is reported as the ratio of the total variance from the expected pattern proportions across all pattern elements, to the length of the pattern. (Inherited from ZXing.OneD.OneDReader.TOneDReader .)

recordPattern

Records the size of successive runs of white and black pixels in a row, starting at a given point. The values are recorded in the given array, and the number of runs recorded is equal to the size of the array. If the row starts on a white pixel at the given start point, then the first count recorded is the run of white pixels starting from that point; likewise it is the count of a run of black pixels if the row begin on a black pixels at that point. (Inherited from ZXing.OneD.OneDReader.TOneDReader .)

reset

Resets any internal state the implementation has after a decode, to prepare it for reuse. (Inherited from ZXing.OneD.OneDReader.TOneDReader .)

Top