Commit
·
7cec736
1
Parent(s):
2742711
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ def segment(image):
|
|
21 |
|
22 |
for contour in contours:
|
23 |
contour = np.array(contour.cpu(), dtype=np.int32)
|
24 |
-
cv2.drawContours(segmented, [contour], -1, (
|
25 |
|
26 |
h, w, c = original.shape
|
27 |
gap = 60
|
|
|
21 |
|
22 |
for contour in contours:
|
23 |
contour = np.array(contour.cpu(), dtype=np.int32)
|
24 |
+
cv2.drawContours(segmented, [contour], -1, (255, 0, 0), 2)
|
25 |
|
26 |
h, w, c = original.shape
|
27 |
gap = 60
|