-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In the following method:
def _construct_box_3d(self, l, h, w):
"""
Compute the coordinates of the vertices of a 3D bounding box in an
object coordinate system.
"""
x_corners = [0.5l, l, l, l, l, 0, 0, 0, 0]
y_corners = [0.5h, 0, h, 0, h, 0, h, 0, h]
z_corners = [0.5*w, w, w, 0, 0, w, w, 0, 0]
x_corners += - np.float32(l) / 2
y_corners += - np.float32(h)
z_corners += - np.float32(w) / 2
corners_3d = np.array([x_corners, y_corners, z_corners])
return corners_3d
Why x is calculated from l
and why z is calculated from w?
Shouldn't be the opposite?
Metadata
Metadata
Assignees
Labels
No labels