First time here? Check out the FAQ!
answered 2014-01-22 21:32:37 -0600
There is an overload for cv::Rect.
cv::Rect myROI(pt1, pt2);