get_version on windows gives 0.0.0
Having installed Tessearact-OCR 4.0.0 from Library of the University of Mannheim https://github.com/UB-Mannheim/tesseract/wiki on windows 10 x64, using python 3.7 x64
>>> from pyocr import tesseract as tool >>> print(tool.get_version()) (0.0.0)
therefore the psm parameter given to the executable is -psm which is no longer supported in version 4.0.0 which i installed.
The commandline call to tesseract
tesseract.exe --version tesseract v4.0.0.20181030 leptonica-1.76.0 libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.3) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libope njp2 2.2.0