OCR using sikuli-api-1.2.0

Asked by Naveen Vangipurapu

I am using sikuli-api-1.2.0.jar for my test automation and I am trying to OCR text from the screen but I am not able to find a class which will enable me to extract the data. In the sikuli script I see there is a Region.text and I am trying to find a class where it will expose the OCR capability.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

--- sikuli-api-1.2.0.jar
wrong place here.
look: https://github.com/sikuli/sikuli-api

SikuliX has a Tesseract based OCR feature.
I am not sure, but I think sikuli-api only has some basic font recognition functions.

But it does not seem to be developed nor supported anymore.

For a Tesseract based Java library see: Tess4J (https://github.com/nguyenq/tess4j)

Revision history for this message
Naveen Vangipurapu (nvangipurapu) said :
#2

Thanks RaiMan, that solved my question.