1adrianb / face-alignment

:fire: 2D and 3D Face alignment library build using pytorch
https://www.adrianbulat.com
BSD 3-Clause "New" or "Revised" License
6.88k stars 1.33k forks source link

Expression transfer #323

Open davidvfx07 opened 1 year ago

davidvfx07 commented 1 year ago

Since 3D landmark output is possible, would it be possible to transfer the expressions from one tracked face to another while keeping the original head position (like this but with the landmarks)?

1adrianb commented 1 year ago

In principle it's possible, there a few systems around that use this landmark detector for this (deep face-like). However, using it directly its sub-optimal, as one will need to train a form of generative modeling, conditioned on the model output, to add the required visual realism.

davidvfx07 commented 1 year ago

Are there any specific repos I can be referred to?

Michele-Zhu commented 1 year ago

Hi, if still needed this repo_link performs what you're asking not directly but with some knowledge of python & neural network you can easily make it work for photos. Takes some time to make it actually work if you're not too familiar with the tools used in the project