Why can't I pass
Point src[1][4] = {
{
Point(border,border), Point(border,h-border), Point(w-border,h-border), Point(w-border,h-border)
}
};
as
polylines(frame, src, ns, 1, true, CV_RGB(255,255,255), 2);
where
polylines has prototype
void polylines(Mat& img, const Point** pts, const int* npts, int ncontours, bool isClosed, const Scalar& color, int thickness=1, int lineType=8, int shift=0 )
UPDATE
Okay, okay, I remembered this stuff :)