Persisting data between Opencv-Python and Opencv-C++
Hello, is there any simple interface which can be used for persisting data between Opencv-Python and Opencv-C++? That is I want to write some data (metrices) from Opencv-Python and read it later with Opencv-C++ (and vice versa).
One way is to convert numpy arrays to cv::Mat manually which in my opinion is ugly. Also, I did not get any simple solution for doing that in the latest opencv. All the available solution I found dates back to 3 years which uses modules like cv and functions like cv.fromarray which are not available in the latest version (?).
known pain point. but until e.g. this, see 3) will make it into opencv, you probably will have find your own way.
@berak Ah, so its a GSoC idea. It actually should not take much time, isn't it?
@krips89 i am guessing that the GSoC will handle more than only the transfer of the data :)
gsoc won't finish until august or september, and we don't even know, if someone will jump at that idea.
you'll still have to roll your own in the meantime.