3#include "FrameMetadata.h"
4#include "opencv2/opencv.hpp"
13 return *(
reinterpret_cast<cv::Rect *
>(buffer));
16 static void copyROI(cv::Rect& roi,
void* dst)
21 dstROI.width = roi.width;
22 dstROI.height = roi.height;
27 return !(roi.x == 0 && roi.y == 0 && roi.width == 0 && roi.height == 0);