use unregistered input
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user