cddfm3d
cddfm3d copied to clipboard
How to transfer attributes from src image to tgt image?
Hi, thanks for the excellent work.
I am trying to test the effect of transferring attributes from one source image to another target image, (e.g. makes the target person show the same expression with the source person), as shown in the Figure from the paper.
After reading the code, I am confused that whether this function is implemented in the code? The test_shape in evaluate.py seems a bit related but I cannot figure out what the pca_id and pca_val mean.
https://github.com/cassiePython/cddfm3d/blob/4660a56d43787704c512b18d20155914c93b6456/evaluate.py#L147-L153
Does the test_shape function do the thing I want? If not, what should I do to implement the expression transfer process?
@JiejiangWu For expression editing, you should modify the value (pca_val) of the expression-related 3DMM parameters (pca_id).