yxm4109 / python-tesseract

Automatically exported from code.google.com/p/python-tesseract
0 stars 0 forks source link

Always crashes when doing OCR step #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. installed python-tesseract 0.7.6 win32 bundled with tesseract (Aug 14 
release) on Win XP with Python 2.7.  
2. Initially had DLL load problems but fixed them by moving the files mentioned 
here: http://code.google.com/p/python-tesseract/issues/detail?id=31
3. run either example script and python crashes with no error message.  (first 
example crashes on tesseract.ProcessPageBuffer and second example crashes on 
GetUTF8Text).

What is the expected output? What do you see instead?
Expect some kind of OCR output or even an error message.  Instead python 
crashes.  

Please provide any additional information below.
Stepping through in the debugger seems to put the source of the fatal error in 
_tesseract.pyd

Original issue reported on code.google.com by schri...@gmail.com on 14 Jan 2013 at 7:58

GoogleCodeExporter commented 9 years ago
set c:\python27\python.exe to be compatible to Windows 7 even though you are 
using windows 7. Otherwise the program might crash during runtime Details

Original comment by FreeT...@gmail.com on 24 Jan 2013 at 5:25

GoogleCodeExporter commented 9 years ago
running XP, not win 7, as noted in the original post

Original comment by schri...@gmail.com on 24 Jan 2013 at 5:39

GoogleCodeExporter commented 9 years ago
Could u help me by trying other combinations like "Windows XP (Service Pack 3)" 

Original comment by FreeT...@gmail.com on 24 Jan 2013 at 5:42

GoogleCodeExporter commented 9 years ago
that's what i was using at the time (btw if you recall we exchanged a number of 
emails about this issue a few weeks back). i did not have the option for that 
compatibility mode since that's what i was running. i've since upgraded to win 
7 64 bit and have not tried python-tesseract yet

Original comment by schri...@gmail.com on 24 Jan 2013 at 5:46

GoogleCodeExporter commented 9 years ago
Recalled.... haha

Original comment by FreeT...@gmail.com on 24 Jan 2013 at 5:48

GoogleCodeExporter commented 9 years ago

Original comment by FreeT...@gmail.com on 24 Jan 2013 at 6:00