Items with no label
3335 Discussions

About EnableHand()

松拓也
Novice
2,075 Views

Hi.

I'd like to know what stream and setting FPS EnableHand() API use.

Best Regards,

Thanks.

0 Kudos
8 Replies
MartyG
Honored Contributor III
591 Views

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();

0 Kudos
松拓也
Novice
591 Views

Thank you for your reply

I want to know below.

1.What stream does EnableHand() use?

2.How much FPS does EnableHand() use?

Thanks,

Best Regards.

0 Kudos
MartyG
Honored Contributor III
591 Views

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)..

0 Kudos
松拓也
Novice
591 Views

Thank you for your comment

I want to make my application based on EnableHand() Settings.

I want to program my unique settings.

Thank you.

0 Kudos
MartyG
Honored Contributor III
591 Views

As far as I know, EnableHand() does not have settings that you can change, as it is just for turning the hand module on. I wonder if what you are really asking is "how can I program unique settings for the hand module?"

0 Kudos
松拓也
Novice
591 Views

Sorry, it was complicated.(I don't program EnableHand())

I program FaceTracking application based on Intel Sample Program.

I will set up FPS by EnableStream() in my program.

So, i can set unique Settings.

0 Kudos
MartyG
Honored Contributor III
591 Views

Thanks, I will link stream expert jb455 to this discussion to see if he can help with your question. I just wanted to understand clearly what you needed so that you can be helped correctly. Thanks for your patience and good luck!

0 Kudos
松拓也
Novice
591 Views

Hi MartyG!

Thank you as always!

0 Kudos
Reply