How do i make pyautogui detect pixel at certain coordinate | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 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 Respuestas
+ 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