jwilk-archive / ocrodjvu

OCR for DjVu
GNU General Public License v2.0
44 stars 19 forks source link

allow passing arbitrary options to Tesseract #30

Closed jsbien closed 5 years ago

jsbien commented 5 years ago

From https://github.com/tesseract-ocr/tesseract/wiki/Command-Line-Usage: Use --oem 1 for LSTM, --oem 0 for Legacy Tesseract

Actually any way to pass parameters directly to tesseract would solve this and the previous issue.

jwilk commented 5 years ago

In 0.11 you can use:

-X extra_args='--oem 0'