← Back to team overview

sikuli-driver team mailing list archive

[Question #251785]: compare two screenshots without know the path

 

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

Hi,
I've a problem:
I need to compare two images.  
image1=region1.find("image.bmp") 
image2=region2.find("image.bmp") #it's the same image.bmp for the both
if image1==image2  # It's always false
    return true 
else 
    return false
I've not the path of this images (In fact, I have it but I can't use it because this script will change of pc so the directory go to change too, and the script, without changement, need to work on both).

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