Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Calculating the distance between two points

How do i calculate the distance between two points in java/ opencv

Point point1 = new Point(10,10);
Point point2= new Point(56, 35);

line(image, point1, point2, new Scalar(100, 100, 100));