tesseract-2.04

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
Vino
Posts: 1
Joined: Wed 22 Sep 2010, 04:46

tesseract-2.04

#1 Post by Vino »

I tried installing tesseract-2.04
where I get the following error when running the command
tesseract phototest.tif output

Bad read of inttemp!
Bad read of inttemp!
Error: -1210211104 classes in inttemp while unicharset contains 112 unichars.

Please help me out.
Thanks

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

tesseract help

#2 Post by ndujoe1 »

It is not broken I forgot to post that you need to move the tesseract location from /local/tessearct to /usr/local/tesseract. Then you will be able reference it from the command line. It works well on my machine.

Since tesseract will only operate with uncompressed TIFF files you need just a few extra steps to achieve compatiblity with xsane.

goto : click Preferences --> Setup --> Filetype

for the TIFF options

Set compression rate to 1

in the next three TIFF dialong boxes select no compression.

clock OK

click Preferences again and select SAVE settings.

When scanning a file for OCR in the XSANE menu I select type :TIFF

color : gray
enter 300 for scan resoultion

And save the filename with extention .tif not .tiff.

Then when finished you invoke tesseract from the command line with

tesseract filename.tif outputname

Post Reply