mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
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
This commit is contained in:
parent
228317caa1
commit
fd429c32a0
@ -1,2 +1,3 @@
|
||||
tessedit_create_txt 0
|
||||
tessedit_create_pdf 1
|
||||
tessedit_pageseg_mode 1
|
||||
|
Loading…
Reference in New Issue
Block a user