embeded cv Python module into cv2.
This commit is contained in:
@@ -1729,7 +1729,7 @@ For example, `NumPy <http://numpy.scipy.org/>`_ arrays support the array interfa
|
||||
|
||||
.. code-block::python
|
||||
|
||||
>>> import cv, numpy
|
||||
>>> import cv2.cv as cv, numpy
|
||||
>>> a = numpy.ones((480, 640))
|
||||
>>> mat = cv.fromarray(a)
|
||||
>>> print cv.GetDims(mat), cv.CV_MAT_CN(cv.GetElemType(mat))
|
||||
|
Reference in New Issue
Block a user