Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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((
|
| 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 |
|