hiukim / mind-ar-js

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

Device Orientation issues #529

Open Mic542 opened 1 month ago

Mic542 commented 1 month ago

Hello, guys. It seems MindAR doesn't handle device rotation/orientation change? Even in the sample, it is only work if the device is on the orientation it is started with. For example, if I open the sample while the device on landscape mode, it will only work while the device is on landscape mode. If the device change orientation into portrait, it will very hard for the scan to work, even if it work the AR object will have wrong orientation, etc. If the device change back into landscape, it will work again.