hiukim / mind-ar-js

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

switching phone orientation makes detection terrible #428

Open marcusx2 opened 1 year ago

marcusx2 commented 1 year ago

This was said to have been fixed on 1.2.2, as stated on another issue that I opened here. However, this isn't quite working well yet... If I switch the orientation of the phone, it's very hard to detect the target in the new orientation, however if I switch back to the original orientation it works again fine. Even if the target is detected in the new orientation, the content shows up with an incorrect rotation. I made a video showcasing the problem.

https://github.com/hiukim/mind-ar-js/assets/5656275/e5c66548-5f4e-465d-bba1-7cd256543a1b

Thanks!

zsolitech commented 1 year ago

Same error. Tested on Android and iPad.

marcusx2 commented 1 year ago

@hiukim quick unrelated question, but how many markers does the image tracking support (not simultaneous tracking) ?

Hzq2735437675 commented 9 months ago

I also encountered this problem. Horizontal screen detection is invalid on the mobile terminal. How to solve it?