update nrm
This commit is contained in:
parent
e25f7b3334
commit
c55a398b6d
@ -23,9 +23,9 @@ def save_target_points(root, scene, frame_idx, target_points: np.ndarray, file_t
|
|||||||
save_np_pts(pts_path, target_points, file_type)
|
save_np_pts(pts_path, target_points, file_type)
|
||||||
|
|
||||||
def save_target_normals(root, scene, frame_idx, target_normals: np.ndarray, file_type="txt"):
|
def save_target_normals(root, scene, frame_idx, target_normals: np.ndarray, file_type="txt"):
|
||||||
pts_path = os.path.join(root,scene, "normals", f"{frame_idx}.{file_type}")
|
pts_path = os.path.join(root,scene, "nrm", f"{frame_idx}.{file_type}")
|
||||||
if not os.path.exists(os.path.join(root,scene, "normals")):
|
if not os.path.exists(os.path.join(root,scene, "nrm")):
|
||||||
os.makedirs(os.path.join(root,scene, "normals"))
|
os.makedirs(os.path.join(root,scene, "nrm"))
|
||||||
save_np_pts(pts_path, target_normals, file_type)
|
save_np_pts(pts_path, target_normals, file_type)
|
||||||
|
|
||||||
def save_scan_points_indices(root, scene, frame_idx, scan_points_indices: np.ndarray, file_type="txt"):
|
def save_scan_points_indices(root, scene, frame_idx, scan_points_indices: np.ndarray, file_type="txt"):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user