To write a Python program to detect the lines using Hough Transform.
Anaconda - Python 3.7
# Read image and convert it to grayscale image
# Find the edges in the image using canny detector and display
# Detect points that form a line using HoughLinesP
# Draw lines on the image
# Display the result
Thus the program is written with python and OpenCV to detect lines using Hough transform.