patrikhuber / eos

A lightweight 3D Morphable Face Model library in modern C++
Apache License 2.0
1.89k stars 596 forks source link

How to find out the math model of mapping from video to the texture map? #264

Closed qyalexwen closed 4 years ago

qyalexwen commented 5 years ago

The eos can generate a model and a texture map from an image. Where in the code can I find the mapping from the image to the texture ?

If I'd like to map directly from image to the facial model, how can I do it ?

Thanks a lot.

patrikhuber commented 4 years ago

You should find the code you're looking for in the extract_texture(...) function.