use unregistered input

This commit is contained in:
2023-01-23 12:29:10 +00:00
parent ab78dab165
commit a0f3e95255
4 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ def plot3d_with_mesh(depth, mesh, info, root_dist, scale, mask, root_joint_pixel
return out
pc = cameras.unproject_points(depth)
# pc = cameras.unproject_points(depth)
mask = restore(mask[:,None,:,:], scale, root_joint_pixel).to(torch.bool)
depth = restore(depth, scale, root_joint_pixel, root_dist) * mask
pc = kornia.geometry.depth.depth_to_3d(depth, K, normalize_points=True)