Hi! I am using opencv and c++. I have 5 points, stored in a vector<point2f>, that i know the coordinates of. The 5th point is on a line between 2 of the others. What is the best way to find out which two?
The four are corners of a square, the fifth is somewhere on the edge of the square.
It seems like it would be simple, but I can't get my head around it.