Problem with Digits

Apr 28, 2010 at 2:29 PM

I have a problem with my OCR application.
Everything works fine, but when I set the language on "Digits" and click recognition button, I have an error "Recognition engine halted with code:0".

This  error is also appear when I use sample application. The image was created using MS Paint and it contains only digits (font size is 42).

Error code :

Puma.Net.RecognitionEngineException: Recognition engine halted with code:0
w Puma.Net.PumaPage.RecognizeToFile(String fileName, PumaFileFormat format) w Z:\Projects\Diploma\Puma.Net\Puma.Net\PumaPage.cs:wiersz 574
w Puma.Net.PumaPage.RecognizeToFile(String fileName) w Z:\Projects\Diploma\Puma.Net\Puma.Net\PumaPage.cs:wiersz 496
w Puma.Net.Sample.MainForm.recognizeButton_Click(Object sender, EventArgs e) w Z:\Projects\Diploma\Puma.Net\Puma.Net.Sample\MainForm.cs:wiersz 94
w Puma.Net.Sample.ImageViewer.recognizeButton_Click(Object sender, EventArgs e) w Z:\Projects\Diploma\Puma.Net\Puma.Net.Sample\ImageViewer.cs:wiersz 217
w System.Windows.Forms.Control.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnClick(EventArgs e)
w System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
w System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
w System.Windows.Forms.Control.WndProc(Message& m)
w System.Windows.Forms.ButtonBase.WndProc(Message& m)
w System.Windows.Forms.Button.WndProc(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
w System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
w System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Of course I can recognize this digits using other languages (it works normal), but I thought the digits "language" is better.

I will be grateful for your help

Se ya!

Apr 28, 2010 at 2:41 PM


To be honest I've just come across this option for language in recognition engine and made it visible in Puma.NET :) Whether it works and for what kind of digits it's there - I don't know. May be it's there for some special kind digits or even bar codes - I can only guess.

Regards, Maxim.