[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] image.load() -->> array?



Hi All,

So I'm accessing and modifying pixels of a video capture image stream using
image.load() which type() tells me is a "PixelAccess" object.

I have a 160X120 image in RGB.

Is there a simple way to convert this into an array for applying functions
using Numpy? If the (x,y) coordinates for pixel access remain the same,
that is...

--
-------    -.-
1/f   )))  --.
-------    ...
http://www.algomantra.com