Merge pull request #8233 from Sahloul:features/python_matx

pull/8237/head
Vadim Pisarevsky 8 years ago
commit 007354ebaf
  1. 5
      modules/python/src2/cv2.cpp

@ -411,6 +411,11 @@ PyObject* pyopencv_from(const Mat& m)
return o; return o;
} }
template<typename _Tp, int m, int n>
PyObject* pyopencv_from(const Matx<_Tp, m, n>& matx)
{
return pyopencv_from(Mat(matx));
}
typedef struct { typedef struct {
PyObject_HEAD PyObject_HEAD

Loading…
Cancel
Save