View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigOcrParsingConfig (google_api_discovery_engine v0.22.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.