问题标签 [handwriting-recognition]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
213 浏览

matlab - 我想去除图像样本上的噪声以进行手写识别,但出现了一些错误

当我运行上面的代码时出现此错误

0 投票
1 回答
332 浏览

java - Java - 在xy坐标集中查找线

在此处输入图像描述

我有一个x,y坐标集,它建立了一个英文字母/形状,如图像中所示。它们不是直线,因为在用户编写它们时会捕获坐标。

我想通过 Java 应用程序使用坐标找出

  • 有多少条直线
  • 水平线有多少
  • 有多少条线是垂直的
  • 对角线有多少条线

例如,对于下图,我们可以看到大约有 4 条直线,其中一条是垂直的,三条是水平的。

我怎么能这样做?这类问题有术语/名称吗?

0 投票
0 回答
343 浏览

c++ - 使用 OpenCv 从图片中裁剪字母

我目前正在用 C++ 编写 OCR。我正在使用神经网络,它可以很好地处理像这样的简单字母。

但现在我想更进一步,从图像中提取字母,比如这个

我正在使用 OpenCV 3,但我不知道如何做到这一点,我在互联网上搜索了很多,但没有找到任何可以帮助我的东西。

知道我可以通过使用 findContours 裁剪出大部分单词,但似乎不可能单独获取每个字母。

任何帮助/想法将不胜感激!

0 投票
1 回答
986 浏览

c# - How can I do handwriting recognition each time a user has finished tracing a stroke?

Basing myself on the code given by MSDN for Handwriting Recognition in windows 10 apps, I tried to have it recognize the handwriting automatically after the user has finished tracing an ink stroke rather than when clicking a button.

I have been able to do something similar in a Windows 8.1 metro app by calling my handwriting recognition method when the PointerReleased event was triggered in my canvas. It worked great and I tried to emulate the same behavior in UWP.

The PointerReleased event was not firing in the UWP app so I used the InkCanvas.InkPresenter.StrokeInput.StrokeEnded event instead to call this method :

It's close to what I want to achieve, except the last stroke is not taken into account. I guess that when the StrokeEnded event is triggered, the InkStroke has not yet been "processed" and thus it is not included in currentStrokes.

I tried to circumvent this problem by adding the Strokes corresponding to the InkStrokeInput of the event to the StrokeContainer I use as a parameter for the recognition :

But input.InkPresenter.StrokeContainer.GetStrokes() returns an empty List.

Is there a way for me to access the current Stroke when the event is triggered ? Or is there another event I could use to call the handwriting recognition after the stroke has been "processed" ? Or another way to automatically recognize the handwriting for all the current InkStrokes alltogether ?

0 投票
1 回答
976 浏览

android - 寻找手写 OCR Android 库

我正在寻找一些有用的 API 或库来在 Android 中进行手写识别。我想将它集成到我的应用程序中,但我什么也没找到。我在其他帖子中看到可以使用 Tesseract(但这对于 OCR 图像文本识别效果更好)。

我还发现了这个 API https://dev.myscript.com/,但它不能正常工作。他们提供的任何演示都可以在手机中正常工作。当我写很多东西或只是在屏幕上打标签时它会崩溃。我尝试按照他们的教程将其集成到具有单个小部件的单个应用程序中,但它不起作用。

有人知道一些集成手写识别的方法吗?这只是一个简单的视图,我想通过手写在屏幕上写一些东西并将文本放在 EditText 中。

0 投票
1 回答
536 浏览

handwriting-recognition - 手写识别

我需要制作一个供个人使用的内部应用程序,我可以在其中用笔在纸上书写,并且可以以数字方式存储。这必须具有最低的硬件要求,以避免额外的成本。有哪些服务和设备可用于构建此类应用程序。平板电脑、移动设备、触摸屏设备的推出将超出成本。如何以成本有效的方式实现这一点。

0 投票
0 回答
125 浏览

user-interface - MATLAB中在线手写识别的GUI界面

我需要创建一个 GUI 界面,我可以从中获取 x 和 y 坐标以及点的上笔/下笔笔画值作为用户的输入。用户使用鼠标绘制文本或非文本字符。如何使用 MATLAB 创建这样的 GUI 界面?

0 投票
1 回答
1121 浏览

python - Python OpenCV 手写识别与 SVM,改变训练和测试量

http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_ml/py_svm/py_svm_opencv/py_svm_opencv.html

在这个 OpenCV 给出的例子中,训练集是 250 个,测试量也是一样的。但是,当测试和训练数量发生变化时,准确度会下降到 0。

我已经从原始代码更改了上述行中的值。我究竟做错了什么?x 应该是什么?

OpenCV 提供的训练和测试数据:http ://wormassay.googlecode.com/svn/trunk/ThirdParty/OpenCV/samples/python2/data/digits.png

0 投票
1 回答
348 浏览

onenote - 是否可以从 OneNote 中的手写笔记中提取文本?

对于一个项目,我正在寻找从 OneNote 中的手写笔记中提取文本的方法。这个想法是,人们可以在 OneNote 中快速写笔记,然后我的应用程序读取笔记并将其保存为其他地方的文本文件。

我已经阅读了 REST API,并且我知道有很多方法可以将内容提交到 OneNote,但我不确定从中提取手写(“墨水”?)内容。

0 投票
1 回答
520 浏览

python - 使用 Python OpenCV 实现手写识别的 ANN

50 个字母中的每一个有 350 个样本。神经网络有 3 层。输入层 400(20*20 图像),隐藏层 200 和输出层 50。我使用的训练参数是:

在这种情况下,我可以使用哪些最佳值?