harlanhong / CVPR2022-DaGAN

Official code for CVPR2022 paper: Depth-Aware Generative Adversarial Network for Talking Head Video Generation
https://harlanhong.github.io/publications/dagan.html
Other
958 stars 125 forks source link

Suggestion: Add automatic face cropping in demo.py #21

Closed Vadim2S closed 2 years ago

Vadim2S commented 2 years ago

Output result significally related to input image. There few samples:

1) Photo as is 2) Photo with manual crop 3) Photo converted to video and cropped with crop-video.py

Please, crop input image inside demo.py automatically

https://user-images.githubusercontent.com/84853762/169252080-db016d04-2f9c-4bb3-9d84-d5de0450d2a6.mp4

https://user-images.githubusercontent.com/84853762/169252087-5a8c9a5a-0eeb-436f-874f-0745683e64b3.mp4

https://user-images.githubusercontent.com/84853762/169252089-a8b37f66-897b-4092-a109-86295fecbf15.mp4

harlanhong commented 2 years ago

Thanks for your suggestion, will do it soon!

Vadim2S commented 2 years ago

Well... This issue marked as "completed". But... May be I am missing something but I am can not see any code changes related for this issue. Where is it? File/Line?