patcharats / tesseract-ocr

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

Tesseract 1.04 tessdata folder issues on Windows #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I had no problems with Tesseract 1.03 on Windows, but with 
1.04 the BuiltInTemplatesFile and BuiltInCutoffsFile string
variables mysteriously get expanded with "tessdata/", such
that the eng.inttemp and eng.pffmtable are not found by the
executable at runtime since Tesseract 1.04 expects them at 
eng.tessdata/inttemp and eng.tessdata/pffmtable respectively
(manually putting them there forms a very crude workaround).
The above variables are in adaptmatch.cpp.

Original issue reported on code.google.com by seeingwi...@gmail.com on 22 May 2007 at 8:12

GoogleCodeExporter commented 9 years ago
BTW, I was using the older Visual C++ 5.0 but that ought not
to matter for a regular console program using standard C and
C++ features. After all, Tesseract itself is an old program.

Original comment by seeingwi...@gmail.com on 22 May 2007 at 8:18

GoogleCodeExporter commented 9 years ago
This is a bug in the batch config file. A simple solution is not to use it.
The new command line is just:
tesseract input.tif outputbasename
no batch needed.
I will fix or delete the batch script for 2.0

Original comment by theraysm...@gmail.com on 7 Jul 2007 at 1:25

GoogleCodeExporter commented 9 years ago

Original comment by theraysm...@gmail.com on 18 Jul 2007 at 10:28