endorno / python-tesseract

Automatically exported from code.google.com/p/python-tesseract

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Always crashes when doing OCR step

GoogleCodeExporter opened this issue · comments

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

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

running XP, not win 7, as noted in the original post

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

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

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

Recalled.... haha

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

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

  • Changed state: Done