← Back to team overview

sikuli-driver team mailing list archive

[Question #690287]: A complex (OCR issue)

 

New question #690287 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690287

Please advise if this is possible. With my current script I'm using the exec command to read external py file (with values or function) then executing that function from within sikuli.

My quesion is: How can i go about reading the ORC text on an image (This part is working fine, reads correct text) THEN compare that to the external py file value.

So for eg: my ext py file (limit.py) has the following declaration:

limit = 1000

Sikuli now reads a number on an image via OCR (say 2000)

now I need to execute the following:

if read image (2000) is > 1000 (in the limit.py) file do x

I hope that made sense. Please advise --- The part regarding reading external file is a must otherwise this would be easy to implement. Thank you!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.