import pyautogui res = pyautogui.locateOnScreen("image.png") print(res)