三星 Galaxy S2 可以检测屏幕上的签名吗?
我正在做一个项目,我希望使用 Android 移动设备来查询数据库并检索信息。该项目的一部分涉及用户用自己的签名对手机进行签名,以便将其发送回数据库。我所说的签名是指使用屏幕上的笔输入进行的手动签名。这可能吗?有谁知道有哪些安卓手机(最好是三星)可以做到这一点?谢谢
Im working on a project where I hope to use an android mobile device to query a database and retrieve information. Part of the project involves the user to sign the phone with their signature so that it is sent back to the database. By signing I mean a manual signature using pen input on the screen. Is this possible? Does anyone know of any android phones out there (preferably Samsung) that does this? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简而言之,不。签名识别是一个非常高级的主题,没有可以利用的内置应用程序/库。需要专家来识别签名,但他们通常仍然无法给出确定性。有多种方法可以检测 Java 中的模式和图像相似性,但其中会涉及一些模糊测试,并且可能不会像您希望的那样准确
更新
如果您只是想记录您的签名可以通过View.onTouchEvent()捕获触摸事件。您可以在 Touch Paint API 演示。除了在屏幕上绘制坐标之外,您还可以将它们记录到数据库中以便稍后重新组合。
In short, no. Signature recognition is an incredibly advanced topic and there are no built-in apps / libraries you can leverage. It takes expert humans to recognize signatures and they still generally can't give certainties. There are ways you can detect pattern and image similarity in Java but there is going to be some fuzzing involved and it will likely not be as accurate as you desire
Update
If you are simply looking to record the signature you can capture touch events via
View.onTouchEvent()
. You can see an example of using this to in the Touch Paint API Demo. In addition to drawing the coordinates on the screen you can record them to a database to be re-assembled later.