Omnibus commited on
Commit
1c4a081
Β·
1 Parent(s): b4b147f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -205,7 +205,10 @@ def blur_im(img,bounds):
205
  for bound in bounds:
206
  p0, p1, p2, p3 = bound[0]
207
  p0 = (int(p0[0]), int(p0[1]))
208
- p2 = (int(p2[0]), int(p2[1]))
 
 
 
209
  im[p0, p2] = cv2.blur(im[p0, p2] ,(23,23))
210
  return im
211
 
 
205
  for bound in bounds:
206
  p0, p1, p2, p3 = bound[0]
207
  p0 = (int(p0[0]), int(p0[1]))
208
+ p1 = (int(p1[0]), int(p1[1]))
209
+ p2 = (int(p2[0]), int(p2[1]))
210
+ p3 = (int(p3[0]), int(p3[1]))
211
+
212
  im[p0, p2] = cv2.blur(im[p0, p2] ,(23,23))
213
  return im
214