trying
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def get_depth(rgb):
|
|
25 |
positions[:, :-1] *= positions[:, -1:]
|
26 |
positions[:, :2] *= -1
|
27 |
|
28 |
-
pick_edges = depth
|
29 |
y, x = (t.flatten() for t in np.mgrid[0:h, 0:w])
|
30 |
faces = np.concatenate((
|
31 |
np.stack((y * w + x,
|
|
|
25 |
positions[:, :-1] *= positions[:, -1:]
|
26 |
positions[:, :2] *= -1
|
27 |
|
28 |
+
pick_edges = depth > 0
|
29 |
y, x = (t.flatten() for t in np.mgrid[0:h, 0:w])
|
30 |
faces = np.concatenate((
|
31 |
np.stack((y * w + x,
|