Class: Google::Cloud::VideoIntelligence::V1::DetectedAttribute

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/video_intelligence/v1/doc/google/cloud/videointelligence/v1/video_intelligence.rb

Overview

A generic detected attribute represented by name in string format.

Instance Attribute Summary collapse

Instance Attribute Details

#confidenceFloat

Returns Detected attribute confidence. Range [0, 1].

Returns:

  • (Float)

    Detected attribute confidence. Range [0, 1].



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

class DetectedAttribute; end

#nameString

Returns The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc. A full list of supported type names will be provided in the document.

Returns:

  • (String)

    The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc. A full list of supported type names will be provided in the document.



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

class DetectedAttribute; end

#valueString

Returns Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.

Returns:

  • (String)

    Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.



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

class DetectedAttribute; end