Class: Google::Cloud::VideoIntelligence::V1p3beta1::NormalizedVertex

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 vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

Instance Attribute Summary collapse

Instance Attribute Details

#x::Float

Returns X coordinate.

Returns:

  • (::Float)

    X coordinate.



782
783
784
785
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 782

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

#y::Float

Returns Y coordinate.

Returns:

  • (::Float)

    Y coordinate.



782
783
784
785
# File 'proto_docs/google/cloud/videointelligence/v1p3beta1/video_intelligence.rb', line 782

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