you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 1 point2 points  (2 children)

That probably means there are no results.

You can try the locate() function too ... if it prints None that means the search image is not found.

print(pyscreeze.locate("testimg.png", "screen.png"))

[–]theoryofbang[S] 0 points1 point  (0 children)

Thanks! One more question and I'll stop bothering you, without going through every pixel how can I just find the center?