问题描述
嗨 我一直在尝试在我的mvc项目中使用手写识别.我的方法看起来像这样
InkAnalyzer theInkAnalyzer = new InkAnalyzer();
theInkAnalyzer.AddStrokes(theInkCanvas.Strokes);
AnalysisStatus状态= theInkAnalyzer.Analyze();
如果(状态成功)
{
textBox1.Text = theInkAnalyzer.GetRecognizedString();
}
其他
{
MessageBox.Show(识别失败");
}
它适用于圆形,矩形等形状,但不能识别字符.我正在收到其他"或识别失败".我必须做什么才能识别字符.
Hi I have been trying to use handwriting recognition in my mvc project. My method looks like this
InkAnalyzer theInkAnalyzer = new InkAnalyzer();
theInkAnalyzer.AddStrokes(theInkCanvas.Strokes);
AnalysisStatus status = theInkAnalyzer.Analyze();
if (status.Successful)
{
textBox1.Text = theInkAnalyzer.GetRecognizedString();
}
else
{
MessageBox.Show("Recognition Failed");
}
It works well for shapes like circle,rectange etc but it doesnt recognise characters. I am either getting "Others" or "Recognition Failed". What do i have to do to recognize characters.
推荐答案
这篇关于使用InkAnalyser进行笔迹识别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!