Puzer / stylegan-encoder

StyleGAN Encoder - converts real images to latent space
Other
1.07k stars 166 forks source link

Reverse the changes of alignment #33

Closed arunasank closed 4 years ago

arunasank commented 4 years ago

Hi! Thank you for this project. I am using this project with video frames instead of images. I notice that during facial alignment, if there is a tilt in the image etc, it is straightened out. Can I reverse these effects in the image after the image has been moved along the direction of the latent vector? If yes, how?

arunasank commented 4 years ago

Example: original image huawei_0001

Example: extracted + aligned image. You can see teh difference in the colours (purple instead of blue) as well as a change in the tilt. This image is straightened out, while the face in the original image has a tilt. smile-huawei_0001_01 npy-0

arunasank commented 4 years ago

There is also a change in the colouring of the original image and the aligned image. How can these be reversed?