Change blur settings

This commit is contained in:
leccelecce 2024-12-23 18:07:12 +00:00
parent 6a05e791c8
commit 96de78c5ea

View File

@ -83,12 +83,12 @@ class GenAIClient:
for x, y, w, h in face_data: for x, y, w, h in face_data:
roi = image[y : y + h, x : x + w] roi = image[y : y + h, x : x + w]
roi = cv2.GaussianBlur(roi, (23, 23), 30) roi = cv2.blur(roi, (30, 30), 0)
image[y : y + h, x : x + w] = roi image[y : y + h, x : x + w] = roi
for x, y, w, h in face_profile_data: for x, y, w, h in face_profile_data:
roi = image[y : y + h, x : x + w] roi = image[y : y + h, x : x + w]
roi = cv2.GaussianBlur(roi, (23, 23), 30) roi = cv2.blur(roi, (30, 30), 0)
image[y : y + h, x : x + w] = roi image[y : y + h, x : x + w] = roi