DRosemei / RoMe

214 stars 26 forks source link

about `__opencv_camera2pytorch3d` in dataset/base.py #15

Closed yanjh97 closed 1 year ago

yanjh97 commented 1 year ago

Hi, thanks for your great work. I'm confused about this line, why does the rotation matrix need to be tranposed ? I think it's already for world2camera, which is exactly the input parameter (after times -1 for x, y axis) of PerspectiveCameras in Pytorch3D.

DRosemei commented 1 year ago

@yanjh97 You can refer here. We need to convert coordinate from opencv to pytorch3d.

yanjh97 commented 1 year ago

@DRosemei I got it, thanks!