cddfm3d icon indicating copy to clipboard operation
cddfm3d copied to clipboard

How to transfer attributes from src image to tgt image?

Open JiejiangWu opened this issue 1 year ago • 1 comments

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. image

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 avatar Jun 12 '23 09:06 JiejiangWu

@JiejiangWu For expression editing, you should modify the value (pca_val) of the expression-related 3DMM parameters (pca_id).

cassiePython avatar Jul 07 '23 12:07 cassiePython