【问题标题】:Is it possible to determine user gaze in ARCore / Sceneform (Augmented Reality) without using Unity?是否可以在不使用 Unity 的情况下确定 ARCore / Sceneform(增强现实)中的用户注视?
【发布时间】:2019-07-16 11:34:14
【问题描述】:

我可以使用 Unity 在 ARCore 中创建一个gazePointer(如图:https://codelabs.developers.google.com/codelabs/arcore-intro/#10),但是不使用 Unity 是否可以这样做(仅使用 ARCore / Sceneform)?

我需要在增强现实中复制的功能是检测用户在预定义的 2D 参考图像上的注视,如果注视时间超过(例如)5 秒,则应执行特定操作。我们可以假设“凝视”在用户视野的绝对中心。

注意:我打算在像 Google Cardboard 这样的耳机的立体模式下执行此操作(即,手机摄像头未遮盖)。

【问题讨论】:

    标签: android augmented-reality arcore sceneform android-augmented-reality


    【解决方案1】:

    您引用的 ARCore Unity 示例使用了 ARCore Unity API 的 Frame 类的 Raycast 函数。 ARCore Sceneform API 中的等效函数似乎是 Scene 类的 hitTest 函数。

    【讨论】:

      猜你喜欢
      • 2013-06-03
      • 2020-08-27
      • 1970-01-01
      • 1970-01-01
      • 2011-10-16
      • 1970-01-01
      • 2019-08-28
      • 2019-12-15
      • 1970-01-01
      相关资源
      最近更新 更多