如何访问字母识别API中的Andr​​oid? [英] How to access Letter Recognizer API in Android?

查看:210
本文介绍了如何访问字母识别API中的Andr​​oid?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个手势应用程序。 在手势类文档<一个href="http://developer.android.com/reference/android/gesture/Gesture.html">http://developer.android.com/reference/android/gesture/Gesture.html)记载:

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

用户定义的姿势可以通过GestureLibrary和被认可 内置字母的手势可以通过的 LetterRecognizer 的认可。

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

那么你如何使用LetterRecognizer和哪里是文档就可以了? 还有对于在文档没有API,我还搜查Android的code 本身,除了上述在code相同的注释有 什么都没有。

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.

我手动绘制ABC实施了一封信识别 字母手势原始文件,并使用常规 mLibrary.recognize(手势)API,但是成功率不是很 高,甚至还没有接近谷歌的手势搜索应用程序。

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.

在这个问题上的任何帮助将是AP preciated。 谢谢

Any help on this matter would be appreciated. Thanks

*的编辑:字母识别是将来的版本。它是尚未公布

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

推荐答案

我会看看code这个页面上:

I would look at the code on this page:

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

他说的来源$ C ​​$ C为他的字符识别是在SVN了。您可能会发现一些有用的花絮。

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

这篇关于如何访问字母识别API中的Andr​​oid?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆