Gesture Recognition with Line Integrals
justinmeiners.github.io
Gesture Recognition with Line Integrals
1–10 of 17 posts
Re: Gesture Recognition with Line Integrals
#2Re: Gesture Recognition with Line Integrals
#3To extrapolate, you can take 'position' and 'velocity' of live data and integrate over the vector field to produce an extrapolation. I enjoyed the project and it worked fairly well. I think there's plenty of room for extension around this method.
Re: Gesture Recognition with Line Integrals
#4Cool but how is the math used to recognize gestures?
I think this approach can't handle certain cases where a path is retraced in opposite directions, like with the handwritten letter 't' or 'i'. Perhaps curvature integrals could be added as well to improve it.
Overall seems to work quite well!
Re: Gesture Recognition with Line Integrals
#5Cool but how is the math used to recognize gestures?
It appears to be a dot product of a vector field and the curve vector (i.e. a line integral). I think this approach can't handle certain cases where a path is retraced in opposite directions, like with the handwritten letter 't' or 'i'. Perhaps curvature integrals could be added as well to improve it. Overall seems to work quite well!
It does ok if there is only a small part that retraces, but you're exactly right.
Re: Gesture Recognition with Line Integrals
#6Cool but how is the math used to recognize gestures?
https://en.wikipedia.org/wiki/Line_integral#/media/File:Line...
Re: Gesture Recognition with Line Integrals
#7Re: Gesture Recognition with Line Integrals
#8https://assets.opentoken.com/sha256/N1ShZ7kcVmH_-auZEGaGOS_b...
Ah nevermind, it's matching the curve against template fields so it makes sense that it would show the best match even when the match is poor.
Re: Gesture Recognition with Line Integrals
#9Not sure what is intended, but it seems to have some bugs? https://assets.opentoken.com/sha256/N1ShZ7kcVmH_-auZEGaGOS_b... Ah nevermind, it's matching the curve against template fields so it makes sense that it would show the best match even when the match is poor.
Yeah, a real application could have a score threshold.
Re: Gesture Recognition with Line Integrals
#10It was ridiculously hard to get 4 to work, is this a limitation of the algorithm or just something with the implementation?