Package com.google.cloud.documentai.v1
Interface OcrConfig.PremiumFeaturesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OcrConfig.PremiumFeatures,OcrConfig.PremiumFeatures.Builder
- Enclosing class:
- OcrConfig
public static interface OcrConfig.PremiumFeaturesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanTurn on font identification model and return font style information.booleanTurn on the model that can extract LaTeX math formulas.booleanTurn on selection mark detector in OCR engine.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnableSelectionMarkDetection
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:
- The enableSelectionMarkDetection.
-
getComputeStyleInfo
boolean getComputeStyleInfo()Turn on font identification model and return font style information.
bool compute_style_info = 4;- Returns:
- The computeStyleInfo.
-
getEnableMathOcr
boolean getEnableMathOcr()Turn on the model that can extract LaTeX math formulas.
bool enable_math_ocr = 5;- Returns:
- The enableMathOcr.
-