2013-11-23 09:30:37 -0600 | asked a question | HoughLinesP does not accept output from threshold. why? Hi Folks, I'm beginning with open-cv using the python bindings. I'm trying to do a simple proof-of-concept code to detect horizontal lines in images. For that I'm trying a threshold manipulation plus a HoughLinesP transform to detect lines but cv2.HoughLinesP complains that the image is not 8-bit single channel. I'm pretty sure the image is being loaded as grayscale (I tried two different approaches for this): What am I doing wrong here? What should I do to pass the output of cv2.threshold int cv2.HoughLinesP? Thanks in advance, |