8 #ifndef SRC_COMPRESSION_H_ 9 #define SRC_COMPRESSION_H_ 11 #include <opencv2/opencv.hpp> 15 std::vector<unsigned char>
compressData(
const cv::Mat & data);
16 cv::Mat
uncompressData(
const unsigned char * bytes,
unsigned long size);
cv::Mat uncompressData(const unsigned char *bytes, unsigned long size)
std::vector< unsigned char > compressData(const cv::Mat &data)