I have Boost-Python interface for C++ OpenCv. I am getting this error when I invoke a C++ method from python:
Boost.Python.ArgumentError: Python argument types in
Vision.process(Vision, numpy.ndarray, numpy.ndarray)
did not match C++ signature:
process(python::vision::PythonVision {lvalue}, cv::Mat {lvalue}, cv::Mat {lvalue})
I am using python cv2.so module. How do I convert numpy.ndarray into cv::mat?