mithilesh1125 / tesseract-ocr

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

Application exists without producing results. #659

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

ocr.Init("C:\Program Files\Tesseract-OCR\tessdata", "eng", False)

What is the expected output? What do you see instead?

Text. Instead, application closes.

What version of the product are you using? On what operating system?

3.01 on Windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by h3x...@gmail.com on 25 Mar 2012 at 1:11

GoogleCodeExporter commented 9 years ago
1. there is no library for tesseract 3.01 on windows. If you decide to modified 
build you should be able to debug/fix your code.

2. if you need to use tesseract library, please use svn version - there is 3.02 
version that will create shared&static library on windows.

I expect that problem is with your path "C:\Program 
Files\Tesseract-OCR\tessdata":
a) try to remove tessdata
b) path has to finished with "\"

Original comment by zde...@gmail.com on 17 Apr 2012 at 2:15