Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python detect color on screen

import ImageGrab
import time
time.clock()
image = ImageGrab.grab()
for y in range(0, 100, 10):
    for x in range(0, 100, 10):
        color = image.getpixel((x, y))
print(time.clock())
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #detect #color #screen
ADD COMMENT
Topic
Name
7+9 =