int _tmain(int argc, _TCHAR* argv[])
{
Mat src = imread("E:\\test\\1.jpg");
Rect rect(93, 377, 92, 87);//左上坐标(x,y)和矩形的长(x)宽(y)
cv::rectangle(src, rect, Scalar(255, 0, 0), 1, 8, 0);
imwrite("src.png", src);
imshow("src", src);
waitKey(0);
return 0;
}