I’ve recently switched from Boost Serialization to the cereal serialisation library in one of my projects and wanted to share my serialisation code for OpenCV matrices (cv::Mat
) for both libraries since it might be useful for anybody using OpenCV and one of these two libraries.