Reference documentation and code samples for the Google Cloud Document Ai V1 Client class PremiumFeatures.
Configurations for premium OCR features.
Generated from protobuf message google.cloud.documentai.v1.OcrConfig.PremiumFeatures
Namespace
Google \ Cloud \ DocumentAI \ V1 \ OcrConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enable_selection_mark_detection
bool
Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.
↳ compute_style_info
bool
Turn on font identification model and return font style information.
↳ enable_math_ocr
bool
Turn on the model that can extract LaTeX math formulas.
getEnableSelectionMarkDetection
Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.
bool
setEnableSelectionMarkDetection
Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.
var
bool
$this
getComputeStyleInfo
Turn on font identification model and return font style information.
bool
setComputeStyleInfo
Turn on font identification model and return font style information.
var
bool
$this
getEnableMathOcr
Turn on the model that can extract LaTeX math formulas.
bool
setEnableMathOcr
Turn on the model that can extract LaTeX math formulas.
var
bool
$this