diff --git a/facefusion/face_helper.py b/facefusion/face_helper.py index 090c02cd..9218fdb0 100644 --- a/facefusion/face_helper.py +++ b/facefusion/face_helper.py @@ -33,21 +33,13 @@ WARP_TEMPLATES : WarpTemplateSet =\ [ 0.38710391, 0.72160547 ], [ 0.61507734, 0.72034453 ] ]), - 'dfl_head': numpy.array( - [ - [ 0.39062554, 0.59114583 ], - [ 0.60481776, 0.58951825 ], - [ 0.49414062, 0.70898442 ], - [ 0.41796875, 0.82031255 ], - [ 0.58007813, 0.82031255 ] - ]), 'dfl_whole_face': numpy.array( [ - [ 0.36816406, 0.40429688 ], - [ 0.62565106, 0.40071616 ], - [ 0.49023438, 0.54296875 ], - [ 0.39843755, 0.68554699 ], - [ 0.59375543, 0.68554699 ] + [ 0.35342266, 0.39285716 ], + [ 0.62797622, 0.39285716 ], + [ 0.48660713, 0.54017860 ], + [ 0.38839287, 0.68750011 ], + [ 0.59821427, 0.68750011 ] ]), 'ffhq_512': numpy.array( [ diff --git a/facefusion/typing.py b/facefusion/typing.py index 1aa664df..b61d7a5b 100755 --- a/facefusion/typing.py +++ b/facefusion/typing.py @@ -85,7 +85,7 @@ ProcessStep = Callable[[str, int, Args], bool] Content = Dict[str, Any] -WarpTemplate = Literal['arcface_112_v1', 'arcface_112_v2', 'arcface_128_v2', 'dfl_head', 'dfl_whole_face', 'ffhq_512', 'mtcnn_512', 'styleganex_384'] +WarpTemplate = Literal['arcface_112_v1', 'arcface_112_v2', 'arcface_128_v2', 'dfl_whole_face', 'ffhq_512', 'mtcnn_512', 'styleganex_384'] WarpTemplateSet = Dict[WarpTemplate, NDArray[Any]] ProcessMode = Literal['output', 'preview', 'stream']