Spaces:
Runtime error
Runtime error
jens
commited on
Commit
·
85003e7
1
Parent(s):
13461b6
mask reconstruct
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ with block:
|
|
| 116 |
def on_depth_reconstruction_btn_click(inputs):
|
| 117 |
print("depth reconstruction")
|
| 118 |
image = inputs[raw_image]
|
| 119 |
-
path = dpt.
|
| 120 |
return {pcl_figure: path}
|
| 121 |
depth_reconstruction_btn.click(on_depth_reconstruction_btn_click, components, [pcl_figure], queue=False)
|
| 122 |
|
|
|
|
| 116 |
def on_depth_reconstruction_btn_click(inputs):
|
| 117 |
print("depth reconstruction")
|
| 118 |
image = inputs[raw_image]
|
| 119 |
+
path = dpt.generate_obj_masks(image=image, n_samples=inputs[n_samples], cube_size=inputs[cube_size], masks=inputs[masks])
|
| 120 |
return {pcl_figure: path}
|
| 121 |
depth_reconstruction_btn.click(on_depth_reconstruction_btn_click, components, [pcl_figure], queue=False)
|
| 122 |
|