Bugfix: Wrong default T in SfMCameras

Summary: Fixes a bug that initializes default SfMCameras with a default _R instead of default _T

Reviewed By: gkioxari

Differential Revision: D23654583

fbshipit-source-id: ccfb7235b2fb6df5a2e402b9fb4b194e97d78dc6
This commit is contained in:
David Novotny 2020-09-11 15:10:54 -07:00 committed by Facebook GitHub Bot
parent f2eb34dc7a
commit dc40adfa24

View File

@ -688,7 +688,7 @@ we assume the parameters are in screen space.
def SfMPerspectiveCameras(
focal_length=1.0, principal_point=((0.0, 0.0),), R=_R, T=_R, device="cpu"
focal_length=1.0, principal_point=((0.0, 0.0),), R=_R, T=_T, device="cpu"
):
"""
SfMPerspectiveCameras has been DEPRECATED. Use PerspectiveCameras instead.