For recognizing gestures I have used the Neural Network approach. There is sure other ways to do it but I found NN very interesting .
If you take the path of NN you have to learn about it first to catch the most important concepts. I thinks little teory its important before trying something. After that you are ready to code something you want be resolved by a NN.
Direct input is not good because Neural Network would recognice only the same movement. I mean, the same movement size in the same 2D coordinates. Thats not really what we mean with gesture.
Working with the derivate gives you more or less the gesture data from the movement. Size and 2D coordinates are not important.
That's actually really cool.
SlykeThePhoxenix 2 years ago
very amazing :O
maccat 3 years ago 2
Amazing, I wanna get started on this subject. Any tips?
darkdragon7099 3 years ago 3
For recognizing gestures I have used the Neural Network approach. There is sure other ways to do it but I found NN very interesting .
If you take the path of NN you have to learn about it first to catch the most important concepts. I thinks little teory its important before trying something. After that you are ready to code something you want be resolved by a NN.
Hope being helpful.
botrules 3 years ago
Nice work. What is the type of neuronal network ? Perceptron ? how many layers and neurons ?
And what's the input data, the pixel positions ?
biorythme232 4 years ago
I have used a Multi Layer Perceptron.
The structure is 50 float inputs, 25 middle layer neurons and a dinamic size output depending the number of different gestures.
The input data are not the pixel positions. Its more or less the difference of one pixel respect to the next one. Math concept of derivative.
You can take a look at the source code, linked on the description.
botrules 4 years ago
Your choice about the data to use is a very interesting and efficient approach. Thanks for the link !
biorythme232 4 years ago 2
I don't get it. What does the derivative give you? why is that better than direct input?
AndrianGo 3 years ago
Direct input is not good because Neural Network would recognice only the same movement. I mean, the same movement size in the same 2D coordinates. Thats not really what we mean with gesture.
Working with the derivate gives you more or less the gesture data from the movement. Size and 2D coordinates are not important.
botrules 3 years ago
Are you making vectors from each consecutive pairs of pixels and then feed them to the NN? Is that how you think of it as derivative?
AndrianGo 3 years ago
The code pseudocode is:
gestureDataX[i] = moveData[i].getX() - moveData[i - 1].getX()
gestureDataY[i] = moveData[i].getY() - moveData[i - 1].getY()
botrules 3 years ago
Makes sense now :)
Thank you
AndrianGo 3 years ago 2
muy buen trabajo, enhorabuena!
d4mr0d 4 years ago