The same - no problem. Also I test it on openSUSE 12.2. BTW: I do not so many includes. This was enough:
#include <iostream> #include <tesseract/baseapi.h> #include <leptonica/allheaders.h> -- Zdenko On Fri, Nov 9, 2012 at 2:58 PM, Mike Butterbrodt <[email protected]>wrote: > I am sorry Zdenko. I seem to have included the incorrect image with the > attachment. If you would, please try the image in this attachment. > > I was able to hack my way around this by adding a method to the > PageIterator class to check the word length. If the word length is 0 I > skip the symbol. This does seem to work on a the few images I've tested > last night. More testing today. > > If you are still unable to get the assert() then perhaps I'll need to move > to version 3.02 and give that a try. > > Mike B > > > On Friday, November 9, 2012 1:31:15 AM UTC-6, zdenop wrote: > >> try the 3.02 - I tested it with VS2008 and mingw32 on Windows XP and >> there was no crash. >> >> -- >> Zdenko >> >> On Thu, Nov 8, 2012 at 10:54 PM, Mike Butterbrodt <[email protected]>wrote: >> >>> I have an image snippet that causes an assertion in unichar_id() from a >>> higher call to GetUTF8Text(RIL_SYMBOL) using a ResultIterator. >>> >>> I've duplicated this on 32bit and 64bit Windows under the VS 2010 >>> compiler. >>> >>> The guts of the code... >>> ResultIterator* pSymbolIter = m_tessOcr.GetIterator(); >>> >>> do >>> { >>> const char* pSymbol = pSymbolIter->GetUTF8Text(RIL_** >>> SYMBOL); >>> >>> std::cout << *pSymbol; >>> >>> delete[] pSymbol; >>> >>> } while ( pSymbolIter->Next(RIL_SYMBOL) ); >>> >>> That's is. Pretty simple and I end up with an assert on line 184 >>> ratngs.h. >>> I have attached the image and the full main.cpp. Help would be >>> appreciated. I've run this on thousands of image without issue until this >>> one image. >>> >>> Mike B >>> >>> -- >>> 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 >>> tesseract-oc...@**googlegroups.com >>> >>> For more options, visit this group at >>> http://groups.google.com/**group/tesseract-ocr?hl=en<http://groups.google.com/group/tesseract-ocr?hl=en> >>> >> >> -- > 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 > -- 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

