A field containing a text value.

Hierarchy

Constructors

Properties

boundingBox: BoundingBox

Contains exactly 4 relative vertices coordinates (points) of a right rectangle containing the field in the document.

confidence: number

The confidence score of the prediction.

pageId?: number

Page ID for multi-page document.

polygon: Polygon = []

Contains the relative vertices coordinates (points) of a polygon containing the field in the document.

reconstructed: boolean

true when the field was reconstructed or computed using other fields.

value?: boolean

The value.

Methods

  • Returns

    true if all elements in array1 exist in array2 and vice-versa, false otherwise

    Parameters

    • array1: Field[]

      first Array of Fields

    • array2: Field[]

      second Array of Fields

    • attr: string = "value"

      Attribute to compare

    Returns boolean

Generated using TypeDoc