elliotwoods / ofxKinectForWindows2

Implementation of Kinect For Windows v2 API (not using KinectCommonBridge)
163 stars 70 forks source link

Head joint orientation #88

Closed natxopedreira closed 5 years ago

natxopedreira commented 5 years ago

The head joint orientation always return 0 however other joints orientation works ok.

ofQuaternion orNeck = body.joints[JointType_Neck].getOrientation(); // works

ofQuaternion orHead = body.joints[JointType_Head].getOrientation(); // 0 value

elliotwoods commented 5 years ago

this is the data coming from the SDK

https://social.msdn.microsoft.com/Forums/expression/en-US/34542d98-4ed8-44e1-a52d-52c6b39bc74d/why-are-orientations-of-head-and-feet-0000?forum=kinectv2sdk

this is because the head is a leaf node in the skeleton (only has 1 connection)

sorry but it's not something i can fix from my side but you could try to use the Kinect face tracking system instead?

natxopedreira commented 5 years ago

I see, it makes sense. I will take a look at face tracking system Thank you!