From 4c680cc2ca6b87a2f8b7f741d48927fa5a98e56d Mon Sep 17 00:00:00 2001 From: Kostas Tsampazis <27914645+tsampazk@users.noreply.github.com> Date: Wed, 24 Aug 2022 13:42:47 +0300 Subject: [PATCH] Fixed minor type conversion typo in bridge --- projects/opendr_ws/src/ros_bridge/src/opendr_bridge/bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/opendr_ws/src/ros_bridge/src/opendr_bridge/bridge.py b/projects/opendr_ws/src/ros_bridge/src/opendr_bridge/bridge.py index ee205f5fad..641ac4f913 100755 --- a/projects/opendr_ws/src/ros_bridge/src/opendr_bridge/bridge.py +++ b/projects/opendr_ws/src/ros_bridge/src/opendr_bridge/bridge.py @@ -213,7 +213,7 @@ def to_ros_boxes(self, box_list): ros_box.bbox.center.y = box.top + box.height / 2. ros_box.bbox.size_x = box.width ros_box.bbox.size_y = box.height - ros_box.results[0].id = id(box.name) + ros_box.results[0].id = int(box.name) if box.confidence: ros_box.results[0].score = box.confidence ros_boxes.detections.append(ros_box)