How to draw a line on Mat?
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);