Update colors.
Browse files
app.py
CHANGED
@@ -30,11 +30,8 @@ def create_process_fn(
|
|
30 |
x = rect[0] + rect[2] // 2
|
31 |
y = rect[1] + rect[3] // 2
|
32 |
|
33 |
-
|
34 |
-
cv2.
|
35 |
-
cv2.line(image, (x + size, y - size), (x - size, y + size), (20, 20, 20), 2, cv2.LINE_AA)
|
36 |
-
cv2.line(image, (x - size, y - size), (x + size, y + size), (240, 24, 0), 1, cv2.LINE_AA)
|
37 |
-
cv2.line(image, (x + size, y - size), (x - size, y + size), (240, 24, 0), 1, cv2.LINE_AA)
|
38 |
|
39 |
return image
|
40 |
|
|
|
30 |
x = rect[0] + rect[2] // 2
|
31 |
y = rect[1] + rect[3] // 2
|
32 |
|
33 |
+
cv2.circle(image, (x, y), size, (252, 15, 192), -1, cv2.LINE_AA)
|
34 |
+
cv2.circle(image, (x, y), size // 2, (55, 247, 19), -1, cv2.LINE_AA)
|
|
|
|
|
|
|
35 |
|
36 |
return image
|
37 |
|