pyOpenCV Documentation

35 views
Skip to first unread message

konsolidator

unread,
Sep 7, 2010, 11:21:20 PM9/7/10
to ctypes-opencv
Hi guys,

does anyone know if there is an pyOpenCV documentation explaining what
each module does ?

I was trying to find out what asMat( ) function does and all i could
find was:

http://packages.python.org/pyopencv/2.1.0.wr1.0.2/pyopencv.pyopencvext-module.html#asMat


there doesnt seem to be explaination of asMat in the C++ version
documentation in willowgarage as well.

Thanks!

Minh-Tri Pham

unread,
Sep 12, 2010, 2:28:50 AM9/12/10
to ctypes...@googlegroups.com
Hi konsolidator,

The asMat() function and a lot of as...() functions are functions to convert
an object from one type to another. They are equivalent to the cast operator
in C++. Perhaps, you can get more details by looking at asMat's docstring
directly from Python. E.g.:

>>> import pyopencv as cv
>>> help(cv.asMat)

Sorry that the documentation has not been well-updated.

Cheers,
Minh-Tri

Reply all
Reply to author
Forward
0 new messages