Class: Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb

Overview

The OCR parsing configurations for documents.

Instance Attribute Summary collapse

Instance Attribute Details

#enhanced_document_elements::Array<::String>

Deprecated.

This field is deprecated and may be removed in the next major version update.

Returns [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.

Returns:

  • (::Array<::String>)

    [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.



123
124
125
126
# File 'proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb', line 123

class OcrParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#use_native_text::Boolean

Returns If true, will use native text instead of OCR text on pages containing native text.

Returns:

  • (::Boolean)

    If true, will use native text instead of OCR text on pages containing native text.



123
124
125
126
# File 'proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb', line 123

class OcrParsingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end