dlareklami / tesseract-ocr

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

illegal image format: comparision #1137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
i have installed the tesseract but it is not working

administrator@comp94:~$ tesseract /var/www/tesseract/test/tmp/text_image.tif 
/var/www/tesseract/test/tmp/1.txt -l eng -psm 7

i run above command and i found this issue please help me important work i am 
using ubuntu 12.04

read_variables_file: Can't open psm
read_variables_file: Can't open 7
Tesseract Open Source OCR Engine
read_tif_image:Error:Illegal image format:Compression
Read of file /var/www/tesseract/test/tmp/text_image.tif failed.

Thanks in advance

Original issue reported on code.google.com by alok.tiw...@logicspice.com on 28 Mar 2014 at 6:20

GoogleCodeExporter commented 9 years ago
First of all: you did not attached input image - if there is problem with input 
image you need to write issues at leptonica project and not tesseract.

Next: you did not write which version of tesseract you installed and how did 
you installed.

Next: I tried your command with tesseract 3.02.02 and 3.03 and it works for me 
(openSUSE 13.1 64bit)

Original comment by zde...@gmail.com on 28 Mar 2014 at 7:14