Cloud Video Intelligence V1 API - Class Google::Cloud::VideoIntelligence::V1::DetectedLandmark (v1.1.0)

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

A generic detected landmark represented by name in string format and a 2D location.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#confidence

def confidence() -> ::Float
Returns
  • (::Float) — The confidence score of the detected landmark. Range [0, 1].

#confidence=

def confidence=(value) -> ::Float
Parameter
  • value (::Float) — The confidence score of the detected landmark. Range [0, 1].
Returns
  • (::Float) — The confidence score of the detected landmark. Range [0, 1].

#name

def name() -> ::String
Returns
  • (::String) — The name of this landmark, for example, left_hand, right_shoulder.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of this landmark, for example, left_hand, right_shoulder.
Returns
  • (::String) — The name of this landmark, for example, left_hand, right_shoulder.

#point

def point() -> ::Google::Cloud::VideoIntelligence::V1::NormalizedVertex
Returns

#point=

def point=(value) -> ::Google::Cloud::VideoIntelligence::V1::NormalizedVertex
Parameter
Returns