hiukim / mind-ar-js

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

[bug report] arSystem.pause() pauses video feed as well #296

Closed marcusx2 closed 1 year ago

marcusx2 commented 1 year ago

According to the docs, arSystem.pause() should only pause the ar engine, not the video feed. But here it pauses both.

marcusx2 commented 1 year ago

The issue is that this line in the documentation arSystem.pause(true); // pause AR and video is wrong. Actually, by passing true the video doesn't pause. Without true it pauses. I guess it's just a documentation error.

hiukim commented 1 year ago

thx for reporting

hiukim commented 1 year ago

fixed, thx.