在Android和ARCore中使用ARFace时是否存在问题,因为一些属性似乎始终为null?

huangapple go评论63阅读模式
英文:

Is there a problem using ARFace with Android and ARCore, because some properties appear to be null always?

问题

我正在开发一个使用Unity的Android应用,它使用眼动追踪。我正在使用ARFoundation和ARCore。问题是,当我追踪脸部时,ARFace.leftEye、ARFace.rightEye和ARFace.fixationPoint都是null。我不知道这是因为ARCore不支持ARFace的这些属性,只有iOS支持,因为我看到一个iOS项目可以使用ARKit实现这个功能。如果有人知道这是Android的问题还是这些属性为null有其他原因,我将不胜感激。

我已尝试追踪脸部,然后追踪脸部的眼睛。我已成功追踪脸部使用ARFaceManager和ARFace,但当我尝试获取ARFace的leftEye和rightEye时,它们似乎为null。这不应该发生。此外,fixationPoint也为null,但脸部追踪正确,ARFace的其他属性,如顶点,不为null,所以我猜想ARCore和Android之间可能存在某种问题。

英文:

I am working on an Android app that uses eye tracking with Unity. I am using ARFoundation and ARCore. The problem is that when i track a face, and i have the component ARFace, the ARFace.leftEye, ARFace.rightEye and ARFace.fixationPoint are null. I dont know if this is because ARCore does not support this properties of the ARFace and only IOS does because i saw an IOS project that could do this with the ARKit. If anyone knows if its an Android problem or these properties are null for any other reason i would apreciate support.

I've tried to track a face and then track the eyes of the face. I've been able to track the face with ARFaceManager and ARFace but when i try to take the leftEye and rightEye of the ARFace it appears to be null. This shouldn´t happen. Also the fixationPoint is null but the face is tracked correctly and other properties such as the vertices of the ARFace are not null so i guess there has to be some kind of problem with ARCore and Android.

答案1

得分: 0

ARCore不支持眼睛追踪,只有ARKit支持。同样,ARCore不支持面部混合形状(blend shapes),就像ARKit一样。目前,ARCore提供的只有面部网格和对三个面部区域的跟踪,即鼻尖、左额和右额。请参考ARCore文档,网址为 https://docs.unity3d.com/Packages/com.unity.xr.arcore@3.0/api/UnityEngine.XR.ARCore.html

英文:

ARCore does not support eye tracking, only ARKit. Similarly, ARCore does not support blend shapes for the face like ARKit. All you get with ARCore at this time is a face mesh and tracking of three face regions, the nose tip, and the left and right forehead. See the ARCore documentation at https://docs.unity3d.com/Packages/com.unity.xr.arcore@3.0/api/UnityEngine.XR.ARCore.html.

huangapple
  • 本文由 发表于 2023年4月10日 23:24:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/75978381.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定