1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Merge pull request #8233 from Sahloul:features/python_matx

This commit is contained in:
Vadim Pisarevsky
2017-02-21 09:43:26 +00:00
+5
View File
@@ -411,6 +411,11 @@ PyObject* pyopencv_from(const Mat& m)
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 {
PyObject_HEAD