How do i make pyautogui detect pixel at certain coordinate | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

How do i make pyautogui detect pixel at certain coordinate

EXAMPLE: IF BLACKPIXELDETECT = TRUE

19th May 2020, 3:02 PM
Amin Wali
Amin Wali - avatar
2 Antworten
+ 2
Pixel Matching. To obtain the RGB color of a pixel in a screenshot, use the Image object's getpixel() method: Or as a single function, call the pixel() PyAutoGUI function, which is a wrapper for the previous calls.
19th May 2020, 3:09 PM
Tarun Kumar
Tarun Kumar - avatar
0
thanks Tarun Pandey
19th May 2020, 3:24 PM
Amin Wali
Amin Wali - avatar