hiukim / mind-ar-js

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

camera feed and threejs renderer not aligned in face AR #176

Closed rudrdybo closed 2 years ago

rudrdybo commented 2 years ago

the current camera feed was not behaving the way I wanted it to work so I flipped the camera feed to serve my use case(using CSS) but that in turn made the three.js to make the model on face to rotate in other direction which is obvious as I didn't flipped the camera feed but the element showing it. So Please let me know where to change the code to make the threejs work inline with camera feed.

hiukim commented 2 years ago

flip the renderer canvas (using CSS) also?