Class: Google::Cloud::VideoIntelligence::V1::DetectedLandmark

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#confidence::Float

Returns The confidence score of the detected landmark. Range [0, 1].

Returns:

  • (::Float)

    The confidence score of the detected landmark. Range [0, 1].



493
494
495
496
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 493

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

#name::String

Returns The name of this landmark, for example, left_hand, right_shoulder.

Returns:

  • (::String)

    The name of this landmark, for example, left_hand, right_shoulder.



493
494
495
496
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 493

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

#point::Google::Cloud::VideoIntelligence::V1::NormalizedVertex

Returns The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.

Returns:



493
494
495
496
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 493

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