HoughFeature.lines_p#
- HoughFeature.lines_p(minvotes: int, minlinelength: int = 30, maxlinegap: int = 10, seed: int | None = None) ndarray[source][source]#
Get probabilistic Hough lines
- Parameters:
- Returns:
Hough lines, one per row as \((u_1, v_1, u_2, v_2)\)
- Return type:
ndarray(n,4)
Return a set of line segments that have at least
minvotesof support. Each line segment is described by its end points \((u_1, v_1)\) and \((u_2, v_2)\).Important
Uses OpenCV function
cv2.HoughLinesPwhich accepts single-channel, CV_8U images (images are pre-converted to uint8 when theHoughobject is created).See also