Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ def blur_im(img,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.GaussianBlur(im[p0, p2] ,(51,51))
|
210 |
#ROI = image[y:y+h, x:x+w]
|
211 |
#blur = cv2.GaussianBlur(ROI, (51,51), 0)
|
212 |
|
|
|
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.GaussianBlur(im[p0, p2] ,(51,51),0)
|
210 |
#ROI = image[y:y+h, x:x+w]
|
211 |
#blur = cv2.GaussianBlur(ROI, (51,51), 0)
|
212 |
|