tesseract >= 4.0.0 does not accept '-psm' as command line argument => needs to be '--psm'

Steps to reproduce

Steps to reproduce:
1. Upgrade tesseract to the newest version
2. Run tests

tesseract returns:
Error, unknown command line argument '-psm'

'tesseract help-extra' describes the proper way of using the psm argument:
[...]
--psm NUM Specify page segmentation mode.
[...]

NOTE: --psm works for tesseract 3 too

Status

Assignee

Edmund Gebert

Reporter

Edmund Gebert

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Affects versions

5.1
5.2
5.0
7.0
6.0

Priority

Major
Configure