We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code example in py_houghlines.rst only plots the first line detected, not all the lines as shown in the "result" image.
This is not a big deal, but as a first time user caused me a bit of confusion.
The following should fix it:
for line in lines: rho = line[0][0] theta = line[0][1] a = np.cos(theta) b = np.sin(theta) x0 = a*rho y0 = b*rho x1 = int(x0 + 1000*(-b)) y1 = int(y0 + 1000*(a)) x2 = int(x0 - 1000*(-b)) y2 = int(y0 - 1000*(a))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The code example in py_houghlines.rst only plots the first line detected, not all the lines as shown in the "result" image.
This is not a big deal, but as a first time user caused me a bit of confusion.
The following should fix it:
The text was updated successfully, but these errors were encountered: