Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ if uploaded_image:
|
|
84 |
mask = (label_map == i).astype(np.uint8)
|
85 |
x, y, w, h = cv2.boundingRect(contours[i-1])
|
86 |
org = (x, y)
|
87 |
-
color = (
|
88 |
thickness = 2
|
89 |
cv2.putText(blended_img, str(i), org, font, 1, color, thickness, cv2.LINE_AA)
|
90 |
|
|
|
84 |
mask = (label_map == i).astype(np.uint8)
|
85 |
x, y, w, h = cv2.boundingRect(contours[i-1])
|
86 |
org = (x, y)
|
87 |
+
color = (255, 0, 0) # Blue color
|
88 |
thickness = 2
|
89 |
cv2.putText(blended_img, str(i), org, font, 1, color, thickness, cv2.LINE_AA)
|
90 |
|