View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig (google_api_discovery_engine v0.7.0)

The OCR parsing configurations for documents.

Attributes

  • enhancedDocumentElements (type: list(String.t), default: nil) - Apply additional enhanced OCR processing to a list of document elements. Supported values: * table: advanced table parsing model.
  • useNativeText (type: boolean(), default: nil) - If true, will use native text instead of OCR text on pages containing native text.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig{
    enhancedDocumentElements: [String.t()] | nil,
    useNativeText: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.