I have two points (assumed to be from a rectangle and are its top-left corner & bottom-right corner).
Point pTopLeft; Point pBottomRight;
I w
Since Rect::tl() and Rect::br() just return copies, not references, try a constructor:
Rect::tl()
Rect::br()
cv::Rect rRect(pTopLeft, pBottomRight);