locate image on screen pyautogui code example
Example: screenshot region pyautogui
>>> import pyautogui
>>> im = pyautogui.screenshot(region=(0,0, 300, 400))
>>> import pyautogui
>>> im = pyautogui.screenshot(region=(0,0, 300, 400))