Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HoughLinesP gives 5 points


I am new to using openCV and i have just started with the tutorials. I am using the Canny with HoughLinesP on a straight lines just for testing, when i run the tutorial code on a diagonal line i always get 5 4-element vector coordinates. I though i would only get 2 for a straight lines, all the coordinates pass through the line so its correct, i was just wondering why there were more that 2.

image description