YuanxunLu / LiveSpeechPortraits

Live Speech Portraits: Real-Time Photorealistic Talking-Head Animation (SIGGRAPH Asia 2021)
MIT License
1.16k stars 200 forks source link

About how to choose candidate img set #34

Closed zhangziwenHIT closed 2 years ago

zhangziwenHIT commented 2 years ago

Thank you for your outstanding work! I don't know how do you understand this sentence in the article: "Forthe rest, we sample x- and y-axis rotation by uniform intervals and choose the nearest samples from intervals. " in 3.4 'Candidate Image set'. I do not understand how the last two images were chosen.Can you explain or provide reference code, please! Thank U!

YuanxunLu commented 2 years ago

for example, now you have a x-axis rotation sequence: [-90, -70, -60, -20, 0, 30, 50, 70] if I want to choose two images, the intervals should be [-36.667, 16.667] and the resulting two image id will be the one owns the nearest value: -20(id=3) and 30(id=5). Hope this help for your understanding.