Spaces:
Sleeping
Sleeping
change box outline color
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def annotation(image:ImageDraw, color_seg:np.array):
|
|
46 |
|
47 |
if (sub_square_seg.sum() > 100000):
|
48 |
print("light found at square ", x, y)
|
49 |
-
draw.rectangle([(x, y), (x + step_size, y + step_size)], outline=
|
50 |
|
51 |
def call(image): #nparray
|
52 |
|
|
|
46 |
|
47 |
if (sub_square_seg.sum() > 100000):
|
48 |
print("light found at square ", x, y)
|
49 |
+
draw.rectangle([(x, y), (x + step_size, y + step_size)], outline="white", width=3)
|
50 |
|
51 |
def call(image): #nparray
|
52 |
|