From 4e13ddd0e9922e6e83b5f76e6a78e6893a03bb6a Mon Sep 17 00:00:00 2001 From: harisreedhar Date: Tue, 9 Jun 2026 22:46:53 +0530 Subject: [PATCH] aggressive smoothing --- facefusion/processors/modules/face_debugger/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/facefusion/processors/modules/face_debugger/core.py b/facefusion/processors/modules/face_debugger/core.py index c875614f..ab0e84cb 100755 --- a/facefusion/processors/modules/face_debugger/core.py +++ b/facefusion/processors/modules/face_debugger/core.py @@ -129,8 +129,8 @@ def draw_face_stabilizer(face_key : str, temp_vision_frame : VisionFrame) -> Vis if face_stabilizer_trail: raw_points = (numpy.array([ raw_point for raw_point, _ in face_stabilizer_trail ]) * [ frame_width, frame_height ]).astype(numpy.int32) smoothed_points = (numpy.array([ smoothed_point for _, smoothed_point in face_stabilizer_trail ]) * [ frame_width, frame_height ]).astype(numpy.int32) - cv2.polylines(temp_vision_frame, [ raw_points ], False, raw_color, line_scale) - cv2.polylines(temp_vision_frame, [ smoothed_points ], False, smoothed_color, line_scale) + cv2.polylines(temp_vision_frame, [ raw_points ], False, raw_color, line_scale, cv2.LINE_AA) + cv2.polylines(temp_vision_frame, [ smoothed_points ], False, smoothed_color, line_scale, cv2.LINE_AA) return temp_vision_frame