I work with a Python and i want to know is it possible. That python makes picture of my screen and if this red box rgb value like: 12, 32 54. Then python runs one code.
http://www.upload.ee/image/2978408/omo.jpg
Plz help me;(
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should use
PILlibrary.Link: http://www.pythonware.com/products/pil/
You will have to install
PILfirst.Thanks Kos for the update…
Using
ImageGrab, the code will look like:Note that
ImageGrabonly works in Windows.