我正在开发一个基于 THREE.js 和 AR.js 的基于 Web 的增强现实项目。
我面临的问题是,当“标记”离开我的相机时,增强现实图像会消失或卡在屏幕的一侧。
Vuforia 2.8 版本已经解决了这个问题。 Vuforia SDK 2.8: Now with Extended Tracking
使用 AR.js 的网络增强现实是否存在类似的解决方案?
最佳答案
抱歉,这是不可能的。有人在 GitHub 跟踪器 AR.js 上问了几乎同样的问题。 :
Honestly, if you want to be able to have AR content without marker images constantly present within view of the camera, there's really only one alternative: SLAM-based AR. e.g. ARKit or ARCore (formerly Tango). These API's are not available for browser, but if you're interested in WebAR without markers, look into:
https://github.com/google-ar/WebARonARCore
https://github.com/google-ar/WebARonARKit
Otherwise, this is your best option if you can handle having markers in view of the camera 100% of the time (if that's what you're asking about). p.s. I've not tried AR.js w/ multi-marker images yet (I've since moved away from it in favor of the above).
关于javascript - 是否可以使用 AR.js 在网络上进行增强现实扩展跟踪?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50805169/