Class TextDetectionConfig (2.7.1)

TextDetectionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Config for TEXT_DETECTION.

Attributes

NameDescription
language_hints Sequence[str]
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.
model str
Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

Inheritance

builtins.object > proto.message.Message > TextDetectionConfig