auduno / clmtrackr

Javascript library for precise tracking of facial features via Constrained Local Models
MIT License
6.51k stars 1.16k forks source link

Apply custom mask #71

Open mokargas opened 8 years ago

mokargas commented 8 years ago

Hey there,

I have my own 2D image I wish to use for a mask.

I'm currently looking at the IronMan index of the Masks array in the Face Mask example code. What do the points represent (are they simply mappings to the points on this image? http://auduno.github.com/clmtrackr/media/facemodel_numbering_new.png)

How would I build my own mapping to work with Face Deformer?

swang commented 8 years ago

It's been a while since I used it but if you want to create your own masks the tools to generate them come from https://github.com/auduno/clmtools

mokargas commented 8 years ago

Thanks @swang . I managed to generate one, though they don't work very well. Probably because I'm trying to fit cartoon character style faces (eyes tend to be enormous)