← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #220551]: Text recognition on image after capture() and processing

 

Question #220551 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/220551

Nitr0UK posted a new comment:
Fixed, looked at the source and used TextRecognizer.recognize:

e.g.

from javax.imageio import ImageIO
from org.sikuli.script import TextRecognizer
from java.io import File

text =
TextRecognizer.getInstance().recognize(ImageIO.read(File("imageLocation.png")))

Thanks.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.