Interface OcrConfig.PremiumFeaturesOrBuilder (2.40.0)

public static interface OcrConfig.PremiumFeaturesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComputeStyleInfo()

public abstract boolean getComputeStyleInfo()

Turn on font identification model and return font style information.

bool compute_style_info = 4;

Returns
TypeDescription
boolean

The computeStyleInfo.

getEnableMathOcr()

public abstract boolean getEnableMathOcr()

Turn on the model that can extract LaTeX math formulas.

bool enable_math_ocr = 5;

Returns
TypeDescription
boolean

The enableMathOcr.

getEnableSelectionMarkDetection()

public abstract boolean getEnableSelectionMarkDetection()

Turn on selection mark detector in OCR engine. Only available in OCR 2.0 (and later) processors.

bool enable_selection_mark_detection = 3;

Returns
TypeDescription
boolean

The enableSelectionMarkDetection.