nev commited on
Commit
03ca925
·
1 Parent(s): b83f529
Files changed (1) hide show
  1. app.py +1 -1
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 < 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,
 
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,