hiukim / mind-ar-js

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

android cellphone open the worry camera #470

Closed jamess922 closed 5 months ago

jamess922 commented 7 months ago

Hi: When use the chrome open the demo with an Android cellphone,looks use the worry camera ,i think because of the mult-cameras ,is there any solution,like switch the cameras Worry camera

jamess922 commented 7 months ago

![Uploading Worry camera.jpg…]()

hiukim commented 5 months ago

I don't know how to pick the "correct" camera. But as of v1.2.4, you can specify your desired camera in the mindarThree constructor, so you can implement your own logic of picking the camera.

Ref: https://github.com/hiukim/mind-ar-js/blob/master/examples/image-tracking/three.html