Spaces:
Running
Running
Commit
·
e55e336
1
Parent(s):
7071546
Updated utils
Browse files
utils.py
CHANGED
@@ -84,7 +84,7 @@ def apply_black_patch(frame, face_img, color=(0,0,0)):
|
|
84 |
frame[y1:y2, x1:x2] = color
|
85 |
return frame
|
86 |
|
87 |
-
def apply_gaussian_blur(frame, face_img, blur_factor=
|
88 |
"""Apply strong Gaussian blur to face region"""
|
89 |
if frame is None or not face_img:
|
90 |
return frame
|
|
|
84 |
frame[y1:y2, x1:x2] = color
|
85 |
return frame
|
86 |
|
87 |
+
def apply_gaussian_blur(frame, face_img, blur_factor=40):
|
88 |
"""Apply strong Gaussian blur to face region"""
|
89 |
if frame is None or not face_img:
|
90 |
return frame
|