0
I am getting error with "Pyautogui.pixelMatchesColor" what do I need to do to make it work please?
Here is the code if pyautogui.pixelMatchesColor(1400, 1330, (209, 179, 24), tolerance=10): time.sleep(0.1) pyautogui.locateOnScreen('10.png') pyautogui.click('10.png') else: pass
5 Answers
+ 1
God damn!! I just found out why it wasn't working. You need to have "opencv-python" and "pillow" installed to use the word confidence.
0
What error you are getting??
0
Here is your solution: https://stackoverflow.com/questions/59146513/pyautogui-and-pyscreeze-crash-with-windll-user32-releasedc-failed
Either try different Python version or modify orignal code of pyscreeze
0
That's the word I used else where.