C# WPF HandTracker simply acting as mouse

Hi All,

First of all nice to meet you. I’m Daniele Camposeo and I saw some of your posts here and you are always very detailed and understandable in your messages.
The following is a link to another message wrote by one of you as the answer to a similar topic.

Now my question is:
If I would like to do the same in C# and WPF how should I implement/modify your example?
Once I was trying already having a Canvas and controls positioned on it. Data from the Depth sensor would allow me to move the mouse/custom pointer on the canvas setting its position
It was working but I’m not sure this is the optimal solution.
Have you any examples by any chance? Or do you think your previous answer can be “converted/rewritten” in C# WPF ?

Thanks for your attention and have a nice day

Daniele Camposeo

Hello @geko1981

Yes, for your case, you need some small code changes from this post.
Unfortunately, we do not have an example with your specific use case. But hopefully this C # hand tracking example will help: https://github.com/3DiVi/nuitrack-sdk/blob/master/Examples/nuitrack_csharp_sample/Program.cs