how to use cv::Rect to get ROI