Gesture recognition


#1

Hi, there is way to recognize gesture ?
I would like to know when the mouse make lines, infinite, circle (his speed and direction : clockwise or not), …
There is a old library but doesn’t work with current processing.


#2

Is your goal for this to work with Processing 3 (Java)?

Is your final goal the mouse, or are you hoping to later do gesture through webcam / Kinect / LeapMotion / etc.?

By “infinite” gesture do you mean: ∞ ?

By the old library,do you mean ezGestures? http://www.silentlycrashing.net/ezgestures/

I’m not sure, honestly – one approach would be to use a standard Java gesture library and pass it mouse events. Another other would be to update the old ezGestures library – or just write your own by studying the code https://github.com/prisonerjohn/ezjlibs/tree/master/dev/src/net/silentlycrashing/gestures


#3

Hi @matheynen,

For gesture analysis you might be interested by Wekinator. I don’t know if it works with the mouse input but it is probably worth trying.

EDIT: http://www.wekinator.org/examples/#Processing_animation_screen-based_input


#4

Great solution. It looks like, for Wekinator, DTW_Mouse_Explorer is a 2D mouse gesture system that already has a pre-made recording app for training, and then for recovering the trained data from Wekinator.

http://www.wekinator.org/examples/


#5

Thanks, actually I have already try wekinator but I’m working with Sonic-Pi and P5
with ps3eye on raspberry and with wekinator it’s a little bit cpu demanding.
I look to source but it’s a very big project. I will try the source of ezGesture.
Thanks for the tips.


#6

Ok, I was to optimistic the source is also wide and complicated.
There is a way to make it compatible with current Processing version ?