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

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
  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
 
 
210
  y = int(p0[1])
211
  w = int(p2[0]) - int(x)
212
  h = int(p2[1]) - int(y)
213
+ kernel = np.ones((3, 3), 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