PowerHouseMan / ComfyUI-AdvancedLivePortrait

1.77k stars 149 forks source link

Is there any way to calculate the expression parameters of a picture? #51

Open XXMY opened 1 month ago

XXMY commented 1 month ago

Hi all, Given an original picture without any expressions and a sample picture with expressions such as an open mouth, blinking, etc., can we accurately calculate the size of the open mouth and the extent of the blinking in the sample picture?

image

As shown in the picture, the image on the left has been adjusted with wink and woo parameters to generate a new action image. Is it possible to directly use the image on the right to compare with the image on the left and obtain the values of the wink and woo parameters?

peizhiluo007 commented 20 hours ago

在节点ExpressionEditor输入sample_image的时候,就是先计算sample_image的expression的。可以参考代码自己加个节点就行