Class: Google::Cloud::VideoIntelligence::V1beta2::NormalizedBoundingBox

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

Overview

Normalized bounding box. The normalized vertex coordinates are relative to the original image. Range: [0, 1].

Instance Attribute Summary collapse

Instance Attribute Details

#bottom::Float

Returns Bottom Y coordinate.

Returns:

  • (::Float)

    Bottom Y coordinate.



262
263
264
265
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 262

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

#left::Float

Returns Left X coordinate.

Returns:

  • (::Float)

    Left X coordinate.



262
263
264
265
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 262

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

#right::Float

Returns Right X coordinate.

Returns:

  • (::Float)

    Right X coordinate.



262
263
264
265
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 262

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

#top::Float

Returns Top Y coordinate.

Returns:

  • (::Float)

    Top Y coordinate.



262
263
264
265
# File 'proto_docs/google/cloud/videointelligence/v1beta2/video_intelligence.rb', line 262

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