Hi,
I'm trying to use the C-API to detect text regions on checks.
During my first tests, I ran into an 'invalid floating point operation'
happening on just one of my sample images (testcheck.png).
This is my (simplified) test application:
TessBaseAPI* hTesseract = TessBaseAPICreate();
TessBaseAPIInit2(hTesseract, "", "eng", OEM_DEFAULT);
PIX *img = pixRead("testcheck.png");
TessBaseAPISetImage2(hTesseract, img);
TessBaseAPISetPageSegMode(hTesseract, PSM_AUTO);
TessBaseAPIAnalyseLayout(hTesseract); // here I get the 'invalid
floating point operation'
Is this a bug or am I doing something wrong?
As I already said, this happens only one some of my sample images while it
works fine on others.
Matthias
--
You received this message because you are subscribed to the Google Groups
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tesseract-ocr/b245845e-90e2-4cab-b39e-78911bf658a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.