Omnibus commited on
Commit
4b01ddd
β€’
1 Parent(s): 6a90472

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -210,7 +210,7 @@ def blur_im(img,bounds):
210
  w = int(p2[0]) - int(x)
211
  h = int(p2[1]) - int(y)
212
  kernel = np.ones((5, 5), np.uint8)
213
- im[y:y+h, x:x+w] = cv2.dilate(im[y:y+h, x:x+w], kernel, iterations=5)
214
 
215
  im[y:y+h, x:x+w] = cv2.GaussianBlur(im[y:y+h, x:x+w],(51,51),0)
216
 
 
210
  w = int(p2[0]) - int(x)
211
  h = int(p2[1]) - int(y)
212
  kernel = np.ones((5, 5), np.uint8)
213
+ im[y:y+h, x:x+w] = cv2.dilate(im[y:y+h, x:x+w], kernel, iterations=2)
214
 
215
  im[y:y+h, x:x+w] = cv2.GaussianBlur(im[y:y+h, x:x+w],(51,51),0)
216