Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig.
The OCR parsing configurations for documents.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#enhanced_document_elements
def enhanced_document_elements() -> ::Array<::String>
-
(::Array<::String>) —
Apply additional enhanced OCR processing to a list of document elements.
Supported values:
table
: advanced table parsing model.
#enhanced_document_elements=
def enhanced_document_elements=(value) -> ::Array<::String>
-
value (::Array<::String>) —
Apply additional enhanced OCR processing to a list of document elements.
Supported values:
table
: advanced table parsing model.
-
(::Array<::String>) —
Apply additional enhanced OCR processing to a list of document elements.
Supported values:
table
: advanced table parsing model.
#use_native_text
def use_native_text() -> ::Boolean
- (::Boolean) — If true, will use native text instead of OCR text on pages containing native text.
#use_native_text=
def use_native_text=(value) -> ::Boolean
- value (::Boolean) — If true, will use native text instead of OCR text on pages containing native text.
- (::Boolean) — If true, will use native text instead of OCR text on pages containing native text.