Gaurav commited on
Commit
7344dd2
1 Parent(s): 71414d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ def visualize_instance_seg_mask(mask):
36
 
37
  image[i, j, :] = label2color[mask[i, j]]
38
 
39
- window_vertices = np.array([[x, 0, -y] for x, y in floor])
40
  unique_vertices, indices = np.unique(window_vertices, axis=0, return_inverse=True)
41
 
42
  # Perform Delaunay triangulation
 
36
 
37
  image[i, j, :] = label2color[mask[i, j]]
38
 
39
+ window_vertices = np.array([[x, -y,0] for x, y in floor])
40
  unique_vertices, indices = np.unique(window_vertices, axis=0, return_inverse=True)
41
 
42
  # Perform Delaunay triangulation