opencv Rect()函数介绍

Rect(int _x,int _y,int _width,int _height);
参数意思为:左上角x坐标
左上角y坐标
矩形的宽
矩形的高
一般的用法为Rect g_rectangle;
g_rectangle=Rect(a,b,c,d);

猜你喜欢

转载自blog.csdn.net/du_shuang/article/details/77905622