emilios commited on
Commit
5edc4e0
·
verified ·
1 Parent(s): 70551a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import numpy as np
6
 
7
  def inference(img):
8
  out = cv2.erode(img,(15,15))
9
- out = cv2.dilate(out,(15,15))
10
  # https://scikit-image.org/docs/dev/api/skimage.morphology.html#skimage.morphology.remove_small_objects
11
  # my_result = cv2.remove_small_objects(binarized.astype(bool), min_size=2, connectivity=2).astype(int)
12
 
 
6
 
7
  def inference(img):
8
  out = cv2.erode(img,(15,15))
9
+ out = cv2.dilate(out,(55,55))
10
  # https://scikit-image.org/docs/dev/api/skimage.morphology.html#skimage.morphology.remove_small_objects
11
  # my_result = cv2.remove_small_objects(binarized.astype(bool), min_size=2, connectivity=2).astype(int)
12