hiukim / mind-ar-js

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

camera image invisible in face-tracking #245

Closed CODE22surv closed 2 years ago

CODE22surv commented 2 years ago

Hi

Amazing and fast working Library, thanks for that!

Can you help me with making the camera image invisible in face-tracking Three example? https://hiukim.github.io/mind-ar-js-doc/face-tracking-samples/three-facemesh.html

Would be nice to have a function to hide the camera image and see only the 'mesh mask'.

Searched in the code but nothing there to manipulate the camera image, i believe that the camera image is placed thru the Library code. https://cdn.jsdelivr.net/npm/mind-ar@1.1.5/dist/mindar-face-three.prod.js

Thanks, kind regards.

CODE22surv commented 2 years ago

I fixed this with simple CSS hack!

video { display: none; }