auduno / clmtrackr

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

Get 'Z' position of the face #2

Closed djabif closed 10 years ago

djabif commented 10 years ago

hi @auduno using clmtrackr.js is there a way to get the 'Z' position of the face like in headtrackr.js ? I tried to use both libraries at the same time (in order to get the Z position) , but apparently clmtrackr.js gets confused when using the same video tag for both. Also the browser asks the user to "Allow" the access to the webcam 2 times. Thanks !

auduno commented 10 years ago

Hi, it's currently not possible to get the z-position from clmtrackr, unfortunately. I haven't tried running both headtrackr and clmtrackr at once, but it sounds a bit odd that they ask for access to webcamera 2 times. Do you have example code anywhere that I could look at?