sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54652
Re: [Question #689319]: How to get the area on screen which has difference with my base image
Question #689319 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689319
Status: Answered => Open
Paul K is still having a problem:
Thx, RaiMan!
I used Region.onChange() to operate changes on my screen that partially solved my task. On other hand when i try the Finder() expamples 1 and 2 from: https://sikulix-2014.readthedocs.io/en/latest/finder.html i get errors in "message" window of IDE:
[error (20.03.2020, 13:13:54)] script [ test ] stopped with error in line 2
[error (20.03.2020, 13:13:54)] java.lang.IllegalArgumentException ( java.lang.IllegalArgumentException: Finder: not possible with: 1584702832233.png )
[error (20.03.2020, 13:13:54)] --- Traceback --- error source first
line: module ( function ) statement
2: main ( <module> ) f = Finder("1584702832233.png")
[error] --- Traceback --- end --------------
tried to use Finder(<Region>) insted of Finder(<Image>) and it works ok.
So i suggest improper usage of finder from my side, but didn't find
working solution in docs.
Could you please also provide/(add to documentation) some example of
findChanges() usage?
Windows 10 x64, sikuli x 2.0.3(updated to 2.0.4 - same result) + jython,
oracle jdk.
Thanks in advance and have a nice day!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.