Use '--psm' instead of '-psm' as the option was deprecated.
Created by: ddddavidmartin
This recently changed in the official tesseract engine [0]. -psm
is not allowed as an option anymore and --psm
has to be used instead.
This fixes https://github.com/openpaperwork/pyocr/issues/99.
Thanks!
[0] https://github.com/tesseract-ocr/tesseract/commit/ee201e1f4fa277a4b2ecd751a45d3bf1eba6dfdb