OpenTalker / SadTalker

[CVPR 2023] SadTalker:Learning Realistic 3D Motion Coefficients for Stylized Audio-Driven Single Image Talking Face Animation

Home Page:https://sadtalker.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

如何设置能把生成的人像再大一些呢?

zhang565055965 opened this issue · comments

如何设置能把生成的人像再大一些呢?稍微露出多一些肩膀也好,有时只有头和膀子

agree if we insert full image and return with face expression and other part also some moment then its very good thing

只要把这里
https://github.com/Winfredy/SadTalker/blob/df0be73c6b24975438b98a6e4bb7ce7928505a8c/src/utils/preprocess.py#L84
改成False手动crop就行了……
但脑袋之外的部分越多结果越扭曲……

增加了resize mode 的选项, 可以处理相对大的人像crop, 这种用法和数据集的训练有关,所以不能保证生成的质量,同时这里为了加速,gfpgan的增强采用crop align之后的。所以不能保证生成图像的清晰度,倾向于自己重新后处理。

art_0.bus_chinese_enhanced.mp4