Spaces:
Running
on
Zero
Running
on
Zero
Borg93
commited on
Commit
·
8298d29
1
Parent(s):
0b8de4d
Update visualizer.py
Browse files- app/tabs/visualizer.py +1 -4
app/tabs/visualizer.py
CHANGED
@@ -45,10 +45,7 @@ def load_visualize_state_from_submit2_serial(col: Collection, progress):
|
|
45 |
|
46 |
annotated_image = draw_polygons(
|
47 |
image=page_image,
|
48 |
-
polygons=line_polygons
|
49 |
-
color=Colors.BLUE,
|
50 |
-
thickness=3,
|
51 |
-
alpha=0.2
|
52 |
)
|
53 |
annotated_page_node = np.clip(annotated_image, 0, 255).astype(np.uint8)
|
54 |
|
|
|
45 |
|
46 |
annotated_image = draw_polygons(
|
47 |
image=page_image,
|
48 |
+
polygons=line_polygons
|
|
|
|
|
|
|
49 |
)
|
50 |
annotated_page_node = np.clip(annotated_image, 0, 255).astype(np.uint8)
|
51 |
|