DocumentBarcodeOutput interface

A barcode object.

Properties

confidence

Confidence of correctly extracting the barcode.

kind

Barcode kind.

Possible values: "QRCode", "PDF417", "UPCA", "UPCE", "Code39", "Code128", "EAN8", "EAN13", "DataBar", "Code93", "Codabar", "DataBarExpanded", "ITF", "MicroQRCode", "Aztec", "DataMatrix", "MaxiCode"

polygon

Bounding polygon of the barcode, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

span

Location of the barcode in the reading order concatenated content.

value

Barcode value.

Property Details

confidence

Confidence of correctly extracting the barcode.

confidence: number

Property Value

number

kind

Barcode kind.

Possible values: "QRCode", "PDF417", "UPCA", "UPCE", "Code39", "Code128", "EAN8", "EAN13", "DataBar", "Code93", "Codabar", "DataBarExpanded", "ITF", "MicroQRCode", "Aztec", "DataMatrix", "MaxiCode"

kind: string

Property Value

string

polygon

Bounding polygon of the barcode, with coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

polygon?: number[]

Property Value

number[]

span

Location of the barcode in the reading order concatenated content.

span: DocumentSpanOutput

Property Value

value

Barcode value.

value: string

Property Value

string