Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

yes, you can.... try with this code : lines = cv2.HoughLinesP(canny_edges, 2, np.pi/180, 30,50, 200) cnt=1 for line in lines: cnt+=1 print cnt

printed count value is the total score of lines in your input image.