Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-14-2013, 09:00 PM   #1
Registered: Aug 2006
Location: Arizona
Distribution: Various Debian derivitives
Posts: 220

Rep: Reputation: 19
tesseract stopped. error withut explanation.

I like tesseract. I downloaded version 3.02, and started using it right away with excellent results. Then it stopped working, with the following error:
tesseract ltr-996h-p1.png ltr-996h-p1
Tesseract Open Source OCR Engine v3.02 with Leptonica
Cannot open input file: ltr-996h-p1.png

I was using the same programs to scan and prepare the png, or tif files (gimp and xsane). No description of what the error means. the help feature doesn't help, and man tesseract is no help either - maybe because I don't understand their termnology.

If you know where I should go from here, pleae help me out. Or maybe you now where there is some really thourough and understandable documentation on tesseract.

Old 11-14-2013, 10:13 PM   #2
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287Reputation: 1287

I'd start by checking for the existence (and permissions) of that file.

1 members found this post helpful.
Old 11-14-2013, 10:24 PM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2015, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,192

Rep: Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112Reputation: 3112
3.02 : An old version ? Ubuntu's 13.04 - 13.10 have `3.02.02'.
The 12.04 - 12.10 versions have tesseract`3.02.01'.

May be reinstall the package and its libraries :
$ sudo apt-get install --reinstall \
tesseract-ocr liblept3 libleptonica libtesseract3 \
tesseract-ocr-eng tesseract-ocr-equ tesseract-ocr-osd

Alternatively create a very small image by name "ltr-996h-p1.png".
And copy the image to "saved images" ( Wherever that is.)
I.e. tesseract has no system files by name ltr-996h-p1.png, AFAIK.

Old 11-15-2013, 12:26 AM   #4
Registered: Aug 2006
Location: Arizona
Distribution: Various Debian derivitives
Posts: 220

Original Poster
Rep: Reputation: 19

Thanks for a quick reply. I'm anxious to get back to work with it. I've got a lot of papers that I wrote years ago, and have long since lost the digital files (through crashes, a stolen laptop, etc.)

The file named there is a name that I file that I named. It is a graphic file, a scan (cleaned up and trimmed in Gimp) of a printed page. It belongs to user #1000 (me) and is rw.

Mint13 Mate is the newest version that I have been able to get to run well on my computer, and tesseract`3.02.02 is the version that is in the repositories.

I tried to run the lengthy command as you typed it, and it appears that liblept3 can't be found in the repositories.

Ill try reinstalling what I can reinstall, and see if that helps. But (to me) the mystery of this lies in the fact that it was working just fine, and I did not change my methods, but it stopped. Unless, I may be leaving out an option in the command line? But I have been unable to find any adequate explanations about controlling it's operation from the command line.

Thanks so-o-o-o much. I reinstalled, and it appears that is just what it needed. Don't really know why, but it worked.

Last edited by littlejoe5; 11-15-2013 at 01:30 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
tesseract stopped. error without explanation. littlejoe5 Linux - Software 1 11-14-2013 10:31 PM
[SOLVED] Why does Mint 11 only have tesseract 2.1? Advice Pro Linux Mint 3 10-04-2011 03:21 PM
Error explanation igsen Linux - Newbie 2 04-08-2009 10:26 PM
Compiling tesseract-2.03: error: ‘INT32’ was not declared in this scope J_Szucs Linux - Software 10 03-05-2009 02:35 PM
Error Installing K3B. Need Explanation PiMoGo Linux - Software 1 11-01-2002 04:33 AM

All times are GMT -5. The time now is 12:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration