Skip to content

Commit 1cd02e2

Browse files
authored
Create cvt.pxd
1 parent 9dc103f commit 1cd02e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

python/cvt.pxd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
cimport numpy as np
2+
from cvtype cimport *
3+
4+
cdef Mat nparray2cvmat(np.ndarray ary)
5+
cdef np.ndarray cvmat2nparray(Mat &inmat)
6+
7+
cdef Rect pylist2cvrect(list rectlist)
8+
cdef list cvrect2pylist(Rect &rect)

0 commit comments

Comments
 (0)