Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can check the answers for this post:

I recommend the answer I gave there, with some small changes it can be applied to other OpenCV data structures besides Mat.

If you really do not want to convert your data to json you can check there how to convert to a byte array. After you have a byte array you can store it in a file or whatever.