import cv2 from gui_automation import GuiAuto image_path = "win10key.png" ga = GuiAuto() if ga.detect(cv2.imread(image_path), 0.8): ga.click()