Spaces:
Sleeping
Sleeping
AI-RESEARCHER-2024
commited on
Commit
•
e95827f
1
Parent(s):
b5ec963
Update app.py
Browse files
app.py
CHANGED
@@ -108,7 +108,7 @@ class ImageProcessor:
|
|
108 |
|
109 |
# Make a writable copy of the image
|
110 |
img_writable = self.convert_rgb(img).copy()
|
111 |
-
output = cv2.drawContours(img_writable, cnts, -1, (255, 0, 0),
|
112 |
return Image.fromarray(output)
|
113 |
|
114 |
def convert_one_channel(self, img):
|
|
|
108 |
|
109 |
# Make a writable copy of the image
|
110 |
img_writable = self.convert_rgb(img).copy()
|
111 |
+
output = cv2.drawContours(img_writable, cnts, -1, (255, 0, 0), 1)
|
112 |
return Image.fromarray(output)
|
113 |
|
114 |
def convert_one_channel(self, img):
|