Hello all,
I'm working on a project to move the mouse cursor using righthand which is tracked by kinect using Depth Image. I am controlling mouse movement from right hand palm joint. I'm able to do the tracking but when i am keeping the hand stationary the mouse jumps from one place to another. as joints is visible continus it is visible in discreate, so mouse is jumping, Is there a way to use something like the smooth parameters of the skeletal tracking inorder to smooth my cursor's stability ?
i this solution in some article but don't know how to do this.
You could use the skeletal smoothing, and that should help a bit. The best way I've found is with a moving average of your desired target (in your case, the mouse location). So instead of simply moving the cursor every time you have a movement in your fingertip point, use a queue to store the last N number of points (anywhere from 5 to 12 seems to work well). You then average the values in the queue, and apply that to your cursor. The next cycle, you will remove the oldest point, and add the new point to the queue, then average again. You just keep repeating this. You can get higher or lower smoothing by adjusting the number of points you keep in your queue.
how should i do this.
thanks!!