← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269266]: Multiple instances of OCR causes Java crash

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
currently nearly nothing in SikuliX is tread-safe.

So you have to find an appropriate solution, to coordinate the usage of
the TextRecognizer instance, that is used with Image.text().

what about delegating the text read to a service class, where you could
use synchronized to take care that the read is done one after the other?

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