capacitor-plugin-scanbot-sdk
    Preparing search index...

    Class Glyph

    Represents a single glyph, i.e. a character.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Parameters

      • Optionalsource: DeepPartial<Glyph>

      Returns Glyph

    Properties

    _type: "Glyph"
    confidence: number

    Text confidence. Range is [0-1].

    roi: Point[]

    Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.

    text: string

    The recognized text.

    Methods

    • Parameters

      Returns {
          _type?: "Glyph";
          confidence?: number;
          roi?: Point[];
          serialize?: (
              config?: ToJsonConfiguration,
          ) => { readonly _type?: "Glyph" | undefined; readonly text?: string | undefined; readonly confidence?: number | undefined; readonly roi?: Point[] | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; };
          text?: string;
      }

      • Optional Readonly_type?: "Glyph"
      • Optional Readonlyconfidence?: number

        Text confidence. Range is [0-1].

      • Optional Readonlyroi?: Point[]

        Quad where the text was found in image coordinates. The order of the points is clockwise starting from the top left.

      • Optionalserialize?: (
            config?: ToJsonConfiguration,
        ) => { readonly _type?: "Glyph" | undefined; readonly text?: string | undefined; readonly confidence?: number | undefined; readonly roi?: Point[] | undefined; serialize?: ((config?: ToJsonConfiguration | undefined) => ...) | undefined; }
      • Optional Readonlytext?: string

        The recognized text.