Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -248,9 +248,9 @@ def get_mesh(image, depth, blur_data, loadall):
|
|
248 |
mesh = []
|
249 |
fnum = frame_selected
|
250 |
|
251 |
-
print(depth)
|
252 |
-
blur_img = blur_image(image[fnum][0], depth
|
253 |
-
gdepth = rgb2gray(depth
|
254 |
|
255 |
print('depth to gray - ok')
|
256 |
points = pano_depth_to_world_points(gdepth)
|
|
|
248 |
mesh = []
|
249 |
fnum = frame_selected
|
250 |
|
251 |
+
#print(depth["composite"])
|
252 |
+
blur_img = blur_image(image[fnum][0], depth["composite"], blur_data)
|
253 |
+
gdepth = rgb2gray(depth["composite"])
|
254 |
|
255 |
print('depth to gray - ok')
|
256 |
points = pano_depth_to_world_points(gdepth)
|