Does anybody know how to use the HandPointer
class of Kinect SDK 1.7?
I have been trying to make an object hand
of class HandPointer
and print a message to the console when the hand is Gripped without success. I am not able to create the hand
object.
Here are the MSDN links for the HandPointer
class and HandPointer
members.
Here's an example code segment:
//First I make the HandPointer object:
HandPointer hand;
//then later I check :
if (hand.IsInGripInteraction)
Console.WriteLine("The hand is gripped");
The error is that my HandPointer
object hand
is null
when I run the code.
Is there any initialization which needs to be run?