First time here? Check out the FAQ!
answered 2015-11-20 02:35:48 -0600
Why not this ?
cv::Point middleTop(xx,0) cv::Point middleBottom(xx,cdst.rows); cv::line(cdst,middleTop,middleBottom,Scalar(0,255,0));