大家好!
我们正在构建一个面部跟踪应用程序,我们无法理解FaceAlignment.FaceOrientation向量中数字的确切含义。这个向量有4个值,x,y,z和w,我们认为前三个分别表示音高,yaw 和roll。但是,我们不确定"w"代表什么。
We are building an application for face tracking, and we have trouble understanding the exact meanings of the numbers in the FaceAlignment.FaceOrientation vector. This vector has 4 values, x, y, z and w, and we believe the first three represent pitch, yaw and roll respectively. However, we are unsure of what the 'w' represents.
(此向量也可能是四元数,其中音高将是atan2(2(xy + zw),1-2 (y2 + z2)),偏航和滚动会有类似的方程式。)
(This vector might also be a quaternion, where pitch would beatan2(2(xy + zw) , 1-2(y2 + z2)), and yaw and roll would have similar equations).
谢谢!
- Samuel Johnston和Rolando Coto
- Samuel Johnston and Rolando Coto
推荐答案事实上,我有同样的问题。如果我想得到一个前脸,如何使用FaceOrientation的Vector4围绕这些协调器旋转。 Vector4的零点在哪里,我认为不是HeadPivotPoint。 In fact, I have the same question. If I want to get an frontial face, how to use that FaceOrientation's Vector4 to rotate around these coordinators. Where is the zero point of that Vector4, I think it's not that HeadPivotPoint.
更多推荐
面部方向矢量
发布评论