Skip to content

Commit

Permalink
change useless function name
Browse files Browse the repository at this point in the history
  • Loading branch information
safijari committed Apr 12, 2020
1 parent 0edc388 commit c063093
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c063093

Please sign in to comment.