hiukim / mind-ar-js

Web Augmented Reality. Image Tracking, Face Tracking. Tensorflow.js
MIT License
2.12k stars 391 forks source link

ThreeJs Facemesh #439

Open mayhemantt opened 11 months ago

mayhemantt commented 11 months ago

I am trying to use the facemesh in the three (face-tracking) for occlusion, for that I need to push the face mesh backward as to be close to the face. I tried facemesh.position.set(0,0,-0.3) to make it go backward in the z, but this had no result how can i achieve the result

hiukim commented 5 months ago

right, because the library will control the position of the facemesh object created.

You could clone the facemesh and control the position yourself I suppose? just update it's pose according to the original mesh with the offset you want.