This commit is contained in:
lllyasviel 2023-11-11 22:40:21 -08:00
parent 2bef62c545
commit 20979fcd1b
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import facexlib.utils.face_restoration_helper as face_restoration_helper
faceRestoreHelper = None
def align_warp_face(self, landmark, border_mode='reflect'):
def align_warp_face(self, landmark, border_mode='constant'):
affine_matrix = cv2.estimateAffinePartial2D(landmark, self.face_template, method=cv2.LMEDS)[0]
self.affine_matrices.append(affine_matrix)
if border_mode == 'constant':

View File

@ -1 +1 @@
version = '2.1.790'
version = '2.1.791'