tesseract/tessdata/configs/pdf
Jeff Breidenbach fd429c32a0 PDF creation: not disabling tessedit_create_txt
Okay, everything is more of less under control except for this:

  tesseract phototest.tif - pdf > phototest.pdf

This is sending activating both the text renderer, and the pdf renderer.
They both get sent to stdout where they mix together and cause chaos.
Same thing happens with this command.

   tesseract phototest.tif stdout pdf > phototest.pdf

What's happening is tesseractmain.cpp is setting tessedit_create_pdf without
disabling tessedit_create_txt.

https://groups.google.com/d/msgid/tesseract-dev/32c065ee-aefa-441a-b37b-b6bdc234c8ab%40googlegroups.com
2015-07-18 08:39:57 +01:00

4 lines
68 B
Plaintext

tessedit_create_txt 0
tessedit_create_pdf 1
tessedit_pageseg_mode 1