amirgame197 commited on
Commit
3d05a69
1 Parent(s): 5ea7bb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def circular_blur(image_path, detections, parts_to_blur):
15
 
16
  mask = np.zeros_like(image)
17
  cv2.circle(mask, (center_x, center_y), radius, (255, 255, 255), -1)
18
- blurred_image = cv2.GaussianBlur(image, (100, 100), 30)
19
  image = np.where(mask == 255, blurred_image, image)
20
 
21
  blurred_image_path = 'blurred_' + image_path.split('/')[-1]
 
15
 
16
  mask = np.zeros_like(image)
17
  cv2.circle(mask, (center_x, center_y), radius, (255, 255, 255), -1)
18
+ blurred_image = cv2.GaussianBlur(image, (51, 51), 50)
19
  image = np.where(mask == 255, blurred_image, image)
20
 
21
  blurred_image_path = 'blurred_' + image_path.split('/')[-1]