← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #167056]: Any way to use Sikuli Java API to compare two screenshot file captured by other tools like webdriver?

 

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

RaiMan posted a new comment:
@ Shivarkumar

---- comment #7
Your solution does not solve the problem:
He wants to compare 2 images (one from an image file and one as a screenshot taken in the script).

---- comment #8

find() only returns the best match.

findAll() returns an Iterator of Matches of all matches found in the
specified region.

--- find(PSC ptn) and findAll(PSC ptn) both are returning the PSC. 
That is wrong:
<PSC> is a template def for the parameter to the function.

- find returns a Match object
- findAll returns Iterator <Match>

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