Class: Google::Cloud::VideoIntelligence::V1::TextDetectionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1::TextDetectionConfig
- Defined in:
- lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb
Overview
Config for TEXT_DETECTION.
Instance Attribute Summary collapse
-
#language_hints ⇒ Array<String>
Language hint can be specified if the language to be detected is known a priori.
-
#model ⇒ String
Model to use for text detection.
Instance Attribute Details
#language_hints ⇒ Array<String>
Returns 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.
170 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 170 class TextDetectionConfig; end |
#model ⇒ String
Returns Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
170 |
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 170 class TextDetectionConfig; end |