rope3d-dataset-tools icon indicating copy to clipboard operation
rope3d-dataset-tools copied to clipboard

bugs in rotation matrix with ground plane equation

Open florinshen opened this issue 2 years ago • 2 comments

https://github.com/liyingying0113/rope3d-dataset-tools/blob/f772b2ca83601cb80d95894dcb1aa75e9a520737/show_tools/show_2d3d_box.py#L134

Denoting the ground-plane as ax + by + cz + d = 0, a rotation matrix can be derived from this ground plane. But the rotation matrix in this version only considers b and c, a is ignored. So that the camera rotation round the z axis cannot be calibrated in visualization.

florinshen avatar Jun 22 '22 19:06 florinshen

Example

florinshen avatar Jun 22 '22 19:06 florinshen

I have created a merge request to fix this bug.

florinshen avatar Jun 23 '22 05:06 florinshen