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

The OCR parsing configurations for documents.

Attributes

  • enhancedDocumentElements (type: list(String.t), default: nil) - [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.
  • 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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.