This python script will allow us to identify lines in an image depending on the user's choice to select one of the two options: HoughTransform and Probabilistic HoughTransform
sudo apt-get install python3
sudo apt-get install python3-pip
pip3 install numpy
pip3 install opencv-python
sudo apt-get install python3-tk
A dialog box appears with two transform options, hough transform and probabilistic hough transform.
Selecting any one option prompts user to select an image and detects lines in it using the selected transform.
The output image is written/stored in the current folder.
Github: invigorzz313