<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2853" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>Does anyone know 
what python libraries are available to do the following:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=012134606-15102009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>1. I would like to 
take a photograph of an object with a colour. In this case, it is a sheet of 
sponge.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>2. Feed this image 
into a function in a python library and let the 
function "automatically scan" this image's</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>    
pixel colours, and return an average of all the pixels' colours in the 
image.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>3. I could then use 
the rgb values to set a colour swatch for the object's 
colour.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=012134606-15102009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>Please let me know 
if you have any ideas. It would be appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=012134606-15102009>In the meantime, I 
will search Google and see what I can find.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=012134606-15102009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=012134606-15102009>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=012134606-15102009></SPAN></FONT> </DIV></BODY></HTML>