|
AndrianGo (November 30, 1999 at 12:00 am)
Makes sense now :)
Thank you
botrules (November 30, 1999 at 12:00 am)
The code pseudocode is:
gestureDataX[i] = moveData[i].getX() - moveData[i - 1].getX()
gestureDataY[i] = moveData[i].getY() - moveData[i - 1].getY()
AndrianGo (November 30, 1999 at 12:00 am)
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?
botrules (November 30, 1999 at 12:00 am)
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.
maccat (November 30, 1999 at 12:00 am)
very amazing :O
botrules (November 30, 1999 at 12:00 am)
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.
AndrianGo (November 30, 1999 at 12:00 am)
I don't get it. What does the derivative give you? why is that better than direct input?
darkdragon7099 (November 30, 1999 at 12:00 am)
Amazing, I wanna get started on this subject. Any tips?
biorythme232 (November 30, 1999 at 12:00 am)
Your choice about the data to use is a very interesting and efficient approach. Thanks for the link !
botrules (November 30, 1999 at 12:00 am)
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. |