Detecting jump action?


#1

I know nuitrack doesn’t have any built-in detection for user jumps but still I need it to be done.

I tried some approaches but it seems hard to get a reliable method to detect jumps without considering the floor and not getting too many false positives or inacurate detections.

Could anyone shed some light on this topic? Any tips one how can I detect jumps without floor detection?


#2

Anyone?

I’m trying to use some pattern recognition algorithm to detect the jumps. Does anyone already tried this approach?

Now I have the possibility to change the environment where the game will be running and I can rely on floor data. Any hints?


#3

Could you describe the jump detection approaches that you’ve tried? This can help other users to point out the shortcomings and suggest some improvements.
First solution that comes to mind:
To detect jumps, try to pay attention not to the floor, but instead to the position of the body in space. For example, before starting the game (during calibration), save the maximum height of the torso / neck / head. If these points are higher and at the same time moving upward with sufficient speed, then we can assume that it is a jump


#4

By not considering the floor, how would you consider that the height (Y axis) gets higher when the user just moves forwards or backwards (depending on the angulation and height of the camera relative to the user)?

If I save the max height during calibration and trigger a jump every time the user’s height on those joints becomes higher, even considering speed, this behavior can be replicated by just moving forward or backward.

(I’m using the Joint.Real structure to get these information, please let me know if this is not the right data to seek in my case).


#5

You work in 3d space, so you can make a plane of maximum height for the user using three points. For example, during calibration, before starting the game, ask the user to take a step forward, a step back and a step to the side. Based on these three points, we can make a plane of the “ceiling” in space for detecting jumps. This will eliminate the problem with the angle of the camera. You can use Joint.Real for this.


#6

Great idea, 'll try this. Thanks.