mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-23 09:17:38 +02:00
Fix naming and ordering
This commit is contained in:
@@ -377,8 +377,8 @@ def swap_face(source_face : Face, target_face : Face, temp_vision_frame : Vision
|
||||
pixel_boost_size = unpack_resolution(state_manager.get_item('face_swapper_pixel_boost'))
|
||||
pixel_boost_total = pixel_boost_size[0] // model_size[0]
|
||||
crop_vision_frame, affine_matrix = warp_face_by_face_landmark_5(temp_vision_frame, target_face.landmark_set.get('5/68'), model_template, pixel_boost_size)
|
||||
crop_masks = []
|
||||
temp_vision_frames = []
|
||||
crop_masks = []
|
||||
|
||||
if 'box' in state_manager.get_item('face_mask_types'):
|
||||
box_mask = create_static_box_mask(crop_vision_frame.shape[:2][::-1], state_manager.get_item('face_mask_blur'), state_manager.get_item('face_mask_padding'))
|
||||
|
||||
Reference in New Issue
Block a user