I find the Core.line doesn't work in opencv 3.1 in 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);
1 | initial version |
I find the Core.line doesn't work in opencv 3.1 in 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);
2 | No.2 Revision |
I find the Core.line doesn't work in opencv 3.1 in 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);