i'd like to mention some new OpenCV python bindings, specifically for NumPy/SciPy users

View: New views
1 Messages — Rating Filter:   Alert me  

i'd like to mention some new OpenCV python bindings, specifically for NumPy/SciPy users

by Chris Colbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'd just like to point out a project i'm working on which is wrapping
some OpenCV routines for NumPy.

Opposed to the existing python wrappers (both native and the ctypes
version), these wrappers operate directly on the NumPy array data.

I use Cython to alias the OpenCV structs and fool opencv into thinking
the data is from an IplImage, CvMat etc... so you actually pass numpy
arrays as arguments to the functions, eliminating the need for
conversion and data copying.

This is part of the larger scikits.image project that is currently
under heavy development.

My branch for the opencv dev is here:

http://github.com/sccolbert/scikits.image

I push new stuff every couple of days if not more than once a day.



The main scikits.image project is here:

http://github.com/stefanv/scikits.image



I'm attempting to wrap the whole opencv library, just the most useful
image processing stuff. Most everything else is already easy to do in
NumPy (machine learning aside). It looks like the majority of
CvReference will be wrapped, and I'm about 30% of the way there so
far.

This may be an option for any of you who work heavily with python and
NumPy and want something a tad quicker...

So that was my post. I'd like to thank the OpenCV devs for their hard
work. Without them, I wouldn't have anything to wrap!

Cheers,

Chris

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel