smoothing mouse movement

前端 未结 2 1015
无人共我
无人共我 2021-01-18 22:43

I\'m developing a software to move the mouse based on certain coordinates which i get from a depth image from kinect. but I have 30 frames/second(images/second) and those co

2条回答
  •  無奈伤痛
    2021-01-18 23:11

    Since you wanted to know about "mapping depth coordinates to skeleton points", you can use the DepthImageFrame's MapToSkeletonPoint() which takes the X and Y values of the depth data and then create a SkeletonPoint. Example:

     SkeletonPoint point = depthFrame.MapToSkeletonPoint(x, y);
    

    Hope this helps!

提交回复
热议问题