From 8d0360e7f3f7fadf84c1ab7b43009f7a075e015c Mon Sep 17 00:00:00 2001 From: Ishaan Datta Date: Sat, 30 Nov 2024 19:08:41 -0800 Subject: [PATCH] temp utils change --- ros2_ws/src/python_workspace/python_workspace/scripts/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ros2_ws/src/python_workspace/python_workspace/scripts/utils.py b/ros2_ws/src/python_workspace/python_workspace/scripts/utils.py index a97dd45..9eec2ff 100644 --- a/ros2_ws/src/python_workspace/python_workspace/scripts/utils.py +++ b/ros2_ws/src/python_workspace/python_workspace/scripts/utils.py @@ -196,6 +196,8 @@ def verify_object(self, raw_image, bboxes, velocity=0): list of list of int: A list of adjusted bounding boxes that are within the shifted ROI. """ + return bboxes + velocity = int(velocity) roi_x1,roi_y1,roi_x2,roi_y2 = self.get_roi_coordinates(image=raw_image) shifted_roi_x1 = roi_x1 - velocity