Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I just double-checked and HoughLinesP works fine for me. Can you double-check that thresh is of the correct format, i.e.:

print threshd.shape, thresh.dtype

should give you sth like:

((600, 868), dtype('uint8'))

If you get sth like (600,868,3) would indicate that you haven't converted the image correctly to a single channel. However, I guess your type is wrong, maybe due to the filtering process before.