HoughFeature.lines#

HoughFeature.lines(minvotes: int) ndarray[source]#

Get Hough lines

Parameters:

minvotes (int) – only return lines with at least this many votes

Returns:

Hough lines, one per row as \((\theta, \rho)\)

Return type:

ndarray(n,2)

Return a set of lines that have at least minvotes of support. Each line is described by \((\theta, \rho)\) such that

\[u \cos \theta + v \sin \theta = \rho\]
References:

Important

Uses OpenCV function cv2.HoughLines which accepts single-channel, CV_8U images (images are pre-converted to uint8 when the Hough object is created).

Seealso:

plot_lines lines_p opencv.HoughLines