1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-20 04:25:42 +08:00

Merge pull request #2819 from LaurentBerger:pyb_qd

* solved issue 2813

* review
This commit is contained in:
LaurentBerger
2021-01-22 09:09:36 +01:00
committed by GitHub
parent ae14c7cee5
commit d733a80100
7 changed files with 104 additions and 44 deletions

View File

@@ -0,0 +1,17 @@
#ifdef HAVE_OPENCV_STEREO
typedef std::vector<stereo::MatchQuasiDense> vector_MatchQuasiDense;
template<> struct pyopencvVecConverter<stereo::MatchQuasiDense>
{
static bool to(PyObject* obj, std::vector<stereo::MatchQuasiDense>& value, const ArgInfo& info)
{
return pyopencv_to_generic_vec(obj, value, info);
}
static PyObject* from(const std::vector<stereo::MatchQuasiDense>& value)
{
return pyopencv_from_generic_vec(value);
}
};
#endif