patrikhuber / eos

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

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

Closed qyalexwen closed 5 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 5 years ago

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