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