public interface TextDetectionConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getLanguageHints(int index)
Language hint can be specified if the language to be detected is known a
priori.
|
com.google.protobuf.ByteString |
getLanguageHintsBytes(int index)
Language hint can be specified if the language to be detected is known a
priori.
|
int |
getLanguageHintsCount()
Language hint can be specified if the language to be detected is known a
priori.
|
List<String> |
getLanguageHintsList()
Language hint can be specified if the language to be detected is known a
priori.
|
String |
getModel()
Model to use for text detection.
|
com.google.protobuf.ByteString |
getModelBytes()
Model to use for text detection.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getLanguageHintsList()
Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;int getLanguageHintsCount()
Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;String getLanguageHints(int index)
Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;index - The index of the element to return.com.google.protobuf.ByteString getLanguageHintsBytes(int index)
Language hint can be specified if the language to be detected is known a priori. It can increase the accuracy of the detection. Language hint must be language code in BCP-47 format. Automatic language detection is performed if no hint is provided.
repeated string language_hints = 1;index - The index of the value to return.String getModel()
Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 2;com.google.protobuf.ByteString getModelBytes()
Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string model = 2;Copyright © 2024 Google LLC. All rights reserved.