Skip to content

Commit

Permalink
Fixed minor type conversion typo in bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
tsampazk authored Aug 24, 2022
1 parent 0558748 commit 4c680cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c680cc

Please sign in to comment.