Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

How to draw a line on Mat?

$
0
0
I find the Core.line doesn't work in opencv 3.1 for java verison. What should it be? Thanks. Mat Img = new Mat(); Point pt1 = new Point(x1, y1); Point pt2 = new Point(x2, y2); Core.line(Img, pt1, pt2, new Scalar(0,255,0), 3);

Viewing all articles
Browse latest Browse all 41027

Trending Articles