Message info
 
To:Android Developers From:Aruni RC Subject:[android-developers] what features are used for gesture recognition on android? Date:Sat, 18 Feb 2012 19:16:52 -0800 (PST)
 

the gesture recognition used in android gives a prediction score
based on the similarity between a drawn gesture and the gestures
stored in its library.
the question is, what are the measures on which this similarity is
calculated?

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.3.4_r1/android/gesture/GestureUtils.java#GestureUtils.minimumCosineDistance%28float%5B%5D%2Cfloat%5B%5D%2Cint%29

in this link from the source code one can figure out that a minimum
cosine distance is calculated between two float[] vectors. These
arrays presumably store the features for each stroke. However what
these features are and how the are calculated - couldn't figure that
out from the code.
Would someone pls help out on this?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en