View Source GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1OcrConfigPremiumFeatures (google_api_document_ai v0.39.0)

Configurations for premium OCR features.

Attributes

  • computeStyleInfo (type: boolean(), default: nil) - Turn on font identification model and return font style information.
  • enableMathOcr (type: boolean(), default: nil) - Turn on the model that can extract LaTeX math formulas.
  • enableSelectionMarkDetection (type: boolean(), default: nil) - Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1.Model.GoogleCloudDocumentaiV1OcrConfigPremiumFeatures{
    computeStyleInfo: boolean() | nil,
    enableMathOcr: boolean() | nil,
    enableSelectionMarkDetection: boolean() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.