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> Returns 
 -  (::Array<::String>) — [DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.
#enhanced_document_elements=
def enhanced_document_elements=(value) -> ::Array<::String> Parameter 
 -  value (::Array<::String>) — [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.
#use_native_text
def use_native_text() -> ::Boolean Returns 
 - (::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 Parameter 
 - value (::Boolean) — 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.