diff --git a/step1_1_manipulate_expression.py b/step1_1_manipulate_expression.py index c8100ad..086ece8 100755 --- a/step1_1_manipulate_expression.py +++ b/step1_1_manipulate_expression.py @@ -90,8 +90,6 @@ def face_recon(src_path, tgt_path, input_path, output_path, output, vis_path=Non # transfer target expression to source expression degree = degree/100 coeff[:, 80:144] = tgt_coeff[:, 80:144] * degree + coeff[:, 80:144] * (1-degree) - # transfer target illumination to source illumination - coeff[:, 227:254] = tgt_coeff[:, 227:254] * degree + tgt_coeff[:, 227:254]* (1-degree) # preprocess input image for depth recon net # reproject the reconstructed face to raw image with adjusted focal and center