Class: Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/annotations.rb
Overview
Boundingbox for detected object. I.e. the rectangle over the video frame pinpointing the found AnnotationSpec. The coordinates are relative to the frame size, and the point 0,0 is in the top left of the frame.
Instance Attribute Summary collapse
-
#x_max ⇒ ::Float
The rightmost coordinate of the bounding box.
-
#x_min ⇒ ::Float
The leftmost coordinate of the bounding box.
-
#y_max ⇒ ::Float
The bottommost coordinate of the bounding box.
-
#y_min ⇒ ::Float
The topmost coordinate of the bounding box.
Instance Attribute Details
#x_max ⇒ ::Float
Returns The rightmost coordinate of the bounding box.
347 348 349 350 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 347 class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#x_min ⇒ ::Float
Returns The leftmost coordinate of the bounding box.
347 348 349 350 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 347 class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#y_max ⇒ ::Float
Returns The bottommost coordinate of the bounding box.
347 348 349 350 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 347 class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#y_min ⇒ ::Float
Returns The topmost coordinate of the bounding box.
347 348 349 350 |
# File 'proto_docs/google/cloud/visionai/v1/annotations.rb', line 347 class BoundingBox include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |