More blurred
This commit is contained in:
1 parent
520d227ad3
commit
432c2374af
1 file changed
+1
-1
@@ -31,7 +31,7 @@ try:
|
|||||||
confidence = float(weights[i])
|
confidence = float(weights[i])
|
||||||
if (confidence > treashold):
|
if (confidence > treashold):
|
||||||
face_roi = img[y:y+h, x:x+w]
|
face_roi = img[y:y+h, x:x+w]
|
||||||
blurred_face = cv2.GaussianBlur(face_roi, (99, 99), 20)
|
blurred_face = cv2.GaussianBlur(face_roi, (99, 99), 50)
|
||||||
img[y:y+h, x:x+w] = blurred_face
|
img[y:y+h, x:x+w] = blurred_face
|
||||||
|
|
||||||
print(weights[i])
|
print(weights[i])
|
||||||
|
|||||||
Reference in new issue
Block a user