wenbowen123 / iros20-6d-pose-tracking

[IROS 2020] se(3)-TrackNet: Data-driven 6D Pose Tracking by Calibrating Image Residuals in Synthetic Domains
Other
388 stars 67 forks source link

Bounding box format #33

Closed DRM-Free closed 3 years ago

DRM-Free commented 3 years ago

Line 138 in predict.py , I found:

with_add = bounding_box / 100 * object_max_width
self.object_width = object_max_width + with_add

To me, it looks like object_width is supposed to be a single float. However, the bounding box is a two dimensional array (list of the 3D coordinates of the bounding box vertices) and the division makes no sense. Needless to say, with my current bounding box format, the code above won't run. What I am doing wrong ?

wenbowen123 commented 3 years ago

bounding_box is a numpy array, so the division still works.