You can tune a parameter of the vision algorithm, MinTargetSize, to speed up the matching process or make it more robust.
1from org.sikuli.script.natives import Vision 2 3Vision.setParameter("MinTargetSize", 6) # A small value such as 6 makes the matching algorithm be faster. 4Vision.setParameter("MinTargetSize", 18) # A large value such as 18 makes the matching algorithm be more robust.