Video analysis with numpy...

Travis Oliphant olipt at mayo.edu
Sun Dec 5 23:49:13 EST 1999


> 
> Does anyone have any general advice on using python/numpy (or some
> other module) for this purpose?

I have a module called signaltools that may be of interest to you.  It is
at http://oliphant.netpedia.net

Packaged with that module is another tool that I use frequently called
numpyio.  It reads arbitrary binary data directly into numpy arrays. 

You didn't mention what format your files are in.  I have used the PIL to
read and write various image data formats before.  It would be really nice
if the PIL interoperated even more smoothly with NumPy arrays, but you can
always go back and forth between the two using the fromstring() functions
and the tostring() methods of the two packages.

There are lots of ways to do it.  Which one you choose will probably
depend on what format your videos are in.

Regards,

Travis O.







More information about the Python-list mailing list