First time here? Check out the FAQ!
https://docs.opencv.org/3.4/d9/db0/tutorial_hough_lines.html This link is having working example with explanation for s