在 Android 上使用哪个 SVM 库?

发布于 2024-12-28 12:02:15 字数 362 浏览 3 评论 0原文

我们正在尝试为 Android 平台提供在线手写文本识别器。 android 中内置的手势识别使用(根据我从代码中收集的信息)对点进行 K-NN 检查,很可能是平滑贝塞尔曲线的控制点。

相反,我们将从用户在触摸屏上生成的点中获取一些标准特征数据,然后针对大约 50 个字符类(最初)训练 SVM,以检查我们的特征选择效果如何。

那么考虑到这个 SVM 必须在处理能力方面可能不是最先进的手机上运行,​​应该使用哪个库?还需要考虑的是哪个库最容易集成到使用 Eclipse IDE 的 Android SDK 开发中?

我想到的是 LibSVM,但是任何有在移动平台上使用过 LibSVM 经验的人都应该能够对要做什么做出有根据的猜测。

提前致谢。

We are trying to have an online handwritten text recognizer for the Android platform. The inbuilt Gesture Recognition in android uses (from what I gather from the code) a K-NN checking of points, most probably the control points of a smoothed Bezier curve.

Instead of that we'll get some standard feature data from the points generated by the user on the touchscreen and then train an SVM for about 50 character classes (initially) to check how well our feature selection is working.

So considering that this SVM will have to run on a mobile phone which may not be state of the art in terms of processing power, which library should be used? Also to be considered is which library will be most easily integrated into development on the Android SDK using Eclipse IDE?

I have LibSVM in mind, but anyone with experience of using such on mobile platform should be able to give an educated guess of what to go for.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦里寻她 2025-01-04 12:02:15

我认为您在 Android 设备上需要做的只是评估新数据上的 SVM,而不是训练。在这种情况下,你真的不需要任何库。您只需将 LIBSVM 或您计划使用的任何库/方法中的模型(权重)输出到源代码(无论它是什么)中,并根据您的 Android 应用程序需要的新数据对其进行评估。

I gather that what you need to do on the Android device is only evaluating the SVM on new data and not training. In that case, you really don't need any library. You just need to output the model (the weights) from LIBSVM or whatever library/method you plan to use, into your source code (whatever it is) and evaluate it on new data as your Android application requires.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文