Class: Google::Cloud::VideoIntelligence::V1p3beta1::DetectedAttribute

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb

Overview

A generic detected attribute represented by name in string format.

Instance Attribute Summary collapse

Instance Attribute Details

#confidence::Float

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

Returns:

  • (::Float)

    Detected attribute confidence. Range [0, 1].



402
403
404
405
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 402

class DetectedAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

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

Returns:

  • (::String)

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



402
403
404
405
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 402

class DetectedAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#value::String

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.



402
403
404
405
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 402

class DetectedAttribute
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end