see https://github.com/tesseract-ocr/tesseract/wiki/Command-Line-Usage

also check that u have pdf.ttf in your tessdata folder

https://github.com/tesseract-ocr/tesseract/tree/master/tessdata

tesseract  --tessdata-dir ./ ./testing/eurotext.png
./testing/eurotext-eng -l eng pdf


ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

On Thu, Mar 23, 2017 at 6:44 PM, Saliaj Adrian <superm...@live.fr> wrote:

> Hello,
>
> How can I can create a PDF with Tesseract ?
>
> When I do : tesseract -l fra test.tif out2 -c tessedit_create_hocr=1
> It works very good and my HTML file is created.
>
> But when I do : tesseract -l fra test.tif out2 -c tessedit_create_pdf=1
> It says : "Can not open file "usr/share/local/tessdata//pdf.ttf"!
> Error during processing."
>
> Why ?
>
> Thanks in advance,
> Adrian
>
> --
> 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-ocr+unsubscr...@googlegroups.com.
> To post to this group, send email to tesseract-ocr@googlegroups.com.
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tesseract-ocr/d8bf5ba0-8528-4518-9a22-3a5c4ac4937f%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/d8bf5ba0-8528-4518-9a22-3a5c4ac4937f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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-ocr+unsubscr...@googlegroups.com.
To post to this group, send email to tesseract-ocr@googlegroups.com.
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWBZ3GzAAFZ2GbOAO0%3DuCeDnyKs%3DLThNke%2BV3uD4ydmng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to