Unable to read image text in a region on Azure Windows Server

Asked by Emmanuel Mbambo

Hi,

My local mechine environment is Windows 10 x64 , java 8, tess4j version 4.5.4, latest version of Sikuli java api, the latest Sikuli IDE, I don't have Tesseract installed, I don't have Opencv installed and I don't have Microsoft Visual C++ Redistributable.

My Microsoft Azure Server Windows Server environment is, Standard D2as v4 (2 vcpus, 8 GiB memory), Windows x64, java 8, tess4j version 4.5.4, latest version of Sikuli java api, the latest Sikuli IDE, I don't have Tesseract installed, I don't have Opencv installed and I don't have Microsoft Visual C++ Redistributable.

Now the problem is on my local Mechine I'm able to run the sikuli java program, and Sikulu IDE successfully and I'm able to read text from a region using region. text(). I'm also able to use Tesseract tess4j separately to read text on image.

On my virtual Mechine I'm able to run Sikuli but I'm unable to read image text, I'm also unable to read text using tess4j.

On Sikuli I get the following Exception:
"OCR: start: Tesseract library problems: The spefied module could not be found"
With Sikuli, what libraries and what version I should download to be able to use region. text() method?

On tess4j I get this Exception:
"UnsatisfiedLinkError: The specified module could not be found" I tried adding the "libtesseract3051.dll using command line, inside a code and within java build path but I can't seem to figure it out.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Emmanuel Mbambo
Solved:
Last query:
Last reply:
Revision history for this message
Emmanuel Mbambo (emmasibu) said :
#1

Problem solved by following the tutorial here https://tess4j.sourceforge.net/tutorial/
It also solved my sikuli problem.