Class: Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig
- Inherits:
-
Object
- Object
- Google::Cloud::VideoIntelligence::V1p3beta1::TextDetectionConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/videointelligence/v1p3beta1/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.
225 226 227 228 |
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 225 class TextDetectionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#model ⇒ ::String
Returns Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
225 226 227 228 |
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 225 class TextDetectionConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |