Omnibus commited on
Commit
e60c513
β€’
1 Parent(s): d1c6573

Update app.py

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