🐛 bug fix
This commit is contained in:
parent
851c2e42a3
commit
394fbb1ba8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ def normalize_cam_dict(in_cam_dict_file, out_cam_dict_file, target_radius=1., in
|
||||||
geometry_norm = geometry.transform(tf)
|
geometry_norm = geometry.transform(tf)
|
||||||
o3d.io.write_triangle_mesh(out_geometry_file, geometry_norm)
|
o3d.io.write_triangle_mesh(out_geometry_file, geometry_norm)
|
||||||
|
|
||||||
mesh_norm = mesh.transform(tf)
|
#mesh_norm = mesh.transform(tf)
|
||||||
def transform_pose(W2C, translate, scale):
|
def transform_pose(W2C, translate, scale):
|
||||||
C2W = np.linalg.inv(W2C)
|
C2W = np.linalg.inv(W2C)
|
||||||
cam_center = C2W[:3, 3]
|
cam_center = C2W[:3, 3]
|
||||||
|
|
Loading…
Reference in a new issue