Python HoughLines Does Not Return Votes (4.1)
Hey there,
I am using OpenCV 4.1 and want to get the votes found by HoughLines
. When using
lines = cv2.HoughLines(canny_image, 1, np.pi / 180 , 10)
I am awarded by an n-by-1-by-2 array, missing the third column with votes.
How can I use the API to return the votes?
I double checked the OpenCV version, at runtime with
cv2.__version__
which returned 4.1.0.
Thank you in advance,
Best, Moritz
no idea if it helps, but from c++, you'd have to pass a
vector<Vec3f>
forlines
. (3rd Vec component is the resp. accumulator value)