1adrianb / face-alignment

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

Do you have suggestions - other than dlib - on actual alignment part ? #103

Open borisfom opened 6 years ago

borisfom commented 6 years ago

Hi, looks like great work on determining landmarks! How do I go from here to actual aligned image, preferably via torch ?

1adrianb commented 6 years ago

Hi Boris, Not really I am afraid. For simple use cases I was aligning the faces using a procrostus analysis, thought even for this I don't know of any existing torch code. Sorry...

zalo commented 5 years ago

@borisfom It's possible to extract the face with OpenCV as well https://github.com/1adrianb/face-alignment/issues/135#issuecomment-498058698

Extracting the face with Torch would require implementing a bilinear texture sampler, which is probably a day or two worth of finaglery.