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
- (::Google::Cloud::VideoIntelligence::V1::NormalizedVertex) — The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.
#point=
def point=(value) -> ::Google::Cloud::VideoIntelligence::V1::NormalizedVertex Parameter
- value (::Google::Cloud::VideoIntelligence::V1::NormalizedVertex) — The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.
Returns
- (::Google::Cloud::VideoIntelligence::V1::NormalizedVertex) — The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.