Skip to content

Commit

Permalink
target illumination effect deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyjeon13 committed Jun 21, 2021
1 parent 81084d8 commit d2745c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions step1_1_manipulate_expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2745c7

Please sign in to comment.