This is an Access Violation in the Microsoft C Runtime. There are two possibilities that come into my mind:
1. NULL Pointer exception. (Some NULL String that is passed to fopen or similar.) 2. The DLL uses 2 different incompatible C Runtimes. I had such a crash when passing a FILE* created by C Runtime v8 (VS 2005) to a TessBaseAPIPrintVariables that uses C Runtime v9 (VS 2008). Probably you should distribute the Debug Version of the libtesseract302.dll, then the Stack trace would be more informative. (However this requires the Debug C Runtime to be present on the target system which is a bit difficult.) Anyway, it would probably be helpful to have the full crash log "C:\Users\pcrmd\workspace\Tess4jNew\hs_err_pid6184.log", that is mentioned in the short crash log. Am Freitag, 20. April 2012 04:30:03 UTC+2 schrieb Quan Nguyen: > > Code? Pix? Does Tesseract itself work with those images? > > On Thursday, April 19, 2012 1:25:29 AM UTC-5, harry asir wrote: >> >> Hi, >> >> Thanks for your reply. >> >> With Woindows7, any image other than default image present in tess4j >> folder (Zipped one) crash is happening at JRE. Similar crash is >> happening with any images (including default image present in tess4j >> folder) >> >> Logs: >> >> # >> # A fatal error has been detected by the Java Run Time Environment: >> # EXCEPTION_ACCESS_VIOLATION (0x0000005) at pc=0x72064673, pid=6184, >> tid=3628 >> # >> # JRE version: 6.0_20-b02 >> # Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing >> windows-x86) >> # problematic frame: >> # C [MSVCR90.dll+0X24673] >> # >> # An error report file with more information is saved as: >> # C:\Users\pcrmd\workspace\Tess4jNew\hs_err_pid6184.log >> # >> # If you would like to submit a bug report, please visit: >> # http://java.sun.com/webapps/bugreport/crash.jsp >> # The crash happened outside the Java Virtual Machine in native coe. >> # See problematic frame for where to report the bug. >> # >> >> Please help me how to solve this issue. >> >> Regards, >> Harry John Asir >> >> >> >> On Apr 19, 9:18 am, Quan Nguyen <[email protected]> wrote: >> > Tess4J is just a simple wrapper around TessBaseAPI. It can do only what >> > Tesseract can. For color images, you probably will need to apply >> > thresholding to create binary images suitable for OCR operations. >> > >> > >> > >> > On Wednesday, April 18, 2012 5:45:53 AM UTC-5, harry asir wrote: >> > >> > > OCR is always failing for coloured images. With the test images >> > > present in Tess4J folder (Ziped one), Ocr is working. Can you help me >> > > in doing ocr for coloured images using Tess4J. >> > > I am using Windows 7 PC. >> > >> > > Regards, >> > > Harry John Asir >> > >> > > On Apr 17, 8:14 am, Quan Nguyen <[email protected]> wrote: >> > > > A JNA-based wrapper for Tesseract OCR 3.02 DLL, the library >> provides >> > > > optical character recognition (OCR) support for: >> > >> > > > * TIFF, JPEG, GIF, PNG, and BMP image formats >> > > > * Multi-page TIFF images >> > > > * PDF document format >> > >> > > > This version is still in early beta development; as such, it has >> rough >> > > > edges and not undergone thorough testing. Any >> > > feedback/comment/suggestion >> > > > is welcome. >> > >> > > >http://tess4j.sf.net >> > On Wednesday, April 18, 2012 5:45:53 AM UTC-5, harry asir wrote: >> > >> > > OCR is always failing for coloured images. With the test images >> > > present in Tess4J folder (Ziped one), Ocr is working. Can you help me >> > > in doing ocr for coloured images using Tess4J. >> > > I am using Windows 7 PC. >> > >> > > Regards, >> > > Harry John Asir >> > >> > > On Apr 17, 8:14 am, Quan Nguyen <[email protected]> wrote: >> > > > A JNA-based wrapper for Tesseract OCR 3.02 DLL, the library >> provides >> > > > optical character recognition (OCR) support for: >> > >> > > > * TIFF, JPEG, GIF, PNG, and BMP image formats >> > > > * Multi-page TIFF images >> > > > * PDF document format >> > >> > > > This version is still in early beta development; as such, it has >> rough >> > > > edges and not undergone thorough testing. Any >> > > feedback/comment/suggestion >> > > > is welcome. >> > >> > > >http://tess4j.sf.net >> > On Wednesday, April 18, 2012 5:45:53 AM UTC-5, harry asir wrote: >> > >> > > OCR is always failing for coloured images. With the test images >> > > present in Tess4J folder (Ziped one), Ocr is working. Can you help me >> > > in doing ocr for coloured images using Tess4J. >> > > I am using Windows 7 PC. >> > >> > > Regards, >> > > Harry John Asir >> > >> > > On Apr 17, 8:14 am, Quan Nguyen <[email protected]> wrote: >> > > > A JNA-based wrapper for Tesseract OCR 3.02 DLL, the library >> provides >> > > > optical character recognition (OCR) support for: >> > >> > > > * TIFF, JPEG, GIF, PNG, and BMP image formats >> > > > * Multi-page TIFF images >> > > > * PDF document format >> > >> > > > This version is still in early beta development; as such, it has >> rough >> > > > edges and not undergone thorough testing. Any >> > > feedback/comment/suggestion >> > > > is welcome. >> > >> > > >http://tess4j.sf.net >> > On Wednesday, April 18, 2012 5:45:53 AM UTC-5, harry asir wrote: >> > >> > > OCR is always failing for coloured images. With the test images >> > > present in Tess4J folder (Ziped one), Ocr is working. Can you help me >> > > in doing ocr for coloured images using Tess4J. >> > > I am using Windows 7 PC. >> > >> > > Regards, >> > > Harry John Asir >> > >> > > On Apr 17, 8:14 am, Quan Nguyen <[email protected]> wrote: >> > > > A JNA-based wrapper for Tesseract OCR 3.02 DLL, the library >> provides >> > > > optical character recognition (OCR) support for: >> > >> > > > * TIFF, JPEG, GIF, PNG, and BMP image formats >> > > > * Multi-page TIFF images >> > > > * PDF document format >> > >> > > > This version is still in early beta development; as such, it has >> rough >> > > > edges and not undergone thorough testing. Any >> > > feedback/comment/suggestion >> > > > is welcome. >> > >> > > >http://tess4j.sf.net- Hide quoted text - >> > >> > - Show quoted text - > > -- 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

