From c0630934e0e17b82bd6c7a606fe3941168b44ff2 Mon Sep 17 00:00:00 2001 From: Jariullah Safi Date: Sun, 12 Apr 2020 10:53:23 -0700 Subject: [PATCH] change useless function name --- main.py | 4 ++-- mesh.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index d4272bd..3d18926 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,7 @@ import yaml import time import sys -from mesh import compute_ply, read_ply, output_3d_photo +from mesh import write_ply, read_ply, output_3d_photo from utils import get_MiDaS_samples, read_MiDaS_depth import torch import cv2 @@ -95,7 +95,7 @@ print(f"Writing depth ply (and basically doing everything) at {time.time()}") - rt_info = compute_ply(image, + rt_info = write_ply(image, depth, sample['int_mtx'], mesh_fi, diff --git a/mesh.py b/mesh.py index 68a7622..248af1b 100644 --- a/mesh.py +++ b/mesh.py @@ -1835,7 +1835,7 @@ def DL_inpaint_edge(mesh, return mesh, info_on_pix, specific_mask_nodes, new_edge_ccs, connnect_points_ccs, np_image -def compute_ply(image, +def write_ply(image, depth, int_mtx, ply_name,