Software Archive
Read-only legacy content
17061 Discussions

The Pose Value is Always 0

Majid_N_
Beginner
667 Views

Hi,

The following code always return 0 for w,x,y,z.

anyone know what's wrong?

 

PXCMFaceData.PoseData poseData = _iFace.QueryPose();
  if (poseData != null)
  {
    PXCMFaceData.PoseQuaternion poseQuaternion;
    if (poseData.QueryPoseQuaternion(out poseQuaternion))
    faceRenderer.DisplayPoseQuaternion(poseQuaternion);
    Debug.Log ("w: "+poseQuaternion.w+"x: "+poseQuaternion.x+"y: "+poseQuaternion.y+"z: "+poseQuaternion.z);
   }

 

 

Thanks

Majid

0 Kudos
3 Replies
Xusheng_L_Intel
Employee
667 Views

Did you use 2D camera? You need use Intel RealSense Camera to get pose data. Thanks!

0 Kudos
Majid_N_
Beginner
667 Views

I am using Creative Senz 3D camera and just running this unity application

https://software.intel.com/sites/default/files/managed/5f/ce/Tutorial_UnityProjectSolution.zip

0 Kudos
Colleen_C_Intel
Employee
667 Views

You are using the 2013 Perceptual Computing SDK camera. For the 2014 Real Sense SDK you need to use the RealSense F200 front facing camera. Currently only available thru Intel pre-release until it comes out in OEM systems. (Currently there's a queue for these).

0 Kudos
Reply