DocumentBarcode Class

  • java.lang.Object
    • com.azure.ai.formrecognizer.documentanalysis.models.DocumentBarcode

public final class DocumentBarcode

Model representing a barcode document field.

Constructor Summary

Constructor Description
DocumentBarcode()

Constructs a DocumentBarcode object.

Method Summary

Modifier and Type Method and Description
List<Point> getBoundingPolygon()

Get the polygon property: Bounding polygon of the barcode.

float getConfidence()

Get the confidence property: Confidence of correctly extracting the barcode.

DocumentBarcodeKind getKind()

Get the kind property: Barcode kind.

DocumentSpan getSpan()

Get the span property: Location of the barcode in the reading order concatenated content.

String getValue()

Get the value property: Barcode value.

Methods inherited from java.lang.Object

Constructor Details

DocumentBarcode

public DocumentBarcode()

Constructs a DocumentBarcode object.

Method Details

getBoundingPolygon

public List getBoundingPolygon()

Get the polygon property: Bounding polygon of the barcode.

Returns:

the polygon value.

getConfidence

public float getConfidence()

Get the confidence property: Confidence of correctly extracting the barcode.

Returns:

the confidence value.

getKind

public DocumentBarcodeKind getKind()

Get the kind property: Barcode kind.

Returns:

the kind value.

getSpan

public DocumentSpan getSpan()

Get the span property: Location of the barcode in the reading order concatenated content.

Returns:

the span value.

getValue

public String getValue()

Get the value property: Barcode value.

Returns:

the value value.

Applies to