Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::OcrConfig::PremiumFeatures (v0.33.1)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::OcrConfig::PremiumFeatures.

Configurations for premium OCR features.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#compute_style_info

def compute_style_info() -> ::Boolean
Returns
  • (::Boolean) — Turn on font identification model and return font style information.

#compute_style_info=

def compute_style_info=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Turn on font identification model and return font style information.
Returns
  • (::Boolean) — Turn on font identification model and return font style information.

#enable_math_ocr

def enable_math_ocr() -> ::Boolean
Returns
  • (::Boolean) — Turn on the model that can extract LaTeX math formulas.

#enable_math_ocr=

def enable_math_ocr=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Turn on the model that can extract LaTeX math formulas.
Returns
  • (::Boolean) — Turn on the model that can extract LaTeX math formulas.

#enable_selection_mark_detection

def enable_selection_mark_detection() -> ::Boolean
Returns
  • (::Boolean) — Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.

#enable_selection_mark_detection=

def enable_selection_mark_detection=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.
Returns
  • (::Boolean) — Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.