Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::TextDetectionConfig (v0.12.0)

Reference documentation and code samples for the Cloud Video Intelligence V1 API class Google::Cloud::VideoIntelligence::V1::TextDetectionConfig.

Config for TEXT_DETECTION.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#language_hints

def language_hints() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#language_hints=

def language_hints=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.

Returns
  • (::Array<::String>) — 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

def model() -> ::String
Returns
  • (::String) — Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".

#model=

def model=(value) -> ::String
Parameter
  • value (::String) — Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".
Returns
  • (::String) — Model to use for text detection. Supported values: "builtin/stable" (the default if unset) and "builtin/latest".