Hacker News new | ask | show | jobs
by DennisP 2106 days ago
Cool but how is the math used to recognize gestures?
2 comments

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!

I think it works quite poorly: https://imgur.com/a/oDpVkZ6
Looks like you draw your digits differently. It's "trained" to my style. Try making your own glyphs and see how it does.
Perhaps, but how does that 9 I drew ever map to a 6?
I don't think so. I draw my 9s by drawing the circle, and then the line down. Looks like you go the other way. This is all about direction and gesture as opposed to OCR.
> can't handle certain cases where a path is retraced in opposite directions

It does ok if there is only a small part that retraces, but you're exactly right.