HaohaoNJU/CenterPoint

w, l, h order is incorrect

irmuun20 opened this issue · 1 comments

Wouldn't you change ordering of width, length, height in the following:

box.l = host_boxes[i + 3 * boxSizeAft];

to:

            box.w = host_boxes[i +  3 * boxSizeAft];    // dx
            box.l = host_boxes[i + 4 * boxSizeAft];     // dy
            box.h = host_boxes[i + 5 * boxSizeAft];     // dz

I used open3d to display boxes and found out the ordering of your model output is incorrect

point = [x, y, z]
extent = [w, l, h]     # extent in x, y and z direction
box3d = o3d.geometry.OrientedBoundingBox(point, rotation_matrix, extent)