Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DataMatrixReader

This implementation can detect and decode Data Matrix codes in an image.

author

bbrown@google.com (Brian Brown)

Hierarchy

  • DataMatrixReader

Implements

Index

Properties

Private decoder

decoder: Decoder = new Decoder()

Static Private NO_POINTS

NO_POINTS: ResultPoint[] = []

Methods

decode

  • Locates and decodes a Data Matrix code in an image.

    throws

    NotFoundException if a Data Matrix code cannot be found

    throws

    FormatException if a Data Matrix code cannot be decoded

    throws

    ChecksumException if error correction fails

    Parameters

    Returns Result

    a String representing the content encoded by the Data Matrix code

reset

  • reset(): void

Static Private extractPureBits

  • This method detects a code in a "pure" image -- that is, pure monochrome image which contains only an unrotated, unskewed, image of a code, with some white border around it. This is a specialized method that works exceptionally fast in this special case.

    see

    com.google.zxing.qrcode.QRCodeReader#extractPureBits(BitMatrix)

    Parameters

    Returns BitMatrix

Static Private moduleSize

  • moduleSize(leftTopBlack: Int32Array, image: BitMatrix): number

Generated using TypeDoc