Structure containing recognized word text and bounds.

Constructors

  • Parameters

    • Optional source: DeepPartial<WordBox>

    Returns WordBox

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?: Rectangle;
        recognitionConfidence?: number;
        text?: string;
        serialize?(config?): { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
    }

    • Optional Readonly boundingRect?: Rectangle

      Bounding rectangle of the recognized word.

    • Optional Readonly recognitionConfidence?: number

      Confidence of the recognition.

      Default is 0.0

    • Optional Readonly text?: string

      Recognized word text.

    • serialize?:function
      • Parameters

        Returns { readonly text?: string | undefined; readonly boundingRect?: Rectangle | undefined; readonly recognitionConfidence?: number | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }