Structure containing recognized word text and bounds.

Hierarchy (view full)

Constructors

Properties

boundingRect: Rectangle

Bounding rectangle of the recognized word.

recognitionConfidence: number

Confidence of the recognition.

Default is 0.0

text: string

Recognized word text.

Methods

  • Parameters

    Returns {
        boundingRect?: {
            height?: number;
            width?: number;
            x?: number;
            y?: number;
        };
        recognitionConfidence?: number;
        text?: string;
        serialize?: any;
    }

    • Optional Readonly boundingRect?: {
          height?: number;
          width?: number;
          x?: number;
          y?: number;
      }

      Bounding rectangle of the recognized word.

      • Optional height?: number
      • Optional width?: number
      • Optional x?: number
      • Optional y?: number
    • Optional Readonly recognitionConfidence?: number

      Confidence of the recognition.

      Default is 0.0

    • Optional Readonly text?: string

      Recognized word text.