Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::DetectedAttribute (v0.7.0)

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

A generic detected attribute represented by name in string format.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — Detected attribute confidence. Range [0, 1].

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — Detected attribute confidence. Range [0, 1].
Returns
  • (::Float) — Detected attribute confidence. Range [0, 1].

#name

def name() -> ::String
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.

#name=

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

#value

def value() -> ::String
Returns
  • (::String) — Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.

#value=

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