链接已复制
I believe the purpose of the EnableHand() instruction is simply to activate the hand module. You can specify the type of stream that you want to create (color, depth or IR) and then on the following line use EnableHand() to turn the hand module on.
The FPS speeds available to you will depend on which type of streaming you select and which resolution.
Here's an example.
// Instantiate and initialize the SenseManager
// SET THE STREAM TYPE
senseManager = PXCMSenseManager.CreateInstance();
senseManager.EnableStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR, 640, 480, 30);
// MAKE THE ACTIVATION CALL TO ENABLEHAND() TO ACTIVATE THE HAND MODULE
senseManager.EnableHand();
senseManager.Init();
I am not a stream programming expert, but I would think that you can use any stream type if all that EnableHand() does is to turn the hand module on but doesn't actually have anything to do with processing the stream (that part being handled by the PXCMCapture instruction, not EnableHand)..