Built 3.03, can't get searchable PDF output working

1,750 views
Skip to first unread message

Robert Melton

unread,
Jul 4, 2014, 4:43:02 PM7/4/14
to tesser...@googlegroups.com
I am certain I am missing something obvious, can't seem to find it in docs.

$ tesseract -v
 tesseract 3.03.00
  leptonica-1.70
   libjpeg 6b : libpng 1.2.49 : libtiff 3.9.4 : zlib 1.2.3

My goal is to be able to build a PDF using

$ tesseract -l eng foo.png out pdf
read_params_file: Can't open pdf

Did I miss an obvious document or build step?

zdenko podobny

unread,
Jul 4, 2014, 5:27:47 PM7/4/14
to tesser...@googlegroups.com
"pdf" is config file (part of tesseract), so your tesseract 3.03 installation is not correct.

Zdenko


--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/3d9e61cc-7289-4b6a-9b75-5233f2788552%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Melton

unread,
Jul 4, 2014, 6:00:38 PM7/4/14
to tesser...@googlegroups.com
On Fri, Jul 4, 2014 at 5:27 PM, zdenko podobny <zde...@gmail.com> wrote:
> "pdf" is config file (part of tesseract), so your tesseract 3.03
> installation is not correct.

Thank you -- I had my environmental variable pointing to my tesseract
3.02 tessdata.

--
Robert Melton | http://robertmelton.com

zdenko podobny

unread,
Jul 4, 2014, 6:08:05 PM7/4/14
to tesser...@googlegroups.com
3.03 language datafiles were not released yet, so you can copy new config files to 3.02 tessdata...

Zdenko


--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To post to this group, send email to tesser...@googlegroups.com.
Visit this group at http://groups.google.com/group/tesseract-ocr.

Jerry Infeld

unread,
Jun 28, 2016, 2:46:14 PM6/28/16
to tesseract-ocr, rob...@robertmelton.com
For us Nubes, what is that environmental variable?

Junmock Lee

unread,
Jun 29, 2016, 1:51:15 AM6/29/16
to tesseract-ocr
Jerry,
If your OS is Windows, this article can help you.

Add
Variable name: TESSDATA_PREFIX
Variable value: (path to tessdata directory)
Reply all
Reply to author
Forward
0 new messages