Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox.
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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#x_max
defx_max()->::Float
Returns
(::Float) — The rightmost coordinate of the bounding box.
#x_max=
defx_max=(value)->::Float
Parameter
value (::Float) — The rightmost coordinate of the bounding box.
Returns
(::Float) — The rightmost coordinate of the bounding box.
#x_min
defx_min()->::Float
Returns
(::Float) — The leftmost coordinate of the bounding box.
#x_min=
defx_min=(value)->::Float
Parameter
value (::Float) — The leftmost coordinate of the bounding box.
Returns
(::Float) — The leftmost coordinate of the bounding box.
#y_max
defy_max()->::Float
Returns
(::Float) — The bottommost coordinate of the bounding box.
#y_max=
defy_max=(value)->::Float
Parameter
value (::Float) — The bottommost coordinate of the bounding box.
Returns
(::Float) — The bottommost coordinate of the bounding box.
#y_min
defy_min()->::Float
Returns
(::Float) — The topmost coordinate of the bounding box.
#y_min=
defy_min=(value)->::Float
Parameter
value (::Float) — The topmost coordinate of the bounding box.
Returns
(::Float) — The topmost coordinate of the bounding box.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox (v1.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.1 (latest)](/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox)\n- [1.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/1.1.0/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox)\n- [1.0.1](/ruby/docs/reference/google-cloud-vision_ai-v1/1.0.1/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox)\n- [0.4.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.4.0/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox)\n- [0.3.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.3.0/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox)\n- [0.2.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.2.0/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox)\n- [0.1.0](/ruby/docs/reference/google-cloud-vision_ai-v1/0.1.0/Google-Cloud-VisionAI-V1-VideoObjectTrackingPredictionResult-BoundingBox) \nReference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::VideoObjectTrackingPredictionResult::BoundingBox.\n\nBoundingbox for detected object. I.e. the rectangle over the video frame\npinpointing the found AnnotationSpec. The coordinates are relative to the\nframe size, and the point 0,0 is in the top left of the frame. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #x_max\n\n def x_max() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The rightmost coordinate of the bounding box.\n\n### #x_max=\n\n def x_max=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The rightmost coordinate of the bounding box. \n**Returns**\n\n- (::Float) --- The rightmost coordinate of the bounding box.\n\n### #x_min\n\n def x_min() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The leftmost coordinate of the bounding box.\n\n### #x_min=\n\n def x_min=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The leftmost coordinate of the bounding box. \n**Returns**\n\n- (::Float) --- The leftmost coordinate of the bounding box.\n\n### #y_max\n\n def y_max() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The bottommost coordinate of the bounding box.\n\n### #y_max=\n\n def y_max=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The bottommost coordinate of the bounding box. \n**Returns**\n\n- (::Float) --- The bottommost coordinate of the bounding box.\n\n### #y_min\n\n def y_min() -\u003e ::Float\n\n**Returns**\n\n- (::Float) --- The topmost coordinate of the bounding box.\n\n### #y_min=\n\n def y_min=(value) -\u003e ::Float\n\n**Parameter**\n\n- **value** (::Float) --- The topmost coordinate of the bounding box. \n**Returns**\n\n- (::Float) --- The topmost coordinate of the bounding box."]]