Search
 
SCRIPT & CODE EXAMPLE
 

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())
Comment

PREVIOUS NEXT
Code Example
Python :: how to find word in file python 
Python :: pyspark concat columns 
Python :: # list all keywords in Python 
Python :: python env variable 
Python :: yesno django 
Python :: python default dictonary 
Python :: open dicom images python 
Python :: how to get current time in milliseconds in python 
Python :: python seconds counter 
Python :: plt.imshow not showing 
Python :: bulk file name changer in python 
Python :: install scratchattach 
Python :: matplotlib title cilpped off 
Python :: how to save the history of keras model 
Python :: sns save chart 
Python :: random permutation python 
Python :: convert dictionary to spark dataframe python 
Python :: py-trello add card 
Python :: add padding to 2d matrix p 
Python :: import static in django urls 
Python :: count the frequency of words in a file 
Python :: mean class accuracy sklearn 
Python :: how to clear a text file in python 
Python :: fatal error detected failed to execute script 
Python :: how to change the window colour in pygame 
Python :: How to log a python crash? 
Python :: filter for a set of values pandas dataframe 
Python :: python print object 
Python :: remove all of same value python list 
Python :: get a list of all files python 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =