Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -208,9 +208,7 @@ def blur_im(img,bounds):
|
|
208 |
y = int(p0[1])
|
209 |
w = int(p2[0]) - int(x)
|
210 |
h = int(p2[1]) - int(y)
|
211 |
-
|
212 |
-
p2 = (int(p2[0]),int(p2[1]))
|
213 |
-
im[y:y+h, x:x+w] = cv2.GaussianBlur(im[y:y+h, x:x+w],(51,51),0)
|
214 |
|
215 |
return im
|
216 |
|
|
|
208 |
y = int(p0[1])
|
209 |
w = int(p2[0]) - int(x)
|
210 |
h = int(p2[1]) - int(y)
|
211 |
+
im[y:y+h, x:x+w] = cv2.GaussianBlur(im[y:y+h, x:x+w],(91,91),0)
|
|
|
|
|
212 |
|
213 |
return im
|
214 |
|