iPERDance / iPERCore

Liquid Warping GAN with Attention: A Unified Framework for Human Image Synthesis
https://iperdance.github.io/work/impersonator-plus-plus.html
Apache License 2.0
2.42k stars 316 forks source link

Can I use a video as a source? #99

Closed LeoLee321 closed 2 years ago

LeoLee321 commented 3 years ago

Can I use a video as a source? And it will automatically capture the best frame of the video as a source image. Do you know how to achieve it?

Aryan-Solanki commented 3 years ago

Can I use a video as a source? And it will automatically capture the best frame of the video as a source image. Do you know how to achieve it?

You can use OpenCV to extract imgs from videos https://www.geeksforgeeks.org/extract-images-from-video-in-python/ then just apply some img /body recognition which will find best img for you

LeoLee321 commented 3 years ago

Can I use a video as a source? And it will automatically capture the best frame of the video as a source image. Do you know how to achieve it?

You can use OpenCV to extract imgs from videos https://www.geeksforgeeks.org/extract-images-from-video-in-python/ then just apply some img /body recognition which will find best img for you

Yeah, I made it. Thank you