24 #ifndef CVMATADAPTER_H
25 #define CVMATADAPTER_H
27 #include <fvutils/base/roi.h>
29 #include <opencv2/opencv.hpp>
31 namespace firevision {
static void convert_image_bgr(unsigned char *buffer, cv::Mat &image)
Convert image from buffer into cv::Mat.
static void convert_image_yuv422_planar(cv::Mat &image, unsigned char *buffer)
Convert image from cv::Mat into buffer.