Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Alright, it turns out the HoughLinesP function was interpreting my parameters incorrectly. To solve this, I added the names of the parameters, and everything works fine!

lines = cv2.HoughLinesP(gray, rho=1, theta=np.pi/360, threshold=10, minLineLength=10, maxLineGap=20)