Closed GoogleCodeExporter closed 9 years ago
I gues you install tesseract by installer et least 2 time to different
location. You need to manually change settings (windows XP): click on "My
computer" -> Properties -> Advanced -> Enviroment Variables: In block "User
variables for..." look for item "TESSDATA_PREFIX", double click on it and to
"Variable value" put your location of tesseract tessdata ("D:\Program
Files\Tesseract-OCR\" OR "E:\Program Files\Tesseract-OCR\").
Or wait for new new installer for 3.01 ;-). Anyway you will need to first
install it than to uninstall it (this should clear your registry correctly) and
to install it once again.
Original comment by zde...@gmail.com
on 29 Oct 2011 at 7:31
Thanks for your advice,but I think it's not the TESSDATA_PREFIX problem, It's
the file separator,you see my attach, tesseract read the file in
"E:\Tesseract-OCRtessdata/eng.traineddata", not
"E:\Tesseract-OCRtessdata\eng.traineddata", why did it
use linux separator in windows?
I remove the duplicate TESSDATA_PREFIX,and now the result is in attach.
Original comment by wangjava...@gmail.com
on 30 Oct 2011 at 12:24
Attachments:
Now, the path appears to miss the slash in front of tessdata.
Original comment by nguyen...@gmail.com
on 30 Oct 2011 at 2:05
@wangjava:
"\" is escape character only windows use it as directory separator ;-)
You HAVE problem with TESSDATA_PREFIX ;-).
"E:\Tesseract-OCRtessdata\eng.traineddata" do not exists on you system. Try it.
BTW: there is also 3.01 installer...
Original comment by zde...@gmail.com
on 30 Oct 2011 at 4:18
thanks to zde...@gmail.com, I resolved the problem finally.
reinstall the resseract use 3.01 installer.
Original comment by wangjava...@gmail.com
on 31 Oct 2011 at 1:43
Original comment by zde...@gmail.com
on 31 Oct 2011 at 5:01
I meet this problem too.
but I reinstall it to default directory.
it is OK now
Original comment by leopards...@gmail.com
on 3 Jan 2012 at 2:52
Original issue reported on code.google.com by
wangjava...@gmail.com
on 29 Oct 2011 at 12:51Attachments: