sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54556
Re: [Question #688961]: about onChange() function
Question #688961 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688961
RaiMan posted a new comment:
If you refer to the SikuliX source code in findChanges:
be aware:
Imgproc.cvtColor(findInput.getBase(), previousGray, toGray);
Imgproc.cvtColor(findInput.getTarget(), nextGray, toGray);
Core.absdiff(previousGray, nextGray, mDiffAbs);
Imgproc.threshold(mDiffAbs, mDiffTresh, PIXEL_DIFF_THRESHOLD, 0.0, Imgproc.THRESH_TOZERO);
... mDiffAbs and hence mDiffTresh is grey (only one layer)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.