python interface development

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

python interface development

by Nathan Gallaher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm new to the project and I'm interested in submitting patches for the
python cv interface.  I noticed that there are two python interfaces in
the repo (the CMake one, and the SWIG one). Which interface is supported
going forward?

~Nate

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel

Re: python interface development

by James Bowman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm maintaining the new bindings, and it is definitely supported... patches welcome!


On Mon, Oct 5, 2009 at 6:35 AM, Nate Gallaher <ngallaher@...> wrote:
I'm new to the project and I'm interested in submitting patches for the
python cv interface.  I noticed that there are two python interfaces in
the repo (the CMake one, and the SWIG one). Which interface is supported
going forward?

~Nate

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel



--
J.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel

Re: python interface development

by Nathan Gallaher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Excellent. Is support for the old SWIG bindings being phased out? Can we
remove them?

~Nate

James Bowman wrote:

> I'm maintaining the new bindings, and it is definitely supported... patches
> welcome!
>
>
> On Mon, Oct 5, 2009 at 6:35 AM, Nate Gallaher <ngallaher@...>wrote:
>
>  
>> I'm new to the project and I'm interested in submitting patches for the
>> python cv interface.  I noticed that there are two python interfaces in
>> the repo (the CMake one, and the SWIG one). Which interface is supported
>> going forward?
>>
>> ~Nate
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® 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/devconf
>> _______________________________________________
>> Opencvlibrary-devel mailing list
>> Opencvlibrary-devel@...
>> https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel
>>
>>    
>
>
>
>  


------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel

Re: python interface development

by Guy K. Kloss-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi James,

On Tue, 06 Oct 2009 05:37:44 James Bowman wrote:
> I'm maintaining the new bindings, and it is definitely supported... patches
>  welcome!

I have not come across some current/good/recent writeup on the different
bindings to OpenCV that a (pragmatic) Python developer may use. In the past I
have moved away from the SWIG bindings first to the much more Pythonic and
complete Gary Bishop bindings, then to the further enhanced and even more
Pythonic ctypes-opencv by Minh-Tri Pham. I know there are one or two more
projects around, which unfortunately to me seemed as of a few months ago not
really up to it as they were too much in their infancy or abandoned.

My question now are these:

 * How mature/complete are your new bindings?
 * How do they compare (approach wise) to the (or some of the) other bindings?

I'd be glad if you could fill me in on this. We've got soon the first Kiwi
PyCon coming up in New Zealand (beginning of November), and there are several
people attending with a background in computer vision, particularly using
OpenCV from Python. I want to run an open spaces session with the topic of
computer vision in Python, and background on this would be highly appreciated
input for discussion.

Guy

--
Guy K. Kloss
Institute of Information and Mathematical Sciences
Te Kura Pūtaiao o Mōhiohio me Pāngarau
Massey University, Albany (North Shore City, Auckland)
473 State Highway 17, Gate 1, Mailroom, Quad B Building
voice: +64 9 414-0800 ext. 9585   fax: +64 9 441-8181
G.Kloss@... http://www.massey.ac.nz/~gkloss

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel

Re: python interface development

by James Bowman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The bindings are complete for CxCore, CvReference and HighGui.  There
is currently no implementation for MachineLearning and CvAux.  As far
as maturity, the new Python interface is:

* enabled by default in OpenCV 2.0
* ships with a fairly comprehensive unit test suite in
opencv/tests/python/test.py
* documentation for all covered functions:
   http://opencv.willowgarage.com/documentation/python/index.html
* is being actively maintained

The wiki page:

http://opencv.willowgarage.com/wiki/PythonInterface

lists some of the details of the new Python interface.

On Mon, Oct 5, 2009 at 2:45 PM, Guy K. Kloss <g.kloss@...> wrote:

> Hi James,
>
> On Tue, 06 Oct 2009 05:37:44 James Bowman wrote:
>> I'm maintaining the new bindings, and it is definitely supported... patches
>>  welcome!
>
> I have not come across some current/good/recent writeup on the different
> bindings to OpenCV that a (pragmatic) Python developer may use. In the past I
> have moved away from the SWIG bindings first to the much more Pythonic and
> complete Gary Bishop bindings, then to the further enhanced and even more
> Pythonic ctypes-opencv by Minh-Tri Pham. I know there are one or two more
> projects around, which unfortunately to me seemed as of a few months ago not
> really up to it as they were too much in their infancy or abandoned.
>
> My question now are these:
>
>  * How mature/complete are your new bindings?
>  * How do they compare (approach wise) to the (or some of the) other bindings?
>
> I'd be glad if you could fill me in on this. We've got soon the first Kiwi
> PyCon coming up in New Zealand (beginning of November), and there are several
> people attending with a background in computer vision, particularly using
> OpenCV from Python. I want to run an open spaces session with the topic of
> computer vision in Python, and background on this would be highly appreciated
> input for discussion.
>
> Guy
>
> --
> Guy K. Kloss
> Institute of Information and Mathematical Sciences
> Te Kura Pūtaiao o Mōhiohio me Pāngarau
> Massey University, Albany (North Shore City, Auckland)
> 473 State Highway 17, Gate 1, Mailroom, Quad B Building
> voice: +64 9 414-0800 ext. 9585   fax: +64 9 441-8181
> G.Kloss@... http://www.massey.ac.nz/~gkloss
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® 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/devconf
> _______________________________________________
> Opencvlibrary-devel mailing list
> Opencvlibrary-devel@...
> https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel
>



--
J.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® 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/devconf
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel