Closed aseembehl closed 6 years ago
Thanks, fix in d24c3ee.
Isn't (x,y,z) the center of the bounding box?
yes (x,y,z) is the bounding box center in the paper. The paper sets the anchor z to -1 m. However, in this implementation the __C.ANCHOR_Z = -1.0 - cfg.ANCHOR_H/2 which means the anchor is at bottom.
Hope that answers your question!
Hello, thanks for your answer. But since z is the vertical axis, shouldn't we correct z axis rather than y ?
That is because the function `corner_to_center_box3d' operates in the camera coordinate system where the y axis is the up axis.
It makes sense. Thanks for your swift reply.
Follwing Line 230 in utils.py
x, y, z = np.sum(roi, axis=0) / 8
should be replaced with the follwoingThis makes sure that the x,y, z is the location of the bottom center of the bounding box.