Expected behavior
Quicktest should work on Ubuntu 22.04.
Actual behavior
Tesseract fails with Error, unknown command line argument '--loglevel'
Workaround:
Unset the tesseract options environment variable or set it to something else. TESSERACT_OCR_OPTIONS="--oem 0" ./quicktest
Steps to reproduce the behavior
Run Quicktest on Ubuntu 22.04
Additional context
We should probably either detect the version of tesseract and bail if less than 5.x, or perferably, tweak settings depending on the version of tesseract installed. Ideally people should be able to run this on any release.
Expected behavior
Quicktest should work on Ubuntu 22.04.
Actual behavior
Tesseract fails with
Error, unknown command line argument '--loglevel'Workaround:
Unset the tesseract options environment variable or set it to something else.
TESSERACT_OCR_OPTIONS="--oem 0" ./quicktestSteps to reproduce the behavior
Run Quicktest on Ubuntu 22.04
Additional context
We should probably either detect the version of tesseract and bail if less than 5.x, or perferably, tweak settings depending on the version of tesseract installed. Ideally people should be able to run this on any release.