面部方向矢量

编程入门 行业动态 更新时间:2024-10-10 09:24:06
本文介绍了面部方向矢量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好!

我们正在构建一个面部跟踪应用程序,我们无法理解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.

更多推荐

面部方向矢量

本文发布于:2023-11-22 02:16:12,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1615576.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:矢量   面部   方向

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!