Spaces:
No application file
No application file
0152
Browse files
test.py
CHANGED
@@ -138,7 +138,7 @@ def morph_close(mask):
|
|
138 |
return Image.fromarray(closed_mask)
|
139 |
|
140 |
|
141 |
-
# opening ์ฐ์ฐ / fitting_mode๊ฐ standard ๋ loose ์ผ๋๋ง ์ฌ์ฉํ๊ธฐ
|
142 |
def morph_open(mask):
|
143 |
mask_np = np.array(mask)
|
144 |
kernel = np.ones((30, 30), np.uint8) # ์ปค์ง์๋ก ์ ์ฌ๋ผ์ง
|
|
|
138 |
return Image.fromarray(closed_mask)
|
139 |
|
140 |
|
141 |
+
# opening ์ฐ์ฐ / fitting_mode๊ฐ standard ๋ loose ์ผ๋๋ง ์ฌ์ฉํ๊ธฐ
|
142 |
def morph_open(mask):
|
143 |
mask_np = np.array(mask)
|
144 |
kernel = np.ones((30, 30), np.uint8) # ์ปค์ง์๋ก ์ ์ฌ๋ผ์ง
|