Software Archive
Read-only legacy content
17061 Discussions

EXPRESSION_HEAD_TILT_LEFT doesn't work

Mona_J_1
Beginner
333 Views

Hi,

I am not sure why head_tilt_left doesn't work. I have attached a photo that shows it is not working.  Any idea why is that?

http://i.imgur.com/BuZ9AMG.png

Here's my code: 

https://github.com/lamiastella/FaceTracking/tree/master/FaceID

 

And here's the lines I've added in MainWindow.xaml.cs:

Console.WriteLine("Rotation: " + outPoseEulerAngles.roll + " " + outPoseEulerAngles.pitch + " " + outPoseEulerAngles.yaw);
                       PXCMFaceData.ExpressionsData edata = face.QueryExpressions();
                       // retrieve the expression information
                       PXCMFaceData.ExpressionsData.FaceExpressionResult eyesUpScore;
                       PXCMFaceData.ExpressionsData.FaceExpressionResult headTiltedLeftScore;
                       edata.QueryExpression(PXCMFaceData.ExpressionsData.FaceExpression.EXPRESSION_EYES_UP, out eyesUpScore);
                       edata.QueryExpression(PXCMFaceData.ExpressionsData.FaceExpression.EXPRESSION_HEAD_TILT_LEFT, out headTiltedLeftScore);
                       eyesUp = eyesUpScore.intensity;
                       headTiltLeft = headTiltedLeftScore.intensity;
                       PXCMCapture.Device device = senseManager.captureManager.device;
                       device.SetIVCAMAccuracy(PXCMCapture.Device.IVCAMAccuracy.IVCAM_ACCURACY_FINEST);
                       eyeIsUP= CheckFaceExpression(edata, FaceExpression.EXPRESSION_EYES_UP, 15);
                      
                       headTiltLeftThreshold = CheckFaceExpression(edata, FaceExpression.EXPRESSION_HEAD_TILT_LEFT, 15);

 

0 Kudos
1 Reply
MartyG
Honored Contributor III
333 Views

I haven't been able to make the head tilt left and right gestures work in Unity either.  I think the problem may be that the gestures aren't broken but the way in which they are activated does not match the description of the gesture.  For example, yesterday I tried to use the 'Tap' gesture and kept poking my finger forward but nothing happened.  When I read the SDK manual's gestures section, the gesture to perform a Tap was more like a pushing forward of the whole hand!

Edit: Intel staffer Gal G wrote a message to Mona in another post on this forum, explaining that head gestures have been obsoleted in the current SDK and no longer work, and have been marked for removal in a future SDK release.

https://software.intel.com/en-us/forums/topic/560883

0 Kudos
Reply