Can not open the input file[Ubuntu]

29 views
Skip to first unread message

Jonathan Cheng

unread,
Feb 10, 2017, 1:05:04 PM2/10/17
to tesseract-ocr

I saved the 1234567890.tif in /usr/share/tesseract-ocr/tessdata/

and set the path of datafiles

export TESSDATA_PREFIX=/usr/share/tesseract-ocr/tessdata



when I run


tesseract 1234567890.tif textoutput



And it still print ERROR:Can not open input file 1234567890.tif
Error during porcessing.

What did I  missed?

1234567890.tif

shree

unread,
Feb 18, 2017, 1:27:30 PM2/18/17
to tesseract-ocr
Your input file needs to be in your PATH
Not along with the tesseract traineddata files.

Check that ur file can be found using

ls filename

Use full path to input file, if required.

Reply all
Reply to author
Forward
0 new messages