Returning cv::Mat from wrapped C++ function in Python

asked 2017-04-21 09:43:09 -0500

This question must have been asked a million times, yet somehow I do not seem to be able to find an answer more recent than 2014:

I'm having some struggles getting that one to build in my own project on Mac. Now, OpenCV has python bindings itself, accepting and returning cv::Mat as Numpy arrays like a boss.

Is there a more modern way of converting the two variables using boost python bindings?

edit retag flag offensive close merge delete