I want to know how can I find these coordinates, which means how can I target a specific area on-screen so the program only searches for the given image in that area.
from python_imagesearch.imagesearch import imagesearch
pos = imagesearcharea("./github.png", 0, 0, 800, 600)
if pos[0] != -1:
print("position : ", pos[0], pos[1])
else:
print("image not found")
I want to target a specific area on my screen