Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access Letter Recognizer API in Android?

I am creating a gesture application. In the Gesture class docs http://developer.android.com/reference/android/gesture/Gesture.html) it reads:

"A user-defined gesture can be recognized by a GestureLibrary and a built-in alphabet gesture can be recognized by a LetterRecognizer."

So how do you use the LetterRecognizer and where is the docs on it? There's no API for that in the docs, I've also searched android's code itself, and besides the same comment above in the code there's nothing.

I've implemented a letter recognizer manually by drawing the ABC letters to a gesture raw file and using the regular mLibrary.recognize(gesture) API, but the success rate is not very high, not even close to Google's gesture search app.

Any help on this matter would be appreciated. Thanks

****EDIT: Letter Recognizer is a future release. It is not yet available***

like image 217
Navigatron Avatar asked Apr 30 '11 16:04

Navigatron


1 Answers

I would look at the code on this page:

http://www.anddev.org/gesture_recognizer_and_character_recognition-t2998.html

He says the source code for his character recognizer is in the SVN, too. You might find some helpful tidbits.

like image 194
Mikecito Avatar answered Oct 19 '22 15:10

Mikecito