#ifdef HAVE_OPENCV_VIDEOIO typedef std::vector vector_VideoCaptureAPIs; template<> struct pyopencvVecConverter { static bool to(PyObject* obj, std::vector& value, const ArgInfo info) { return pyopencv_to_generic_vec(obj, value, info); } static PyObject* from(const std::vector& value) { return pyopencv_from_generic_vec(value); } }; template<> bool pyopencv_to(PyObject *o, std::vector& apis, const char *name) { return pyopencvVecConverter::to(o, apis, ArgInfo(name, false)); } #endif // HAVE_OPENCV_VIDEOIO