是否可以使用 JavaScript 为移动设备构建带有 VR 显示包装器的 AR 应用程序?

发布于 2025-01-13 03:14:57 字数 697 浏览 0 评论 0原文

感谢您的时间和关注。我知道这是一个渺茫的机会,但我希望有人能够慷慨地转达一些建议或指导。我正处于研究如何使用 javascript 和相关工具、库和包为移动设备构建应用程序的初始阶段。该应用程序的概念是,它将访问设备摄像头、识别面部并将动画 AR 资源叠加到设备显示屏上。不过,我希望用户将手机与可穿戴耳机结合起来,并通过分屏 VR 风格的显示器使用该应用程序。我想我需要某种 VR 包装器来实现核心 AR 应用程序。目前,我主要关注图形显示和 UI 方面,以便我可以构建概念验证来测试这个想法是否可行。我认识到我可能会被误导,尝试使用 javascript 而不是本地移动语言进行此操作 - 如果是这种情况,我欢迎对此事提出任何意见。我问的是关于 javascript 的问题,因为这基本上是我所知道的。

到目前为止,我一直在阅读各种库,例如 WebXR、Three.js 等。我认为我需要使用 React Native,尽管要清楚地了解我是否应该尝试使用 javascript 来实现我想要的目标并不容易。我还没有代码可以显示。

此外,我认识到论坛上已经发布了类似的问题 - 例如,这个:VR+AR on手机。 我没有找到任何最近的线程来解决这组特定的要求,所以如果我错过了一些东西,我深表歉意。如果论坛上有信息,如果有人能指出我相关的帖子,我将不胜感激。至少,感谢您的阅读。干杯,大家。

thanks kindly for your time and attention. I recognise this is a long shot but I'm hoping someone might be generous enough to relay some advice or guidance. I am in the beginning phases of researching how I might build an app for a mobile device, using javascript and related tools, libraries and packages. The concept for the app is that it will access the device camera, recognise faces, and overlay animated AR assets onto the device display. However, I want users to couple their phone with a wearable headset, and use the app through a split screen VR style display. I assume I'll need some sort of VR wrapper for the core AR application. At the moment, I am focussed primarily on the graphical display and UI aspects, so that I can build a proof-of-concept to test whether the idea is even viable. I recognise I may be misguided to attempt this in javascript rather than native mobile languages - if this is the case, I would welcome any opinions on the matter. I'm asking about javascript because that's what I know, basically.

Thus far, I've been reading about various libraries such as WebXR, Three.js and others. I assume I'll need to use React Native, though it's not easy to get a clear sense of whether I should even be trying to achieve what I want using javascript. I have no code to show as yet.

Additionally, I recognise there are similar questions already posted to the forum - for example, this one: VR+AR on mobile phone.
I haven't found any recent threads that address this specific set of requirements so I do apologise if I've missed something. If there is info on the forum, grateful if someone could point me to the relevant thread. At the very least, thanks for reading. Cheers, all.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

萌吟 2025-01-20 03:14:57

我发现 Snap 的 Lens Studio 非常直观且功能强大。它提供了特征识别、跟踪和物理的模板。它还为自定义创意提供了高级控件。我还希望它能够获得未来的功能开发支持。它可以货币化。

...或者您想让自己接触更多计算机视觉术语和模式吗?尝试在 CodePen 或 CodeSandbox 中搜索以下功能:MediaPipe、OpenCV、人脸检测网络摄像头。但 VR/AR 应用程序的开销可能在 O'Reilly 的书或 John Carmack 的主题演讲中得到了最好的描述。瞳距、足部追踪和预测追踪等主题。

I found Snap's Lens Studio extremely intuitive and powerful. It provides templates for feature recognition, tracking, and physics. It also provides advanced controls for custom creative. I would also expect it to receive future feature development support. It can be monetized.

...or do you want to expose yourself to more computer vision terminology and patterns? Try searching CodePen or CodeSandbox for features such as: MediaPipe, OpenCV, face detection webcam. But the overhead of a VR/AR app is probably best described in an O'Reilly book or John Carmack keynote speech. Topics like pupil distance, foot tracking, and predictive tracking.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文