Live data from Hacker News

$1 Unistroke Recognizer

depts.washington.edu

41–43 of 43 posts

Re: $1 Unistroke Recognizer

#41

The software assigns any sufficiently long user input to one of the 16 gestures. In contrast, human-to-human communication consider much (most?) of the space of possible speech acts to be gibberish. In other words, the software never gives up on trying to classify a user-input sequence no matter how wacky it is.

Yes, but it does returns a match certainty value (0-1). If you used this library you could just assume gibberish if below 0.8 for example.

Re: $1 Unistroke Recognizer

#42

If you draw brackets from bottom up they are recorded inverted. For example, } drawn from bottom up is "recognized" as {.

That's because it's rotationally insensitive, which is a rather interesting property. I'm not sure how useful it is, but it certainly surprised me.

When I used this code for a simple application, I made a small change to the recognized to limit the rotational invariance so that a gesture that was rotated more than a certain angle threshold would not match.

Re: $1 Unistroke Recognizer

#43
post #37

Article did not answer my first question, which is why this thing is called "$1". I clicked expecting to discover some sort of cheap hardware device.

> To enable novice programmers to incorporate gestures into their UI prototypes, we present a “$1 recognizer” that is easy, cheap, and usable almost anywhere in about 100 lines of code

That's a little clearer, but it's also not in the linked article.
Post reply on HN