Spaces:
Runtime error
Runtime error
Gaurav
commited on
Commit
•
9e0841e
1
Parent(s):
d2380b7
Update app.py
Browse files
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
|
40 |
# Perform Delaunay triangulation
|
41 |
tri = Delaunay(window_vertices[:, :2]) # Triangulate only based on x and y coordinates
|
42 |
|
|
|
36 |
|
37 |
image[i, j, :] = label2color[mask[i, j]]
|
38 |
|
39 |
+
window_vertices = np.array([[x, 0, -y] for x, y in floor])
|
40 |
# Perform Delaunay triangulation
|
41 |
tri = Delaunay(window_vertices[:, :2]) # Triangulate only based on x and y coordinates
|
42 |
|