0

I have some python code, and I want it to be able to use the pixels on the screen to know what to do using the color of the pixel. Is there any way to print the rbg or get the rbg data for a pixel? — like maybe:

red = {255, 0, 0}
pixel = (stuff)
if pixel == red:
    stuff here
martineau
  • 112,593
  • 23
  • 157
  • 280
Mehidden
  • 11
  • 2

0 Answers0