Do you need to also download the language data from the site and place it into the /usr/local/share/tessdata/ folder? It's not included in the download, so the application has no idea how to process text without that data (it's pretty clearly stated on the tesseract-ocr site...).

Jamie

On 2010-10-14 3:47 PM, Dick Angus wrote:

I went back and re-read the install instructions and was pretty sure that I did it correctly. Just to be sure I did a file search for any thing with tess* in the name and deleted everything I could find, except the original zip. I re-extracted it and did ./configure, sudo make, and sudo make install. All seemed to run well. I did an execute of tesseract on a file and got the same error about eng.traineddata. Just as a shot in the dark I created that file in the correct location with a touch command. I executed tesseract again and got a segmentation fault.

I am attaching the install instructions from the tesseract-3.00 folder.

I appreciate the help as the Google site doesn't seem to respond to questions.

On October 14, 2010 02:01:07 pm Dick Angus wrote:

> That changed the error to:

>

> Error openning data file /usr/local/share/tessdata/eng.traineddata

>

> now I go looking for /usr/local/share/tessdata/eng.traineddata and it isn't

> there. I did a file search for eng.* and didn't find it in any other

> location.

>

> I might create an empty file and see what happens. I'll do that a little

> later as I have to be away for an hour or so.

>

> On October 14, 2010 01:48:27 pm William Astle wrote:

> > On 2010-10-14 13:44, Dick Angus wrote:

> > > I have used tesseract over several versions with Kubuntu. I just did an

> > > upgrade to Kubuntu 10.10 and installed tesseract from the repositories.

> > > I immediately ran into a well documented bug. The solution was to go to

> > > tesseract 3.0. I downloaded the zip file and followed the

> > > compile/install directions. All seemed to go well except the first

> > > execution ended with

> > >

> > > tesseract: error while loading shared libraries: libtesseract_api.so.3:

> > > cannot open shared object file: No such file or directory

> >

> > sudo ldconfig

> >

> > > I checked the directories and the tesseract executable modules are in

> > > /usr/local/bin and the various tesseract libraries are in

> > > /usr/local/lib The error lib is a soft link to the full library in the

> > > same directory. Both these directories are in the PATH statement.

> > >

> > > I am not an expert developer, I can stumble around some, so I'm not

> > > sure how to resolve this issue. Does anyone have a suggestion?

> >

> > _______________________________________________

> > clug-talk mailing list

> > [email protected]

> > http://clug.ca/mailman/listinfo/clug-talk_clug.ca

> > Mailing List Guidelines (http://clug.ca/ml_guidelines.php)

> > **Please remove these lines when replying


--

An old mainframer getting current


_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

--
Jamie Furtner <[email protected]>
_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to