Page 1 of 1

Can't read or execute Tesseract for OCR

PostPosted:Thu May 02, 2019 1:23 pm
by zaans2
I installed Tesseract, I set
Code: Select all
system.ocr
to
Code: Select all
C:\Program Files\Tesseract-OCR\tesseract.exe ${fileIn} ${fileOut}
which is the correct location. I made sure it has the right to access to file but whenever I do a configuration check it says
Code: Select all
Can't read or execute: C:\Program
What am I doing wrong?

OpenKM Version: 6.3.8 (build: 6702c0f)
Windows Version: Windows Server 2019
Tesseract Version: v4.1.0.20190314

Re: Can't read or execute Tesseract for OCR

PostPosted:Fri May 03, 2019 6:19 pm
by jllort
Does not like the white space, try changing \ to / ( the java path should solve it )
Code: Select all
C:/Program Files/Tesseract-OCR/tesseract.exe

Re: Can't read or execute Tesseract for OCR

PostPosted:Mon May 06, 2019 8:59 am
by zaans2
Same result. I did howver find that when you use the installer it comes with tesseract in the Tomcat folder. When I use that one it works fine so I am starting to think it might be a permissions issue after all, but I have no clue how to fix that.

Re: Can't read or execute Tesseract for OCR

PostPosted:Fri May 10, 2019 10:34 am
by jllort
Remove tesseract ocr and install again into a destination path without white spaces in the name.

Re: Can't read or execute Tesseract for OCR

PostPosted:Fri May 10, 2019 12:17 pm
by zaans2
That was indeed the fix