I'm trying to find out how I can check a certain portion of the screen for an image and to ignore everything else. Here's the code:
while True:
if pyautogui.locateOnScreen('fish.JPG', confidence=0.55) != None:
print("fish")
time.sleep(2.75)