Spaces:
Runtime error
Runtime error
Gaurav
commited on
Commit
•
6f064e7
1
Parent(s):
9793179
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,10 @@ def visualize_instance_seg_mask(mask):
|
|
34 |
other.append([i,j])
|
35 |
|
36 |
image[i, j, :] = label2color[mask[i, j]]
|
37 |
-
|
|
|
|
|
|
|
38 |
image = image / 255
|
39 |
return image
|
40 |
|
|
|
34 |
other.append([i,j])
|
35 |
|
36 |
image[i, j, :] = label2color[mask[i, j]]
|
37 |
+
|
38 |
+
import numpy as np
|
39 |
+
window_vertices = np.array([[x, 0, -y] for x, y in window])
|
40 |
+
print(window_vertices)
|
41 |
image = image / 255
|
42 |
return image
|
43 |
|