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

public class Controller {

    Pattern saveLocation;

    public BookmarkController() {
        saveLocation = new 
Pattern(this.getClass().getResource("/save_location.png").toString()).similar(similarity_
 = (float) .97);
    }
}

I'm wondering if there's a better/shorter way to define a pattern than this in 
practicality using Java.  The .pngs are stored in an image folder in the 
working directory.  I know I could set the similarity on another line, but I 
mean optimizations besides that.

Any and all help is appreciated :)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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