Cropping pictures opencv line of code backup

cv::Mat bgr(stSdcYuvData.frame.height, stSdcYuvData.frame.width, CV_8UC3);

cv::Mat faceBgr = bgr(cv::Rect(0, 0, 500, 500));// Rect(x,y,width,height)

Guess you like

Origin www.cnblogs.com/cumtchw/p/11416481.html