← Back to team overview

sikuli-driver team mailing list archive

[Question #663806]: Comparing Image with Upper and Lower limit

 

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

Relatively new to Sikuli and I was looking into the possibility of comparing an image using something akin to an upper and lower limit. Essentially I have an image that contains a lot of static detail, but I have one component which moves based on a float value. Because it is a float, it's position can vary slightly but I have screen shots of it at it's max and min acceptable deviation. Is there any way to check if a screenshot is in-between these two images?

Essentially I am wondering if there is something I can call that is akin to Wait(UpperLimitImage, LowerLimitImage) or will I need to in some way do an If check on my two acceptable range screenshots and play with the match % to obtain my desired result?

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