Class: Google::Cloud::VideoIntelligence::V1::TextDetectionConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#language_hintsArray<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.

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.



170
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 170

class TextDetectionConfig; end

#modelString

Returns 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".



170
# File 'lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb', line 170

class TextDetectionConfig; end