Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cv::Rect(x1, y1, x2-x1, y2-y1) should be cv::Rect(x1, y1, x2-x1+1, y2-y1+1). Might not be the problem you are facing though ...