Spaces:
Running
on
Zero
Running
on
Zero
Update app_recon.py
Browse files- app_recon.py +1 -1
app_recon.py
CHANGED
@@ -181,7 +181,7 @@ def reconstruction(image, files):
|
|
181 |
_, surface, _, _, _ = bilateral_normal_integration_function(normal_np, mask_output_temp, k=2, K=None, max_iter=100, tol=1e-4, cg_max_iter=5000, cg_tol=1e-3)
|
182 |
ply_path = os.path.join(dir_name, f"{name_base}_recon.ply")
|
183 |
surface.save(ply_path, binary=False)
|
184 |
-
return
|
185 |
|
186 |
def run_demo():
|
187 |
|
|
|
181 |
_, surface, _, _, _ = bilateral_normal_integration_function(normal_np, mask_output_temp, k=2, K=None, max_iter=100, tol=1e-4, cg_max_iter=5000, cg_tol=1e-3)
|
182 |
ply_path = os.path.join(dir_name, f"{name_base}_recon.ply")
|
183 |
surface.save(ply_path, binary=False)
|
184 |
+
return ply_path, masked_image
|
185 |
|
186 |
def run_demo():
|
187 |
|