Ask Your Question

Revision history [back]

How to convert cv::Mat to std::string?

I would like to store cv::Mat in std::string and read it back. Is there an easy way to do this using OpenCV?