Reference documentation and code samples for the Cloud Video Intelligence V1 Client class TextDetectionConfig.
Config for TEXT_DETECTION.
Generated from protobuf message google.cloud.videointelligence.v1.TextDetectionConfig
Namespace
Google \ Cloud \ VideoIntelligence \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ language_hints
array
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
string
Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
getLanguageHints
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.
setLanguageHints
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.
var
string[]
$this
getModel
Model to use for text detection.
Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
string
setModel
Model to use for text detection.
Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
var
string
$this