Hi, You can have some info using the global variable EXTERN IMAGE page_image;
Download tessnet2 source code http://www.pixel-technology.com/freeware/tessnet2/ open tessnet2.cpp and look for method tessnet2::Tesseract::GetThresholdedImage Save the thresholded image and see what the OCR engine see. Rémi On Jan 14, 2:30 pm, Jas <[email protected]> wrote: > Hello , > > First off, many thanks to the developers of tesseract for sharing > their efforts with wider audience. > > I would like to ask if there are any specific caveats to take care of > when reusing the TessDllAPI class ? > > I have been using it in a C++ project (basically looking to read tiff > files and recognize chars) , but so far so, the only files I could > succesfully read are the two supplied by the tesseract itself - > "eurotext.tif" and "phototest.tif" . > > For virtually any other tiff file (and yes, I took care to pass > uncompressed and 1-bpp files), it either throws an ASSERT error or > simply recognizes the first char as a "~", and then any subsequent > char as a zero ("0"). > > Could it be that I am doing something wrong ?? > Any help appreciated! > > Many thanks in advance, > > Jasenko --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en -~----------~----~----~----~------~----~------~--~---

