Recognition engine halted with code:6553609

Jun 4, 2010 at 2:25 PM

Hi Max,

I'm getting this error for performing ocr over an image "Recognition engine halted with code:6553609". After digging a little I discovered the image is blank (nothing visible), but still having 44 KB. This image was obtain from a pdf file (each page transformed into a jpg image) and for a blank page in that pdf I obtained a "blank" image file. What can I do to fix or skip this error?



Jun 4, 2010 at 2:31 PM


The first solution that comes into my head is actually exception handling :) Why don't you use the try catch block and simply proceed with the next image when you get the exception?

Jun 4, 2010 at 3:05 PM

Yeah, that is simple, yes...but if I have another exception, on deployment possibly...can't I check with puma somehow if the image is blank?


Jun 4, 2010 at 3:08 PM

No, Puma.NET can't say whether the image is blank. Actually I don't see the problem in catching PumaException (and this specific code).