Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert to kitti format #160

Open
Heiheicxx opened this issue Mar 14, 2022 · 3 comments
Open

convert to kitti format #160

Heiheicxx opened this issue Mar 14, 2022 · 3 comments

Comments

@Heiheicxx
Copy link

how to transform 3D-gt to kitti label?

@Heiheicxx
Copy link
Author

000000
box3d_annotation.initialize_box(size=box.dimensions,
quaternion=box.rotation,
center=box.center,
coordinate_system=CRS_V) #CRS_V

size_S, center_S, rotation_S = box3d_annotation.get_parameters(coordinate_system=CRS_S)

I get center_S by such code,and then dispaly used kitii tool but it seems the center_S is wrong

@ncgaehle
Copy link
Collaborator

Please check where the center of the Box ist. In Kitti it might be at the bottom side of the box, while Cityscapes might have the center at the actual center. Hence, the box seems to be shifted by height / 2.

@Heiheicxx
Copy link
Author

Please check where the center of the Box ist. In Kitti it might be at the bottom side of the box, while Cityscapes might have the center at the actual center. Hence, the box seems to be shifted by height / 2.

thanks! it works right!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants