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

    Status: Needs information => Open

Maniraj gave more information on the question:
yes using later 1.1.2,

i am using like this, (Both are same) i think so


 String imagePath = "/Users/aathi/Desktop/websitestab/temp/"+imageName;
    Thread.sleep(2000);
    BufferedImage regionsetimage = ScreenCapture(driver,imageName);
    Finder window = new Finder(regionsetimage);
    Pattern testImage = new Pattern(imagePath);
    window.find(testImage.similar((float) 0.9));
    Match found = null;
    if (window.hasNext())
    {
      found = window.next();
      System.out.println(imageName + " Image found");
    }
    else
    {
      System.out.println(imageName + " Image Not found");
    }
  }

Thanks

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to